Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp287890ybh; Wed, 15 Jul 2020 01:52:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzPUDyqsPdLMziFcuAknzD58kteebZd3SaCmaZ0PvXRVp0Kib72P4cU7xWaJxvOO4t7kXIS X-Received: by 2002:a17:906:1e83:: with SMTP id e3mr8472629ejj.7.1594803178918; Wed, 15 Jul 2020 01:52:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594803178; cv=none; d=google.com; s=arc-20160816; b=po++dNRlcQIlkzig0uATFGNppPw/gsj5BCX2IYzuz1PZn85KhkN7+mrLuRrAp0ZUtL ErDW+5oXS5Le0X0K+GVhbdyBQNJjEmgqZl9J4WJVLiQktLWJ8n8D2BoVn12CHxbEX3Hz bc/wbi0eELOiuyFMb1iZrUO0Ywu0QVNYFTqURa1St2vedxw+jKYNGEVqlDRpwv+b7vhp 1D5uQYENQuGrMn7Pj4GAKSKfBHdQPnuz22mzYLXFDmZficXeE54WIALishuHMRNJZ3hR kKTEqMVwwrBrVLTIMAjIj2tPJjlo5Tpl4COzECyWVgT9AmCF13ESQ6Dqo8x99YUGSRt/ OqBw== 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; bh=QmeD/CsyxfYm2shKBFjJdGS4TajDiPbBZSjwDBFLtoE=; b=Usvrwk/hi/R9P1Z3j0KDPH4H90XNOXWuymLg2wOAPbMuSBEgiAT/a1lDIrTaWQ+3YK 4ERLEHER0iNL/nErrhOGaHBtvcuqFJrayGZD4kU0GZDS1a+zM7hVH5QFG54ItKH+PYm+ 3Sxy9Q2vqg2UWWnnPbUGqMyiLlwiF3ZTU10ptqpBNeQ7wjYPmaZaiOOuDLg9ERMPwcn8 KIncIn8Fl/KhBI568O7KL/GkJ8M1oDeNCx0hwb0aqifIOPHpDqII0zxbd9JHwW2fndd9 zM8Xr9Gjar6Txa0AjT1syC4QUTzVi9n40ZjA/mtZjHSj2oY1UA/lhS5Xb3TN7l+6Embr A1eQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t26si800643edt.427.2020.07.15.01.52.36; Wed, 15 Jul 2020 01:52:58 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729794AbgGOIZI (ORCPT + 99 others); Wed, 15 Jul 2020 04:25:08 -0400 Received: from lhrrgout.huawei.com ([185.176.76.210]:2481 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729792AbgGOIZH (ORCPT ); Wed, 15 Jul 2020 04:25:07 -0400 Received: from lhreml724-chm.china.huawei.com (unknown [172.18.7.108]) by Forcepoint Email with ESMTP id 5B634C3BD6AD20BE046F; Wed, 15 Jul 2020 09:25:06 +0100 (IST) Received: from [127.0.0.1] (10.47.6.38) by lhreml724-chm.china.huawei.com (10.201.108.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Wed, 15 Jul 2020 09:25:05 +0100 Subject: Re: [PATCH] drivers/perf: hisi: Add identifier sysfs file To: Will Deacon CC: , , , , , , References: <1592399111-134786-1-git-send-email-john.garry@huawei.com> <20200714083216.GD4516@willie-the-truck> From: John Garry Message-ID: <67db3c30-5aaf-ac17-0256-950494f5ba88@huawei.com> Date: Wed, 15 Jul 2020 09:23:19 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.1.2 MIME-Version: 1.0 In-Reply-To: <20200714083216.GD4516@willie-the-truck> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.47.6.38] X-ClientProxiedBy: lhreml728-chm.china.huawei.com (10.201.108.79) To lhreml724-chm.china.huawei.com (10.201.108.75) X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Will, > > 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. Cheers, John