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


Groups > linux.kernel > #1560522 > unrolled thread

Re: [PATCH v3 1/2] of: base: add support to find the level of the last cache

Started byWill Deacon <will.deacon@arm.com>
First post2017-01-17 12:40 +0100
Last post2017-01-17 12:40 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v3 1/2] of: base: add support to find the level of the  last cache Will Deacon <will.deacon@arm.com> - 2017-01-17 12:40 +0100

#1560522 — Re: [PATCH v3 1/2] of: base: add support to find the level of the last cache

FromWill Deacon <will.deacon@arm.com>
Date2017-01-17 12:40 +0100
SubjectRe: [PATCH v3 1/2] of: base: add support to find the level of the last cache
Message-ID<t0Ahk-6wt-27@gated-at.bofh.it>
On Mon, Jan 16, 2017 at 10:40:43AM +0000, Sudeep Holla wrote:
> It is useful to have helper function just to get the number of cache
> levels for a given logical cpu. We can obtain the same by just checking
> the level at which the last cache is present. This patch adds support
> to find the level of the last cache for a given cpu.
> 
> It will be used on ARM64 platform where the device tree provides the
> information for the additional non-architected/transparent/external
> last level caches that are not integrated with the processors.
> 
> Cc: Mark Rutland <mark.rutland@arm.com>
> Suggested-by: Rob Herring <robh+dt@kernel.org>
> Acked-by: Rob Herring <robh+dt@kernel.org>
> Tested-by: Tan Xiaojun <tanxiaojun@huawei.com>
> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
> ---
>  drivers/of/base.c  | 26 ++++++++++++++++++++++++++
>  include/linux/of.h |  1 +
>  2 files changed, 27 insertions(+)

Thanks, I've queued these two for 4.11.

Will

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web