]> git.ipfire.org Git - thirdparty/qemu.git/commit
ppc/pnv/homer: Make dummy reads return 0
authorNicholas Piggin <npiggin@gmail.com>
Tue, 10 Dec 2024 02:08:35 +0000 (12:08 +1000)
committerNicholas Piggin <npiggin@gmail.com>
Tue, 11 Mar 2025 12:43:30 +0000 (22:43 +1000)
commit634cf61e463a8020cb8eb835fae4e2939f387975
tree3c73ba1fe0dffade1ad0ac4df988c27cc655656c
parentf24ff35af9b242163ac0d209a70240f13fd9f163
ppc/pnv/homer: Make dummy reads return 0

HOMER memory implements some dummy registers that return a nonsense
value to satisfy skiboot accesses caused by "SLW" init and register
save/restore programming that has never worked under QEMU:

[    0.265000943,3] SLW: Failed to set HRMOR for CPU 0,RC=0x1
[    0.265356988,3] Disabling deep stop states

To simplify a later change to implement HOMER as a RAM area, make
these return zero, which has the same result.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
hw/ppc/pnv_homer.c