[QUESTION] Arm64: Query L3 cache info via DT
Sudeep Holla
sudeep.holla at arm.com
Tue Jan 10 02:01:37 PST 2017
On 10/01/17 08:50, Tan Xiaojun wrote:
> I add this patch, and test in Hisilicon D02/D03. It can work well.
>
> I'm sorry to reply so late. I took some time to debug, because I am not familiar with the code.
>
>> + if (level < of_level) {
>> + /*
>> + * some external caches not specified in CLIDR_EL1
>> + * the information may be available in the device tree
>> + * only unified external caches are considered here
>> + */
>> + level = of_level;
>> + leaves += (of_level - level);
>
> The above two lines need to exchange the location.
>
Ah crap, sorry for such a silly mistake.
I will post proper patch(es) soon.
--
Regards,
Sudeep
More information about the linux-arm-kernel
mailing list