qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/3] Refactor PPI logic/definitions for virt/sbsa-ref
@ 2023-09-15 11:55 Leif Lindholm
  2023-09-15 11:55 ` [PATCH v1 1/3] {include/}hw/arm: refactor virt PPI logic Leif Lindholm
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Leif Lindholm @ 2023-09-15 11:55 UTC (permalink / raw)
  To: qemu-devel
  Cc: qemu-arm, Radoslaw Biernacki, Peter Maydell, Marcin Juszkiewicz,
	Philippe Mathieu-Daudé

This set reworks the handling of private peripheral interrupts in virt
to use INTIDs instead of PPI IDs, to make it easier to cross reference
against Arm's Base System Architecture specification.

It then breaks those definitions out into a separate header and switches
sbsa-ref to use the same header instead of defining its own values
locally.

Changes since RFC:
- Compilation tested
- Reordered patches 1-2 as suggested by Philippe.

Leif Lindholm (3):
  {include/}hw/arm: refactor virt PPI logic
  include/hw/arm: move BSA definitions to bsa.h
  hw/arm/sbsa-ref: use bsa.h for PPI definitions

 hw/arm/sbsa-ref.c        | 23 +++++++++++------------
 hw/arm/virt-acpi-build.c |  4 ++--
 hw/arm/virt.c            |  9 +++++----
 include/hw/arm/bsa.h     | 35 +++++++++++++++++++++++++++++++++++
 include/hw/arm/virt.h    | 12 +-----------
 5 files changed, 54 insertions(+), 29 deletions(-)
 create mode 100644 include/hw/arm/bsa.h

-- 
2.30.2



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

end of thread, other threads:[~2023-09-18 10:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-15 11:55 [PATCH v1 0/3] Refactor PPI logic/definitions for virt/sbsa-ref Leif Lindholm
2023-09-15 11:55 ` [PATCH v1 1/3] {include/}hw/arm: refactor virt PPI logic Leif Lindholm
2023-09-18 10:44   ` Peter Maydell
2023-09-15 11:55 ` [PATCH v1 2/3] include/hw/arm: move BSA definitions to bsa.h Leif Lindholm
2023-09-18 10:46   ` Peter Maydell
2023-09-15 11:55 ` [PATCH v1 3/3] hw/arm/sbsa-ref: use bsa.h for PPI definitions Leif Lindholm
2023-09-18 10:45   ` Peter Maydell
2023-09-15 12:04 ` [PATCH v1 0/3] Refactor PPI logic/definitions for virt/sbsa-ref Marcin Juszkiewicz

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