ppc/pnv/homer: Fix OCC registers
The HOMER OCC registers seem to have bitrotted and fail for various
reasons on powernv8, 9, and 10.
The major problems are that POWER8 has the wrong version value and its
pstate ordering is incorrect. POWER9/10 have not set the OCC state to
active. Non-zero chips are also set to OCC slaves for POWER9/10.
Unfortunately skiboot has also bitrotted and requires fixes that are
not yet in the bios files to run. With a patched skiboot, before this
change, powernv9/10 report:
[ 0.
262050394,3] OCC: Chip: 0: OCC not active
[ 0.
262128603,3] OCC: Initialization on all chips did not complete(timed out)
powernv8 reports:
[ 0.
173572100,3] OCC: Unknown OCC-OPAL interface version.
[ 0.
173812059,3] OCC: Initialization on all chips did not complete(timed out)
After this patch, all report:
[ 0.
176815668,5] OCC: All Chip Rdy after 0 ms
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>