public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [Patch 2/4] Makefile and Kconfig changes for V7 Cache updates
@ 2007-06-06  0:26 Syed Mohammed, Khasim
  2007-06-12 18:16 ` Tony Lindgren
  0 siblings, 1 reply; 6+ messages in thread
From: Syed Mohammed, Khasim @ 2007-06-06  0:26 UTC (permalink / raw)
  To: Linux OMAP

Makefile and Kconfig changes for V7 Cache update.

Signed-off-by: Syed Mohammed Khasim  <x0khasim@ti.com>

Files:
 arch/arm/mm/Kconfig               |    7 +++++--
 val_3430_GIT/arch/arm/mm/Makefile |    1 +
 2 files changed, 6 insertions(+), 2 deletions(-)

=======================================================================
--- linux-omap/arch/arm/mm/Makefile	2007-05-16 14:32:40.000000000 -0500
--- linux-omap/arch/arm/mm/Kconfig	2007-05-25 13:27:03.000000000 -0500
+++ val_3430_GIT/arch/arm/mm/Kconfig	2007-06-05 16:06:28.000000000 -0500
@@ -370,7 +370,7 @@ config CPU_32v6K
 # ARMv7
 config CPU_V7
 	bool "Support ARM V7 processor"
-	depends on ARCH_INTEGRATOR
+	depends on ARCH_INTEGRATOR || ARCH_OMAP3
 	select CPU_32v6K
 	select CPU_32v7
 	select CPU_ABRT_EV7
@@ -379,7 +379,7 @@ config CPU_V7
 	select CPU_CP15_MMU
 	select CPU_HAS_ASID
 	select CPU_COPY_V6 if MMU
-	select CPU_TLB_V6 if MMU
+	select CPU_TLB_V7 if MMU
 
 # Figure out what processor architecture version we should be using.
 # This defines the compiler instruction set which depends on the machine type.
@@ -498,6 +498,9 @@ config CPU_TLB_V4WBI
 config CPU_TLB_V6
 	bool
 
+config CPU_TLB_V7
+	bool
+
 endif
 
 config CPU_HAS_ASID

+++ val_3430_GIT/arch/arm/mm/Makefile	2007-06-05 15:55:22.000000000 -0500
@@ -46,6 +46,7 @@ obj-$(CONFIG_CPU_TLB_V4WT)	+= tlb-v4.o
 obj-$(CONFIG_CPU_TLB_V4WB)	+= tlb-v4wb.o
 obj-$(CONFIG_CPU_TLB_V4WBI)	+= tlb-v4wbi.o
 obj-$(CONFIG_CPU_TLB_V6)	+= tlb-v6.o
+obj-$(CONFIG_CPU_TLB_V7)        += tlb-v7.o
 
 obj-$(CONFIG_CPU_ARM610)	+= proc-arm6_7.o
 obj-$(CONFIG_CPU_ARM710)	+= proc-arm6_7.o

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

* Re: [Patch 2/4] Makefile and Kconfig changes for V7 Cache updates
  2007-06-06  0:26 [Patch 2/4] Makefile and Kconfig changes for V7 Cache updates Syed Mohammed, Khasim
@ 2007-06-12 18:16 ` Tony Lindgren
  2007-06-13  3:56   ` Syed Mohammed, Khasim
  2007-06-13  4:01   ` What is the correct approach for common board devices...? Syed Mohammed, Khasim
  0 siblings, 2 replies; 6+ messages in thread
From: Tony Lindgren @ 2007-06-12 18:16 UTC (permalink / raw)
  To: Syed Mohammed, Khasim; +Cc: Linux OMAP

* Syed Mohammed, Khasim <x0khasim@ti.com> [070605 17:27]:

> Makefile and Kconfig changes for V7 Cache update.
> --- linux-omap/arch/arm/mm/Makefile	2007-05-16 14:32:40.000000000 -0500
> --- linux-omap/arch/arm/mm/Kconfig	2007-05-25 13:27:03.000000000 -0500
> +++ val_3430_GIT/arch/arm/mm/Kconfig	2007-06-05 16:06:28.000000000 -0500
> @@ -370,7 +370,7 @@ config CPU_32v6K
>  # ARMv7
>  config CPU_V7
>  	bool "Support ARM V7 processor"
> -	depends on ARCH_INTEGRATOR
> +	depends on ARCH_INTEGRATOR || ARCH_OMAP3
>  	select CPU_32v6K
>  	select CPU_32v7
>  	select CPU_ABRT_EV7

I've only pushed this chunk, the rest should already be there after
git-cherry-picking following commits from arm tree:

commit 4c18422773362093fe0d60feb8011a116138ec33
Author: Paul Brook <paul@codesourcery.com>

ARMv7: Linux Thumb-2 support for user-space applications
    
commit b3bc735ae605fd051c8f17aa8032619286f18b70
Author: Catalin Marinas <catalin.marinas@arm.com>

ARMv7: Add Neon support

commit 081cc063d42edc954a398ce2a7923f9acdb08a93
Author: Catalin Marinas <catalin.marinas@arm.com>

ARMv7: Add VFPv3 support

commit d8c394c0f1e07d1016b36451e9b1126b09dba5a3
Author: Catalin Marinas <catalin.marinas@arm.com>

ARMv7: Add support for the Xenon state saving/restoring

