These are the remaining patches for VT8231 emulation after the first half of it was merged. After patch 3 fuloong2e will need the Bonito REG_MASK fix to be able to map SMBus registers because it's no longer mapped at fixed address (firmware will do this if it can access the right register).
BALATON Zoltan (12): vt82c686: Move superio memory region to SuperIOConfig struct vt82c686: Reorganise code vt82c686: Fix SMBus IO base and configuration registers vt82c686: Fix up power management io base and config vt82c686: Make vt82c686b-pm an abstract base class and add vt8231-pm based on it vt82c686: Simplify vt82c686b_realize() vt82c686: Move creation of ISA devices to the ISA bridge vt82c686: Fix superio_cfg_{read,write}() functions vt82c686: Implement control of serial port io ranges via config regs vt82c686: QOM-ify superio related functionality vt82c686: Add VT8231_SUPERIO based on VIA_SUPERIO vt82c686: Add emulation of VT8231 south bridge hw/isa/trace-events | 2 + hw/isa/vt82c686.c | 889 ++++++++++++++++++++++++++++---------- hw/mips/fuloong2e.c | 33 +- include/hw/isa/vt82c686.h | 3 +- 4 files changed, 679 insertions(+), 248 deletions(-) -- 2.21.3