Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1560522
| Path | csiph.com!news.mixmin.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Will Deacon <will.deacon@arm.com> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v3 1/2] of: base: add support to find the level of the last cache |
| Date | Tue, 17 Jan 2017 12:40:02 +0100 |
| Message-ID | <t0Ahk-6wt-27@gated-at.bofh.it> (permalink) |
| References | <t0d1o-7E3-17@gated-at.bofh.it> |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| User-Agent | Mutt/1.5.23 (2014-03-12) |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 23 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | linux-arm-kernel@lists.infradead.org, Rob Herring <robh+dt@kernel.org>, Catalin Marinas <catalin.marinas@arm.com>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Tan Xiaojun <tanxiaojun@huawei.com>, Mark Rutland <mark.rutland@arm.com> |
| X-Original-Date | Tue, 17 Jan 2017 11:30:49 +0000 |
| X-Original-Message-ID | <20170117113048.GD27328@arm.com> |
| X-Original-References | <1484563244-14743-1-git-send-email-sudeep.holla@arm.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1560522 |
Show key headers only | View raw
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
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
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
csiph-web