diff options
| author | Glenn Miles <milesg@linux.vnet.ibm.com> | 2024-02-05 17:40:16 +1000 |
|---|---|---|
| committer | Nicholas Piggin <npiggin@gmail.com> | 2024-02-23 23:24:42 +1000 |
| commit | 7b85f008b68b5c1a59772cad2214366d6cb140f5 (patch) | |
| tree | 0ad92b715498d601466408ab2aacd1ba941f2146 /hw/misc/pca9554.c | |
| parent | 6f86885a74584f069db95bd6043d9497388808b4 (diff) | |
| download | focaccia-qemu-7b85f008b68b5c1a59772cad2214366d6cb140f5.tar.gz focaccia-qemu-7b85f008b68b5c1a59772cad2214366d6cb140f5.zip | |
ppc/pnv: Use resettable interface to reset child I2C buses
The QEMU I2C buses and devices use the resettable interface for resetting while the PNV I2C controller and parent buses and devices have not yet transitioned to this new interface and use the old reset strategy. This was preventing the I2C buses and devices wired to the PNV I2C controller from being reset. The short term fix for this is to have the PNV I2C Controller's reset function explicitly call the resettable interface function, bus_cold_reset(), on all child I2C buses. The long term fix should be to transition all PNV parent devices and buses to use the resettable interface so that all child buses and devices are automatically reset. Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Glenn Miles <milesg@linux.vnet.ibm.com> Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Diffstat (limited to 'hw/misc/pca9554.c')
0 files changed, 0 insertions, 0 deletions