Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp2079960ima; Thu, 25 Oct 2018 09:14:05 -0700 (PDT) X-Google-Smtp-Source: AJdET5eY/94uSISlyeFThhur5WSZoEPeytceEtd/CsnOej4RtUwZ1pO7Ufenu7kkCUoUDXscrhkd X-Received: by 2002:a62:1c96:: with SMTP id c144-v6mr2196743pfc.41.1540484045599; Thu, 25 Oct 2018 09:14:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540484045; cv=none; d=google.com; s=arc-20160816; b=SP7CmHAKC+BOX9GMhaS1M+TL2Oej7r4O6Wvb9tuKbFz+QAgLXvaYN/LR2Kzf+NgLWj FF6ElmGc2+20FZAt3gZWLHXIg/8d6cyCFAkfJnCn9rDcQBpnI66XFlTDAruOM7TV7ECd xKK1Ayg61jPZKsFeIMsfv5+/NHK7nwEcVizWaG+fqrEOjyOJOPlW/GhTjzf0o7TGRPXX jW361DPPX/bQz1DJsU7Q6H2u3Fbbf6tLQda52y5+jwKdGrAVbK22BY4Xzj2qoCrm8LaE 06Vp4QKTgvjJfPQAsu5vsMUz9ye2HwK3IrONKLKZE7y28hWcGlfY+Y87akN63ID+y9j0 y9dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=1JkPSRVnJ9l2rDtS6I6TOh3aAEkxlLLc03SoHV/cc4k=; b=zVzCkIMpfXr6ue4p2kRx5j9WjUgRsZTWUPyBJccidkd+Sif8Hz58CZw/bndEFzA47d H3+zbnlUIzU8nn+zGx6jOzGl9aD6aQuJymjiLblEZXiOsgWxq4IAtotDrWMPbLBUVSM3 YEZ92GhIO1kxeO4KctugcJ59KWRgH/uxMbc++oCmbMLz9tuRIHifNkfUArIIv9TCHvlv 5QKHGeEUhFX2IqrV1Orit16GJsqT3XKyWuGXy2il2lP0G+TCuubJ5zax29cZMseCuE/J nOui/JBdGZ4d62Bm8PC2m4zW+mflxt+ZPs62Ize+41Q3tkszGul91IbfezrtHUPL6EKG CBww== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=FCYdn55I; 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 j34-v6si4500744pgj.344.2018.10.25.09.13.39; Thu, 25 Oct 2018 09:14:05 -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; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=FCYdn55I; 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 S1727450AbeJZAqG (ORCPT + 99 others); Thu, 25 Oct 2018 20:46:06 -0400 Received: from merlin.infradead.org ([205.233.59.134]:52820 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727313AbeJZAqG (ORCPT ); Thu, 25 Oct 2018 20:46:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=1JkPSRVnJ9l2rDtS6I6TOh3aAEkxlLLc03SoHV/cc4k=; b=FCYdn55IIuZOVBl7G0BABPZ28x OqsZXj3e6mQp7H/GUm1CzXNSsl/fUUkSDUQIgl9VGiechU+Q9uOKMz7WRbW4MyoaV2P16A+8tCLEz fU85SYVOM0Ob9ig2tcJ5fnkYEjqgEwMMtO/BlGovw9Azauliw2jaSP11436WVn1GCMOPQEN01JFgy TRJ0Rkcu2APou0dJWVO3z96FYygb9PIAXzVDz0EySb80eedOVIbLCVUDskGBSV/sPXky6JBFa8PSs ob+bx1q9IDtCehz7ntUHfWEA0kO6s9e93w6joEKiCF01aBR+Pi8Pl+MjINZUqWtp6v96bpaiJNVT4 R7YntScg==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1gFiFO-0006Hr-69; Thu, 25 Oct 2018 16:12:34 +0000 Subject: Re: [PATCH v7 2/2] ThunderX2, perf : Add Cavium ThunderX2 SoC UNCORE PMU driver To: "Kulkarni, Ganapatrao" , "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Cc: "Will.Deacon@arm.com" , "mark.rutland@arm.com" , "suzuki.poulose@arm.com" , "Nair, Jayachandran" , "Richter, Robert" , "Lomovtsev, Vadim" , Jan Glauber , "gklkml16@gmail.com" References: <20181025055833.28471-1-ganapatrao.kulkarni@cavium.com> <20181025055833.28471-3-ganapatrao.kulkarni@cavium.com> From: Randy Dunlap Message-ID: <84978a48-bd25-eede-519a-a4e9991c5c3d@infradead.org> Date: Thu, 25 Oct 2018 09:12:28 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20181025055833.28471-3-ganapatrao.kulkarni@cavium.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/24/18 10:59 PM, Kulkarni, Ganapatrao wrote: > diff --git a/drivers/perf/Kconfig b/drivers/perf/Kconfig > index 08ebaf7cca8b..c1956b1af2bb 100644 > --- a/drivers/perf/Kconfig > +++ b/drivers/perf/Kconfig > @@ -87,6 +87,15 @@ config QCOM_L3_PMU > Adds the L3 cache PMU into the perf events subsystem for > monitoring L3 cache events. > > +config THUNDERX2_PMU > + tristate "Cavium ThunderX2 SoC PMU UNCORE" > + depends on ARCH_THUNDER2 && ARM64 && ACPI && NUMA > + default m > + help > + Provides support for ThunderX2 UNCORE events. > + The SoC has PMU support in its L3 cache controller (L3C) and > + in the DDR4 Memory Controller (DMC). > + > config XGENE_PMU > depends on ARCH_XGENE > bool "APM X-Gene SoC PMU" Please fix the Kconfig indentation. Use one tab (not spaces) for each of tristate, depends, default, and help. (yes, some of them are tabs and some are spaces.) -- ~Randy