History

Merge branch kvm-arm64/hcall-selection into kvmarm-master/next

* kvm-arm64/hcall-selection: : . : Introduce a new set of virtual sysregs for userspace to : select the hypercalls it wants to see exposed to the guest. : : Patches courtesy of Raghavendra and Oliver. : . KVM: arm64: Fix hypercall bitmap writeback when vcpus have already run KVM: arm64: Hide KVM_REG_ARM_*_BMAP_BIT_COUNT from userspace Documentation: Fix index.rst after psci.rst renaming selftests: KVM: aarch64: Add the bitmap firmware registers to get-reg-list selftests: KVM: aarch64: Introduce hypercall ABI test selftests: KVM: Create helper for making SMCCC calls selftests: KVM: Rename psci_cpu_on_test to psci_test tools: Import ARM SMCCC definitions Docs: KVM: Add doc for the bitmap firmware registers Docs: KVM: Rename psci.rst to hypercalls.rst KVM: arm64: Add vendor hypervisor firmware register KVM: arm64: Add standard hypervisor firmware register KVM: arm64: Setup a framework for hypercall bitmap firmware registers KVM: arm64: Factor out firmware register handling from psci.c

Marc Zyngier committed 4 years ago

Commit 0586e282 parents d25f30f 528ada221 files · +1146 −303Browse files

Showing the changes to include (2 of 21 files). Show all

Unified · Split

2 files
  1. include/kvm/arm_hypercalls.h +8 −0
  2. include/kvm/arm_psci.h +0 −7
include/kvm/arm_hypercalls.h+8−0
@@ -40,4 +40,12 @@ static inline void smccc_set_retval(struct kvm_vcpu *vcpu, · 39 unmodified lines
40 vcpu_set_reg(vcpu, 3, a3);40 vcpu_set_reg(vcpu, 3, a3);
41}41}
42 42
43struct kvm_one_reg;
44
45void kvm_arm_init_hypercalls(struct kvm *kvm);
46int kvm_arm_get_fw_num_regs(struct kvm_vcpu *vcpu);
47int kvm_arm_copy_fw_reg_indices(struct kvm_vcpu *vcpu, u64 __user *uindices);
48int kvm_arm_get_fw_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg);
49int kvm_arm_set_fw_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg);
50
43#endif51#endif
include/kvm/arm_psci.h+0−7
@@ -39,11 +39,4 @@ static inline int kvm_psci_version(struct kvm_vcpu *vcpu) · 38 unmodified lines
39 39
40int kvm_psci_call(struct kvm_vcpu *vcpu);40int kvm_psci_call(struct kvm_vcpu *vcpu);
41 41
42struct kvm_one_reg;
43
44int kvm_arm_get_fw_num_regs(struct kvm_vcpu *vcpu);
45int kvm_arm_copy_fw_reg_indices(struct kvm_vcpu *vcpu, u64 __user *uindices);
46int kvm_arm_get_fw_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg);
47int kvm_arm_set_fw_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg);
48
49#endif /* __KVM_ARM_PSCI_H__ */42#endif /* __KVM_ARM_PSCI_H__ */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t