Re: [PULL 06/18] hw/pci-host/bonito: Allow PCI config accesses smaller than 32-bit

2021-07-02 Thread BALATON Zoltan
On Fri, 2 Jul 2021, Philippe Mathieu-Daudé wrote: When running the official PMON firmware for the Fuloong 2E, we see 8-bit and 16-bit accesses to PCI config space: $ qemu-system-mips64el -M fuloong2e -bios pmon_2e.bin \ -trace -trace bonito\* -trace pci_cfg\* pci_cfg_write vt82c686b-pm

[PULL 06/18] hw/pci-host/bonito: Allow PCI config accesses smaller than 32-bit

2021-07-02 Thread Philippe Mathieu-Daudé
When running the official PMON firmware for the Fuloong 2E, we see 8-bit and 16-bit accesses to PCI config space: $ qemu-system-mips64el -M fuloong2e -bios pmon_2e.bin \ -trace -trace bonito\* -trace pci_cfg\* pci_cfg_write vt82c686b-pm 05:4 @0x90 <- 0xeee1 bonito_spciconf_small_access