[PATCH v5 1/8] arm64: Get rid of struct cpu_table

Suzuki K. Poulose Suzuki.Poulose at arm.com
Mon Mar 23 10:41:42 PDT 2015


On 23/03/15 17:38, Will Deacon wrote:
> On Mon, Mar 23, 2015 at 05:11:02PM +0000, Suzuki K. Poulose wrote:
>> On 18/03/15 14:55, Ard Biesheuvel wrote:
>>> @@ -209,22 +207,12 @@ static void __init smp_build_mpidr_hash(void)
>>>
>>>    static void __init setup_processor(void)
>>>    {
>>> -       struct cpu_info *cpu_info;
>>>           u64 features, block;
>>>           u32 cwg;
>>>           int cls;
>>>
>>> -       cpu_info = lookup_processor_type(read_cpuid_id());
>>> -       if (!cpu_info) {
>>> -               printk("CPU configuration botched (ID %08x), unable to continue.\n",
>>> -                      read_cpuid_id());
>>> -               while (1);
>>> -       }
>>> -
>>> -       cpu_name = cpu_info->cpu_name;
>>> -
>>> -       printk("CPU: %s [%08x] revision %d\n",
>>> -              cpu_name, read_cpuid_id(), read_cpuid_id() & 15);
>>> +       printk("CPU: AArch64 Processor [%08x] revision %d\n",
>>> +              read_cpuid_id(), read_cpuid_id() & 15);
>>>
>>
>> While we are at it, does it make sense to change
>>
>>    s/CPU/Boot CPU/
>>
>> to make it clear on a big.Little system ?
>
> This is already queued, so I don't think it's worth the effort now.
ok, not a major one. I will fix it in one of my series

Suzuki







More information about the linux-arm-kernel mailing list