summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-03-20 13:34:50 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2020-03-20 13:47:52 -0400
commit2da1ed62d55c6cbebbdee924f6af4e87bb6666e5 (patch)
tree6d56bcc69e4cdde9b8ba48197b5f11492f32cc9f /tools/perf/scripts/python
parentd33294541889b023068522270cd4153ddd8e4635 (diff)
downloadkernel-2da1ed62d55c6cbebbdee924f6af4e87bb6666e5.tar.gz
KVM: SVM: document KVM_MEM_ENCRYPT_OP, let userspace detect if SEV is available
Userspace has no way to query if SEV has been disabled with the sev module parameter of kvm-amd.ko. Actually it has one, but it is a hack: do ioctl(KVM_MEM_ENCRYPT_OP, NULL) and check if it returns EFAULT. Make it a little nicer by returning zero for SEV enabled and NULL argument, and while at it document the ioctl arguments. Cc: Brijesh Singh <brijesh.singh@amd.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
https://git.kernel.org/pub/scm/linux/ke...Arnd Bergmann 2023-08-14Merge tag 'imx-drivers-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/...Arnd Bergmann 2023-08-12Merge tag 'samsung-drivers-6.6' of https://git.kernel.org/pub/scm/linux/kerne...Arnd Bergmann 2023-08-12Merge tag 'amlogic-drivers-for-v6.6' of https://git.kernel.org/pub/scm/linux/...Arnd Bergmann 2023-08-04soc: amlogic: Explicitly include correct DT includesRob Herring 2023-08-03Merge branch 'genpd_create_dir' of git://git.kernel.org/pub/scm/linux/kernel/...Bjorn Andersson 2023-07-31Merge tag 'genpd-v6.5-rc1-1' of git://git.kernel.org/pub/scm/linux/kernel/git...Neil Armstrong 2023-07-30genpd: Makefile: build imxPeng Fan 2023-07-26genpd: move owl-sps-helper.c from drivers/socArnd Bergmann 2023-07-14ARM: ux500: Move power-domain driver to the genpd dirUlf Hansson 2023-07-14soc: xilinx: Move power-domain driver to the genpd dirUlf Hansson 2023-07-14soc: ti: Mover power-domain drivers to the genpd dirUlf Hansson 2023-07-14soc: tegra: Move powergate-bpmp driver to the genpd dirUlf Hansson 2023-07-14soc: sunxi: Move power-domain driver to the genpd dirUlf Hansson 2023-07-14soc: starfive: Move the power-domain driver to the genpd dirUlf Hansson 2023-07-14soc: samsung: Move power-domain driver to the genpd dirUlf Hansson 2023-07-14soc: rockchip: Mover power-domain driver to the genpd dirUlf Hansson 2023-07-14soc: renesas: Move power-domain drivers to the genpd dirUlf Hansson 2023-07-14soc: qcom: Move power-domain drivers to the genpd dirUlf Hansson 2023-07-11soc: mediatek: Move power-domain drivers to the genpd dirUlf Hansson 2023-07-11soc: imx: Move power-domain drivers to the genpd dirUlf Hansson 2023-07-11soc: bcm: Move power-domain drivers to the genpd dirUlf Hansson 2023-07-11soc: apple: Move power-domain driver to the genpd dirUlf Hansson 2023-07-11soc: amlogic: Move power-domain drivers to the genpd dirUlf Hansson 2023-07-11soc: actions: Move power-domain driver to the genpd dirUlf Hansson 2023-07-11genpd: Create a new subsystem directory to host genpd providersUlf Hansson