Skip to content

x86/mm/sme: fix the kdump kernel breakage on SME system when CONFIG_IMA_KEXEC=y

Baoquan He kexec lkml 3 versions – Applied

Status from this message: The following commit has been merged into the x86/urgent branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 16 repliesApplied
  2. v22 patches 3 repliesSuperseded
  3. v11 patch 13 repliesSuperseded

Changes in v3 from the cover letter

=======
- Add how the miscaculation is caused into patch 2 log according to Tom's suggestion.
- Add Tom's tag.

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2x86/mm: rename the confusing local variable in early_memremap_is_setup_data()arch/x86/mm/ioremap.c+11 -711 replies
2/2x86/mm/sme: fix the kdump kernel breakage on SME system when CONFIG_IMA_KEXEC=yarch/x86/mm/ioremap.c+2 -20 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchTom Lendacky
1/2A-b A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] x86/mm/sme: fix the kdump kernel breakage on SME system when CONFIG_IMA_KEXEC=y

Currently, distros like Fedora/RHEL have enabled CONFIG_IMA_KEXEC by default. This makes kexec/kdump kernel always fail to boot up on SME platform because of a code bug. By debugging, the root cause is found out and bug is fixed with this patchset.

Changelog:
v2->v3:
=======
- Add how the miscaculation is caused into patch 2 log according to Tom's suggestion.
- Add Tom's tag.

v1->v2:
=======
- Add patch 1 to clean up the confusing local varibale naming because people may mix up the local variable 'size' with the passed in parameter in function early_memremap_is_setup_data(). Suggested by Dave and Tom during v1 patch reviewing.

Baoquan He (2):
x86/mm: rename the confusing local variable in
early_memremap_is_setup_data()
x86/mm/sme: fix the kdump kernel breakage on SME system when
CONFIG_IMA_KEXEC=y

 arch/x86/mm/ioremap.c | 22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)
Signature · 1 line
2.41.0