[PATCH 3/9 v3] Add 8641 CPU table entry.

Kumar Gala galak at kernel.crashing.org
Mon Jun 19 00:16:05 EST 2006


On Jun 17, 2006, at 5:52 PM, Jon Loeliger wrote:

> Signed-off-by: Wei Zhang <Wei.Zhang at freescale.com>
> Signed-off-by: Xianghua Xiao <x.xiao at freescale.com>
> Signed-off-by: Jon Loeliger <jdl at freescale.com>
>
> ---
>
>  arch/powerpc/kernel/cputable.c |   12 ++++++++++++
>  1 files changed, 12 insertions(+), 0 deletions(-)
>
> diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/ 
> cputable.c
> index abf7d42..1c11488 100644
> --- a/arch/powerpc/kernel/cputable.c
> +++ b/arch/powerpc/kernel/cputable.c
> @@ -722,6 +722,18 @@ #if CLASSIC_PPC
>  		.oprofile_type		= PPC_OPROFILE_G4,
>  		.platform		= "ppc7450",
>  	},
> +        {       /* 8641 */
> +               .pvr_mask               = 0xffffffff,
> +               .pvr_value              = 0x80040010,
> +               .cpu_name               = "8641",
> +               .cpu_features           = CPU_FTRS_7447A,
> +               .cpu_user_features      = COMMON_USER |  
> PPC_FEATURE_HAS_ALTIVEC_COMP,
> +               .icache_bsize           = 32,
> +               .dcache_bsize           = 32,
> +               .num_pmcs               = 6,
> +               .cpu_setup              = __setup_cpu_745x
> +        },
> +

is this really needed?  Based on the PVR you'd match the 7448 entry  
which seems identical (beyond the name, which is irrelevant)?  [also  
your missing oprofile & platform info]

>  	{	/* 82xx (8240, 8245, 8260 are all 603e cores) */
>  		.pvr_mask		= 0x7fff0000,
>  		.pvr_value		= 0x00810000,
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev




More information about the Linuxppc-dev mailing list