Received: by 2002:a05:6500:1b41:b0:1fb:d597:ff75 with SMTP id cz1csp313222lqb; Tue, 4 Jun 2024 12:07:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVdj+NtKuBP1itTYLz/VjL9AjYb3rcZrNYjC67MjlGYvgiJeojQQaH98Sybr8NftO9HO4LnXcHu3uQ2gMX2eZvmDZEPck2tVHR2jx+bCA== X-Google-Smtp-Source: AGHT+IE7YfwhAv2tTVBLINTkvm/6byhH1+YtOhdYua9Vq0OdW6lIRiK1EOYm89e2pk/Xfn9kz7KI X-Received: by 2002:a17:902:d2d0:b0:1f6:6769:39ce with SMTP id d9443c01a7336-1f6a5a87876mr5593765ad.66.1717528033198; Tue, 04 Jun 2024 12:07:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717528033; cv=pass; d=google.com; s=arc-20160816; b=VaewzQFd9GDG8zc9tDpru1Pt0hVJIk/cKmQy2csvmqo/p0+DHN/OvNka7LhEekOrof KU3UL+C0r15iPwfk0Du9NhTykk0JBgoibl1Td5/1PwkEMZZQWRvoPWzcmFXp7acQkKGO fn4u0qApwwjcKLLeW0E+oqx5M3ULdqAj0scmGAJETu8HDY8vOAvSjCLDiqNbyM4suvp0 2xAJz43SygxCnmRTX9VzVaoxR9TB8BucbA+6f+z83otYnYVmrrIjXHVVtW5+85Zg5F4E 1PelW5CLY9qz6RR4YgEzcsjlckni5QIUhFDLCJ2rkLVtudL4MLWjOzU5npaxs/8d9dcN BsTQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=AZ6rOEtdrQfMQ+JI7OUe8nagPPXzmj0BQYjnSBnapg4=; fh=zv7vRYVAd/5ipphml3BDWk10kHqtpWj7Sr1JYc7bGDc=; b=0hRZUzh7LKdMuhkbsPHt73wC1ETEtQ/dxvfVAJAgJKweR3yOhTZVqx3QXU80TgM7l4 qm9sY+IIGZoYMe7HlMWSNgpxpuDXl2JoDpw2AMdCU9GVbfsRuUvF2KrCULljE8ARJVvW w/sJ/0dFqI9rzRAh6It7JBf5Te+0PIP0uGJM3yt67tPmOuQvu7SvDuHP5MQ7jhtBdOJO yadXpjlB6hRiVznrb5ZDtmzgUcIQ9jXGvzV4g5dDI3NtUxDm8Ztsi63TLRgBsZJ+i/jv rm1oNwSPYnQ5JhGKpD4z0/JY2GsFNU/hhWvE4T5p2V6/vKHmot7TP9HAa2c1Um7g0xv8 LSDA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qFAJnMeM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-201260-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-201260-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f65fceacf3si55067525ad.506.2024.06.04.12.07.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 12:07:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-201260-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qFAJnMeM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-201260-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-201260-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 sy.mirrors.kernel.org (Postfix) with ESMTPS id C4C68B24A66 for ; Tue, 4 Jun 2024 18:55:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 684D714A623; Tue, 4 Jun 2024 18:55:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qFAJnMeM" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8D6C34A11; Tue, 4 Jun 2024 18:55:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717527348; cv=none; b=u31QdzL/3QNKJozImDRFk2WcOh7m4tJMd60YBYju2ZfyqGjFfAcD2OYZgTHEmMQi219A0GUnVFjUmFlWf1Lqecgr02Dv9I+KaCDg+LyCbnZv9GB8tAO+5ugDfXwXKJQNCcfUCrPaXcFYqF/TxqR4j++0NCt4nWMGu0Mw0nGAvLc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717527348; c=relaxed/simple; bh=7etwAX1Sx0wpy2e1bNCcH1sY9OglvVJt3stPajkuwpA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=CgQl7PMCNGd/ZxMpZBrk7O3pTkS0t3JVQQvE8cBpmb47zBtXQ/V2XBmdaP54EsFUCKYFDAiH0D5ShvhPgq2EP022n+erm+PxYqWxBKe2RdAZmW3uPLmk8i50F0F77lsxi1o6Oy5YYFmYwXuKYPYxj9bx/ztweFlZG85QldwsFNA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qFAJnMeM; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7D435C32782; Tue, 4 Jun 2024 18:55:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717527348; bh=7etwAX1Sx0wpy2e1bNCcH1sY9OglvVJt3stPajkuwpA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qFAJnMeMP7CD/A5g4VYceuMtehivxk4C8kzqXJQRm7peV+daD2hqzhd2Fpge74Nun JQaA+VoIes12daVZaRLXEI5rG4ypAnA4bxuQK/CB5FSuckTEWyQ2M42YzMDf0oLK1E iRb7ec6bqAoE9Cnvb0ncgEt2zdqpdYcFbl6V+2AbAdermBmy32e1mK1gd8od6+k12M dUAiBfuF0N2hUSvYThBIEj5bB3KPI+RgUj+nAEqLmzoPiVGgOwfM05C9f6XiIJnriD W3Bq9XZfFR1XF3W3h7z8MirvchWchBRxZ8/3SSLiRIWAUoyiJ0/z7dJY3NgzsZx3b/ NGD3Rz3mUOdFw== Date: Tue, 4 Jun 2024 15:55:43 -0300 From: Arnaldo Carvalho de Melo To: Mark Rutland Cc: Besar Wicaksono , Will Deacon , Adrian Hunter , Ian Rogers , Jiri Olsa , Kan Liang , Namhyung Kim , Linux Kernel Mailing List , linux-perf-users@vger.kernel.org Subject: Re: [RFC/PATCH 1/1] tools headers arm64: Sync arm64's cputype.h with the kernel sources Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Jun 04, 2024 at 03:34:36PM +0100, Mark Rutland wrote: > On Tue, Jun 04, 2024 at 10:53:38AM -0300, Arnaldo Carvalho de Melo wrote: > > On Tue, Jun 04, 2024 at 10:11:22AM +0100, Mark Rutland wrote: > > > On Mon, Jun 03, 2024 at 03:33:07PM -0300, Arnaldo Carvalho de Melo wrote: > > > > The changes in the above patch add MIDR_NEOVERSE_V[23] and > > > > MIDR_NEOVERSE_V1 is used in arm-spe.c, so probably we need to add those > > > > and perhaps MIDR_CORTEX_X4 to that array? Or maybe we need to leave this > > > > for later when this is all tested on those machines? > > > > > > Hmm... looking at where that was added this is somewhat misnamed, this > > > is really saying that these cores use the same IMPLEMENTATION DEFINED > > > encoding of the source field. That's not really a property of Neoverse > > > specifically, and I'm not sure what Arm's policy is here going forwards. > > > > > > We should probably rename that to something like > > > common_data_source_encoding, with a big comment about exactly what it > > > implies. > > > > > > I would not touch this for now -- someone would have to go audit the > > > > Ok, you mean not touch tools/perf/util/arm-spe.c, right, can I just go > > ahead and update the copy of that header so that we have a clean (of > > build warnings) build? > > Yes: update the header, but leave arm-spe.c unchanged. Sorry for not > being clear! np > It'd be nice if we could update the commit message to note that we're > deliberately leaving that as-is. There is a link tag to this thread and I'll update the message removing my questions and adding your recommendation. > Either way: > > Acked-by: Mark Rutland Thanks! - Arnaldo