[PATCH 00/10] Untangle mach-generic/

Andrew Cooper posted 10 patches 11 months, 4 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20241108195820.789716-1-andrew.cooper3@citrix.com
xen/arch/x86/acpi/boot.c                      |  2 +-
xen/arch/x86/apic.c                           |  7 +-
xen/arch/x86/arch.mk                          |  1 -
xen/arch/x86/cpu/common.c                     |  1 -
xen/arch/x86/cpu/intel.c                      |  2 -
xen/arch/x86/genapic/delivery.c               |  3 +-
xen/arch/x86/hpet.c                           |  3 +-
xen/arch/x86/include/asm/genapic.h            | 20 +++++
.../x86/include/asm/mach-generic/mach_apic.h  | 77 -------------------
xen/arch/x86/io_apic.c                        | 32 ++++----
xen/arch/x86/irq.c                            |  6 +-
xen/arch/x86/mpparse.c                        |  7 +-
xen/arch/x86/msi.c                            |  6 +-
xen/arch/x86/setup.c                          |  3 +-
xen/arch/x86/smp.c                            |  4 +-
xen/arch/x86/smpboot.c                        |  6 +-
xen/arch/x86/x86_64/acpi_mmcfg.c              |  1 -
xen/drivers/passthrough/vtd/iommu.c           |  5 +-
xen/drivers/passthrough/vtd/quirks.c          |  4 +-
19 files changed, 72 insertions(+), 118 deletions(-)
delete mode 100644 xen/arch/x86/include/asm/mach-generic/mach_apic.h
[PATCH 00/10] Untangle mach-generic/
Posted by Andrew Cooper 11 months, 4 weeks ago
There's only one header file left.  More than half of it is totally useless,
and the rest has better places to live in the tree.

This lets us drop a compiler include path.

Andrew Cooper (10):
  VT-d: Drop includes of mach_apic.h
  x86: Drop includes of mach_apic.h
  x86/mach-apic: Move generic_*_probe() declarations into genapic.h
  x86/mach-apic: Drop apic_id_registered()
  x86/mach-apic: Drop ioapic_phys_id_map()
  x86/mach-apic: Drop check_apicid_used()
  x86/mach-apic: Drop check_apicid_present()
  x86/mach-apic: Drop set_apicid()
  x86/mach-apic: Move the genapic wrappers to genapic.h
  x86: Delete mach_apic.h

 xen/arch/x86/acpi/boot.c                      |  2 +-
 xen/arch/x86/apic.c                           |  7 +-
 xen/arch/x86/arch.mk                          |  1 -
 xen/arch/x86/cpu/common.c                     |  1 -
 xen/arch/x86/cpu/intel.c                      |  2 -
 xen/arch/x86/genapic/delivery.c               |  3 +-
 xen/arch/x86/hpet.c                           |  3 +-
 xen/arch/x86/include/asm/genapic.h            | 20 +++++
 .../x86/include/asm/mach-generic/mach_apic.h  | 77 -------------------
 xen/arch/x86/io_apic.c                        | 32 ++++----
 xen/arch/x86/irq.c                            |  6 +-
 xen/arch/x86/mpparse.c                        |  7 +-
 xen/arch/x86/msi.c                            |  6 +-
 xen/arch/x86/setup.c                          |  3 +-
 xen/arch/x86/smp.c                            |  4 +-
 xen/arch/x86/smpboot.c                        |  6 +-
 xen/arch/x86/x86_64/acpi_mmcfg.c              |  1 -
 xen/drivers/passthrough/vtd/iommu.c           |  5 +-
 xen/drivers/passthrough/vtd/quirks.c          |  4 +-
 19 files changed, 72 insertions(+), 118 deletions(-)
 delete mode 100644 xen/arch/x86/include/asm/mach-generic/mach_apic.h

-- 
2.39.5
Re: [PATCH 00/10] Untangle mach-generic/
Posted by Jan Beulich 11 months, 3 weeks ago
On 08.11.2024 20:58, Andrew Cooper wrote:
> There's only one header file left.  More than half of it is totally useless,
> and the rest has better places to live in the tree.
> 
> This lets us drop a compiler include path.
> 
> Andrew Cooper (10):
>   VT-d: Drop includes of mach_apic.h
>   x86: Drop includes of mach_apic.h
>   x86/mach-apic: Move generic_*_probe() declarations into genapic.h
>   x86/mach-apic: Drop apic_id_registered()
>   x86/mach-apic: Drop ioapic_phys_id_map()
>   x86/mach-apic: Drop check_apicid_used()
>   x86/mach-apic: Drop check_apicid_present()
>   x86/mach-apic: Drop set_apicid()
>   x86/mach-apic: Move the genapic wrappers to genapic.h

Up to here:
Acked-by: Jan Beulich <jbeulich@suse.com>

>   x86: Delete mach_apic.h

I'll comment on this one separately.

Jan