[PATCH v2 2/2] arm64: cacheinfo: add support to override cache levels via device tree

Sudeep Holla sudeep.holla at arm.com
Fri Jan 13 01:30:28 PST 2017



On 13/01/17 09:06, Tan Xiaojun wrote:
> On 2017/1/13 2:29, Sudeep Holla wrote:
>> The cache hierarchy can be identified through Cache Level ID(CLIDR)
>> architected system register. However in some cases it will provide
>> only the number of cache levels that are integrated into the processor
>> itself. In other words, it can't provide any information about the
>> caches that are external and/or transparent.
>>
>> Some platforms require to export the information about all such external
>> caches to the userspace applications via the sysfs interface.
>>
>> This patch adds support to override the cache levels using device tree
>> to take such external non-architected caches into account.
>>
>> Cc: Catalin Marinas <catalin.marinas at arm.com>
>> Cc: Will Deacon <will.deacon at arm.com>
>> Cc: Mark Rutland <mark.rutland at arm.com>
>> Signed-off-by: Sudeep Holla <sudeep.holla at arm.com>
> 
> Tested-by: Tan Xiaojun <tanxiaojun at huawei.com>
> 

Thanks for testing.

-- 
Regards,
Sudeep



More information about the linux-arm-kernel mailing list