Skip to content

ppc/pnv: HOMER fixes and improvements

Cédric Le Goater qemu-devel 1 version Applied

Status from this message: Applied to ppc-for-5.0.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2ppc/pnv: Introduce PBA registershw/ppc/pnv.c hw/ppc/pnv_homer.c hw/ppc/pnv_xscom.c +3 more+134 -440 replies
2/2ppc/pnv: Fix OCC common area region mappinghw/ppc/pnv.c hw/ppc/pnv_occ.c include/hw/ppc/pnv.h +1 more+16 -110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] ppc/pnv: HOMER fixes and improvements

Hello,

The first patch introduces a new XSCOM region for the PBA bridge unit (Power Bus Access) which connects the OCC (On Chip Controller) to the Power bus and System Memory. The PBA is used to gather sensor data, for power management, for sleep states, for initial boot, among other things. This first patch also fixes :

- BAR sizes and BAR masks
- The mapping of the OCC common area, which is common to all chips and should be mapped once.
- OCC common area is in BAR 3 on P8

and more globally, it fixes multichip support which is currently broken because of wrong mappings.

The OCC common area is mapped at a unique address on the system and each OCC is assigned a segment to expose its sensor data. This is fixed in the second patch.

Thanks,

C.

Cédric Le Goater (2):
ppc/pnv: Introduce PBA registers
ppc/pnv: Fix OCC common area region mapping

 include/hw/ppc/pnv.h       |  20 +++----
 include/hw/ppc/pnv_homer.h |   3 +
 include/hw/ppc/pnv_occ.h   |   8 ++-
 include/hw/ppc/pnv_xscom.h |   6 ++
 hw/ppc/pnv.c               |  12 +++-
 hw/ppc/pnv_homer.c         | 109 +++++++++++++++++++++++++++++++++++++
 hw/ppc/pnv_occ.c           |  11 ++--
 hw/ppc/pnv_xscom.c         |  32 -----------
 8 files changed, 148 insertions(+), 53 deletions(-)
Signature · 1 line
2.21.0