linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: Add Cortex A7 proc info
@ 2011-12-06 15:48 Pawel Moll
  2011-12-06 23:28 ` Will Deacon
  0 siblings, 1 reply; 3+ messages in thread
From: Pawel Moll @ 2011-12-06 15:48 UTC (permalink / raw)
  To: linux-arm-kernel

This patch adds processor infos for ARM Ltd. Cortex A7.

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
---
 arch/arm/mm/proc-v7.S |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mm/proc-v7.S b/arch/arm/mm/proc-v7.S
index 2c559ac..ea679ec 100644
--- a/arch/arm/mm/proc-v7.S
+++ b/arch/arm/mm/proc-v7.S
@@ -284,6 +284,7 @@ __v7_ca5mp_setup:
 __v7_ca9mp_setup:
 	mov	r10, #(1 << 0)			@ TLB ops broadcasting
 	b	1f
+__v7_ca7mp_setup:
 __v7_ca15mp_setup:
 	mov	r10, #0
 1:
@@ -463,6 +464,16 @@ __v7_ca5mp_proc_info:
 	.size	__v7_ca5mp_proc_info, . - __v7_ca5mp_proc_info
 
 	/*
+	 * ARM Ltd. Cortex A7 processor.
+	 */
+	.type	__v7_ca7mp_proc_info, #object
+__v7_ca7mp_proc_info:
+	.long	0x410fc070
+	.long	0xff0ffff0
+	__v7_proc __v7_ca7mp_setup, hwcaps = HWCAP_IDIV
+	.size	__v7_ca7mp_proc_info, . - __v7_ca7mp_proc_info
+
+	/*
 	 * ARM Ltd. Cortex A9 processor.
 	 */
 	.type   __v7_ca9mp_proc_info, #object
-- 
1.6.3.3

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

* [PATCH] ARM: Add Cortex A7 proc info
  2011-12-06 15:48 [PATCH] ARM: Add Cortex A7 proc info Pawel Moll
@ 2011-12-06 23:28 ` Will Deacon
  2011-12-07 18:51   ` [PATCH v2] ARM: Add Cortex-A7 " Pawel Moll
  0 siblings, 1 reply; 3+ messages in thread
From: Will Deacon @ 2011-12-06 23:28 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Pawel,

On Tue, Dec 06, 2011 at 03:48:17PM +0000, Pawel Moll wrote:
> This patch adds processor infos for ARM Ltd. Cortex A7.

You could elaborate a bit here :) Maybe mention that the A7 is
architecturally identical to A15?

> Signed-off-by: Pawel Moll <pawel.moll@arm.com>
> ---
>  arch/arm/mm/proc-v7.S |   11 +++++++++++
>  1 files changed, 11 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/mm/proc-v7.S b/arch/arm/mm/proc-v7.S
> index 2c559ac..ea679ec 100644
> --- a/arch/arm/mm/proc-v7.S
> +++ b/arch/arm/mm/proc-v7.S
> @@ -284,6 +284,7 @@ __v7_ca5mp_setup:
>  __v7_ca9mp_setup:
>  	mov	r10, #(1 << 0)			@ TLB ops broadcasting
>  	b	1f
> +__v7_ca7mp_setup:
>  __v7_ca15mp_setup:
>  	mov	r10, #0
>  1:
> @@ -463,6 +464,16 @@ __v7_ca5mp_proc_info:
>  	.size	__v7_ca5mp_proc_info, . - __v7_ca5mp_proc_info
>  
>  	/*
> +	 * ARM Ltd. Cortex A7 processor.
> +	 */
> +	.type	__v7_ca7mp_proc_info, #object
> +__v7_ca7mp_proc_info:
> +	.long	0x410fc070
> +	.long	0xff0ffff0
> +	__v7_proc __v7_ca7mp_setup, hwcaps = HWCAP_IDIV
> +	.size	__v7_ca7mp_proc_info, . - __v7_ca7mp_proc_info
> +
> +	/*
>  	 * ARM Ltd. Cortex A9 processor.
>  	 */
>  	.type   __v7_ca9mp_proc_info, #object

Tested-by: Will Deacon <will.deacon@arm.com>

Will

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

* [PATCH v2] ARM: Add Cortex-A7 proc info
  2011-12-06 23:28 ` Will Deacon
@ 2011-12-07 18:51   ` Pawel Moll
  0 siblings, 0 replies; 3+ messages in thread
From: Pawel Moll @ 2011-12-07 18:51 UTC (permalink / raw)
  To: linux-arm-kernel

This patch adds processor info for ARM Ltd. Cortex-A7.

A7 is (nearly) architecturally identical to A15 so
it shares the same SMP initialization code and hwcaps.

Tested-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Pawel Moll <pawel.moll@arm.com>
---
 arch/arm/mm/proc-v7.S |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mm/proc-v7.S b/arch/arm/mm/proc-v7.S
index 2c559ac..ea679ec 100644
--- a/arch/arm/mm/proc-v7.S
+++ b/arch/arm/mm/proc-v7.S
@@ -284,6 +284,7 @@ __v7_ca5mp_setup:
 __v7_ca9mp_setup:
 	mov	r10, #(1 << 0)			@ TLB ops broadcasting
 	b	1f
+__v7_ca7mp_setup:
 __v7_ca15mp_setup:
 	mov	r10, #0
 1:
@@ -463,6 +464,16 @@ __v7_ca5mp_proc_info:
 	.size	__v7_ca5mp_proc_info, . - __v7_ca5mp_proc_info
 
 	/*
+	 * ARM Ltd. Cortex A7 processor.
+	 */
+	.type	__v7_ca7mp_proc_info, #object
+__v7_ca7mp_proc_info:
+	.long	0x410fc070
+	.long	0xff0ffff0
+	__v7_proc __v7_ca7mp_setup, hwcaps = HWCAP_IDIV
+	.size	__v7_ca7mp_proc_info, . - __v7_ca7mp_proc_info
+
+	/*
 	 * ARM Ltd. Cortex A9 processor.
 	 */
 	.type   __v7_ca9mp_proc_info, #object
-- 
1.7.5.4

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

end of thread, other threads:[~2011-12-07 18:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-06 15:48 [PATCH] ARM: Add Cortex A7 proc info Pawel Moll
2011-12-06 23:28 ` Will Deacon
2011-12-07 18:51   ` [PATCH v2] ARM: Add Cortex-A7 " Pawel Moll

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).