mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] x86/sev-es: Remove dead code
@ 2020-10-05 15:12 Arvind Sankar
  2020-10-05 15:12 ` [PATCH 1/2] x86/boot: Remove unused finalize_identity_maps() Arvind Sankar
  2020-10-05 15:12 ` [PATCH 2/2] x86/head/64: Remove unused GET_CR2_INTO() macro Arvind Sankar
  0 siblings, 2 replies; 5+ messages in thread
From: Arvind Sankar @ 2020-10-05 15:12 UTC (permalink / raw)
  To: x86, Joerg Roedel; +Cc: linux-kernel

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-11-18 17:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-05 15:12 [PATCH 0/2] x86/sev-es: Remove dead code Arvind Sankar
2020-10-05 15:12 ` [PATCH 1/2] x86/boot: Remove unused finalize_identity_maps() Arvind Sankar
2020-11-18 17:18   ` [tip: x86/cleanups] " tip-bot2 for Arvind Sankar
2020-10-05 15:12 ` [PATCH 2/2] x86/head/64: Remove unused GET_CR2_INTO() macro Arvind Sankar
2020-11-18 17:18   ` [tip: x86/cleanups] " tip-bot2 for Arvind Sankar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®