mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] x86/boot: Fix setup_indirect support
@ 2022-02-24  2:07 Ross Philipson
  2022-02-24  2:07 ` [PATCH v2 1/2] x86/boot: Fix memremap of setup_indirect structures Ross Philipson
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Ross Philipson @ 2022-02-24  2:07 UTC (permalink / raw)
  To: linux-kernel, x86
  Cc: ross.philipson, daniel.kiper, dpsmith, tglx, mingo, bp, hpa,
	luto, dave.hansen, kanth.ghatraju, trenchboot-devel

The setup_indirect support for x86 setup_data was added in November
of 2019. Several issues were found in the implementation and these
two patches were created to address those issues.

These patches were originally posted as part of the larger TrenchBoot
patch set but are now being posted separately since they can be merged
independently of the TrenchBoot work.

Changes in v2:
 - Add checks and failure modes for when early_memremap and memremap
   fail.
 - Fix variable declarations to use reverse fir tree format.
 - Use local indirect variable and remove all the inline casts.
 - Misc. fixes to the commit messages.

Ross Philipson (2):
  x86/boot: Fix memremap of setup_indirect structures
  x86/boot: Add setup_indirect support in early_memremap_is_setup_data

 arch/x86/kernel/e820.c     | 41 +++++++++++++++++-------
 arch/x86/kernel/kdebugfs.c | 37 ++++++++++++++++------
 arch/x86/kernel/ksysfs.c   | 77 ++++++++++++++++++++++++++++++++++++----------
 arch/x86/kernel/setup.c    | 34 +++++++++++++++-----
 arch/x86/mm/ioremap.c      | 57 ++++++++++++++++++++++++++++++----
 5 files changed, 197 insertions(+), 49 deletions(-)

-- 
1.8.3.1


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

end of thread, other threads:[~2022-03-09 16:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-24  2:07 [PATCH v2 0/2] x86/boot: Fix setup_indirect support Ross Philipson
2022-02-24  2:07 ` [PATCH v2 1/2] x86/boot: Fix memremap of setup_indirect structures Ross Philipson
2022-03-09 16:06   ` [tip: x86/urgent] " tip-bot2 for Ross Philipson
2022-02-24  2:07 ` [PATCH v2 2/2] x86/boot: Add setup_indirect support in early_memremap_is_setup_data Ross Philipson
2022-03-09 16:06   ` [tip: x86/urgent] x86/boot: Add setup_indirect support in early_memremap_is_setup_data() tip-bot2 for Ross Philipson
2022-02-25 21:17 ` [PATCH v2 0/2] x86/boot: Fix setup_indirect support Daniel Kiper
2022-03-08 20:34   ` Ross Philipson

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®