Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp296279imm; Mon, 21 May 2018 06:17:43 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoaz+473qqfRE6Or7IuPEHmLqbCDQ1IMrNbQADUF6pqRNcBIsyC3rMQTSdFOH5tvHOBADKX X-Received: by 2002:a62:6756:: with SMTP id b83-v6mr20117251pfc.76.1526908663827; Mon, 21 May 2018 06:17:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526908663; cv=none; d=google.com; s=arc-20160816; b=seHnK+3AOALUxVHoEjDCx3RjCRLIrt7AXJHmPLVwwXgmSd9m+QI04/d/zAo4xxziZY UW/N9vuamNOATTb3b9W5aKZAi5tSJ8P7sM53MYQbHqO4Esc8mtVf/blFZGNkpJZ09qLA /c7H018n16eWB8a/azL4Z0fo5ua1LuEtN42nCRof9DzPYUEKtOdl94rJQaCHZm0oqgmC NuUbnHqJt7ElC3H/hgVrnDBftqTYNBo62dqyBhFLSbs98umVmBPSGGudnElSktvbbTzJ kXzfcbN10Am2vke7cyKCf8smD35Z8bg4VV7YAt5up0XOvhqnjBLIweMnOukS2a+057Mq CG2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=5zOZjrZ1yU64M7WhzCdm8YBxnx5B1DXI/5ws6l2PWOk=; b=fqR4Q2S4ht4NoKKCbdBHkVm8afc4BnmPUGfFw2qVnDbfpX1kE2LYgWzol5JJdNs8YI E5cPnhy/gMsVw1tBm811H5OkbNcEs7SWWNw1xuwfqCgxYlsgO9VVO2/RJUPizuTwOaNf Ca6kG7a/Y5cHNAI6x8XucEJSUk6+TQRjaaQdvoEhejTmkdBPRpD83XZeYyR0FLhIRv7G k9zVez+INL1BhpnkytwD7PhKgSkqmWK+J4/5Khufh7014lsxaWoUgcbIVFZ6YsgrYbTH idaPWQDgX0HV7oDuzVkDnKyj415yht7fhYGHwoal4sACHv+N/q2dteEX416wfviB0ZIB wzKg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a1-v6si11220765pgn.425.2018.05.21.06.17.27; Mon, 21 May 2018 06:17:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751688AbeEUNRR (ORCPT + 99 others); Mon, 21 May 2018 09:17:17 -0400 Received: from foss.arm.com ([217.140.101.70]:49612 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751081AbeEUNRP (ORCPT ); Mon, 21 May 2018 09:17:15 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B5D0480D; Mon, 21 May 2018 06:17:14 -0700 (PDT) Received: from edgewater-inn.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 84C733F577; Mon, 21 May 2018 06:17:14 -0700 (PDT) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id D255A1AE301C; Mon, 21 May 2018 14:17:41 +0100 (BST) Date: Mon, 21 May 2018 14:17:41 +0100 From: Will Deacon To: Ilia Lin Cc: mturquette@baylibre.com, sboyd@kernel.org, robh@kernel.org, mark.rutland@arm.com, viresh.kumar@linaro.org, nm@ti.com, lgirdwood@gmail.com, broonie@kernel.org, andy.gross@linaro.org, david.brown@linaro.org, catalin.marinas@arm.com, rjw@rjwysocki.net, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, rnayak@codeaurora.org, linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, amit.kucheria@linaro.org, tfinkel@codeaurora.org, nicolas.dechesne@linaro.org, celster@codeaurora.org, linux-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v9 01/15] soc: qcom: Separate kryo l2 accessors from PMU driver Message-ID: <20180521131740.GI19713@arm.com> References: <1526901932-9514-1-git-send-email-ilialin@codeaurora.org> <1526901932-9514-2-git-send-email-ilialin@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1526901932-9514-2-git-send-email-ilialin@codeaurora.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 21, 2018 at 02:25:18PM +0300, Ilia Lin wrote: > The driver provides kernel level API for other drivers > to access the MSM8996 L2 cache registers. > Separating the L2 access code from the PMU driver and > making it public to allow other drivers use it. > The accesses must be separated with a single spinlock, > maintained in this driver. > > Signed-off-by: Ilia Lin > --- > drivers/perf/Kconfig | 1 + > drivers/perf/qcom_l2_pmu.c | 90 ++++++++++-------------------------- I'm fine with the perf bits: Acked-by: Will Deacon Will