From: kernel test robot <lkp@intel.com>
To: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Thomas Gleixner <tglx@linutronix.de>,
Steve Wahl <steve.wahl@hpe.com>
Subject: [tglx-devel:x86/topology 1/73] drivers/iommu/intel/irq_remapping.c:1115:27: error: no member named 'delivery_mode' in 'struct apic'
Date: Tue, 21 Nov 2023 18:44:07 +0800 [thread overview]
Message-ID: <202311211831.nbJ6tryI-lkp@intel.com> (raw)
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
reply other threads:[~2023-11-21 10:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202311211831.nbJ6tryI-lkp@intel.com \
--to=lkp@intel.com \
--cc=andrew.cooper3@citrix.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=steve.wahl@hpe.com \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox