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


Groups > linux.kernel > #1180741

Re: [PATCH v4 4/7] powerpc/powernv: detect supported nest pmus and its events

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject Re: [PATCH v4 4/7] powerpc/powernv: detect supported nest pmus and its events
Date Thu, 09 Jul 2015 15:20:02 +0200
Message-ID <pKjU6-DN-1@gated-at.bofh.it> (permalink)
References <pJXgR-38d-1@gated-at.bofh.it> <pJXgV-38d-85@gated-at.bofh.it> <pK5Hr-fn-5@gated-at.bofh.it>
X-Original-To Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
X-Helo d03dlp02.boulder.ibm.com
X-Mailfrom sukadev@linux.vnet.ibm.com
X-Rcptto linux-kernel@vger.kernel.org
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
X-Operating-System Linux 2.0.32 on an i486
User-Agent Mutt/1.5.21 (2010-09-15)
X-Tm-As-Mml disable
X-Content-Scanned Fidelis XPS MAILER
X-Cbid 15070913-0017-0000-0000-00000C2F8C9A
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 22
Organization linux.* mail to news gateway
X-Original-Cc linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Michael Ellerman <mpe@ellerman.id.au>, Benjamin Herrenschmidt <benh@kernel.crashing.org>, Paul Mackerras <paulus@samba.org>, Anton Blanchard <anton@samba.org>, Anshuman Khandual <khandual@linux.vnet.ibm.com>, Stephane Eranian <eranian@google.com>, peterz@infradead.org
X-Original-Date Wed, 8 Jul 2015 15:09:44 -0700
X-Original-Message-ID <20150708220944.GB22635@us.ibm.com>
X-Original-References <1436360506-18805-1-git-send-email-maddy@linux.vnet.ibm.com> <1436360506-18805-5-git-send-email-maddy@linux.vnet.ibm.com> <20150708220125.GA22635@us.ibm.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref aioe.org linux.kernel:1180741

Show key headers only | View raw


Sukadev Bhattiprolu [sukadev@linux.vnet.ibm.com] wrote:
| | @@ -50,6 +163,15 @@ static int nest_ima_dt_parser(void)
| |  		p8ni->vbase = (uint64_t) phys_to_virt(p8ni->pbase);
| |  	}
| | 
| | +	/* Look for supported Nest PMU units */
| | +	idx = 0;
| | +	for_each_node_by_type(dev, "nest-ima-unit") {
| | +		ret = nest_pmu_create(dev, idx);
| | +		if (ret)
| | +			return ret;
| | +		idx++;
| 
| idx not used?

Sorry, disregard this. Had my blinders on :-(

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH v4 4/7] powerpc/powernv: detect supported nest pmus and  its events Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> - 2015-07-09 15:20 +0200

csiph-web