summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/imr.h
diff options
context:
space:
mode:
authorBryan O'Donoghue <pure.logic@nexus-software.ie>2016-02-23 01:29:59 +0000
committerIngo Molnar <mingo@kernel.org>2016-02-23 07:37:23 +0100
commitc637fa5294cefeda8be73cce20ba6693d22262dc (patch)
treee86c2de019da8459d2cccfbcb71ce5e1b58dc3c1 /arch/x86/include/asm/imr.h
parentfb86780bf7708cd6553f592a6318f10eda766127 (diff)
downloadlinux-0-day-c637fa5294cefeda8be73cce20ba6693d22262dc.tar.gz
linux-0-day-c637fa5294cefeda8be73cce20ba6693d22262dc.tar.xz
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>
Diffstat (limited to 'arch/x86/include/asm/imr.h')
-rw-r--r--arch/x86/include/asm/imr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/imr.h b/arch/x86/include/asm/imr.h
index cd2ce4068441b..ebea2c9d2cdc0 100644
--- a/arch/x86/include/asm/imr.h
+++ b/arch/x86/include/asm/imr.h
@@ -53,7 +53,7 @@
#define IMR_MASK (IMR_ALIGN - 1)
int imr_add_range(phys_addr_t base, size_t size,
- unsigned int rmask, unsigned int wmask, bool lock);
+ unsigned int rmask, unsigned int wmask);
int imr_remove_range(phys_addr_t base, size_t size);