* 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
Showing the changes to include (2 of 21 files). Show all
Unified · Split
| @@ -40,4 +40,12 @@ static inline void smccc_set_retval(struct kvm_vcpu *vcpu, · 39 unmodified lines | ||
| 40 | 40 | vcpu_set_reg(vcpu, 3, a3); |
| 41 | 41 | } |
| 42 | 42 | |
| 43 | +struct kvm_one_reg; | |
| 44 | + | |
| 45 | +void kvm_arm_init_hypercalls(struct kvm *kvm); | |
| 46 | +int kvm_arm_get_fw_num_regs(struct kvm_vcpu *vcpu); | |
| 47 | +int kvm_arm_copy_fw_reg_indices(struct kvm_vcpu *vcpu, u64 __user *uindices); | |
| 48 | +int kvm_arm_get_fw_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg); | |
| 49 | +int kvm_arm_set_fw_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg); | |
| 50 | + | |
| 43 | 51 | #endif |
| @@ -39,11 +39,4 @@ static inline int kvm_psci_version(struct kvm_vcpu *vcpu) · 38 unmodified lines | ||
| 39 | 39 | |
| 40 | 40 | int kvm_psci_call(struct kvm_vcpu *vcpu); |
| 41 | 41 | |
| 42 | −struct kvm_one_reg; | |
| 43 | − | |
| 44 | −int kvm_arm_get_fw_num_regs(struct kvm_vcpu *vcpu); | |
| 45 | −int kvm_arm_copy_fw_reg_indices(struct kvm_vcpu *vcpu, u64 __user *uindices); | |
| 46 | −int kvm_arm_get_fw_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg); | |
| 47 | −int kvm_arm_set_fw_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg); | |
| 48 | − | |
| 49 | 42 | #endif /* __KVM_ARM_PSCI_H__ */ |