commit a18393c93ecd33d10ae3bb8031bf65ce3ce1adf7
Author: Catalin Marinas <catalin.marinas@arm.com>

ARMv7: Add uncompressing code for the new CPU Id format

Can you please check that these are enough? Then provide follow-up
patches if something else needs changing.

If you want more patches from arm git tree, then also provide
the commit id.

Regards,

Tony
		    

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

* RE: [Patch 2/4] Makefile and Kconfig changes for V7 Cache updates
  2007-06-12 18:16 ` Tony Lindgren
@ 2007-06-13  3:56   ` Syed Mohammed, Khasim
  2007-06-13  6:06     ` Tony Lindgren
  2007-06-13  4:01   ` What is the correct approach for common board devices...? Syed Mohammed, Khasim
  1 sibling, 1 reply; 6+ messages in thread
From: Syed Mohammed, Khasim @ 2007-06-13  3:56 UTC (permalink / raw)
  To: Tony Lindgren; +Cc: Linux OMAP

>I've only pushed this chunk, the rest should already be there after
>git-cherry-picking following commits from arm tree:
>
<snip>

>Can you please check that these are enough? Then provide follow-up
>patches if something else needs changing.
>
>If you want more patches from arm git tree, then also provide
>the commit id.
>

I re synched my patches with these pushes, I find 3430 kernel based de-compressing failing. Need to debug further. But u-boot based un-compression works fine. So the patch set should be sufficient. I will fix the other issue later. I tested booting on 2430 its fine too.

I will wait for your response on debug_card_init comment for 3430. I will repost all the patches again probably tomorrow.

Thanks 

Regards,
Khasim.

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

* What is the correct approach for common board devices...?
  2007-06-12 18:16 ` Tony Lindgren
  2007-06-13  3:56   ` Syed Mohammed, Khasim
@ 2007-06-13  4:01   ` Syed Mohammed, Khasim
  2007-06-13  6:02     ` Tony Lindgren
  1 sibling, 1 reply; 6+ messages in thread
From: Syed Mohammed, Khasim @ 2007-06-13  4:01 UTC (permalink / raw)
  To: Tony Lindgren; +Cc: Linux OMAP

Hi Tony,

There are some devices like TS, Keypad, I2C, Flash, etc that are almost common between 2430 and 3430 SDPs. 

Today in tree we have files like board-2430sdp-flash.c which can be reused for 3430 too.

The board-2430sdp.c has Keymap that holds good for 3430 too.

Can you please suggest the correct way to organize these kind of devices in mach-omap2 directory?

Regards,
Khasim

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

* Re: What is the correct approach for common board devices...?
  2007-06-13  4:01   ` What is the correct approach for common board devices...? Syed Mohammed, Khasim
@ 2007-06-13  6:02     ` Tony Lindgren
  0 siblings, 0 replies; 6+ messages in thread
From: Tony Lindgren @ 2007-06-13  6:02 UTC (permalink / raw)
  To: Syed Mohammed, Khasim; +Cc: Linux OMAP

* Syed Mohammed, Khasim <x0khasim@ti.com> [070612 21:01]:
> Hi Tony,
> 
> There are some devices like TS, Keypad, I2C, Flash, etc that are almost common between 2430 and 3430 SDPs. 
> 
> Today in tree we have files like board-2430sdp-flash.c which can be reused for 3430 too.
> 
> The board-2430sdp.c has Keymap that holds good for 3430 too.
> 
> Can you please suggest the correct way to organize these kind of devices in mach-omap2 directory?

How about creating something like arch/arm/mach-omap2/sdp-common.c
for them?

Tony

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

* Re: [Patch 2/4] Makefile and Kconfig changes for V7 Cache updates
  2007-06-13  3:56   ` Syed Mohammed, Khasim
@ 2007-06-13  6:06     ` Tony Lindgren
  0 siblings, 0 replies; 6+ messages in thread
From: Tony Lindgren @ 2007-06-13  6:06 UTC (permalink / raw)
  To: Syed Mohammed, Khasim; +Cc: Linux OMAP

* Syed Mohammed, Khasim <x0khasim@ti.com> [070612 20:57]:
> >I've only pushed this chunk, the rest should already be there after
> >git-cherry-picking following commits from arm tree:
> >
> <snip>
> 
> >Can you please check that these are enough? Then provide follow-up
> >patches if something else needs changing.
> >
> >If you want more patches from arm git tree, then also provide
> >the commit id.
> >
> 
> I re synched my patches with these pushes, I find 3430 kernel based de-compressing failing. Need to debug further. But u-boot based un-compression works fine. So the patch set should be sufficient. I will fix the other issue later. I tested booting on 2430 its fine too.

OK, great.

> I will wait for your response on debug_card_init comment for 3430. I will repost all the patches again probably tomorrow.

See my previous mail for that.

Tony

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

end of thread, other threads:[~2007-06-13  6:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-06  0:26 [Patch 2/4] Makefile and Kconfig changes for V7 Cache updates Syed Mohammed, Khasim
2007-06-12 18:16 ` Tony Lindgren
2007-06-13  3:56   ` Syed Mohammed, Khasim
2007-06-13  6:06     ` Tony Lindgren
2007-06-13  4:01   ` What is the correct approach for common board devices...? Syed Mohammed, Khasim
2007-06-13  6:02     ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox