* [tglx-devel:x86/topology 1/73] drivers/iommu/intel/irq_remapping.c:1115:27: error: no member named 'delivery_mode' in 'struct apic'
@ 2023-11-21 10:44 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-11-21 10:44 UTC (permalink / raw)
To: Andrew Cooper; +Cc: llvm, oe-kbuild-all, Thomas Gleixner, Steve Wahl
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git x86/topology
head: ed585684e724a1a12844095f6b58d6cdd1f9f332
commit: 0ed62b297d6164d78367aa26301df7797418a1f4 [1/73] x86/apic: Drop apic:: Delivery_mode
config: x86_64-rhel-8.3-rust (https://download.01.org/0day-ci/archive/20231121/202311211831.nbJ6tryI-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231121/202311211831.nbJ6tryI-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311211831.nbJ6tryI-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/iommu/intel/irq_remapping.c:1115:27: error: no member named 'delivery_mode' in 'struct apic'
irte->dlvry_mode = apic->delivery_mode;
~~~~ ^
1 error generated.
vim +1115 drivers/iommu/intel/irq_remapping.c
85a8dfc57a0b96 drivers/iommu/intel/irq_remapping.c Thomas Gleixner 2020-08-26 1100
3c6e567509ed4e drivers/iommu/intel_irq_remapping.c Jiang Liu 2015-04-14 1101 static void prepare_irte(struct irte *irte, int vector, unsigned int dest)
0c3f173a88c4ae drivers/iommu/intel_intr_remapping.c Joerg Roedel 2012-03-30 1102 {
0c3f173a88c4ae drivers/iommu/intel_intr_remapping.c Joerg Roedel 2012-03-30 1103 memset(irte, 0, sizeof(*irte));
0c3f173a88c4ae drivers/iommu/intel_intr_remapping.c Joerg Roedel 2012-03-30 1104
0c3f173a88c4ae drivers/iommu/intel_intr_remapping.c Joerg Roedel 2012-03-30 1105 irte->present = 1;
8c44963b603db7 drivers/iommu/intel/irq_remapping.c Thomas Gleixner 2020-10-24 1106 irte->dst_mode = apic->dest_mode_logical;
0c3f173a88c4ae drivers/iommu/intel_intr_remapping.c Joerg Roedel 2012-03-30 1107 /*
0c3f173a88c4ae drivers/iommu/intel_intr_remapping.c Joerg Roedel 2012-03-30 1108 * Trigger mode in the IRTE will always be edge, and for IO-APIC, the
0c3f173a88c4ae drivers/iommu/intel_intr_remapping.c Joerg Roedel 2012-03-30 1109 * actual level or edge trigger will be setup in the IO-APIC
0c3f173a88c4ae drivers/iommu/intel_intr_remapping.c Joerg Roedel 2012-03-30 1110 * RTE. This will help simplify level triggered irq migration.
0c3f173a88c4ae drivers/iommu/intel_intr_remapping.c Joerg Roedel 2012-03-30 1111 * For more details, see the comments (in io_apic.c) explainig IO-APIC
0c3f173a88c4ae drivers/iommu/intel_intr_remapping.c Joerg Roedel 2012-03-30 1112 * irq migration in the presence of interrupt-remapping.
0c3f173a88c4ae drivers/iommu/intel_intr_remapping.c Joerg Roedel 2012-03-30 1113 */
0c3f173a88c4ae drivers/iommu/intel_intr_remapping.c Joerg Roedel 2012-03-30 1114 irte->trigger_mode = 0;
721612994f53ed drivers/iommu/intel/irq_remapping.c Thomas Gleixner 2020-10-24 @1115 irte->dlvry_mode = apic->delivery_mode;
0c3f173a88c4ae drivers/iommu/intel_intr_remapping.c Joerg Roedel 2012-03-30 1116 irte->vector = vector;
0c3f173a88c4ae drivers/iommu/intel_intr_remapping.c Joerg Roedel 2012-03-30 1117 irte->dest_id = IRTE_DEST(dest);
0c3f173a88c4ae drivers/iommu/intel_intr_remapping.c Joerg Roedel 2012-03-30 1118 irte->redir_hint = 1;
0c3f173a88c4ae drivers/iommu/intel_intr_remapping.c Joerg Roedel 2012-03-30 1119 }
0c3f173a88c4ae drivers/iommu/intel_intr_remapping.c Joerg Roedel 2012-03-30 1120
:::::: The code at line 1115 was first introduced by commit
:::::: 721612994f53ed600b39a80d912b10f51960e2e3 x86/apic: Cleanup delivery mode defines
:::::: TO: Thomas Gleixner <tglx@linutronix.de>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-11-21 10:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-21 10:44 [tglx-devel:x86/topology 1/73] drivers/iommu/intel/irq_remapping.c:1115:27: error: no member named 'delivery_mode' in 'struct apic' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox