qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH for-8.2 0/3] pnv/lpc: Hook up xscoms for LPC
@ 2023-08-08  8:34 Joel Stanley
  2023-08-08  8:34 ` [PATCH for-8.2 1/3] pnv/lpc: Place mmio regs in their own memory region Joel Stanley
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Joel Stanley @ 2023-08-08  8:34 UTC (permalink / raw)
  To: Cédric Le Goater, Frédéric Barrat, Nicholas Piggin
  Cc: qemu-ppc, qemu-devel

P8 used xscoms for accessing the LPC bus. In P9 the LPC bus was memory
mapped, simplifying access, however the xscom registers remained. Some
firmwares use this method on P9 and P10, so wire it up in qemu.

The third patch is a hack that shows how to test this access method with
skiboot. It should not be applied.

Joel Stanley (3):
  pnv/lpc: Place mmio regs in their own memory region
  pnv/lpc: Hook up xscom region for P9/P10
  HACK: pnv/lpc: Set up XSCOM dt for P9

 include/hw/ppc/pnv_lpc.h   |  3 ++-
 include/hw/ppc/pnv_xscom.h |  6 ++++++
 hw/ppc/pnv.c               |  8 ++++++--
 hw/ppc/pnv_lpc.c           | 13 ++++++++++++-
 4 files changed, 26 insertions(+), 4 deletions(-)

-- 
2.40.1



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

end of thread, other threads:[~2023-08-31 13:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-08  8:34 [PATCH for-8.2 0/3] pnv/lpc: Hook up xscoms for LPC Joel Stanley
2023-08-08  8:34 ` [PATCH for-8.2 1/3] pnv/lpc: Place mmio regs in their own memory region Joel Stanley
2023-08-08  8:34 ` [PATCH for-8.2 2/3] pnv/lpc: Hook up xscom region for P9/P10 Joel Stanley
2023-08-09 14:56   ` Frederic Barrat
2023-08-29 14:45     ` Cédric Le Goater
2023-08-31 12:57       ` Joel Stanley
2023-08-08  8:34 ` [PATCH for-8.2 3/3] HACK: pnv/lpc: Set up XSCOM dt for P9 Joel Stanley

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).