linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] Disable CONFIG_UACCESS_WITH_MEMCPY in Atmel config.
@ 2015-09-29 20:03 jc at eclis.ch
  2015-09-29 20:13 ` Nicolas Pitre
  2015-09-29 20:35 ` Uwe Kleine-König
  0 siblings, 2 replies; 11+ messages in thread
From: jc at eclis.ch @ 2015-09-29 20:03 UTC (permalink / raw)
  To: linux-arm-kernel

From: Jean-Christian de Rivaz <jc@eclis.ch>

According to Russell King:
In any case, unless you have a Marvell platform, you should have this
disabled - it provides a performance boost for Marvell platforms, but
degrades performance everywhere else.  Please ensure that you disable
CONFIG_UACCESS_WITH_MEMCPY.

Signed-off-by: Jean-Christian de Rivaz <jc@eclis.ch>
---
 arch/arm/configs/at91_dt_defconfig |    2 +-
 arch/arm/configs/sama5_defconfig   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/configs/at91_dt_defconfig b/arch/arm/configs/at91_dt_defconfig
index 090c5b2..1807d7f 100644
--- a/arch/arm/configs/at91_dt_defconfig
+++ b/arch/arm/configs/at91_dt_defconfig
@@ -21,7 +21,7 @@ CONFIG_SOC_SAM_V4_V5=y
 CONFIG_SOC_AT91RM9200=y
 CONFIG_SOC_AT91SAM9=y
 CONFIG_AEABI=y
-CONFIG_UACCESS_WITH_MEMCPY=y
+# CONFIG_UACCESS_WITH_MEMCPY is not set
 CONFIG_ZBOOT_ROM_TEXT=0x0
 CONFIG_ZBOOT_ROM_BSS=0x0
 CONFIG_ARM_APPENDED_DTB=y
diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig
index 31eb951..471e214 100644
--- a/arch/arm/configs/sama5_defconfig
+++ b/arch/arm/configs/sama5_defconfig
@@ -19,7 +19,7 @@ CONFIG_SOC_SAM_V7=y
 CONFIG_SOC_SAMA5D3=y
 CONFIG_SOC_SAMA5D4=y
 CONFIG_AEABI=y
-CONFIG_UACCESS_WITH_MEMCPY=y
+# CONFIG_UACCESS_WITH_MEMCPY is not set
 CONFIG_ZBOOT_ROM_TEXT=0x0
 CONFIG_ZBOOT_ROM_BSS=0x0
 CONFIG_ARM_APPENDED_DTB=y
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 11+ messages in thread
* [PATCH 1/1] Disable CONFIG_UACCESS_WITH_MEMCPY in Atmel config.
@ 2015-09-29 22:32 jc at eclis.ch
  2015-09-30  6:10 ` Uwe Kleine-König
  0 siblings, 1 reply; 11+ messages in thread
From: jc at eclis.ch @ 2015-09-29 22:32 UTC (permalink / raw)
  To: linux-arm-kernel

From: Jean-Christian de Rivaz <jc@eclis.ch>

According to Russell King:
In any case, unless you have a Marvell platform, you should have this
disabled - it provides a performance boost for Marvell platforms, but
degrades performance everywhere else.  Please ensure that you disable
CONFIG_UACCESS_WITH_MEMCPY.

Signed-off-by: Jean-Christian de Rivaz <jc@eclis.ch>
---
 arch/arm/configs/at91_dt_defconfig |    1 -
 arch/arm/configs/sama5_defconfig   |    1 -
 2 files changed, 2 deletions(-)

diff --git a/arch/arm/configs/at91_dt_defconfig b/arch/arm/configs/at91_dt_defconfig
index 090c5b2..8a374e9 100644
--- a/arch/arm/configs/at91_dt_defconfig
+++ b/arch/arm/configs/at91_dt_defconfig
@@ -21,7 +21,6 @@ CONFIG_SOC_SAM_V4_V5=y
 CONFIG_SOC_AT91RM9200=y
 CONFIG_SOC_AT91SAM9=y
 CONFIG_AEABI=y
-CONFIG_UACCESS_WITH_MEMCPY=y
 CONFIG_ZBOOT_ROM_TEXT=0x0
 CONFIG_ZBOOT_ROM_BSS=0x0
 CONFIG_ARM_APPENDED_DTB=y
diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig
index 31eb951..84fc70f 100644
--- a/arch/arm/configs/sama5_defconfig
+++ b/arch/arm/configs/sama5_defconfig
@@ -19,7 +19,6 @@ CONFIG_SOC_SAM_V7=y
 CONFIG_SOC_SAMA5D3=y
 CONFIG_SOC_SAMA5D4=y
 CONFIG_AEABI=y
-CONFIG_UACCESS_WITH_MEMCPY=y
 CONFIG_ZBOOT_ROM_TEXT=0x0
 CONFIG_ZBOOT_ROM_BSS=0x0
 CONFIG_ARM_APPENDED_DTB=y
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-09-30 10:13 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-29 20:03 [PATCH 1/1] Disable CONFIG_UACCESS_WITH_MEMCPY in Atmel config jc at eclis.ch
2015-09-29 20:13 ` Nicolas Pitre
2015-09-29 20:35 ` Uwe Kleine-König
2015-09-29 20:59   ` Jean-Christian de Rivaz
2015-09-29 22:01     ` Alexandre Belloni
2015-09-29 22:18       ` Russell King - ARM Linux
2015-09-29 22:53         ` Alexandre Belloni
2015-09-29 23:19           ` Nicolas Pitre
  -- strict thread matches above, loose matches on Subject: below --
2015-09-29 22:32 jc at eclis.ch
2015-09-30  6:10 ` Uwe Kleine-König
2015-09-30 10:13   ` Jean-Christian de Rivaz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).