From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============4639250749232890729==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [morse:mpam/snapshot/v5.16 70/137] include/linux/irqchip/arm-vgic-info.h:13: Error: bad instruction `enum gic_type {' Date: Thu, 27 Jan 2022 05:25:22 +0800 Message-ID: <202201270538.QiKLpMYv-lkp@intel.com> List-Id: --===============4639250749232890729== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable tree: https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git mpa= m/snapshot/v5.16 head: 364c1c42b229912132e1615c2ce15be7154e2156 commit: faf6ce00f9b35ca0a0389a2d66d90214d3c62f34 [70/137] irqchip/gic: Coll= ect GIC_IRQ_TYPE definitions into one place config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20220127/= 202201270538.QiKLpMYv-lkp(a)intel.com/config) compiler: arm-linux-gnueabi-gcc (GCC) 11.2.0 reproduce (this is a W=3D1 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/c= ommit/?id=3Dfaf6ce00f9b35ca0a0389a2d66d90214d3c62f34 git remote add morse https://git.kernel.org/pub/scm/linux/kernel/gi= t/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=3D$HOME/0day COMPILER=3Dgcc-11.2.0 make.cross= O=3Dbuild_dir ARCH=3Darm SHELL=3D/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot 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 g= ic_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, fi= rst 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 g= ic_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 `unsign= ed int maint_irq' >> include/linux/irqchip/arm-vgic-info.h:28: Error: bad instruction `bool n= o_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 h= as_v4' >> include/linux/irqchip/arm-vgic-info.h:34: Error: bad instruction `bool h= as_v4_1' >> include/linux/irqchip/arm-vgic-info.h:36: Error: bad instruction `bool n= o_hw_deactivation' include/linux/irqchip/arm-vgic-info.h:37: Error: junk at end of line, fi= rst 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 `struc= t irq_domain' >> include/linux/irqchip/arm-gic-common.h:26: Error: bad instruction `struc= t fwnode_handle' >> include/linux/irqchip/arm-gic-common.h:27: Error: bad instruction `int g= icv2m_init(struct fwnode_handle*parent_handle,' >> include/linux/irqchip/arm-gic-common.h:28: Error: bad instruction `struc= t 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, subpa= r 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 st= ruct 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 pro= bing information from the GIC code :::::: TO: Marc Zyngier :::::: CC: Marc Zyngier --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============4639250749232890729==--