aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2024-08-02 13:45:09 -0700
committerSean Christopherson <[email protected]>2024-08-29 19:06:12 -0700
commit48547fe75ea7d5bf1ff9425a0a5d4d32b3a77777 (patch)
tree67b1d7f42643726d1c6185de39f7c93776d65954 /tools/testing/selftests/bpf/progs/test_autoload.c
parentc501062bb22ba325b7b77c91433d79574b4a3dcc (diff)
KVM: SVM: Add a helper to convert a SME-aware PA back to a struct page
Add __sme_pa_to_page() to pair with __sme_page_pa() and use it to replace open coded equivalents, including for "iopm_base", which previously avoided having to do __sme_clr() by storing the raw PA in the global variable. Opportunistically convert __sme_page_pa() to a helper to provide type safety. No functional change intended. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions