[PATCH] ARM: Add Cortex A7 proc info
Will Deacon
will.deacon at arm.com
Tue Dec 6 18:28:22 EST 2011
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 at 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 at arm.com>
Will
More information about the linux-arm-kernel
mailing list