[PATCH 0/2] x86/sev-es: Remove dead code

From: Arvind Sankar
Date: Mon Oct 05 2020 - 11:12:14 EST


Delete some unused macros and an unused function.

One question:
4b47cdbda6f1 ("x86/head/64: Move early exception dispatch to C code")
uses native_read_cr2(), while the asm code it replaces may use paravirt
to read cr2. Is this intentional or should it be using read_cr2()?

Arvind Sankar (2):
x86/boot: Remove unused finalize_identity_maps()
x86/head/64: Remove unused GET_CR2_INTO() macro

arch/x86/boot/compressed/ident_map_64.c | 10 ----------
arch/x86/include/asm/paravirt.h | 11 -----------
arch/x86/kernel/asm-offsets.c | 1 -
arch/x86/kernel/head_64.S | 9 ---------
4 files changed, 31 deletions(-)

--
2.26.2