Re: [PATCH 4/5] hw/ppc/pnv_xscom: occ common area to be mapped only once

2019-11-21 Thread Balamuruhan S
On Wed, Nov 20, 2019 at 08:30:03AM +0100, Cédric Le Goater wrote: > On 19/11/2019 18:50, Balamuruhan S wrote: > > occ common area should be mapped once > > It's the same address on each chip. > > the question is how the HW knows from which chip the OCC access is > being done ? How does it targ

Re: [PATCH 4/5] hw/ppc/pnv_xscom: occ common area to be mapped only once

2019-11-19 Thread Cédric Le Goater
On 19/11/2019 18:50, Balamuruhan S wrote: > occ common area should be mapped once It's the same address on each chip. the question is how the HW knows from which chip the OCC access is being done ? How does it target the correct OCC if the address is the same ? > and disable it for every ot

[PATCH 4/5] hw/ppc/pnv_xscom: occ common area to be mapped only once

2019-11-19 Thread Balamuruhan S
occ common area should be mapped once and disable it for every other chip. Signed-off-by: Cédric Le Goater Signed-off-by: Balamuruhan S --- hw/ppc/pnv_xscom.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/hw/ppc/pnv_xscom.c b/hw/ppc/pnv_xscom.c index cb6d6