Merge remote-tracking branch 'origin/kvm-arm64/psci-relay' into kvmarm-master/next
authorMarc Zyngier <maz@kernel.org>
Wed, 9 Dec 2020 10:00:24 +0000 (10:00 +0000)
committerMarc Zyngier <maz@kernel.org>
Wed, 9 Dec 2020 10:00:24 +0000 (10:00 +0000)
Signed-off-by: Marc Zyngier <maz@kernel.org>
13 files changed:
1  2 
arch/arm64/include/asm/cpucaps.h
arch/arm64/include/asm/cpufeature.h
arch/arm64/include/asm/kvm_asm.h
arch/arm64/include/asm/kvm_host.h
arch/arm64/include/asm/kvm_mmu.h
arch/arm64/include/asm/sysreg.h
arch/arm64/kernel/cpufeature.c
arch/arm64/kernel/process.c
arch/arm64/kernel/proton-pack.c
arch/arm64/kvm/arm.c
arch/arm64/kvm/hyp/nvhe/Makefile
arch/arm64/kvm/hyp/nvhe/switch.c
arch/arm64/kvm/va_layout.c

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
  #include <linux/prctl.h>
  #include <linux/sched/task_stack.h>
  
+ #include <asm/insn.h>
  #include <asm/spectre.h>
  #include <asm/traps.h>
 +#include <asm/virt.h>
  
  /*
   * We try to ensure that the mitigation state can never change as the result of
@@@ -1603,10 -1589,11 +1667,11 @@@ static int init_subsystems(void
                goto out;
  
        kvm_perf_init();
 -      kvm_coproc_table_init();
 +      kvm_sys_reg_table_init();
  
  out:
-       on_each_cpu(_kvm_arch_hardware_disable, NULL, 1);
+       if (err || !is_protected_kvm_enabled())
+               on_each_cpu(_kvm_arch_hardware_disable, NULL, 1);
  
        return err;
  }
@@@ -6,9 -6,10 +6,10 @@@
  asflags-y := -D__KVM_NVHE_HYPERVISOR__
  ccflags-y := -D__KVM_NVHE_HYPERVISOR__
  
- obj-y := timer-sr.o sysreg-sr.o debug-sr.o switch.o tlb.o hyp-init.o host.o hyp-main.o
+ obj-y := timer-sr.o sysreg-sr.o debug-sr.o switch.o tlb.o hyp-init.o host.o \
+        hyp-main.o hyp-smp.o psci-relay.o
  obj-y += ../vgic-v3-sr.o ../aarch32.o ../vgic-v2-cpuif-proxy.o ../entry.o \
 -       ../fpsimd.o ../hyp-entry.o
 +       ../fpsimd.o ../hyp-entry.o ../exception.o
  
  ##
  ## Build rules for compiling nVHE hyp code
Simple merge
Simple merge