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
index fca03648e2709e09f9fa739065c914a2c2e3c267,6809b556538fde87e1838b1ede9c05cdb7249de5..902e4084c4775251fa77a4aecdb6617969b31784
  #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
index 7e86207fa2fc4a8e797284ae0063b2cfe169fed5,fadcc94931f99ffecf078396ab527ea6e8635183..6e637d2b4cfb7fe0978fd491f4506da0cc7793e7
@@@ -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;
  }
index 77b8c4e06f2f6db7308e0d08d92732f51d56856d,bf62c8e42ab23d3d447ef72336a0cdca6327315c..1f1e351c5fe2b2d1175316257c54ef0893753b53
@@@ -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