On Tue, Nov 21, 2023 at 08:43:13AM -0000, tip-bot2 for Andrew Cooper wrote: > The following commit has been merged into the x86/apic branch of tip: > > Commit-ID: b5148dfe66f5b04fdf85fbd3d0954e83792fa36c > Gitweb: https://git.kernel.org/tip/b5148dfe66f5b04fdf85fbd3d0954e83792fa36c > Author: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> > AuthorDate: Thu, 02 Nov 2023 12:26:19 > Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx> > CommitterDate: Tue, 21 Nov 2023 09:37:30 +01:00 > > x86/apic: Drop apic::delivery_mode > > This field is set to APIC_DELIVERY_MODE_FIXED in all cases, and is read > exactly once. Fold the constant in uv_program_mmr() and drop the field. > > Searching for the origin of the stale HyperV comment reveals commit > a31e58e129f7 ("x86/apic: Switch all APICs to Fixed delivery mode") which > notes: > > As a consequence of this change, the apic::irq_delivery_mode field is > now pointless, but this needs to be cleaned up in a separate patch. Looks like you folks missed a spot or three: drivers/iommu/amd/iommu.c: In function ‘irq_remapping_prepare_irte’: drivers/iommu/amd/iommu.c:3360:51: error: ‘struct apic’ has no member named ‘delivery_mode’ 3360 | iommu->irte_ops->prepare(data->entry, apic->delivery_mode, | ^~ drivers/iommu/amd/iommu.c: In function ‘amd_iommu_deactivate_guest_mode’: drivers/iommu/amd/iommu.c:3637:50: error: ‘struct apic’ has no member named ‘delivery_mode’ 3637 | entry->lo.fields_remap.int_type = apic->delivery_mode; | ^~ make[5]: *** [scripts/Makefile.build:243: drivers/iommu/amd/iommu.o] Error 1 make[4]: *** [scripts/Makefile.build:480: drivers/iommu/amd] Error 2 make[4]: *** Waiting for unfinished jobs.... drivers/iommu/intel/irq_remapping.c: In function ‘prepare_irte’: drivers/iommu/intel/irq_remapping.c:1115:32: error: ‘struct apic’ has no member named ‘delivery_mode’ 1115 | irte->dlvry_mode = apic->delivery_mode; | ^~ make[5]: *** [scripts/Makefile.build:243: drivers/iommu/intel/irq_remapping.o] Error 1 make[4]: *** [scripts/Makefile.build:480: drivers/iommu/intel] Error 2 make[3]: *** [scripts/Makefile.build:480: drivers/iommu] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [scripts/Makefile.build:480: drivers] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/mnt/kernel/kernel/3rd/linux/Makefile:1911: .] Error 2 make: *** [Makefile:234: __sub-make] Error 2 -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette