diff mbox series

[RFC,3/3] ARM: provide CONFIG_VMSPLIT_4G_DEV for development

Message ID 333fdfb5080726988b1223a5fbe8ebcc4d6ec3e0.1591885760.git.afzal.mohd.ma@gmail.com (mailing list archive)
State New, archived
Headers show
Series ARM: copy_{from,to}_user() for vmsplit 4g/4g | expand

Commit Message

afzal mohammed June 12, 2020, 10:18 a.m. UTC
Select UACCESS_GUP_KMAP_MEMCPY initially.

Signed-off-by: afzal mohammed <afzal.mohd.ma@gmail.com>
---
 arch/arm/Kconfig | 9 +++++++++
 1 file changed, 9 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index c77c93c485a08..ae2687679d7c8 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1326,6 +1326,15 @@  config PAGE_OFFSET
 	default 0xB0000000 if VMSPLIT_3G_OPT
 	default 0xC0000000
 
+config VMSPLIT_4G_DEV
+	bool "Experimental changes for 4G/4G user/kernel split"
+	depends on ARM_LPAE
+	select UACCESS_GUP_KMAP_MEMCPY
+	help
+	  Experimental changes during 4G/4G user/kernel split development.
+	  Existing vmsplit config option is used, once development is done,
+	  this would be put as a new choice & _DEV suffix removed.
+
 config NR_CPUS
 	int "Maximum number of CPUs (2-32)"
 	range 2 32