[POWERPC] Provide a way to protect 4k subpages when using 64k pages
[firefly-linux-kernel-4.4.55.git] / arch / powerpc / Kconfig
index 66a3d8cee5cfa085151531a5e2f6801b48b27048..53d0955abf113cf60222520e2310d5004141078f 100644 (file)
@@ -342,6 +342,14 @@ config PPC_64K_PAGES
          while on hardware with such support, it will be used to map
          normal application pages.
 
+config PPC_SUBPAGE_PROT
+       bool "Support setting protections for 4k subpages"
+       depends on PPC_64K_PAGES
+       help
+         This option adds support for a system call to allow user programs
+         to set access permissions (read/write, readonly, or no access)
+         on the 4k subpages of each 64k page.
+
 config SCHED_SMT
        bool "SMT (Hyperthreading) scheduler support"
        depends on PPC64 && SMP