Re: [Qemu-devel] [PATCH 05/58] PPC: Add CPU local MMIO regions to MPIC

2011-09-14 Thread Avi Kivity
On 09/14/2011 01:22 PM, Jan Kiszka wrote: > > This is the standard way of doing this (we use it on ARM as well), but > it's pretty clearly a hack. "which master sent this memory transaction" > is an attribute that ought to be passed down to the MMIO read/write > functions, really (along with

Re: [Qemu-devel] [PATCH 05/58] PPC: Add CPU local MMIO regions to MPIC

2011-09-14 Thread Jan Kiszka
On 2011-09-14 12:07, Peter Maydell wrote: > On 14 September 2011 09:42, Alexander Graf wrote: >> The MPIC exports a register set for each CPU connected to it. They can all >> be accessed through specific registers or using a shadow page that is mapped >> differently depending on which CPU accesses

Re: [Qemu-devel] [PATCH 05/58] PPC: Add CPU local MMIO regions to MPIC

2011-09-14 Thread Alexander Graf
Am 14.09.2011 um 12:07 schrieb Peter Maydell : > On 14 September 2011 09:42, Alexander Graf wrote: >> The MPIC exports a register set for each CPU connected to it. They can all >> be accessed through specific registers or using a shadow page that is mapped >> differently depending on which CPU a

Re: [Qemu-devel] [PATCH 05/58] PPC: Add CPU local MMIO regions to MPIC

2011-09-14 Thread Peter Maydell
On 14 September 2011 09:42, Alexander Graf wrote: > The MPIC exports a register set for each CPU connected to it. They can all > be accessed through specific registers or using a shadow page that is mapped > differently depending on which CPU accesses it. > > This patch implements the shadow map,