Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4021271rdb; Thu, 14 Sep 2023 09:24:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHK1sT0Qi0TBBfXjQsCmiWQ0nciDI5P/CYWdbSDCytNMUPnlWn95IkfjgCrpsxHGsJyd+NO X-Received: by 2002:a05:6a21:1f2a:b0:14b:f8cf:c2f8 with SMTP id ry42-20020a056a211f2a00b0014bf8cfc2f8mr5080037pzb.34.1694708698623; Thu, 14 Sep 2023 09:24:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694708698; cv=none; d=google.com; s=arc-20160816; b=iJhEn+eInvRIsFqm4A3Vl4KAYetbeO9CqCL0lqOg0cfW0Kg1KREKb3UL62dLSLtUH7 u42FMf31e1DOTSlc5Pb8AWqNCLIHRYCqsMFOb14KXa5E9Ap3RvyfBT7a3bHZCBH5I+M5 y2trUAwC7/aM23ZNnTxw8JCTDaJ6riyfWMrgo3T7tkp7gq6hD5ihZIU8IupfyNwJK8LR qLYOCH2DIswsPkWZy0WOhSAD5v0dJXBHpQb+CpQi3En4lyELBkRrOvE0g5Ds4O71td08 oPVhnDzhG5A6weMm6zVxNd0CpyBz0SHgJOwUrUV8Kg3Gu11dgOudSmLN4n3zXJuKOim+ M7OQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=bP7pzfeUpJz9asN9tXvS10GhtxvzQ63pGCX9Yrps4Y0=; fh=qQdYTMagqVaiRGV/rJCO6jDInBOlDHjnVRFIctTAT/4=; b=CBtglB0sZSbxdMpnrnnqal1aBg/OAUMRSSQUYtT5Qeex0HZ5FvUDGVQ34smCRph+wa R9fGXnk0GzSiE9EWxD7T6WtuZTPe5JGdtM/+fvJlgVEdqi+A9ajNeH6MuyG899zYgp4t 7V5qiFsyXsT52Pui2/U+qKcw86sBUMYZfxDjjMb90/AUskH/MbHN6ZvClFp4gobYTnEk w69AuTM87hd5TicZnpXYJyZobj8BM3ZxTsw/hHXeivlz8YWa6+gLJL7B0MoCHsaP/91S 00y+OoYKNnAEP18no+1tdsncDbkIaSmNEwJAs9JIbqXCHBL+/ykGmR4Qc6xO+RAHp8qn rN8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=HIQCOqMk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id x26-20020a63b21a000000b0056baff5c553si1768497pge.101.2023.09.14.09.24.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 09:24:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=HIQCOqMk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id DD00D830E830; Thu, 14 Sep 2023 04:19:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237634AbjINLTn (ORCPT + 99 others); Thu, 14 Sep 2023 07:19:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237808AbjINLTj (ORCPT ); Thu, 14 Sep 2023 07:19:39 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A081A1FD8; Thu, 14 Sep 2023 04:19:33 -0700 (PDT) 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=bP7pzfeUpJz9asN9tXvS10GhtxvzQ63pGCX9Yrps4Y0=; b=HIQCOqMk7942AVdN9TC+eaQi7B jyuziITi+xzvQ6nVyW0DW900ITossuZf3g6NeKAao3MqfXoOOgEdcafydOWGBjPrM9bz2RfAPL1R0 Asjp12e5vQZuylFsjbKuirbZLwwCgItbVTOZqtTk765lXWKKIuh2s+NNdAO2dTZvuR/FA37rA5gkM za7willjNcjK8oSZeilBvs5q90cWKChW429W+ZHl3gNMJBlbgvD/3918Cx694BOUffuVxYxkN7WS6 mM7mWIvtXjZYGyFhdV8CNBF1nmEkZvBfjBrPxnk1g2UEAmn9uGRK5h/WFXtmLYZRVvcltOhW++KIA mYkqMOEw==; 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 1qgkMw-002aGq-Dk; Thu, 14 Sep 2023 11:18:46 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id 1C65B30036C; Thu, 14 Sep 2023 13:18:46 +0200 (CEST) Date: Thu, 14 Sep 2023 13:18:45 +0200 From: Peter Zijlstra To: Breno Leitao Cc: Sandipan Das , Jirka Hladky , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , Adrian Hunter , Thomas Gleixner , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , leit@fb.com, dcostantino@meta.com, "open list:PERFORMANCE EVENTS SUBSYSTEM" , "open list:PERFORMANCE EVENTS SUBSYSTEM" Subject: Re: [PATCH] perf/x86/amd: Do not WARN on every IRQ Message-ID: <20230914111845.GF16631@noisy.programming.kicks-ass.net> References: <20230616115316.3652155-1-leitao@debian.org> <20230616132954.GG4253@hirez.programming.kicks-ass.net> <20230914091234.GE16631@noisy.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 14 Sep 2023 04:19:48 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email On Thu, Sep 14, 2023 at 02:30:43AM -0700, Breno Leitao wrote: > On Thu, Sep 14, 2023 at 11:12:34AM +0200, Peter Zijlstra wrote: > > On Thu, Sep 14, 2023 at 02:25:40PM +0530, Sandipan Das wrote: > > > > I agree with using WARN_ON_ONCE() to make this less intrusive. > > > > Could you send a patch that AMD is happy with? > > Why the current patch is not good enough? Sandipan, can you answer this? I don't tihnk I'm qualified to speak for the AMD pmu and certainly I don't have insight into their design future.