Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp387444rdf; Tue, 21 Nov 2023 05:40:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IGA1H+RYJV9QHrWdaPO+0c0K8arJV9hC0I4O8XueUu0jv3lTn65LAdL6v2cwUa7mli9BVjP X-Received: by 2002:a05:6a00:2444:b0:6c4:d628:2143 with SMTP id d4-20020a056a00244400b006c4d6282143mr9207249pfj.31.1700574052534; Tue, 21 Nov 2023 05:40:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700574052; cv=none; d=google.com; s=arc-20160816; b=ifQFHwKiDIZDawt0UdjUlEPmmD1nfZUXp1Sxfmz+IXGFwQ6S4+09TbhTxx5AxsDm7Z yu98s3FzYTbcF5wfF7GXSlB5TN26atjIMX9vJbUAd0/hntbVW1emwxrxXEKuOSHTIEH4 yZv1FCv+ERwOxPl3nsUBqb2qtMikjDtT2QsU9JY7q2J+euO8pyluLSK63tRn4a9T+w/+ JXpykR/5Q8g3WKG1IjUGyUBdujlLOUtj8b0kEzkj7LJDGW0VGtuuWn77ZiRcOGDd3Pum 4hbJo1ZI7RGH1cq6yxALR4CuUNKm9r9zNOJlEMOaNL2xZi+qQUzBfMpmfWIOMkKbiUlo 0Y6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature; bh=xnMBYluXDPbQ37vL3rFq+P27CCcE81+hpB26LAPX9mY=; fh=w6eDpurG6uUZEs5vKVfEsQhlguDuQ0MWyN4Z1S7bfPQ=; b=DBl08+TYm5XedmFPnWwpaMuIU8NDj0a4vHo0j7WphufPl3hQycufTSXWpzMkb4YxzI 6yfcupGqLwQ+/+DizNIQ3SOnHv/N4n58EPqix/ztQ2/ncWA0Zf+oUyKjpHIRDQrzj/pY WJk3k9imIQhPQTJrNfHzk2usuesAUKzJ3a6Xr6sr9Y1+JX5mH8Ah7pf/vKDI5bGO0nDi VsrhO0Hl61sV5bjtcUNjIQe3QpzKV4UPqVr3RvjPZRPFyoJSqqX4HSryxn0Rc5mvWkvV JhxYzAJUs7YwFKRVK1QPTLuE/iqERyFfIUf1W+alTutd2FFatdAa0AvMHaex/ncXYu+2 vExg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OLRQMdk1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id d7-20020a056a0010c700b006b905fe37b7si10693219pfu.221.2023.11.21.05.40.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 05:40:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OLRQMdk1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 8FCCF811F906; Tue, 21 Nov 2023 05:40:50 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234377AbjKUNkr (ORCPT + 99 others); Tue, 21 Nov 2023 08:40:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234273AbjKUNki (ORCPT ); Tue, 21 Nov 2023 08:40:38 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E020CD6A for ; Tue, 21 Nov 2023 05:40:34 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 87374C433CC; Tue, 21 Nov 2023 13:40:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700574034; bh=SzEJSARPBu356MnqKuppWjOHsICMADRQevq4Qbw7fLE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=OLRQMdk1ttntlk5HgMqe1X6VIwSYnAkEzWqHWW0Ity5Z4JPORqmgTl99QXcoKLiQu +fZ+ZZJogC4pTjB4S6Mb1EMw+cVSNL3gMowOB1pzr19jcuA00B2zx3sJdtYrKUxiCI M5h0d8oLdwnFKckUondaPNxJhBK8uR8oNIoz0DS5VcWCsk2tOmYyUrDLDE2HW+bbVx 9eRalFATDp4mqlEPIX1eFfGGy4KRmIrJ0+XDhNT1hecYgsMZdIVrG6ojUy6yV5u5T6 8ONldjRV9AgPDwm0OQMPZnqMStqDT+LS3sNfS2X/vMcO009u1VJyo8CkcN0SSmCLju th5iBaTWQ0T4Q== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1r5QzQ-00F5sJ-3K; Tue, 21 Nov 2023 13:40:32 +0000 Date: Tue, 21 Nov 2023 13:40:31 +0000 Message-ID: <86pm03z0kw.wl-maz@kernel.org> From: Marc Zyngier To: Hector Martin , Arnaldo Carvalho de Melo , Ian Rogers , James Clark Cc: linux-perf-users@vger.kernel.org, LKML , Asahi Linux , Mark Rutland Subject: Re: [REGRESSION] Perf (userspace) broken on big.LITTLE systems since v6.5 In-Reply-To: <08f1f185-e259-4014-9ca4-6411d5c1bc65@marcan.st> References: <08f1f185-e259-4014-9ca4-6411d5c1bc65@marcan.st> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/29.1 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: marcan@marcan.st, acme@redhat.com, irogers@google.com, james.clark@arm.com, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, asahi@lists.linux.dev, mark.rutland@arm.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 21 Nov 2023 05:40:50 -0800 (PST) [Adding key people on Cc] On Tue, 21 Nov 2023 12:08:48 +0000, Hector Martin wrote: > > Perf broke on all Apple ARM64 systems (tested almost everything), and > according to maz also on Juno (so, probably all big.LITTLE) since v6.5. I can confirm that at least on 6.7-rc2, perf is pretty busted on any asymmetric ARM platform. It isn't clear what criteria is used to pick the PMU, but nothing works anymore. The saving grace in my case is that Debian still ships a 6.1 perftool package, but that's obviously not going to last. I'm happy to test potential fixes. M. -- Without deviation from the norm, progress is not possible.