On Fri, Mar 29, 2024 at 07:18:01PM +0100, Ard Biesheuvel wrote: > From: "Borislav Petkov (AMD)" <bp@xxxxxxxxx> > > [ Commit 3d91c537296794d5d0773f61abbe7b63f2f132d8 upstream ] > > It will be used in different checks in future changes. Export it directly > and provide accessor functions and stubs so this can be used in general > code when CONFIG_ARCH_HAS_CC_PLATFORM is not set. > > No functional changes. > > [ tglx: Add accessor functions ] > > Signed-off-by: Borislav Petkov (AMD) <bp@xxxxxxxxx> > Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx> > Link: https://lore.kernel.org/r/20230318115634.9392-2-bp@xxxxxxxxx > Signed-off-by: Ard Biesheuvel <ardb@xxxxxxxxxx> > --- > arch/x86/coco/core.c | 13 ++++------- > arch/x86/include/asm/coco.h | 23 +++++++++++++++++--- > 2 files changed, 24 insertions(+), 12 deletions(-) All now queued up, thanks. greg k-h