Re: [Qemu-devel] [qemu PATCH 2/2] arm: add fw_cfg to virt board

2014-11-28 Thread Andrew Jones
On Fri, Nov 28, 2014 at 12:18:27AM +0100, 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. The mmio register block of fw_cfg is advertized in the device tree. As base

Re: [Qemu-devel] [qemu PATCH 2/2] arm: add fw_cfg to virt board

2014-11-28 Thread Laszlo Ersek
On 11/28/14 11:38, Andrew Jones wrote: On Fri, Nov 28, 2014 at 12:18:27AM +0100, 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. The mmio register block of fw_cfg is

Re: [Qemu-devel] [qemu PATCH 2/2] arm: add fw_cfg to virt board

2014-11-28 Thread Laszlo Ersek
On 11/28/14 11:43, Laszlo Ersek wrote: On 11/28/14 11:38, Andrew Jones wrote: On Fri, Nov 28, 2014 at 12:18:27AM +0100, 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. The

Re: [Qemu-devel] [qemu PATCH 2/2] arm: add fw_cfg to virt board

2014-11-28 Thread Andrew Jones
On Fri, Nov 28, 2014 at 11:43:32AM +0100, Laszlo Ersek wrote: On 11/28/14 11:38, Andrew Jones wrote: On Fri, Nov 28, 2014 at 12:18:27AM +0100, 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

Re: [Qemu-devel] [qemu PATCH 2/2] arm: add fw_cfg to virt board

2014-11-28 Thread Andrew Jones
On Fri, Nov 28, 2014 at 11:49:48AM +0100, Laszlo Ersek wrote: On 11/28/14 11:43, Laszlo Ersek wrote: On 11/28/14 11:38, Andrew Jones wrote: On Fri, Nov 28, 2014 at 12:18:27AM +0100, Laszlo Ersek wrote: fw_cfg already supports exposure over MMIO (used in ppc/mac_newworld.c,

[Qemu-devel] [qemu PATCH 2/2] arm: add fw_cfg to virt board

2014-11-27 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. The mmio register block of fw_cfg is advertized in the device tree. As base address we pick 0x0902, which conforms to the comment preceding

Re: [Qemu-devel] [qemu PATCH 2/2] arm: add fw_cfg to virt board

2014-11-27 Thread Peter Maydell
On 27 November 2014 at 23:18, Laszlo Ersek ler...@redhat.com 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. The mmio register block of fw_cfg is advertized in the device tree. As base

Re: [Qemu-devel] [qemu PATCH 2/2] arm: add fw_cfg to virt board

2014-11-27 Thread Laszlo Ersek
On 11/28/14 00:28, Peter Maydell wrote: On 27 November 2014 at 23:18, Laszlo Ersek ler...@redhat.com 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. The mmio register block of fw_cfg is

Re: [Qemu-devel] [qemu PATCH 2/2] arm: add fw_cfg to virt board

2014-11-27 Thread Peter Maydell
On 27 November 2014 at 23:34, Laszlo Ersek ler...@redhat.com wrote: Thanks for the hint, I was actually wondering if some official registry existed for the node names and types. So yeah I'll attempt to get it in there. (Once I find the docs in question in the kernel :))