Simplify memory_region_add_subregion_overlap(..., priority=0)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | hw/arm/nrf51_soc: Use memory_region_add_subregion() when priority is 0hw/ | +7 | 0 replies | |
| 2/8 | hw/arm/raspi: Use memory_region_add_subregion() when priority is 0hw/ hw/ | +3 | 0 replies | |
| 3/8 | hw/arm/xlnx-versal: Use memory_region_add_subregion() when priority is 0hw/ hw/ | +3 | 0 replies | |
| 4/8 | hw/i386/intel_iommu: Use memory_region_add_subregion when priority is 0hw/ | +4 | 0 replies | |
| 5/8 | hw/mips/boston: Use memory_region_add_subregion() when priority is 0hw/ | +7 | 0 replies | |
| 6/8 | hw/vfio/pci: Use memory_region_add_subregion() when priority is 0hw/ | +1 | 0 replies | |
| 7/8 | target/i386: Use memory_region_add_subregion() when priority is 0target/ target/ | +2 | 0 replies | |
| 8/8 | target/i386/cpu: Use 'mr' for MemoryRegion variablestarget/ target/ | +10 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/8] Simplify memory_region_add_subregion_overlap(..., priority=0)
Hi,
In this series we use coccinelle to replace:
- memory_region_add_subregion_overlap(..., priority=0)
+ memory_region_add_subregion(...)
Rationale is the code is easier to read, and reviewers don't have to worry about overlapping because it isn't used.
Last patch is a minor cleanup in variable names.
I expect each subsystem maintainer to take the subsystem patches.
Regards,
Phil.
Philippe Mathieu-Daudé (8):
hw/arm/nrf51_soc: Use memory_region_add_subregion() when priority is 0 hw/arm/raspi: Use memory_region_add_subregion() when priority is 0 hw/arm/xlnx-versal: Use memory_region_add_subregion() when priority is
0
hw/i386/intel_iommu: Use memory_region_add_subregion when priority is
0 hw/mips/boston: Use memory_region_add_subregion() when priority is 0 hw/vfio/pci: Use memory_region_add_subregion() when priority is 0 target/i386: Use memory_region_add_subregion() when priority is 0 target/i386/cpu: Use 'mr' for MemoryRegion variables
target/i386/cpu.h | 2 +- hw/arm/bcm2835_peripherals.c | 4 ++-- hw/arm/nrf51_soc.c | 14 +++++++------- hw/arm/raspi.c | 2 +- hw/arm/xlnx-versal-virt.c | 3 +-- hw/arm/xlnx-versal.c | 4 ++-- hw/i386/intel_iommu.c | 11 ++++------- hw/mips/boston.c | 14 +++++++------- hw/vfio/pci.c | 3 +-- target/i386/cpu.c | 18 +++++++++--------- target/i386/kvm.c | 2 +- 11 files changed, 36 insertions(+), 41 deletions(-)
Signature · 1 line
2.21.0