]> git.ipfire.org Git - thirdparty/qemu.git/commit
ppc/pnv: raise no-response errors if an LPC transaction fails
authorNicholas Piggin <npiggin@gmail.com>
Fri, 28 Feb 2025 17:06:43 +0000 (03:06 +1000)
committerNicholas Piggin <npiggin@gmail.com>
Tue, 11 Mar 2025 12:43:30 +0000 (22:43 +1000)
commitf27f31b552df88641fe711846c94f0c3b86d2907
treefd8658c170cfb40b6b7875f72c3eec8c4aa3a7b2
parenta2dea722cd0df663696fc8bb136b1fd29da18742
ppc/pnv: raise no-response errors if an LPC transaction fails

If nothing responds to an LPC access, the LPC host controller should
set an IRQSTAT error. Model this behaviour.

skiboot uses this error to "probe" LPC accesses, among other things to
determine if a SuperIO chip is present. After this change it recognizes
there is no SuperIO present and does not keep trying to access it.

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