qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix PSIHB interrupts init PQ state
@ 2023-06-30 14:42 Frederic Barrat
  2023-06-30 14:42 ` [PATCH 1/2] pnv/xive: Add property on xive sources to define PQ state on reset Frederic Barrat
  2023-06-30 14:42 ` [PATCH 2/2] pnv/psi: Initialize the PSIHB interrupts to match hardware Frederic Barrat
  0 siblings, 2 replies; 5+ messages in thread
From: Frederic Barrat @ 2023-06-30 14:42 UTC (permalink / raw)
  To: Cédric Le Goater, Daniel Henrique Barboza, qemu-ppc,
	qemu-devel

On P9 and 10, the real hardware defines the PQ state of the PSIHB
interrupts to be 0b00. Qemu defaults to 0b01.

It doesn't matter to skiboot, which doesn't rely on it and explicitly
masks the interrupts during intialization. But this patch fixes it,
just in case some other hypervisor checks it.


Frederic Barrat (2):
  pnv/xive: Add property on xive sources to define PQ state on reset
  pnv/psi: Initialize the PSIHB interrupts to match hardware

 hw/intc/xive.c        | 8 ++++++--
 hw/ppc/pnv_psi.c      | 2 ++
 include/hw/ppc/xive.h | 1 +
 3 files changed, 9 insertions(+), 2 deletions(-)

-- 
2.41.0



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-06-30 15:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-30 14:42 [PATCH 0/2] Fix PSIHB interrupts init PQ state Frederic Barrat
2023-06-30 14:42 ` [PATCH 1/2] pnv/xive: Add property on xive sources to define PQ state on reset Frederic Barrat
2023-06-30 14:58   ` Cédric Le Goater
2023-06-30 14:42 ` [PATCH 2/2] pnv/psi: Initialize the PSIHB interrupts to match hardware Frederic Barrat
2023-06-30 14:59   ` Cédric Le Goater

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).