Skip to contentSkip to conversation

ARM: MM: Add ARM_L1_CACHE_SHIFT_6 for handle inside each ARCH Kconfig

PATCH New Kukjin Kim 3 participants 7 messages Jan 29, 2010 – Feb 19, 2010

Subsystems (2)
lore
Share & tools
lore

Kukjin Kim

author
#0 lore raw

PATCH 1/1 ARM: MM: Add ARM_L1_CACHE_SHIFT_6 for handle inside each ARCH Kconfig

Add ARM_L1_CACHE_SHIFT_6 to arch/arm/Kconfig to allow CPUs with L1 cache lines which are 64bytes to indicate this without having to alter the arch/arm/mm/Kconfig entry each time.

Update the mm Kconfig so that ARM_L1_CACHE_SHIFT default value uses this and change OMAP3 and S5PC1XX to select ARM_L1_CACHE_SHIFT_6.

---
 arch/arm/Kconfig           |    6 ++++++
 arch/arm/mm/Kconfig        |    2 +-
 arch/arm/plat-omap/Kconfig |    1 +
 3 files changed, 8 insertions(+), 1 deletions(-)
arch/arm/Kconfig +6 -0
index a5602ec..13c07a6 100644
@@ -161,6 +161,11 @@ config ARCH_MTD_XIP
 config GENERIC_HARDIRQS_NO__DO_IRQ
 	def_bool y
 
+config ARM_L1_CACHE_SHIFT_6
+	bool
+	help
+	  Setting ARM L1 cache line size to 64 Bytes.
+
 if OPROFILE
 
 config OPROFILE_ARMV6
@@ -646,6 +651,7 @@ config ARCH_S5PC1XX
 	select GENERIC_GPIO
 	select HAVE_CLK
 	select CPU_V7
+	select ARM_L1_CACHE_SHIFT_6
 	help
 	  Samsung S5PC1XX series based systems
 
arch/arm/mm/Kconfig +1 -1
index 91617f7..8ca9fb7 100644
@@ -779,5 +779,5 @@ config CACHE_XSC3L2
 
 config ARM_L1_CACHE_SHIFT
 	int
-	default 6 if ARCH_OMAP3 || ARCH_S5PC1XX
+	default 6 if ARM_L1_CACHE_SHIFT_6
 	default 5
arch/arm/plat-omap/Kconfig +1 -0
index e2ea04a..2e3eec6 100644
@@ -22,6 +22,7 @@ config ARCH_OMAP3
 	bool "TI OMAP3"
 	select CPU_V7
 	select COMMON_CLKDEV
+	select ARM_L1_CACHE_SHIFT_6
 
 config ARCH_OMAP4
 	bool "TI OMAP4"
Signature · 1 line
1.6.2.5
#1 lore raw

PATCH 1/1 ARM: MM: Add ARM_L1_CACHE_SHIFT_6 for handle inside each ARCH Kconfig

Quoted 6 lines · Kukjin Kim

Add ARM_L1_CACHE_SHIFT_6 to arch/arm/Kconfig to allow CPUs with L1 cache lines which are 64bytes to indicate this without having to alter the arch/arm/mm/Kconfig entry each time.

Update the mm Kconfig so that ARM_L1_CACHE_SHIFT default value uses this and change OMAP3 and S5PC1XX to select ARM_L1_CACHE_SHIFT_6.

This looks fine, thanks.

Who's going to handle this patch?

#2 lore raw

PATCH 1/1 ARM: MM: Add ARM_L1_CACHE_SHIFT_6 for handle inside each ARCH Kconfig

Quoted 11 lines · Russell King - ARM Linux
Quoted 6 lines · Kukjin Kim

Add ARM_L1_CACHE_SHIFT_6 to arch/arm/Kconfig to allow CPUs with L1 cache lines which are 64bytes to indicate this without having to alter the arch/arm/mm/Kconfig entry each time.

Update the mm Kconfig so that ARM_L1_CACHE_SHIFT default value uses this and change OMAP3 and S5PC1XX to select ARM_L1_CACHE_SHIFT_6.

This looks fine, thanks.

Who's going to handle this patch?

I recommend RMK handle this.

author
#3 lore raw

PATCH 1/1 ARM: MM: Add ARM_L1_CACHE_SHIFT_6 for handle inside each ARCH Kconfig

Quoted 10 lines · Tony Lindgren
Quoted 7 lines · Russell King - ARM Linux
Quoted 6 lines · Kukjin Kim

Add ARM_L1_CACHE_SHIFT_6 to arch/arm/Kconfig to allow CPUs with L1 cache lines which are 64bytes to indicate this without having to alter the arch/arm/mm/Kconfig entry each time.

Update the mm Kconfig so that ARM_L1_CACHE_SHIFT default value uses this and change OMAP3 and S5PC1XX to select

ARM_L1_CACHE_SHIFT_6.

Quoted 1 line
Quoted 8 lines
Quoted 3 lines

This looks fine, thanks.

Who's going to handle this patch?

I recommend RMK handle this.

Hi Tony and Russell,

I wonder this patch who does/did handle.
Please let me know.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, System LSI Division, SAMSUNG ELECTRONICS CO., LTD.

