Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1584018ybh; Tue, 14 Jul 2020 01:32:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwH+Y7w7nUrFdg5vUyhR8aRlPepdIWka5c3fTaE8BrNYBD3Bv1GYfZ5XEo4NglxmYFrQwpM X-Received: by 2002:a05:6402:8da:: with SMTP id d26mr3431444edz.109.1594715574510; Tue, 14 Jul 2020 01:32:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594715574; cv=none; d=google.com; s=arc-20160816; b=RYy4e1fbd7w2h2EnIqIuaE/wikRMuRdQhLV4B5dXq0qDpF+gzz+YeLim3glXx+AbYL p/46nhS2TIkDP6RSw6/vDrddZRZpxlAOMvQe/wWqAFKQWu6dq2IyFcNdZKkuP0y9DNAz xUN95weanJiRUQvBf7IA1kK1AFIkvkQYovoiUbM1FSkkQnyK+Q/2X2a/DieEN91SPuVO PDPAEvhPvuuZg9iVQ3QU9WURUKSGqYj0fcUOAvR0Y1wYw96VB/TXp7l7ymnypL4iLYNC Z4mc3gxnjW71rqgJEjeJ6hN6hvUXCn8HkRFwOCZvaL3gvNwP32qnttHAytQz2m8FFXB3 Y4RA== 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=XTQ7x+xEyNhOLQwn4uqZqPIXgdblvFfulngCVYfQCxk=; b=rfgsIl5hwgfhpazZt8TjHSjV3fBIh4+O7wNYk6GLkWrPqfjGevZaRCK/yHUckaZut4 8EHtLdXFVrPC8zXvH3+kwqak6r1qMAtLz3ycTgC2VZohZGVzQmV2DQH5n/DyNOydTKjU aHWXYEVr5CxOU5weibFw1cnrJM9TzLfLnt7fcAdOi4ABKeJ5EyJhd8BvCPqGoF8SPP3e Ol7CFv13MN7XMb0XLjtNNZVPfIx7cI6m42dFUS7mKL7CGu1k+eLjCh651HY9uahQn2IE caFBswMfzksLIxBQRvVCbS+tCjSHYw5bTymjOQP2DC85JgN+mswKrawc+7nbi0+SJ8Ym Jjsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Exc5Ivn9; 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 bx7si10370462edb.150.2020.07.14.01.32.31; Tue, 14 Jul 2020 01:32:54 -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=Exc5Ivn9; 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 S1726766AbgGNIcW (ORCPT + 99 others); Tue, 14 Jul 2020 04:32:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:58430 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725801AbgGNIcV (ORCPT ); Tue, 14 Jul 2020 04:32:21 -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 9886B21BE5; Tue, 14 Jul 2020 08:32:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594715541; bh=0zlzzliEOItAVoYIhLD6J0k/s1+kEFpAEJbNA9bURqs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Exc5Ivn9GWaIQh/pdsyxs9hU85cZFng5gjIoScR5HpV0r9ZrBhMfPbwhW3F0w5zxM 1ZaOlF7hevYbG4PEyOPWgGl5YSO7mkXY69a8Yj9Ju5qMav0zc1NPptMnHGylH2xTwU twjln/jBfK2Q+zClosWpmM4wzNWeU3tGriS561tQ= Date: Tue, 14 Jul 2020 09:32:16 +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: <20200714083216.GD4516@willie-the-truck> References: <1592399111-134786-1-git-send-email-john.garry@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1592399111-134786-1-git-send-email-john.garry@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, 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 was an RFC from you for the SMMUv3 PMU as well, and also some other "arm64" changes. Cheers, Will