diff options
| author | Oliver Upton <oliver.upton@linux.dev> | 2024-03-07 00:50:23 +0000 | 
|---|---|---|
| committer | Oliver Upton <oliver.upton@linux.dev> | 2024-03-07 00:50:23 +0000 | 
| commit | a040adfb7ef1a895be704d16375cbfe1fbb0aa9c (patch) | |
| tree | cd5bfa3b308e5c26fd0803c33da2b404ab15563c /virt/kvm/kvm_main.c | |
| parent | 262cd16e769f0c75353bd2521da756e45837e051 (diff) | |
| parent | 9a3bfb27ef65ad41d994765c031ca18217afb058 (diff) | |
Merge branch kvm-arm64/misc into kvmarm/next
* kvm-arm64/misc:
  : Miscellaneous updates
  :
  :  - Fix handling of features w/ nonzero safe values in set_id_regs
  :    selftest
  :
  :  - Cleanup the unused kern_hyp_va() asm macro
  :
  :  - Differentiate nVHE and hVHE in boot-time message
  :
  :  - Several selftests cleanups
  :
  :  - Drop bogus return value from kvm_arch_create_vm_debugfs()
  :
  :  - Make save/restore of SPE and TRBE control registers affect EL1 state
  :    in hVHE mode
  :
  :  - Typos
  KVM: arm64: Fix TRFCR_EL1/PMSCR_EL1 access in hVHE mode
  KVM: selftests: aarch64: Remove unused functions from vpmu test
  KVM: arm64: Fix typos
  KVM: Get rid of return value from kvm_arch_create_vm_debugfs()
  KVM: selftests: Print timer ctl register in ISTATUS assertion
  KVM: selftests: Fix GUEST_PRINTF() format warnings in ARM code
  KVM: arm64: removed unused kern_hyp_va asm macro
  KVM: arm64: add comments to __kern_hyp_va
  KVM: arm64: print Hyp mode
  KVM: arm64: selftests: Handle feature fields with nonzero minimum value correctly
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'virt/kvm/kvm_main.c')
| -rw-r--r-- | virt/kvm/kvm_main.c | 8 | 
1 files changed, 2 insertions, 6 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index 10bfc88a69f7..c681149c382a 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c @@ -1150,10 +1150,7 @@ static int kvm_create_vm_debugfs(struct kvm *kvm, const char *fdname)  				    &stat_fops_per_vm);  	} -	ret = kvm_arch_create_vm_debugfs(kvm); -	if (ret) -		goto out_err; - +	kvm_arch_create_vm_debugfs(kvm);  	return 0;  out_err:  	kvm_destroy_vm_debugfs(kvm); @@ -1183,9 +1180,8 @@ void __weak kvm_arch_pre_destroy_vm(struct kvm *kvm)   * Cleanup should be automatic done in kvm_destroy_vm_debugfs() recursively, so   * a per-arch destroy interface is not needed.   */ -int __weak kvm_arch_create_vm_debugfs(struct kvm *kvm) +void __weak kvm_arch_create_vm_debugfs(struct kvm *kvm)  { -	return 0;  }  static struct kvm *kvm_create_vm(unsigned long type, const char *fdname)  | 
