Thread (239 messages) 239 messages, 19 authors, 2022-09-19

Re: [PATCH Part2 v5 05/45] x86/sev: Add helper functions for RMPUPDATE and PSMASH instruction

From: Sean Christopherson <seanjc@google.com>
Date: 2021-10-15 20:27:37
Also in: kvm, linux-crypto, linux-mm, lkml

On Fri, Oct 15, 2021, Brijesh Singh wrote:
On 10/15/21 1:05 PM, Sean Christopherson wrote:
quoted
On Fri, Aug 20, 2021, Brijesh Singh wrote:
quoted
+	if (!cpu_feature_enabled(X86_FEATURE_SEV_SNP))
Shouldn't this be a WARN_ON_ONCE()?
Since some of these function are called while handling the PSC so I
tried to avoid using the WARN -- mainly because if the warn_on_panic=1
is set on the host then it will result in the kernel panic.
But why would KVM be handling PSC requests if SNP is disabled?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help