Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp294506ybh; Wed, 15 Jul 2020 02:05:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyUqyelV/1dfxAj8CG/Ip2Gm+RD70tO85/exUPiKvLQjVQI+Tu7BnWztOc0h2Y1dnsMkTwn X-Received: by 2002:a17:906:d057:: with SMTP id bo23mr8426686ejb.210.1594803926803; Wed, 15 Jul 2020 02:05:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594803926; cv=none; d=google.com; s=arc-20160816; b=l6zl58PcT9FEqwGeaWfOKEWNmmcGaAPsWDpF8Lvm/w7SLY0bg2UhsuuqNAG7FDezbJ oL5C9E4uP0caIXsQ6sSfTCZto+PKNtNSZB8EsmZ7TQ87qvCCcMA0nQgn0Y8wqoBOUtNo wlCD3e8p07we305dZvJhqf7g6kx+fZu1Hix1reTB71Cn+2Rq/8y2zDG+FtXVrNKpI9oH O71eVwbPPCzxHG29/wyBvvdDjwavphexDIWHkV3OPUey6OUKb6nBg2fhnxzXJ/MBxtli /t7FxPkoDBrnRrKdxIM85ZNyKrsHDPAa2KmYXJ2fnFtyFxeauhXW0Ou91dtR7Qd/4lwm PTVw== 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:dkim-signature; bh=yGQsPY5USGaiLMjC5o1f9OrjAe6c2rlRtXyQGRNtFDU=; b=m9b3YC8SyqW3tQao3rQdB8H4M/Y6PLanGuEx26CKDEQ+xm6Kdgs8Y+E0zYh6HjSgLQ 878STrSRwvWAEPosJ3AOiCzLS8htHhHJYyoXaJjd91LMGiXiRqZ5qGyHfUrNyGheBiK9 Yk2XHqNoX4MwLOzqjUr4lMcWLSLWSbeNZ0rnjnPaTMEawclhGg2N8U28q3/R59Fqk3wW wKJ4i/Soptrl/n15bPT9g6vKwO2iGYaKktcSE96YSpwGM1RSqfKq4P5fuGZg3Wb0B/iN mIRVRtYU0ODLOSHY/vR0PoYwBADeyFJhXksJt7i0uNukQk32p/oBbHMpl317ChGD/CkI lHwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dQznYcTp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 88si931248edr.154.2020.07.15.02.05.03; Wed, 15 Jul 2020 02:05:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dQznYcTp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728030AbgGOIaX (ORCPT + 99 others); Wed, 15 Jul 2020 04:30:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:38920 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726971AbgGOIaW (ORCPT ); Wed, 15 Jul 2020 04:30:22 -0400 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4B4CA20657; Wed, 15 Jul 2020 08:30:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594801822; bh=WDUrHfDBynWOQYaHlD7ZA0aOIiAjAZBjHlYA/2JEtXQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dQznYcTpJ6uIZYxjbsa3EFFZ+Rtfly2yeUwEHNIl5vOve/r75JqBH79CwCSeKrZ8k Mx1rABjYB/QXQiA0x4BEKClOLKbgoWoDy5Sq9EMfRDmTev4i2PG2w0ic/S1R0T9u6p 6s8TQaHNTnWL94kCou57dIBEKdeTk6DWSVHo2lhI= Date: Wed, 15 Jul 2020 09:30:17 +0100 From: Will Deacon To: John Garry Cc: zhangshaokun@hisilicon.com, mark.rutland@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, qiangqing.zhang@nxp.com, jolsa@redhat.com, linuxarm@huawei.com Subject: Re: [PATCH] drivers/perf: hisi: Add identifier sysfs file Message-ID: <20200715083016.GB5683@willie-the-truck> References: <1592399111-134786-1-git-send-email-john.garry@huawei.com> <20200714083216.GD4516@willie-the-truck> <67db3c30-5aaf-ac17-0256-950494f5ba88@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <67db3c30-5aaf-ac17-0256-950494f5ba88@huawei.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi John, On Wed, Jul 15, 2020 at 09:23:19AM +0100, John Garry wrote: > > On Wed, Jun 17, 2020 at 09:05:11PM +0800, John Garry wrote: > > > To allow userspace to identify the specific implementation of the device, > > > add an "identifier" sysfs file. > > > > > > Encoding is as follows: > > > hi1620: 0x0 (aka hip08) > > > hi1630: 0x30 > > > > > > Signed-off-by: John Garry > > > > I'm struggling a bit to track this. If you still think it's worth pursuing, > > please could you post a series with a cover-letter describing what this is > > for, a link to the userspace changes and then patches for all the PMU > > drivers that need updating? > > There is no hi1630 userspace support yet. > > So what I can do is post updated userspace support (including hi1630), and > then post kernel parts together for all drivers we could initially support. > > @Joakim, I'll pick your imx driver changes here, if you don't mind. > > There was an RFC from you for the SMMUv3 PMU as > > well, and also some other "arm64" changes. > > > > I hope to drop that RFC if an updated SMMUv3 spec helps us out. Thanks, John. That should be a tonne easier to review. Will