On Fri, Mar 29, 2024 at 07:18:01PM +0100, Ard Biesheuvel wrote:
From: "Borislav Petkov (AMD)" bp@alien8.de
[ 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@alien8.de Signed-off-by: Thomas Gleixner tglx@linutronix.de Link: https://lore.kernel.org/r/20230318115634.9392-2-bp@alien8.de Signed-off-by: Ard Biesheuvel ardb@kernel.org
arch/x86/coco/core.c | 13 ++++------- arch/x86/include/asm/coco.h | 23 +++++++++++++++++--- 2 files changed, 24 insertions(+), 12 deletions(-)
Got these this time, I'll process them this weekend, thanks!
greg k-h