Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2584441pxp; Fri, 18 Mar 2022 13:53:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx0n8DiLk/V3jkCQKfieqi+2Vol/rW0HLe/hhYsTC8wX/HMQYWgZrPa20+QQK1CvRcIU3tz X-Received: by 2002:a05:6402:3715:b0:410:a415:fd95 with SMTP id ek21-20020a056402371500b00410a415fd95mr11337319edb.288.1647636826555; Fri, 18 Mar 2022 13:53:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647636826; cv=none; d=google.com; s=arc-20160816; b=WeQqLyT6tGv4Y0gjCHq0Ey2B3KIcGm0xSPcgEipzaEgc4AGqKyp+Agv8n+wRVj2s6r QPmewVcp9X6dQSgHGTT8CS9V31Dq/oKODVSURR2y2EMxR18YSHrhGctGLgxBE5A4LZmP 18xSff0HOMcCY5tURUCoZh9Lu34mC2qVmJ4o+ZL7zeqR/e6hOLYKNC2CcUsbnAZAOirQ QHulpRiJbLvOomGqufuKfB0o3KmMTT+HmNadhi0COzRm51RYPNar5A5WAr9vJo8EthxH bDOcqshQZDhygpaq1RMncRt4b15ibS+qFRNogsgj32VWVSnbGfonEXadOuC2LsBvl/xx vMJQ== 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=oLvSw2t5Gik7RrQqyucAdo114MkDAZy96gLyodSGUTg=; b=RdMIJ273wOlJFgaj3cTSfBNqjshW3U0QdMP5na6kzgMCwBPuu9heb68C24Bs26xyOn xzAlx4V9JongVCADORgZYyedBnaJlA2drpWVCZWaXYIROhUXOKM0O12IYwRF4t9t1hIm wiG/0rIShfxETNXJZ70bgswI7RDzJBicYBg2pq0l0YubBiz53XO+qZV/NnaxI3ZWRmr1 SQ6RrOBHBKw6uYvj6bXX17Q3QHnpckdkjc2kVr09bXSLy+g2mHqFmULKOFANYKx61ANN EXkvRXkFWbpr8oaiufqQOGjGmKkPfwrjdc0P05ntwXDEjzfKlRd7ZYWxKoSJu+icpmtL N6yA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=nqsWO4Hq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w6-20020a50d786000000b00418c2b5bf37si4653763edi.537.2022.03.18.13.53.21; Fri, 18 Mar 2022 13:53:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=nqsWO4Hq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235436AbiCRKyQ (ORCPT + 99 others); Fri, 18 Mar 2022 06:54:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231610AbiCRKyP (ORCPT ); Fri, 18 Mar 2022 06:54:15 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 048E027CE28; Fri, 18 Mar 2022 03:52:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; 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=oLvSw2t5Gik7RrQqyucAdo114MkDAZy96gLyodSGUTg=; b=nqsWO4HqKoLcyKzEO6AGJpgjpQ 2dSbDntUmrkIG5J7ZAxrFanDIdxMkpV0VBqkh84TO9gMPmCudQsIGdtH/9Rdvx4ekBPZKfGAkiMeN TS/7ga1DuldRRpyFLITPIRf1MvxrlpQkjKD3RrngVta7T4H++TIAqgppn/XK5iCs+8r/yzHzy0OVV FtMsikvtiwKoD6XtsOuoA7n85tVqloLm+xMgGLOJHC47bFwsffjyM5f3Mt57BNiDepjtBr9HXVW+b ha7jire4r0bcBGlI6Pg2LudHd9QdC4gJ84dD7Edzt+D+/I6uhxi8IPAhV/niaGKug1FEQmZWlGeym AcnRUZIg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nVADq-002BhC-5K; Fri, 18 Mar 2022 10:52:42 +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)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 7C0303001C7; Fri, 18 Mar 2022 11:52:41 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 5DE902D35E974; Fri, 18 Mar 2022 11:52:41 +0100 (CET) Date: Fri, 18 Mar 2022 11:52:41 +0100 From: Peter Zijlstra To: Sandipan Das Cc: linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, x86@kernel.org, bp@alien8.de, dave.hansen@linux.intel.com, acme@kernel.org, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, namhyung@kernel.org, jolsa@kernel.org, tglx@linutronix.de, mingo@redhat.com, pbonzini@redhat.com, jmattson@google.com, like.xu.linux@gmail.com, eranian@google.com, ananth.narayan@amd.com, ravi.bangoria@amd.com, santosh.shukla@amd.com Subject: Re: [PATCH 5/7] perf/x86/amd/core: Add PerfMonV2 counter control Message-ID: References: <7958e729c6be0f682379bec81f115b8cd7cca1ad.1647498015.git.sandipan.das@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 18, 2022 at 01:32:04PM +0530, Sandipan Das wrote: > On 3/17/2022 5:16 PM, Peter Zijlstra wrote: > > First and foremost, *please* tell me your shiny new hardware fixed the > > terrible behaviour that requires the wait_on_overflow hacks in > > amd_pmu_disable_all(). > > Unfortunately, that workaround is still required. So much sadness :-(