Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp196868lqb; Tue, 28 May 2024 12:45:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVB+f5qc8OL9UYRTh1QsU/gx17Ox+pNjHCF9QlFqkQaTj23R6GcigeAUrfwqWpuMLmScnkibFB+yAruThezSHsDZLwRBjy189i5RQsSSw== X-Google-Smtp-Source: AGHT+IFcqolKVmWlZ6qQ9RZV4KVboinsl/sfpXQkQnE9fuqjtaDfbNQWT1feJhKqGjpR9uyRDP+3 X-Received: by 2002:a05:6a00:1f12:b0:6f4:bbba:1155 with SMTP id d2e1a72fcca58-6f8f2c569b0mr17307618b3a.3.1716925533276; Tue, 28 May 2024 12:45:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716925533; cv=pass; d=google.com; s=arc-20160816; b=SZA7dfmHwL1uI0TLzya3Lm+pqXyAoZ9fRoCqCedpUzHCPFLn43e07kWtk9w1nN+7/p vVeI3Kd/Mjr9rS+6eg7upPcjeLAuGLO/DCXClzScYLrEQjRvHoWrIhjh3FDWfMkGOYP1 1A1X5b4pLPptnVrcmOwjSxM79J/e0E+sDjy00V4grqjcLYmLA2Qy7OJxcgnRmvXqLOMQ eEsnjlq7e2AmrHBnSxVgnthsqoeb89hqnj6C/ifVPXQoejlh1wL8KgNw8D7vh/JCp9hG yleNnn/O2v8aD993U42P/RatbnTLa3y4I7Nb5ygFrYGPwSwQs0QDS7ymPu+u4uxZcRho 3NaQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=tnSiUD2gH9HDmHjSHl2kkucSe6ethci8IQ5VxoD7g98=; fh=28AUeodQuhV/8rOuRihUeJpZucYKhNFF6O8bnPMG+Oc=; b=egJWHtAhX4mX7j0rve4rx+7KeapTPFG0QOoJgTuSUscoPJ33tAeBjQU9QPMG5wYO/7 mPWYJ51c8En+NfwFvH98TYs7c50NMx9MS9MdrRIT69RDeToK/UwtDL8Y+yVT77WHah3s B27aOOW3BxTnf6ePoIwYQLBfpxWiPjLIgfYjEP603+CN7brxoO5feQbFnCV7g647BBcZ NA3XiTV/pQg3luzrfWsnUbUetL5E9aN/TWavZBh1sIHTF5wCKjMlPcFSiWVoonr8W4Li 4MsdI7aSp8JWGwBS9bLL3M69ncZS4F2tGhknXtgZKpVERDqHOx+aj2ZHci2XZYHiqYpe rC+Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b="Uago/qVD"; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-192969-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192969-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6822779bea9si8988637a12.286.2024.05.28.12.45.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 12:45:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-192969-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b="Uago/qVD"; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-192969-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192969-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E357928F5B7 for ; Tue, 28 May 2024 19:45:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8D319178CEA; Tue, 28 May 2024 19:42:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="Uago/qVD" Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com [209.85.208.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B0C092628C for ; Tue, 28 May 2024 19:42:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716925362; cv=none; b=gZKcyJUJbz58JMjeqNQu6m3DoE0KX4zgcLLdM1d+2XG/zvjhzR38spVDOzap++nMIGUwPYz53XWSIxkDN99xoGnu9P2kP/1wIwItvfUHtb/SuOtU8ryqBSaZ5MCCJ6lfM3ehoBDw7OwTOcm0nIMkFhCs0q+AlwWER2TOsIl1IoU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716925362; c=relaxed/simple; bh=k581Cx2OkQB8gaY0y6bcYlk/ITECUZ+zQX57Yhe7gKA=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=X67W250l6DcMlZjMCvPVu3tDVmbx+H/lZq+NmJoY0kjOT7AifP2MN1sxi5pwdx1+fYJLgvXa4LvoE8tq9gDoC356SzahtfBWVShQpaEioiyJt9fQje0e2md7UO9rUmyRP4rKXhPm+oD5PbK4DgEtlGB/N3SLhk1cuOnYD+cO9Ek= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org; spf=pass smtp.mailfrom=linuxfoundation.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=Uago/qVD; arc=none smtp.client-ip=209.85.208.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linuxfoundation.org Received: by mail-lj1-f175.google.com with SMTP id 38308e7fff4ca-2e95a74d51fso17747891fa.2 for ; Tue, 28 May 2024 12:42:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1716925359; x=1717530159; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=tnSiUD2gH9HDmHjSHl2kkucSe6ethci8IQ5VxoD7g98=; b=Uago/qVDhLLbip5iwuAtOJURVQ4cy0bw9HoD1LMgTqyebge23HKKr+erqaFZQKIsAe M5U+mEbmvIenoELGmT63+SQuCtojBbqUrBoK8FQSsSwmhxKvKtM3g2+sy0FsJ+l2o1Tg PnFKwvnRzPXaz47+BWqVLLbWuGzLHPqi3Ll+8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716925359; x=1717530159; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=tnSiUD2gH9HDmHjSHl2kkucSe6ethci8IQ5VxoD7g98=; b=ZqIv9M2J4Rz4IHi267AFq0QHiExn8fwXTAm6mlE63MsGyaOWjpjDc0Vv/T5Bp/2jJ9 KeLLqRyLWveXOGzBTkIfoNlxL9u8G/kWooesSRlVWKfiO7js5Ivit6BZ7LNK4E2bwnf7 igGWfxt9QochiqGa06jD85TwPEpfJ2uf4h0yGw/s11SeiVHd2UvsuAkab0oli1Jp1jw2 2Grevdj7FW0TNeBAi4r2vA+2pnAMSfaGm18VC5AyduBzAzNZ6u3L5hqVIRzzYZyJ6qoy AmQpgyFa4A1MfzrR5vDUbFqoJGnMiXixmcyE9EiLcnuiNuGeN0YuigSekE4a40OxG1v/ ATvw== X-Forwarded-Encrypted: i=1; AJvYcCWAc6FZL4Dvmk5UPS3HMBm+EWYEV41d4/3/F20RusBschEHEH2MLo6s6BP/iINVOfGQCZ8dAbxzdfXvAU8bo5pPlqORli9gVARQLgDg X-Gm-Message-State: AOJu0YxBTOrBLkvedJa3sM/mg7NEL5nuqICx6PAFyM7JrQrZloEdTmRz U4+xLLfazps7qfNNs2xYC5uDvY/hCwUuFbq3Os2aM1wrZMfk952d+ydn5VJ93LG3mskKc2QoMoA /628PdA== X-Received: by 2002:a2e:901a:0:b0:2e9:8b34:1163 with SMTP id 38308e7fff4ca-2e98b34121fmr17963901fa.37.1716925358625; Tue, 28 May 2024 12:42:38 -0700 (PDT) Received: from mail-lj1-f172.google.com (mail-lj1-f172.google.com. [209.85.208.172]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2e95bcd8e21sm23471571fa.43.2024.05.28.12.42.37 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 May 2024 12:42:38 -0700 (PDT) Received: by mail-lj1-f172.google.com with SMTP id 38308e7fff4ca-2e9819a630fso19559651fa.1 for ; Tue, 28 May 2024 12:42:37 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCU9Vc+gI7+Gk/I1D1HH3bQ5TGpCtR9BJXDkW9Y00sxC+LXUcCkZNbGfk1MKga8d4wd11NkkF6a5i4quu+2442GjRqtFs2ONojekjUaC X-Received: by 2002:a19:6a05:0:b0:52a:7d01:84cd with SMTP id 2adb3069b0e04-52a7d0185c6mr39607e87.30.1716925357626; Tue, 28 May 2024 12:42:37 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240525152927.665498-1-irogers@google.com> <20240527105842.GB33806@debian-dev> In-Reply-To: From: Linus Torvalds Date: Tue, 28 May 2024 12:42:20 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v1] perf evlist: Force adding default events only to core PMUs To: Ian Rogers Cc: Leo Yan , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Mark Rutland , Alexander Shishkin , Jiri Olsa , Adrian Hunter , Kan Liang , James Clark , Dominique Martinet , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" On Tue, 28 May 2024 at 11:59, Ian Rogers wrote: > > But nobody else ever reported the issue, even ARM who maintain the PMU > driver whose event name conflicts. This hasn't been a problem for > anybody else. I'm not blaming you for having had a bug. I'm blaming you for NOT DEALING WITH THE BUG APPROPRIATELY. I reported the bug and bisected it four days ago. Taking some time to fix the bug is fine. But that's not what you've been doing. Since then, pretty much ALL you have done is argue about irrelevant thingas that weren't about the regression in question. The fact that you still don't agree, having broken documented behavior, and still argue against just having it fixed, I can't do anything about. > So I think the revert is a real regression for a larger user base. I didn't have much choice, did I? You refuse to even acknowledge the bug I hit. I'd have been happy if you had just fixed the bug. You didn't. You just argued. > There is a testing issue here, not least I don't possess an Apple ARM > machine. This is not an Apple ARM machine. I have one of those too, but this isn't it. It's an Ampere Computing system, based on an ARM Neoverse N1 (and the ARM PMU's both for the core and for the interconnect). But that is pretty much irrelevant by now. The issue is that you don't fix bugs you leave behind, forcing the revert. I'm happy to test any patches. But I'm done arguing. The "cycles" thing needs to work. This is not a "pretty please". This is a "if you can't understand that and acknowledge that without arguing, just work on something else, ok?" Linus