qemu-e2k/hw/i2c
Titus Rwantare ff0511282d hw/i2c: pmbus: reset page register for out of range reads
The linux pmbus driver scans all possible pages and does not reset the
current page after the scan, making all future page reads fail as out of range
on devices with a single page.

This change resets out of range pages immediately on write.

Also added a qtest for simultaneous writes to all pages.

Reviewed-by: Hao Wu <wuhaotsh@google.com>
Signed-off-by: Titus Rwantare <titusr@google.com>
Message-ID: <20231023-staging-pmbus-v3-v4-8-07a8cb7cd20a@google.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
2023-11-07 13:08:49 +01:00
..
allwinner-i2c.c
arm_sbcon_i2c.c
aspeed_i2c.c aspeed/i2c: Clean up local variable shadowing 2023-09-29 10:07:19 +02:00
bitbang_i2c.c
core.c migration: Use vmstate_register_any() 2023-11-01 16:13:58 +01:00
exynos4210_i2c.c
i2c_mux_pca954x.c
imx_i2c.c
Kconfig
meson.build
microbit_i2c.c
mpc_i2c.c
npcm7xx_smbus.c
omap_i2c.c
pm_smbus.c hw/i2c/pm_smbus: Convert DPRINTF to trace events 2023-11-02 13:36:45 +00:00
pmbus_device.c hw/i2c: pmbus: reset page register for out of range reads 2023-11-07 13:08:49 +01:00
ppc4xx_i2c.c
smbus_eeprom.c
smbus_ich9.c
smbus_master.c
smbus_slave.c
trace-events hw/i2c/pm_smbus: Convert DPRINTF to trace events 2023-11-02 13:36:45 +00:00
trace.h