qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/4] ppc: Improve multisocket support
@ 2023-07-04 13:49 Cédric Le Goater
  2023-07-04 13:49 ` [RFC PATCH 1/4] ppc/xive: introduce a new XiveRouter end_notify() handler Cédric Le Goater
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Cédric Le Goater @ 2023-07-04 13:49 UTC (permalink / raw)
  To: qemu-devel
  Cc: qemu-ppc, Frédéric Barrat, Nicholas Piggin,
	Cédric Le Goater

Hello,

Here are changes improving multisocket support of the XIVE models
(POWER9 only). When a source has an END target on another chip, the
XIVE IC will use an MMIO store to forward the notification to the
remote chip. The long term plan is to get rid of pnv_xive_get_remote()
whic is a modeling shortcut. I have had them for while, they compile,
they seem to still work but this is not for merge yet. If someone
could take over, that would be nice.

The best way to test is to start a 2 sockets * 1 cpu system with devices
attached to the PCI buses of chip 0 and to offline CPU 0. All sources
should be configured to be served by CPU 1 on socket 1 and trigger
notifications on chip 0 should be forwarded to chip 1.

Last patch adds support for degenerative interrupts. This is used by
the lowest level FW of POWER systems. Difficult to test.

Thanks,

C. 

Cédric Le Goater (4):
  ppc/xive: introduce a new XiveRouter end_notify() handler
  ppc/pnv: handle END triggers between chips with MMIOs
  ppc/pnv: add support for the PC MMIOs
  ppc/pnv: Add support for degenerative interrupts (POWER LSI)

 hw/intc/pnv_xive_regs.h   |   1 +
 include/hw/ppc/pnv_xive.h |  15 +++
 include/hw/ppc/xive.h     |   3 +
 hw/intc/pnv_xive.c        | 262 +++++++++++++++++++++++++++++++-------
 hw/intc/xive.c            |  50 ++++++--
 5 files changed, 278 insertions(+), 53 deletions(-)

-- 
2.41.0



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

end of thread, other threads:[~2023-07-04 16:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-04 13:49 [RFC PATCH 0/4] ppc: Improve multisocket support Cédric Le Goater
2023-07-04 13:49 ` [RFC PATCH 1/4] ppc/xive: introduce a new XiveRouter end_notify() handler Cédric Le Goater
2023-07-04 13:49 ` [RFC PATCH 2/4] ppc/pnv: handle END triggers between chips with MMIOs Cédric Le Goater
2023-07-04 13:49 ` [RFC PATCH 3/4] ppc/pnv: add support for the PC MMIOs Cédric Le Goater
2023-07-04 13:49 ` [RFC PATCH 4/4] ppc/pnv: Add support for degenerative interrupts (POWER LSI) Cédric Le Goater
2023-07-04 16:20 ` [RFC PATCH 0/4] ppc: Improve multisocket support Frederic Barrat
2023-07-04 16:57   ` 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).