x86/platform/intel/quark: Drop IMR lock bit support
authorBryan O'Donoghue <pure.logic@nexus-software.ie>
Tue, 23 Feb 2016 01:29:59 +0000 (01:29 +0000)
committerIngo Molnar <mingo@kernel.org>
Tue, 23 Feb 2016 06:37:23 +0000 (07:37 +0100)
commitc637fa5294cefeda8be73cce20ba6693d22262dc
treee86c2de019da8459d2cccfbcb71ce5e1b58dc3c1
parentfb86780bf7708cd6553f592a6318f10eda766127
x86/platform/intel/quark: Drop IMR lock bit support

Isolated Memory Regions support a lock bit. The lock bit in an IMR prevents
modification of the IMR until the core goes through a warm or cold reset.
The lock bit feature is not useful in the context of the kernel API and is
not really necessary since modification of IMRs is possible only from
ring-zero anyway. This patch drops support for IMR locks bits, it
simplifies the kernel API and removes an unnecessary and needlessly complex
feature.

Suggested-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Bryan O'Donoghue <pure.logic@nexus-software.ie>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: andriy.shevchenko@linux.intel.com
Cc: boon.leong.ong@intel.com
Cc: paul.gortmaker@windriver.com
Link: http://lkml.kernel.org/r/1456190999-12685-3-git-send-email-pure.logic@nexus-software.ie
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/imr.h
arch/x86/platform/intel-quark/imr.c
arch/x86/platform/intel-quark/imr_selftest.c