[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1645668456-22036-1-git-send-email-ross.philipson@oracle.com>
Date: Wed, 23 Feb 2022 21:07:34 -0500
From: Ross Philipson <ross.philipson@...cle.com>
To: linux-kernel@...r.kernel.org, x86@...nel.org
Cc: ross.philipson@...cle.com, daniel.kiper@...cle.com,
dpsmith@...rtussolutions.com, tglx@...utronix.de, mingo@...hat.com,
bp@...en8.de, hpa@...or.com, luto@...capital.net,
dave.hansen@...ux.intel.com, kanth.ghatraju@...cle.com,
trenchboot-devel@...glegroups.com
Subject: [PATCH v2 0/2] x86/boot: Fix setup_indirect support
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
Powered by blists - more mailing lists