Commit 19a3dd76 authored by Dan Williams's avatar Dan Williams Committed by Linus Torvalds

Do not enable CONFIG_IO_STRICT_DEVMEM by default

Larry Finger reports:
 "My PowerBook G4 Aluminum with a 32-bit PPC processor fails to boot for
  the 4.4-git series".

This is likely due to X still needing /dev/mem access on this platform.

CONFIG_IO_STRICT_DEVMEM is not yet safe to turn on when
CONFIG_STRICT_DEVMEM=y.

Remove the default so that old configurations do not change behavior.

Fixes: 90a545e9 ("restrict /dev/mem to idle io memory ranges")
Reported-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Tested-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Link: http://marc.info/?l=linux-kernel&m=145332012023825&w=2Acked-by: default avatarKees Cook <keescook@chromium.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 9fa68606
...@@ -1919,7 +1919,6 @@ config STRICT_DEVMEM ...@@ -1919,7 +1919,6 @@ config STRICT_DEVMEM
config IO_STRICT_DEVMEM config IO_STRICT_DEVMEM
bool "Filter I/O access to /dev/mem" bool "Filter I/O access to /dev/mem"
depends on STRICT_DEVMEM depends on STRICT_DEVMEM
default STRICT_DEVMEM
---help--- ---help---
If this option is disabled, you allow userspace (root) access to all If this option is disabled, you allow userspace (root) access to all
io-memory regardless of whether a driver is actively using that io-memory regardless of whether a driver is actively using that
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment