[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87edpf9690.ffs@tglx>
Date: Thu, 23 Mar 2023 10:17:15 +0100
From: Thomas Gleixner <tglx@...utronix.de>
To: Borislav Petkov <bp@...en8.de>, Joerg Roedel <joro@...tes.org>,
Tom Lendacky <thomas.lendacky@....com>
Cc: X86 ML <x86@...nel.org>, LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/2] x86/sev: Get rid of special sev_es_enable_key
On Sat, Mar 18 2023 at 12:56, Borislav Petkov wrote:
> -bool cc_platform_has(enum cc_attr attr)
> +bool noinstr cc_platform_has(enum cc_attr attr)
That's not sufficient. This function invokes static functions which the
compiler can rightfully put out of line resulting in a noinstr violation.
Thanks,
tglx
Powered by blists - more mailing lists