All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [mark-rutland:arm64/daif-rework 5/5] arch/arm64/include/asm/kvm_host.h:20:2: error: embedding a #include directive within macro arguments is not supported
@ 2020-02-27  2:34 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-02-27  2:34 UTC (permalink / raw
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 10304 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git arm64/daif-rework
head:   2badfbbf7363ecae9afa46b4f5e2ae557a906123
commit: 2badfbbf7363ecae9afa46b4f5e2ae557a906123 [5/5] arm64: rework irq/daif flag manipulation
config: arm64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (git://gitmirror/llvm_project 396b7253944e927878dff2f6321efabb3aaa0f45)
reproduce:
        # FIXME the reproduce steps for clang is not ready yet

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   In file included from arch/arm64/kernel/asm-offsets.c:14:
   In file included from include/linux/kvm_host.h:36:
>> arch/arm64/include/asm/kvm_host.h:20:2: error: embedding a #include directive within macro arguments is not supported
   #include <asm/barrier.h>
    ^
   arch/arm64/include/asm/arch_gicv3.h:156:2: note: expansion of macro 'BUILD_BUG_ON' requested here
           BUILD_BUG_ON(GICD_INT_DEF_PRI < (GIC_PRIO_IRQOFF);
           ^
   In file included from arch/arm64/kernel/asm-offsets.c:14:
   In file included from include/linux/kvm_host.h:36:
   arch/arm64/include/asm/kvm_host.h:21:2: error: embedding a #include directive within macro arguments is not supported
   #include <asm/cpufeature.h>
    ^
   arch/arm64/include/asm/arch_gicv3.h:156:2: note: expansion of macro 'BUILD_BUG_ON' requested here
           BUILD_BUG_ON(GICD_INT_DEF_PRI < (GIC_PRIO_IRQOFF);
           ^
   In file included from arch/arm64/kernel/asm-offsets.c:14:
   In file included from include/linux/kvm_host.h:36:
   arch/arm64/include/asm/kvm_host.h:22:2: error: embedding a #include directive within macro arguments is not supported
   #include <asm/cputype.h>
    ^
   arch/arm64/include/asm/arch_gicv3.h:156:2: note: expansion of macro 'BUILD_BUG_ON' requested here
           BUILD_BUG_ON(GICD_INT_DEF_PRI < (GIC_PRIO_IRQOFF);
           ^
   In file included from arch/arm64/kernel/asm-offsets.c:14:
   In file included from include/linux/kvm_host.h:36:
   arch/arm64/include/asm/kvm_host.h:23:2: error: embedding a #include directive within macro arguments is not supported
   #include <asm/daifflags.h>
    ^
   arch/arm64/include/asm/arch_gicv3.h:156:2: note: expansion of macro 'BUILD_BUG_ON' requested here
           BUILD_BUG_ON(GICD_INT_DEF_PRI < (GIC_PRIO_IRQOFF);
           ^
   In file included from arch/arm64/kernel/asm-offsets.c:14:
   In file included from include/linux/kvm_host.h:36:
   arch/arm64/include/asm/kvm_host.h:24:2: error: embedding a #include directive within macro arguments is not supported
   #include <asm/fpsimd.h>
    ^
   arch/arm64/include/asm/arch_gicv3.h:156:2: note: expansion of macro 'BUILD_BUG_ON' requested here
           BUILD_BUG_ON(GICD_INT_DEF_PRI < (GIC_PRIO_IRQOFF);
           ^
   In file included from arch/arm64/kernel/asm-offsets.c:14:
   In file included from include/linux/kvm_host.h:36:
   arch/arm64/include/asm/kvm_host.h:25:2: error: embedding a #include directive within macro arguments is not supported
   #include <asm/kvm.h>
    ^
   arch/arm64/include/asm/arch_gicv3.h:156:2: note: expansion of macro 'BUILD_BUG_ON' requested here
           BUILD_BUG_ON(GICD_INT_DEF_PRI < (GIC_PRIO_IRQOFF);
           ^
   In file included from arch/arm64/kernel/asm-offsets.c:14:
   In file included from include/linux/kvm_host.h:36:
   arch/arm64/include/asm/kvm_host.h:26:2: error: embedding a #include directive within macro arguments is not supported
   #include <asm/kvm_asm.h>
    ^
   arch/arm64/include/asm/arch_gicv3.h:156:2: note: expansion of macro 'BUILD_BUG_ON' requested here
           BUILD_BUG_ON(GICD_INT_DEF_PRI < (GIC_PRIO_IRQOFF);
           ^
   In file included from arch/arm64/kernel/asm-offsets.c:14:
   In file included from include/linux/kvm_host.h:36:
   arch/arm64/include/asm/kvm_host.h:27:2: error: embedding a #include directive within macro arguments is not supported
   #include <asm/thread_info.h>
    ^
   arch/arm64/include/asm/arch_gicv3.h:156:2: note: expansion of macro 'BUILD_BUG_ON' requested here
           BUILD_BUG_ON(GICD_INT_DEF_PRI < (GIC_PRIO_IRQOFF);
           ^
   In file included from arch/arm64/kernel/asm-offsets.c:14:
   In file included from include/linux/kvm_host.h:36:
   arch/arm64/include/asm/kvm_host.h:34:2: error: embedding a #include directive within macro arguments is not supported
   #include <kvm/arm_vgic.h>
    ^
   arch/arm64/include/asm/arch_gicv3.h:156:2: note: expansion of macro 'BUILD_BUG_ON' requested here
           BUILD_BUG_ON(GICD_INT_DEF_PRI < (GIC_PRIO_IRQOFF);
           ^
   In file included from arch/arm64/kernel/asm-offsets.c:14:
   In file included from include/linux/kvm_host.h:36:
   arch/arm64/include/asm/kvm_host.h:35:2: error: embedding a #include directive within macro arguments is not supported
   #include <kvm/arm_arch_timer.h>
    ^
   arch/arm64/include/asm/arch_gicv3.h:156:2: note: expansion of macro 'BUILD_BUG_ON' requested here
           BUILD_BUG_ON(GICD_INT_DEF_PRI < (GIC_PRIO_IRQOFF);
           ^
   In file included from arch/arm64/kernel/asm-offsets.c:14:
   In file included from include/linux/kvm_host.h:36:
   arch/arm64/include/asm/kvm_host.h:36:2: error: embedding a #include directive within macro arguments is not supported
   #include <kvm/arm_pmu.h>
    ^
   arch/arm64/include/asm/arch_gicv3.h:156:2: note: expansion of macro 'BUILD_BUG_ON' requested here
           BUILD_BUG_ON(GICD_INT_DEF_PRI < (GIC_PRIO_IRQOFF);
           ^
>> arch/arm64/kernel/asm-offsets.c:15:2: error: embedding a #include directive within macro arguments is not supported
   #include <linux/preempt.h>
    ^
   arch/arm64/include/asm/arch_gicv3.h:156:2: note: expansion of macro 'BUILD_BUG_ON' requested here
           BUILD_BUG_ON(GICD_INT_DEF_PRI < (GIC_PRIO_IRQOFF);
           ^
   arch/arm64/kernel/asm-offsets.c:16:2: error: embedding a #include directive within macro arguments is not supported
   #include <linux/suspend.h>
    ^
   arch/arm64/include/asm/arch_gicv3.h:156:2: note: expansion of macro 'BUILD_BUG_ON' requested here
           BUILD_BUG_ON(GICD_INT_DEF_PRI < (GIC_PRIO_IRQOFF);
           ^
   arch/arm64/kernel/asm-offsets.c:17:2: error: embedding a #include directive within macro arguments is not supported
   #include <asm/cpufeature.h>
    ^
   arch/arm64/include/asm/arch_gicv3.h:156:2: note: expansion of macro 'BUILD_BUG_ON' requested here
           BUILD_BUG_ON(GICD_INT_DEF_PRI < (GIC_PRIO_IRQOFF);
           ^
   arch/arm64/kernel/asm-offsets.c:18:2: error: embedding a #include directive within macro arguments is not supported
   #include <asm/fixmap.h>
    ^
   arch/arm64/include/asm/arch_gicv3.h:156:2: note: expansion of macro 'BUILD_BUG_ON' requested here
           BUILD_BUG_ON(GICD_INT_DEF_PRI < (GIC_PRIO_IRQOFF);
           ^
   arch/arm64/kernel/asm-offsets.c:19:2: error: embedding a #include directive within macro arguments is not supported
   #include <asm/thread_info.h>
    ^
   arch/arm64/include/asm/arch_gicv3.h:156:2: note: expansion of macro 'BUILD_BUG_ON' requested here
           BUILD_BUG_ON(GICD_INT_DEF_PRI < (GIC_PRIO_IRQOFF);
           ^
   arch/arm64/kernel/asm-offsets.c:20:2: error: embedding a #include directive within macro arguments is not supported
   #include <asm/memory.h>
    ^
   arch/arm64/include/asm/arch_gicv3.h:156:2: note: expansion of macro 'BUILD_BUG_ON' requested here
           BUILD_BUG_ON(GICD_INT_DEF_PRI < (GIC_PRIO_IRQOFF);
           ^
   arch/arm64/kernel/asm-offsets.c:21:2: error: embedding a #include directive within macro arguments is not supported
   #include <asm/signal32.h>
    ^
   arch/arm64/include/asm/arch_gicv3.h:156:2: note: expansion of macro 'BUILD_BUG_ON' requested here
           BUILD_BUG_ON(GICD_INT_DEF_PRI < (GIC_PRIO_IRQOFF);
           ^
   arch/arm64/kernel/asm-offsets.c:22:2: error: embedding a #include directive within macro arguments is not supported
   #include <asm/smp_plat.h>
    ^
   arch/arm64/include/asm/arch_gicv3.h:156:2: note: expansion of macro 'BUILD_BUG_ON' requested here
           BUILD_BUG_ON(GICD_INT_DEF_PRI < (GIC_PRIO_IRQOFF);
           ^
   fatal error: too many errors emitted, stopping now [-ferror-limit=]
   20 errors generated.
   make[2]: *** [scripts/Makefile.build:101: arch/arm64/kernel/asm-offsets.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [Makefile:1112: prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:179: sub-make] Error 2
   22 real  7 user  10 sys  79.66% cpu 	make prepare

vim +20 arch/arm64/include/asm/kvm_host.h

4f8d6632ec7137 Marc Zyngier   2012-12-10  13  
3f61f40947e88b Dave Martin    2018-09-28  14  #include <linux/bitmap.h>
656473003bc7e0 Paolo Bonzini  2014-08-29  15  #include <linux/types.h>
3f61f40947e88b Dave Martin    2018-09-28  16  #include <linux/jump_label.h>
656473003bc7e0 Paolo Bonzini  2014-08-29  17  #include <linux/kvm_types.h>
3f61f40947e88b Dave Martin    2018-09-28  18  #include <linux/percpu.h>
85738e05dc38a8 Julien Thierry 2019-01-31  19  #include <asm/arch_gicv3.h>
3f61f40947e88b Dave Martin    2018-09-28 @20  #include <asm/barrier.h>
63a1e1c95e60e7 Mark Rutland   2017-05-16  21  #include <asm/cpufeature.h>
1e0cf16cdad1ba Marc Zyngier   2019-07-05  22  #include <asm/cputype.h>
4f5abad9e826bd James Morse    2018-01-15  23  #include <asm/daifflags.h>
17eed27b02da88 Dave Martin    2017-10-31  24  #include <asm/fpsimd.h>
4f8d6632ec7137 Marc Zyngier   2012-12-10  25  #include <asm/kvm.h>
3a3604bc5eb4ae Marc Zyngier   2015-01-29  26  #include <asm/kvm_asm.h>
e6b673b741ea0d Dave Martin    2018-04-06  27  #include <asm/thread_info.h>
4f8d6632ec7137 Marc Zyngier   2012-12-10  28  

:::::: The code at line 20 was first introduced by commit
:::::: 3f61f40947e88b069ac1103727c81582d6e91dea KVM: arm64: Add missing #includes to kvm_host.h

:::::: TO: Dave Martin <Dave.Martin@arm.com>
:::::: CC: Marc Zyngier <marc.zyngier@arm.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 70481 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-02-27  2:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-27  2:34 [mark-rutland:arm64/daif-rework 5/5] arch/arm64/include/asm/kvm_host.h:20:2: error: embedding a #include directive within macro arguments is not supported kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.