[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202201270538.QiKLpMYv-lkp@intel.com>
Date: Thu, 27 Jan 2022 05:25:22 +0800
From: kernel test robot <lkp@...el.com>
To: James Morse <james.morse@....com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [morse:mpam/snapshot/v5.16 70/137]
include/linux/irqchip/arm-vgic-info.h:13: Error: bad instruction `enum
gic_type {'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git mpam/snapshot/v5.16
head: 364c1c42b229912132e1615c2ce15be7154e2156
commit: faf6ce00f9b35ca0a0389a2d66d90214d3c62f34 [70/137] irqchip/gic: Collect GIC_IRQ_TYPE definitions into one place
config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20220127/202201270538.QiKLpMYv-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git/commit/?id=faf6ce00f9b35ca0a0389a2d66d90214d3c62f34
git remote add morse https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git
git fetch --no-tags morse mpam/snapshot/v5.16
git checkout faf6ce00f9b35ca0a0389a2d66d90214d3c62f34
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
include/linux/irqchip/arm-vgic-info.h: Assembler messages:
>> include/linux/irqchip/arm-vgic-info.h:13: Error: bad instruction `enum gic_type {'
>> include/linux/irqchip/arm-vgic-info.h:15: Error: bad instruction `gic_v2,'
>> include/linux/irqchip/arm-vgic-info.h:17: Error: bad instruction `gic_v3,'
>> include/linux/irqchip/arm-vgic-info.h:18: Error: junk at end of line, first unrecognized character is `}'
>> include/linux/irqchip/arm-vgic-info.h:20: Error: bad instruction `struct gic_kvm_info {'
>> include/linux/irqchip/arm-vgic-info.h:22: Error: bad instruction `enum gic_type type'
>> include/linux/irqchip/arm-vgic-info.h:24: Error: bad instruction `struct resource vcpu'
>> include/linux/irqchip/arm-vgic-info.h:26: Error: bad instruction `unsigned int maint_irq'
>> include/linux/irqchip/arm-vgic-info.h:28: Error: bad instruction `bool no_maint_irq_mask'
>> include/linux/irqchip/arm-vgic-info.h:30: Error: bad instruction `struct resource vctrl'
>> include/linux/irqchip/arm-vgic-info.h:32: Error: bad instruction `bool has_v4'
>> include/linux/irqchip/arm-vgic-info.h:34: Error: bad instruction `bool has_v4_1'
>> include/linux/irqchip/arm-vgic-info.h:36: Error: bad instruction `bool no_hw_deactivation'
include/linux/irqchip/arm-vgic-info.h:37: Error: junk at end of line, first unrecognized character is `}'
>> include/linux/irqchip/arm-vgic-info.h:42: Error: bad instruction `static inline void vgic_set_kvm_info(const struct gic_kvm_info*info){}'
>> include/linux/irqchip/arm-gic-common.h:25: Error: bad instruction `struct irq_domain'
>> include/linux/irqchip/arm-gic-common.h:26: Error: bad instruction `struct fwnode_handle'
>> include/linux/irqchip/arm-gic-common.h:27: Error: bad instruction `int gicv2m_init(struct fwnode_handle*parent_handle,'
>> include/linux/irqchip/arm-gic-common.h:28: Error: bad instruction `struct irq_domain*parent)'
vim +13 include/linux/irqchip/arm-vgic-info.h
0e5cb7770684b4 Marc Zyngier 2021-02-27 12
0e5cb7770684b4 Marc Zyngier 2021-02-27 @13 enum gic_type {
0e5cb7770684b4 Marc Zyngier 2021-02-27 14 /* Full GICv2 */
0e5cb7770684b4 Marc Zyngier 2021-02-27 @15 GIC_V2,
0e5cb7770684b4 Marc Zyngier 2021-02-27 16 /* Full GICv3, optionally with v2 compat */
0e5cb7770684b4 Marc Zyngier 2021-02-27 @17 GIC_V3,
0e5cb7770684b4 Marc Zyngier 2021-02-27 @18 };
0e5cb7770684b4 Marc Zyngier 2021-02-27 19
0e5cb7770684b4 Marc Zyngier 2021-02-27 @20 struct gic_kvm_info {
0e5cb7770684b4 Marc Zyngier 2021-02-27 21 /* GIC type */
0e5cb7770684b4 Marc Zyngier 2021-02-27 @22 enum gic_type type;
0e5cb7770684b4 Marc Zyngier 2021-02-27 23 /* Virtual CPU interface */
0e5cb7770684b4 Marc Zyngier 2021-02-27 @24 struct resource vcpu;
0e5cb7770684b4 Marc Zyngier 2021-02-27 25 /* Interrupt number */
0e5cb7770684b4 Marc Zyngier 2021-02-27 @26 unsigned int maint_irq;
669062d2a1aa36 Marc Zyngier 2021-02-28 27 /* No interrupt mask, no need to use the above field */
669062d2a1aa36 Marc Zyngier 2021-02-28 @28 bool no_maint_irq_mask;
0e5cb7770684b4 Marc Zyngier 2021-02-27 29 /* Virtual control interface */
0e5cb7770684b4 Marc Zyngier 2021-02-27 @30 struct resource vctrl;
0e5cb7770684b4 Marc Zyngier 2021-02-27 31 /* vlpi support */
0e5cb7770684b4 Marc Zyngier 2021-02-27 @32 bool has_v4;
0e5cb7770684b4 Marc Zyngier 2021-02-27 33 /* rvpeid support */
0e5cb7770684b4 Marc Zyngier 2021-02-27 @34 bool has_v4_1;
f6c3e24fb721dd Marc Zyngier 2021-03-15 35 /* Deactivation impared, subpar stuff */
f6c3e24fb721dd Marc Zyngier 2021-03-15 @36 bool no_hw_deactivation;
0e5cb7770684b4 Marc Zyngier 2021-02-27 37 };
0e5cb7770684b4 Marc Zyngier 2021-02-27 38
0e5cb7770684b4 Marc Zyngier 2021-02-27 39 #ifdef CONFIG_KVM
0e5cb7770684b4 Marc Zyngier 2021-02-27 40 void vgic_set_kvm_info(const struct gic_kvm_info *info);
0e5cb7770684b4 Marc Zyngier 2021-02-27 41 #else
0e5cb7770684b4 Marc Zyngier 2021-02-27 @42 static inline void vgic_set_kvm_info(const struct gic_kvm_info *info) {}
0e5cb7770684b4 Marc Zyngier 2021-02-27 43 #endif
0e5cb7770684b4 Marc Zyngier 2021-02-27 44
:::::: The code at line 13 was first introduced by commit
:::::: 0e5cb7770684b4c81bcc63f4675e488f9a0e31eb irqchip/gic: Split vGIC probing information from the GIC code
:::::: TO: Marc Zyngier <maz@...nel.org>
:::::: CC: Marc Zyngier <maz@...nel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Powered by blists - more mailing lists