diff options
author | Glenn Miles <milesg@linux.vnet.ibm.com> | 2023-11-14 13:56:55 -0600 |
---|---|---|
committer | Cédric Le Goater <clg@kaod.org> | 2023-11-21 08:39:58 +0100 |
commit | b664466d8f3c7b448fc7e9bd50d03a36538c6c27 (patch) | |
tree | cac5e27b6293f8720925a85c710487f43a666177 /qemu-io.c | |
parent | 47dfdd238dd0cc3c4834668fdd79ac5db85699f6 (diff) | |
download | qemu-b664466d8f3c7b448fc7e9bd50d03a36538c6c27.zip qemu-b664466d8f3c7b448fc7e9bd50d03a36538c6c27.tar.gz qemu-b664466d8f3c7b448fc7e9bd50d03a36538c6c27.tar.bz2 |
ppc/pnv: Fix PNV I2C invalid status after reset
The PNV I2C Controller was clearing the status register
after a reset without repopulating the "upper threshold
for I2C ports", "Command Complete" and the SCL/SDA input
level fields.
Fixed this for resets caused by a system reset as well
as from writing to the "Immediate Reset" register.
Fixes: 263b81ee15af ("ppc/pnv: Add an I2C controller model")
Signed-off-by: Glenn Miles <milesg@linux.vnet.ibm.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions