[PATCH 0/2] Make PAMMemoryRegion less Intel-specific

Bernhard Beschow posted 2 patches 1 month, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20240309134056.1605-1-shentey@gmail.com
Maintainers: "Michael S. Tsirkin" <mst@redhat.com>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
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(-)
[PATCH 0/2] Make PAMMemoryRegion less Intel-specific
Posted by Bernhard Beschow 1 month, 2 weeks ago
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