From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751239AbdAQLdC (ORCPT ); Tue, 17 Jan 2017 06:33:02 -0500 Received: from foss.arm.com ([217.140.101.70]:47956 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750831AbdAQLc7 (ORCPT ); Tue, 17 Jan 2017 06:32:59 -0500 Date: Tue, 17 Jan 2017 11:30:49 +0000 From: Will Deacon To: Sudeep Holla Cc: linux-arm-kernel@lists.infradead.org, Rob Herring , Catalin Marinas , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Tan Xiaojun , Mark Rutland Subject: Re: [PATCH v3 1/2] of: base: add support to find the level of the last cache Message-ID: <20170117113048.GD27328@arm.com> References: <1484563244-14743-1-git-send-email-sudeep.holla@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1484563244-14743-1-git-send-email-sudeep.holla@arm.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > Suggested-by: Rob Herring > Acked-by: Rob Herring > Tested-by: Tan Xiaojun > Signed-off-by: Sudeep Holla > --- > 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Will Deacon Subject: Re: [PATCH v3 1/2] of: base: add support to find the level of the last cache Date: Tue, 17 Jan 2017 11:30:49 +0000 Message-ID: <20170117113048.GD27328@arm.com> References: <1484563244-14743-1-git-send-email-sudeep.holla@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1484563244-14743-1-git-send-email-sudeep.holla@arm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Sudeep Holla Cc: Mark Rutland , devicetree@vger.kernel.org, Catalin Marinas , linux-kernel@vger.kernel.org, Rob Herring , linux-arm-kernel@lists.infradead.org, Tan Xiaojun List-Id: devicetree@vger.kernel.org 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 > Suggested-by: Rob Herring > Acked-by: Rob Herring > Tested-by: Tan Xiaojun > Signed-off-by: Sudeep Holla > --- > 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: will.deacon@arm.com (Will Deacon) Date: Tue, 17 Jan 2017 11:30:49 +0000 Subject: [PATCH v3 1/2] of: base: add support to find the level of the last cache In-Reply-To: <1484563244-14743-1-git-send-email-sudeep.holla@arm.com> References: <1484563244-14743-1-git-send-email-sudeep.holla@arm.com> Message-ID: <20170117113048.GD27328@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 > Suggested-by: Rob Herring > Acked-by: Rob Herring > Tested-by: Tan Xiaojun > Signed-off-by: Sudeep Holla > --- > 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