tree: https://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git kvm-arm64/nv-wip-v5.0-rc1 head: 688c386ca096f2c1f2eee386697586c88df5d5bc commit: 2f0dfa723fec5361c9784fa63b6af3e83d2486d1 [56/75] KVM: arm64: nv: vgic-v3: Take cpu_if pointer directly instead of vcpu config: arm-axm55xx_defconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 2f0dfa723fec5361c9784fa63b6af3e83d2486d1 # save the attached .config to linux build tree GCC_VERSION=7.2.0 make.cross ARCH=arm All errors (new ones prefixed by >>): arch/arm/kvm/hyp/switch.c: In function '__vgic_restore_state': >> arch/arm/kvm/hyp/switch.c:103:27: error: passing argument 1 of '__vgic_v3_restore_state' from incompatible pointer type [-Werror=incompatible-pointer-types] __vgic_v3_restore_state(vcpu); ^~~~ In file included from arch/arm/kvm/hyp/switch.c:20:0: arch/arm/include/asm/kvm_hyp.h:112:6: note: expected 'struct vgic_v3_cpu_if *' but argument is of type 'struct kvm_vcpu *' void __vgic_v3_restore_state(struct vgic_v3_cpu_if *cpu_if); ^~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/__vgic_v3_restore_state +103 arch/arm/kvm/hyp/switch.c 9dddc2dfa Marc Zyngier 2016-01-05 98 9dddc2dfa Marc Zyngier 2016-01-05 99 static void __hyp_text __vgic_restore_state(struct kvm_vcpu *vcpu) 9dddc2dfa Marc Zyngier 2016-01-05 100 { 2d0e63e03 Christoffer Dall 2017-10-05 101 if (static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) { 2f0dfa723 Christoffer Dall 2018-12-01 102 __vgic_v3_activate_traps(&vcpu->arch.vgic_cpu.vgic_v3); acda5430b Vladimir Murzin 2016-09-12 @103 __vgic_v3_restore_state(vcpu); 9dddc2dfa Marc Zyngier 2016-01-05 104 } 2d0e63e03 Christoffer Dall 2017-10-05 105 } 9dddc2dfa Marc Zyngier 2016-01-05 106 :::::: The code at line 103 was first introduced by commit :::::: acda5430bee4621f218391d0bcfbe4412adb3554 ARM: KVM: Support vgic-v3 :::::: TO: Vladimir Murzin <vladimir.murzin@xxxxxxx> :::::: CC: Christoffer Dall <christoffer.dall@xxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip
_______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/mailman/listinfo/kvmarm