[PATCH v3 0/2] x86/intel/imr: Fix IMR lock logic

From: Bryan O'Donoghue
Date: Mon Feb 22 2016 - 20:30:52 EST


This patchset changes the lock logic for Isolated Memory Regions. As a
result of a conversation with Andriy we determined that the IMR associated
with the kernel .text section should be unlocked so that kernels executed
by kexec could tear-down the old kernel IMR and setup a new one. On
subsequent discussions with Ingo we discussed removing lock bit support in
totality to simplify the IMR interface. This patchset implements both of
those changes.

V1:
Set the kernel IMR lock bit to false - Bryan

V2:
Make a parameter of the kernel IMR lock logic - Andriy

V3:
Revert to setting the kernel IMR lock bit to false - Ingo
Drop IMR lock bit support - Ingo

Bryan O'Donoghue (2):
x86/intel/imr: Change the kernel's IMR lock bit to false
x86/intel/imr: Drop IMR lock bit support

arch/x86/include/asm/imr.h | 2 +-
arch/x86/platform/intel-quark/imr.c | 26 +++++++-------------------
arch/x86/platform/intel-quark/imr_selftest.c | 15 +++++++--------
3 files changed, 15 insertions(+), 28 deletions(-)

--
2.5.0