Skip to content

ppc/pnv: fix Homer/Occ mappings on multichip systems

Balamuruhan S qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 21 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5hw/ppc/pnv: incorrect homer and occ common area sizehw/ppc/pnv_occ.c include/hw/ppc/pnv.h+5 -52 replies
2/5hw/ppc/pnv_xscom: PBA bar mask values are incorrect with homer/occ sizeshw/ppc/pnv_xscom.c+6 -49 replies
3/5hw/ppc/pnv_xscom: Power8 occ common area is in PBA BAR 3hw/ppc/pnv_xscom.c+6 -62 replies
4/5hw/ppc/pnv_xscom: occ common area to be mapped only oncehw/ppc/pnv_xscom.c+12 -32 replies
5/5hw/ppc/pnv_xscom: add PBA BARs for Power8 slw imagehw/ppc/pnv_xscom.c include/hw/ppc/pnv.h+12 -22 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/5] ppc/pnv: fix Homer/Occ mappings on multichip systems

Hi All,

PowerNV fails to boot in multichip systems due to some misinterpretation and mapping in Homer/Occ device models, this patchset fixes the following,

- Homer size is 4MB per chip and Occ common area size is 8MB
- Bar masks are used to calculate sizes of Homer/Occ in skiboot so return appropriate value
- Occ common area is in BAR 3 on Power8 but wrongly mapped to BAR 2 currently
- OCC common area is shared across chips and should be mapped only once for multichip systems

Request for your review and suggestions to make it better. I would like to thank Cedric for his time and help to figure out the issues.

Balamuruhan S (5):
hw/ppc/pnv: incorrect homer and occ common area size hw/ppc/pnv_xscom: PBA bar mask values are incorrect with homer/occ
sizes
hw/ppc/pnv_xscom: Power8 occ common area is in PBA BAR 3 hw/ppc/pnv_xscom: occ common area to be mapped only once hw/ppc/pnv_xscom: add PBA BARs for Power8 slw image

 hw/ppc/pnv_occ.c     |  2 +-
 hw/ppc/pnv_xscom.c   | 37 +++++++++++++++++++++++++++----------
 include/hw/ppc/pnv.h | 12 ++++++++----
 3 files changed, 36 insertions(+), 15 deletions(-)
Signature · 1 line
2.14.5