qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Make PAMMemoryRegion less Intel-specific
@ 2024-03-09 13:40 Bernhard Beschow
  2024-03-09 13:40 ` [PATCH 1/2] hw/pci-host/pam: Free PAMMemoryRegion from Intel-specific bit handling Bernhard Beschow
  2024-03-09 13:40 ` [PATCH 2/2] hw/pci-host/pam: Remove northbridge-specific PAM_REGIONS_COUNT Bernhard Beschow
  0 siblings, 2 replies; 6+ messages in thread
From: Bernhard Beschow @ 2024-03-09 13:40 UTC (permalink / raw)
  To: qemu-devel; +Cc: Michael S. Tsirkin, Marcel Apfelbaum, Bernhard Beschow

This series makes pam_update() more self-contained by removing some Intel
assumptions. As a result, the purpose of PAMMemoryRegion becomes clearer and, as
a side effect, makes it reusable for northbridges other than Intel, e.g. VIA.

Testing done:
* `make check`
* `make check-avocado`
* This series is sent from a VM implementing this series.

Bernhard Beschow (2):
  hw/pci-host/pam: Free PAMMemoryRegion from Intel-specific bit handling
  hw/pci-host/pam: Remove northbridge-specific PAM_REGIONS_COUNT

 include/hw/pci-host/i440fx.h |  4 +++-
 include/hw/pci-host/pam.h    |  9 +++------
 include/hw/pci-host/q35.h    |  4 +++-
 hw/pci-host/i440fx.c         |  7 +++++--
 hw/pci-host/pam.c            | 14 +++++++-------
 hw/pci-host/q35.c            |  7 ++++---
 6 files changed, 25 insertions(+), 20 deletions(-)

-- 
2.44.0



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

end of thread, other threads:[~2024-03-09 18:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-09 13:40 [PATCH 0/2] Make PAMMemoryRegion less Intel-specific Bernhard Beschow
2024-03-09 13:40 ` [PATCH 1/2] hw/pci-host/pam: Free PAMMemoryRegion from Intel-specific bit handling Bernhard Beschow
2024-03-09 16:29   ` Philippe Mathieu-Daudé
2024-03-09 18:50     ` Bernhard Beschow
2024-03-09 13:40 ` [PATCH 2/2] hw/pci-host/pam: Remove northbridge-specific PAM_REGIONS_COUNT Bernhard Beschow
2024-03-09 14:02   ` Philippe Mathieu-Daudé

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