Re: [Qemu-devel] [PATCH v3 4/7] arm: add fw_cfg to "virt" board

2014-12-12 Thread Laszlo Ersek
On 12/12/14 13:55, Peter Maydell wrote: > On 9 December 2014 at 01:13, Laszlo Ersek wrote: >> fw_cfg already supports exposure over MMIO (used in ppc/mac_newworld.c, >> ppc/mac_oldworld.c, sparc/sun4m.c); we can easily add it to the "virt" >> board. >> >> Because MMIO access is slow on ARM KVM, we

Re: [Qemu-devel] [PATCH v3 4/7] arm: add fw_cfg to "virt" board

2014-12-12 Thread Peter Maydell
On 9 December 2014 at 01:13, Laszlo Ersek wrote: > fw_cfg already supports exposure over MMIO (used in ppc/mac_newworld.c, > ppc/mac_oldworld.c, sparc/sun4m.c); we can easily add it to the "virt" > board. > > Because MMIO access is slow on ARM KVM, we enable the guest, with > fw_cfg_init_data_memw

[Qemu-devel] [PATCH v3 4/7] arm: add fw_cfg to "virt" board

2014-12-08 Thread Laszlo Ersek
fw_cfg already supports exposure over MMIO (used in ppc/mac_newworld.c, ppc/mac_oldworld.c, sparc/sun4m.c); we can easily add it to the "virt" board. Because MMIO access is slow on ARM KVM, we enable the guest, with fw_cfg_init_data_memwidth(), to transfer up to 8 bytes with a single access. This