Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2285380ybt; Fri, 3 Jul 2020 05:36:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwUBwB117Ys9OLjHcUQ+yXlw8zrVDs8Noo6ygK6C3XlRW29EVM50bhmNdYqsjaxxvJNmtOF X-Received: by 2002:a17:906:6959:: with SMTP id c25mr31628756ejs.375.1593779815480; Fri, 03 Jul 2020 05:36:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593779815; cv=none; d=google.com; s=arc-20160816; b=Xx/Fkd+CIDd0WaFHkORdSgtrJRMXbXynkXpbizpC+utvHo82qloQ5UU/Qxraytkw97 Z7qiyt6FyiyVy3rpwABOq+qnXWy3PO9jWIQegWPsq2Dj3HEvPVhpXG3cCCIDRuKKoCot 5f0KUhBN/NHYJssNNkjPpYoN5QohBTzBeJstJ81YaPqnKBvoZ1dCHD53JwDndmxOXKT2 fOWECYRjDgwdpZ5AcpWeZIRDh88/I4MyftBcUlul0F0jcnv0tGsH7S93l/W4rmOFYt7V qFXgchkfvE+URVCoG7tUgBOKMZFX5XuivAW2uGAXF3E6qwoWEiSgWQa9mXD76WEyi/qb aZXg== 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=nZUF6WuFprwDJTnWiluzBNUHsiWypbSmMaTLJnyAdJc=; b=xbRIL9+layhFznuhysAS5rR1qEXbcJLXjK9niyETx+EB/jLtYEV9Ts5Er/gBr1Jyzf t/1N53hlFm8tnXd4rxKSc1XEwQ5TqHyJePJhmHDFc8QxLKogrHxXv+u1elOk/uHzm6Da XoaLsRlbQLSkz+FTlF5Bw66pbc98HdHAaLSLCkaiEF1pmLZZWyf0fk+9UtHQeF0UUg1v SwmwFszbW8LllyhRmmUE87b3EFXvsBloLG7dUSe1a0hnUfdlkyqmUv3tdO3p/nq1nW4j VlEj5dtEfmOXorWyEIKknNLD3Kbcl71lUmWz1r45kQs7ZxEqr/3lTR4GJyFF3MVPTwz4 isEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=h3xFIbzU; 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 by19si8276221ejc.417.2020.07.03.05.36.31; Fri, 03 Jul 2020 05:36:55 -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=h3xFIbzU; 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 S1726447AbgGCMdx (ORCPT + 99 others); Fri, 3 Jul 2020 08:33:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:38228 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726108AbgGCMdv (ORCPT ); Fri, 3 Jul 2020 08:33:51 -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 397AC20CC7; Fri, 3 Jul 2020 12:33:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1593779631; bh=yOf8DplJ2kxhEXBBRPsWmMVjM7TUcjznNe+bxS9EXjs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=h3xFIbzUSj0mAOMtA/yIAaiQrscQcuFABU/AvgWwDuzlcJYeNmYgENMjkSrQsiCO/ 6GoaSHyCLY0+3jTb8856XAH4eXKBC++lrp5T0XA7mbtLshR4ld8B32c+WNP1mM10FU 5CMSZAeSRo6fiQhwwDqklrrDjw2Uw1xFCs6WNgMs= Date: Fri, 3 Jul 2020 13:33:47 +0100 From: Will Deacon To: Jisheng Zhang Cc: Robin Murphy , Mark Rutland , Catalin Marinas , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/3] arm64: perf: add support for Cortex-A55/A75/A76 Message-ID: <20200703123346.GB18953@willie-the-truck> References: <20200619184423.5e61a838@xhacker.debian> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200619184423.5e61a838@xhacker.debian> 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 On Fri, Jun 19, 2020 at 06:44:37PM +0800, Jisheng Zhang wrote: > The Cortex-A55/A75/A76 use some implementation defined perf events. > Add the support. > > Jisheng Zhang (3): > arm64: perf: add support for Cortex-A55 > arm64: perf: add support for Cortex-A75 > arm64: perf: add support for Cortex-A76 > > arch/arm64/kernel/perf_event.c | 49 +++++++++++++++++++++++++++++++--- > 1 file changed, 45 insertions(+), 4 deletions(-) Do we really need this? I'd prefer for this stuff to live in userspace now that the perf tool has supported JSON event descriptions for a while, and the in-kernel driver advertises the architected events advertised by PMCEID*. Will