# Re: \[PATCH v2 03/12\] x86/sev: Add an x86 version of prot\_guest\_has()

- From: Borislav Petkov \<bp@alien8.de\>
- Date: 2021-08-17 18:39:07 
- List: linux-efi
- Page: https://ratatoskr.run/linux-efi/2021/08/212608
- Thread: https://ratatoskr.run/linuxppc-dev/2021/08/212359/t.md

```text
On Tue, Aug 17, 2021 at 10:22:52AM -0500, Tom Lendacky wrote:
> I can change it to be an AMD/HYGON check...  although, I'll have to check
> to see if any (very) early use of the function will work with that.

We can always change it later if really needed. It is just that I'm not
a fan of such "preemptive" changes.

> At a minimum, the check in arch/x86/kernel/head64.c will have to be
> changed or removed. I'll take a closer look.

Yeah, sme_me_mask, already discussed on IRC.

Thx.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette
```
