[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230411142633.GBZDVuGU6HaVYxlCJ6@fat_crate.local>
Date: Tue, 11 Apr 2023 16:26:33 +0200
From: Borislav Petkov <bp@...en8.de>
To: Juergen Gross <jgross@...e.com>
Cc: "Michael Kelley (LINUX)" <mikelley@...rosoft.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"x86@...nel.org" <x86@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
Dave Hansen <dave.hansen@...ux.intel.com>,
"H. Peter Anvin" <hpa@...or.com>
Subject: Re: [PATCH v5 04/15] x86/mtrr: support setting MTRR state for
software defined MTRRs
On Tue, Apr 11, 2023 at 04:04:00PM +0200, Juergen Gross wrote:
> Yeah, the condition needs to be:
>
> if (!(hv_is_isolation_supported() ||
> cc_platform_has(CC_ATTR_GUEST_SEV_SNP)) &&
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Why is that needed at all?
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
Powered by blists - more mailing lists