]> Gentwo Git Trees - linux/.git/commit
KVM: x86: Rename and invert async #PF's send_user_only flag to send_always
authorSean Christopherson <seanjc@google.com>
Sat, 15 Feb 2025 01:06:09 +0000 (17:06 -0800)
committerSean Christopherson <seanjc@google.com>
Tue, 25 Feb 2025 15:10:47 +0000 (07:10 -0800)
commit4fa0efb43a781055d146298a7ae886d529488d82
tree4997aaff34ca615aae09850a34ce18e14d69cf4e
parentb9595d1ddef883f538563c779fff2151ee040aeb
KVM: x86: Rename and invert async #PF's send_user_only flag to send_always

Rename send_user_only to avoid "user", because KVM's ABI is to not inject
page faults into CPL0, whereas "user" in x86 is specifically CPL3.  Invert
the polarity to keep the naming simple and unambiguous.  E.g. while KVM
often refers to CPL0 as "kernel", that terminology isn't ubiquitous, and
"send_kernel" could be misconstrued as "send only to kernel".

Link: https://lore.kernel.org/r/20250215010609.1199982-3-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/x86.c