summaryrefslogtreecommitdiff
path: root/rust/kernel/interop/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2026-03-12 17:33:01 -0700
committerSean Christopherson <seanjc@google.com>2026-04-03 09:37:25 -0700
commit7ad02ff1e4a4d1a06483ec839cff26ea232db70f (patch)
tree622ab77b1334b24cdb78f54046418e4bbc7079a7 /rust/kernel/interop/git@git.tavy.me:linux-stable.git
parent6d71f9349d9bf09bf82309bdc46704b4b6f6b314 (diff)
KVM: SEV: Use PFN_DOWN() to simplify "number of pages" math when pinning memory
Use PFN_DOWN() instead of open coded equivalents in sev_pin_memory() to simplify the code and make it easier to read. No functional change intended (verified before and after versions of the generated code are identical). Reviewed-by: Liam Merwick <liam.merwick@oracle.com> Tested-by: Liam Merwick <liam.merwick@oracle.com> Link: https://patch.msgid.link/20260313003302.3136111-5-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'rust/kernel/interop/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions