Re: [Part1 PATCH v4 13/17] x86/io: Unroll string I/O when SEV is active

2017-09-26 Thread Brijesh Singh
On 09/17/2017 10:08 AM, Borislav Petkov wrote: ... + +extern struct static_key_false __sev; +static inline bool __sev_active(void) +{ + return static_branch_unlikely(&__sev); +} I'm still not happy about the two's sev_active() and __sev_active() naming. Perhaps the __ variant should be

Re: [Part1 PATCH v4 13/17] x86/io: Unroll string I/O when SEV is active

2017-09-17 Thread Borislav Petkov
On Sat, Sep 16, 2017 at 07:34:14AM -0500, Brijesh Singh wrote: > From: Tom Lendacky > > Secure Encrypted Virtualization (SEV) does not support string I/O, so > unroll the string I/O operation into a loop operating on one element at > a time. > > Cc: Thomas Gleixner > Cc: Ingo Molnar > Cc: "H.