[V2] arm: pj4: check cpu id for pj4 cp0 access
Chao Xie
xiechao.mail at gmail.com
Tue Mar 18 21:36:33 EDT 2014
On Wed, Mar 19, 2014 at 4:32 AM, Russell King - ARM Linux
<linux at arm.linux.org.uk> wrote:
> On Tue, Mar 18, 2014 at 01:19:35PM -0700, Kevin Hilman wrote:
>> On Tue, Mar 18, 2014 at 1:15 PM, Matt Porter <mporter at linaro.org> wrote:
>> > On Fri, Jun 14, 2013 at 05:03:57AM -0400, Chao Xie wrote:
>> >> Check cpu id in pj4_cp0_init. So for no-PJ4 V7 cpus,
>> >> pj4_cpu0_init just return.
>> >> This fix will help to make the all the V7 cpus(pj4 and no-PJ4)
>> >> use same platform code.
>> >>
>> >> Signed-off-by: Chao Xie <chao.xie at marvell.com>
>> >> Acked-by: Arnd Bergmann <arnd at arndb.de>
>> >
>> > This patch fixes a boot failure in next now that ARCH_DOVE (and thus
>> > CPU_PJ4) are enabled in multi_v7_defconfig. I verified that boot works
>> > again in next with the BCM28155-AP board.
>> >
>> > Tested-by: Matt Porter <mporter at linaro.org>
>>
>> I've also verified that this fixes the boot regression on the BCM28155-AP board.
>>
>> Tested-by: Kevin Hilman <khilman at linaro.org>
>>
>> Chao, can you collect the acks/tested-bys and submit this to Russell's
>> patch tracker[1] so he can apply it please?. Thanks.
>
> Any reason not put the IDs in asm/cputype.h, where all the others are -
> and maybe also a cpu_is_pj4() inline function too?
>
Sure, i can put it at arch/arm/asm/include/cputype.h
I will send the patch later.
Thanks.
> --
> FTTC broadband for 0.8mile line: now at 9.7Mbps down 460kbps up... slowly
> improving, and getting towards what was expected from it.
More information about the linux-arm-kernel
mailing list