Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1558158

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

From Sudeep Holla <sudeep.holla@arm.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 2/2] arm64: cacheinfo: add support to override cache levels via device tree
Date 2017-01-13 10:40 +0100
Message-ID <sZ6v0-7Bl-23@gated-at.bofh.it> (permalink)
References <sYSs1-7lL-1@gated-at.bofh.it> <sYSs1-7lL-17@gated-at.bofh.it> <sZ61X-7rG-13@gated-at.bofh.it>
Organization ARM

Show all headers | View raw



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@arm.com>
>> Cc: Will Deacon <will.deacon@arm.com>
>> Cc: Mark Rutland <mark.rutland@arm.com>
>> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
> 
> Tested-by: Tan Xiaojun <tanxiaojun@huawei.com>
> 

Thanks for testing.

-- 
Regards,
Sudeep

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 1/2] of: base: add support to find the level of the last cache Sudeep Holla <sudeep.holla@arm.com> - 2017-01-12 19:40 +0100
  [PATCH v2 2/2] arm64: cacheinfo: add support to override cache levels via device tree Sudeep Holla <sudeep.holla@arm.com> - 2017-01-12 19:40 +0100
    Re: [PATCH v2 2/2] arm64: cacheinfo: add support to override cache  levels via device tree Tan Xiaojun <tanxiaojun@huawei.com> - 2017-01-13 10:10 +0100
      Re: [PATCH v2 2/2] arm64: cacheinfo: add support to override cache  levels via device tree Sudeep Holla <sudeep.holla@arm.com> - 2017-01-13 10:40 +0100
  Re: [PATCH v2 1/2] of: base: add support to find the level of the  last cache Tan Xiaojun <tanxiaojun@huawei.com> - 2017-01-13 10:10 +0100
  Re: [PATCH v2 1/2] of: base: add support to find the level of the  last cache Rob Herring <robh+dt@kernel.org> - 2017-01-14 03:50 +0100
    Re: [PATCH v2 1/2] of: base: add support to find the level of the  last cache Sudeep Holla <sudeep.holla@arm.com> - 2017-01-16 11:40 +0100

csiph-web