summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-gpio-mm.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2020-11-18 20:48:40 +0100
committerThomas Gleixner <tglx@linutronix.de>2020-11-24 14:42:08 +0100
commit0e91a0c6984c837a7c6760e3f28e8e1c532abf87 (patch)
treeca90a3abad7717fa27186c38c2ed0c02f93ab7de /drivers/gpio/gpio-gpio-mm.c
parent6e799cb69a70eedbb41561b750f7180c12cff280 (diff)
downloadlinux-0e91a0c6984c837a7c6760e3f28e8e1c532abf87.tar.gz
linux-0e91a0c6984c837a7c6760e3f28e8e1c532abf87.tar.bz2
linux-0e91a0c6984c837a7c6760e3f28e8e1c532abf87.zip
mm/highmem: Provide CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP
CONFIG_DEBUG_KMAP_LOCAL, which is selected by CONFIG_DEBUG_HIGHMEM is only providing guard pages, but does not provide a mechanism to enforce the usage of the kmap_local() infrastructure. Provide CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP which forces the temporary mapping even for lowmem pages. This needs to be a seperate config switch because this only works on architectures which do not have cache aliasing problems. Suggested-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/20201118204007.028261233@linutronix.de
Diffstat (limited to 'drivers/gpio/gpio-gpio-mm.c')
0 files changed, 0 insertions, 0 deletions