From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F4201C636CC for ; Sat, 4 Feb 2023 10:37:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=t/JIZdh5uWiPWWw+3evo4R0JJX3iUWNy5M2rPxk9PzU=; b=ub2/tSybAahGVL 3VfLe3yxA5skYdKdluEuKT8vJ+t2OcS42Iyn2prdoEWSo1AJl83pl32hDQM2RS+IRKD/Bqzmii5aB T0DTZyyENw4wgtSZru+gpMpEtilFYQNVa0mb6MiubNmMENe3yGiTGi5BN5MiTqYRR3hk3lAyv/mug jEuoT3eQVvkKidI67SEZp6B0Q2hWmbfJ8ylH2iXRppauC1yjAbTBAyeUDAP4yM9lNH4fYdl5p3bKl BnUU6a7d9IliXvvlF48IIZxb4jirabHbVU8jFtiTWgklGWq9G3EOhpwJwYVNnpRpeOJ4hN/ctqjWf oAtcSSrVv7xslXEQttUg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pOFud-004tGD-GY; Sat, 04 Feb 2023 10:36:51 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pOFub-004tG5-D5 for linux-arm-kernel@bombadil.infradead.org; Sat, 04 Feb 2023 10:36:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=sBVk4y8jI2P1MdjQADO2i5z2S1Y3e8OF8T5i6YaW5/s=; b=ZM0DdM2Rzq+Q8iGa8KVah+nR3U ZlmIlYPU71shYc60APr0n98pmiA6Urlnc7GE543r1mS2t/EFtQDoSGfPRply+hI+NILtEqMtHaYPi AES8YK/07g1WXZQuXNMs4goEcmx7otMwxOhMz64Or7GZnvzXxN9BeoChlm6fQTZJOagGMDq6orDdo 0VJUqvKdWYbkONExbY2a1ZrWu8iDZUM/yqaKXLnVWqQYKRJGL8XBFVtUfstneJm5rLOmMWDFQyuzD LE8zFkiMae8j97fE+UBlPS/R0scF61voClAExpmvWV3+c5oBTgE6dyEDZ8khDYGC/uwSWy8C/3BmA +47zhm0g==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pOFuW-00F6RS-Kl; Sat, 04 Feb 2023 10:36:45 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 84D3B30068D; Sat, 4 Feb 2023 11:36:43 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 6125F20AF917C; Sat, 4 Feb 2023 11:36:43 +0100 (CET) Date: Sat, 4 Feb 2023 11:36:43 +0100 From: Peter Zijlstra To: Rob Herring Cc: Will Deacon , Mark Rutland , Catalin Marinas , Marc Zyngier , James Morse , Alexandru Elisei , Suzuki K Poulose , Oliver Upton , Ingo Molnar , Arnaldo Carvalho de Melo , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Mark Brown , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kvmarm@lists.linux.dev, linux-perf-users@vger.kernel.org, James Clark Subject: Re: [PATCH v4 7/8] perf: Add perf_event_attr::config3 Message-ID: References: <20220825-arm-spe-v8-7-v4-0-327f860daf28@kernel.org> <20220825-arm-spe-v8-7-v4-7-327f860daf28@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220825-arm-spe-v8-7-v4-7-327f860daf28@kernel.org> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Jan 09, 2023 at 01:26:23PM -0600, Rob Herring wrote: > Arm SPEv1.2 adds another 64-bits of event filtering control. As the > existing perf_event_attr::configN fields are all used up for SPE PMU, an > additional field is needed. Add a new 'config3' field. > > Tested-by: James Clark > Signed-off-by: Rob Herring > --- > There's still an unresolved discussion about validating 'config3' with > the options laid out here[1]. > > v4: > - Rebase on v6.2-rc1 > v3: > - No change > v2: > - Drop tools/ side update > > [1] https://lore.kernel.org/all/Y49ttrv6W5k3ZNYw@FVFF77S0Q05N.cambridge.arm.com/ > --- > include/uapi/linux/perf_event.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/include/uapi/linux/perf_event.h b/include/uapi/linux/perf_event.h > index ccb7f5dad59b..37675437b768 100644 > --- a/include/uapi/linux/perf_event.h > +++ b/include/uapi/linux/perf_event.h > @@ -374,6 +374,7 @@ enum perf_event_read_format { > #define PERF_ATTR_SIZE_VER5 112 /* add: aux_watermark */ > #define PERF_ATTR_SIZE_VER6 120 /* add: aux_sample_size */ > #define PERF_ATTR_SIZE_VER7 128 /* add: sig_data */ > +#define PERF_ATTR_SIZE_VER8 136 /* add: config3 */ > > /* > * Hardware event_id to monitor via a performance monitoring event: > @@ -515,6 +516,8 @@ struct perf_event_attr { > * truncated accordingly on 32 bit architectures. > */ > __u64 sig_data; > + > + __u64 config3; /* extension of config2 */ > }; Yeah, that was bound to happen I suppose.. Acked-by: Peter Zijlstra (Intel) _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel