[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220222185740.26228-1-kirill.shutemov@linux.intel.com>
Date: Tue, 22 Feb 2022 21:57:36 +0300
From: "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>
To: tglx@...utronix.de, mingo@...hat.com, bp@...en8.de,
dave.hansen@...el.com, luto@...nel.org, peterz@...radead.org
Cc: sathyanarayanan.kuppuswamy@...ux.intel.com, aarcange@...hat.com,
ak@...ux.intel.com, dan.j.williams@...el.com, david@...hat.com,
hpa@...or.com, jmattson@...gle.com, seanjc@...gle.com,
thomas.lendacky@....com, brijesh.singh@....com, x86@...nel.org,
linux-kernel@...r.kernel.org,
"Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>
Subject: [PATCH 0/4] x86: Cleanup and extend computing computing API
Updates for CC API:
- Fix for HyperV when AMD SME/SEV disabled;
- New home for CC code: arch/x86/coco;
- Explicitly declare vendor of CC platform;
- New cc_mkenc() and cc_mkdec();
Kirill A. Shutemov (4):
x86/hyperv: Add missing ARCH_HAS_CC_PLATFORM dependency
x86: Rename cc_platform.c to arch/x86/coco/core.c
x86/coco: Explicitly declare type of confidential computing platform
x86/coco: Add API to handle encryption mask
arch/x86/Kbuild | 2 +
arch/x86/coco/Makefile | 6 ++
.../x86/{kernel/cc_platform.c => coco/core.c} | 56 +++++++++++++++----
arch/x86/include/asm/coco.h | 32 +++++++++++
arch/x86/include/asm/pgtable.h | 13 +++--
arch/x86/kernel/Makefile | 5 --
arch/x86/kernel/cpu/mshyperv.c | 3 +
arch/x86/mm/mem_encrypt_identity.c | 12 ++--
arch/x86/mm/pat/set_memory.c | 5 +-
drivers/hv/Kconfig | 1 +
10 files changed, 106 insertions(+), 29 deletions(-)
create mode 100644 arch/x86/coco/Makefile
rename arch/x86/{kernel/cc_platform.c => coco/core.c} (73%)
create mode 100644 arch/x86/include/asm/coco.h
--
2.34.1
Powered by blists - more mailing lists