[PATCH v2 0/2] hw/arm/smmuv3: Avoid including CONFIG_DEVICES in hw/ header

Philippe Mathieu-Daudé posted 2 patches 19 hours ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260410200031.18572-1-philmd@linaro.org
Maintainers: Peter Maydell <peter.maydell@linaro.org>, Eric Auger <eric.auger@redhat.com>
hw/arm/smmuv3-accel.h       | 41 +----------------------------
hw/arm/smmuv3-accel-stubs.c | 52 +++++++++++++++++++++++++++++++++++++
hw/arm/smmuv3-accel.c       |  3 ++-
hw/arm/smmuv3.c             | 11 +++-----
hw/arm/meson.build          |  5 ++--
5 files changed, 61 insertions(+), 51 deletions(-)
create mode 100644 hw/arm/smmuv3-accel-stubs.c
[PATCH v2 0/2] hw/arm/smmuv3: Avoid including CONFIG_DEVICES in hw/ header
Posted by Philippe Mathieu-Daudé 19 hours ago
Since v2:
- Restrict to ARM SMMUv3
- Address Shameer review comments

By inlinining the stubs we can avoid the use of target-specific
CONFIG_DEVICES include in a hw/ header, allowing to build the
source files including it as common objects.

Philippe Mathieu-Daudé (2):
  hw/arm/smmuv3: Have smmuv3_accel_init() take an Error* parameter
  hw/arm/smmuv3: Avoid including CONFIG_DEVICES in hw/ header

 hw/arm/smmuv3-accel.h       | 41 +----------------------------
 hw/arm/smmuv3-accel-stubs.c | 52 +++++++++++++++++++++++++++++++++++++
 hw/arm/smmuv3-accel.c       |  3 ++-
 hw/arm/smmuv3.c             | 11 +++-----
 hw/arm/meson.build          |  5 ++--
 5 files changed, 61 insertions(+), 51 deletions(-)
 create mode 100644 hw/arm/smmuv3-accel-stubs.c

-- 
2.53.0