#4 lore raw

PATCH 1/1 ARM: MM: Add ARM_L1_CACHE_SHIFT_6 for handle inside each ARCH Kconfig

Quoted 18 lines · Kukjin Kim
Quoted 16 lines · Tony Lindgren
Quoted 7 lines · Russell King - ARM Linux
Quoted 6 lines · Kukjin Kim

Add ARM_L1_CACHE_SHIFT_6 to arch/arm/Kconfig to allow CPUs with L1 cache lines which are 64bytes to indicate this without having to alter the arch/arm/mm/Kconfig entry each time.

Update the mm Kconfig so that ARM_L1_CACHE_SHIFT default value uses this and change OMAP3 and S5PC1XX to select

ARM_L1_CACHE_SHIFT_6.

Quoted 4 lines

This looks fine, thanks.

Who's going to handle this patch?

I recommend RMK handle this.

Quoted 7 lines
Quoted 2 lines

Hi Tony and Russell,

I wonder this patch who does/did handle.
Please let me know.

Please send your patch to Russell's patch tracking system if you have not yet done so and then Russell will pick it up from there:

http://www.arm.linux.org.uk/developer/patches/

Regards,

Tony

author
#5 lore raw

PATCH 1/1 ARM: MM: Add ARM_L1_CACHE_SHIFT_6 for handle inside each ARCH Kconfig

Quoted 2 lines · Tony Lindgren

-----Original Message-----
From: [email protected]

[mailto:linux-arm-kernel-

Quoted 30 lines

[email protected]] On Behalf Of Tony Lindgren
Sent: Saturday, February 20, 2010 8:17 AM
To: Kukjin Kim
Cc: [email protected]; 'Russell King - ARM Linux'; linux-arm- [email protected]; [email protected]
Subject: Re: [PATCH RE-SEND-3] ARM: MM: Add ARM_L1_CACHE_SHIFT_6 for handle inside each ARCH Kconfig

Quoted 21 lines · Kukjin Kim
Quoted 18 lines · Tony Lindgren
Quoted 7 lines · Russell King - ARM Linux
Quoted 6 lines · Kukjin Kim

Add ARM_L1_CACHE_SHIFT_6 to arch/arm/Kconfig to allow CPUs with L1 cache lines which are 64bytes to indicate this without having to alter the arch/arm/mm/Kconfig entry each time.

Update the mm Kconfig so that ARM_L1_CACHE_SHIFT default value uses this and change OMAP3 and S5PC1XX to select

ARM_L1_CACHE_SHIFT_6.

Quoted 4 lines

This looks fine, thanks.

Who's going to handle this patch?

I recommend RMK handle this.

Quoted 7 lines
Quoted 4 lines

Hi Tony and Russell,

I wonder this patch who does/did handle.
Please let me know.

Please send your patch to Russell's patch tracking system if you have not yet done so and then Russell will pick it up from there:

Hi Tony,

Thanks for your reply.
I'm sending my patch to Russell's patch tracking system.

May I add 'Acked-by: Tony Lindgren <[email protected]>' in my patch?

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, System LSI Division, SAMSUNG ELECTRONICS CO., LTD.

#6 lore raw

PATCH 1/1 ARM: MM: Add ARM_L1_CACHE_SHIFT_6 for handle inside each ARCH Kconfig

Quoted 42 lines · Kukjin Kim
Quoted 2 lines · Tony Lindgren

-----Original Message-----
From: [email protected]

[mailto:linux-arm-kernel-

Quoted 30 lines

[email protected]] On Behalf Of Tony Lindgren
Sent: Saturday, February 20, 2010 8:17 AM
To: Kukjin Kim
Cc: [email protected]; 'Russell King - ARM Linux'; linux-arm- [email protected]; [email protected]
Subject: Re: [PATCH RE-SEND-3] ARM: MM: Add ARM_L1_CACHE_SHIFT_6 for handle inside each ARCH Kconfig

Quoted 21 lines · Kukjin Kim
Quoted 18 lines · Tony Lindgren
Quoted 7 lines · Russell King - ARM Linux
Quoted 6 lines · Kukjin Kim

Add ARM_L1_CACHE_SHIFT_6 to arch/arm/Kconfig to allow CPUs with L1 cache lines which are 64bytes to indicate this without having to alter the arch/arm/mm/Kconfig entry each time.

Update the mm Kconfig so that ARM_L1_CACHE_SHIFT default value uses this and change OMAP3 and S5PC1XX to select

ARM_L1_CACHE_SHIFT_6.

Quoted 4 lines

This looks fine, thanks.

Who's going to handle this patch?

I recommend RMK handle this.

Quoted 7 lines
Quoted 4 lines

Hi Tony and Russell,

I wonder this patch who does/did handle.
Please let me know.

Please send your patch to Russell's patch tracking system if you have not yet done so and then Russell will pick it up from there:

Quoted 6 lines

Hi Tony,

Thanks for your reply.
I'm sending my patch to Russell's patch tracking system.

May I add 'Acked-by: Tony Lindgren <[email protected]>' in my patch?

Yes thanks.

Tony