From patchwork Tue Jan 9 19:23:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Besar Wicaksono X-Patchwork-Id: 13515261 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 12AE3C4706C for ; Tue, 9 Jan 2024 19:24:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=M8/ZtkvfdLIEbcaCiacfrN+j9sev6YDrVRPRpGDsAo8=; b=TWng6WbJvBbaJb 1e4YifmIuIpipejDbxUFfpJYP8YKI6sbpeSF6sGvSEtqEFaMrp6ovDxQmvBXN/p5AXSTDyRpzfxoK 98FlYL3ttCyiTQFgUPAK6lxAw6q0Fpi8+BHS8PWePv8Q9MTS+nQJpGFhV9zxfDImjZRG2Ow0CLEIU w7TQQV/PwxQiIU+MrcX4INDzB/1vlqc8yzMTdKAtdFSqtAG9VOOQULLQPVTd8U8kKDB8KuJbuGu9P dLv3U8/gLA0fvcgeeELkNtFPUXS5FuPQ+OGyiwRYA1RpnZDEes2J8ilkvFA536NoOTUlJd3hoV2tN TFMpc7tWXg1ZATf7562A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rNHhu-009GTc-0H; Tue, 09 Jan 2024 19:24:14 +0000 Received: from mail-bn1nam02on2060f.outbound.protection.outlook.com ([2a01:111:f400:7eb2::60f] helo=NAM02-BN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rNHhr-009GSo-24 for linux-arm-kernel@lists.infradead.org; Tue, 09 Jan 2024 19:24:12 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CNMuQ3RqwLARfpgNg+2bYpcqQnAz81NjSMypbR3cWhAb3mpuDCO6OgkLU9IMdx75IzszjnnNeG3EAfaehNNzZ5YQ+LKeYT/h6Hf9FFVSUbp5VMwy1bu84Dkopf9OdXVtrYjtFuClXi/sqUX4Rtac4zNnF9BrJHmLpsRFkcwNmPwhJNplkUSwEBaRFi4Qm+E6/53egUdpbXxYcganFp7Djz5UnKAAJSRJtDO7yrMA6a2rzaxtUKv6AiNZQN/4titV11mddW1Xw/2pX4dSwFKZO+fyIEsWQuw3PHCb1BwkEwRtVd+6N1h8++U20EtPxexnpu9DBuvdT99+riBEvcu+vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=CFl34CDZeuQ/Ua+KK1MpJMTf95Xw+2Fae2Wfl3NcrwQ=; b=S1o5Cvh5Icm2RMxXwpjs7YAkNILDyjW4GpUye33t83hYzKTAmKZk+EwL1xOmUR/1Medjg7iYtDZmhK3DP0eujER3JVQ/M+cjuQXjvN9DBgBaIFSJmWWth796VTzpT/327DB1vwR9qjaKFOjeUBUogVxVnndgquOMAXPSDCS5Ijo10i9GxzYOCoQEPkg+OwCFuzcxFsFj/XHFPo3Q8tiN+SGot5goYsHvT7fFiCMiiMzwbPUr1OjgK0D0dE9/ojPYlPsyZAtMqEArpoq4+mXN9Sqqz+7RkHioyO13LTN8Ch/BD2FdQT08486giMXj8U162xMVqDifH53eUJA5rYHR3Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=redhat.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CFl34CDZeuQ/Ua+KK1MpJMTf95Xw+2Fae2Wfl3NcrwQ=; b=eWaId/QDgLu/S9AXDwhYIqBxih3rACQ5mgl6+0/NJK1fLWORV0SMBOMUH5LyTtfOwCqRkpfF9ZKaywfzjpmGBMpRj6sRQxKmk4HpD2IfaAUMILkTTsqK4O8+3mRXbgdPVUTzdufRZxHvrrKfmmhcxkvWZpIBelAAiYbC9kF4/rT2WBm87xyutmqyimlH1mb9EbwZ/nemkoyOugj7ynJp2k9bUDKYbxwOLluKmUspKW7/LPk133zAbmypsskW34LQtbV6hVz72VLsMHkoiQ1s+UPaiiaY1PwrNgqs3CsqWSiydaSKTLIBHOmn76Gx/oFtl6nwIjDfs7uWNSyY5P4Yhw== Received: from SJ0PR03CA0136.namprd03.prod.outlook.com (2603:10b6:a03:33c::21) by PH7PR12MB6786.namprd12.prod.outlook.com (2603:10b6:510:1ac::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Tue, 9 Jan 2024 19:24:04 +0000 Received: from MWH0EPF000989EC.namprd02.prod.outlook.com (2603:10b6:a03:33c:cafe::74) by SJ0PR03CA0136.outlook.office365.com (2603:10b6:a03:33c::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23 via Frontend Transport; Tue, 9 Jan 2024 19:24:03 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by MWH0EPF000989EC.mail.protection.outlook.com (10.167.241.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.14 via Frontend Transport; Tue, 9 Jan 2024 19:24:03 +0000 Received: from rnnvmail204.nvidia.com (10.129.68.6) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Tue, 9 Jan 2024 11:23:47 -0800 Received: from rnnvmail201.nvidia.com (10.129.68.8) by rnnvmail204.nvidia.com (10.129.68.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Tue, 9 Jan 2024 11:23:47 -0800 Received: from msst-build.nvidia.com (10.127.8.14) by mail.nvidia.com (10.129.68.8) with Microsoft SMTP Server id 15.2.986.41 via Frontend Transport; Tue, 9 Jan 2024 11:23:45 -0800 From: Besar Wicaksono To: , , , , , , , , , , , , , , , , CC: , , , , , , Besar Wicaksono Subject: [PATCH v1 0/3] arm64: Support Neoverse-V2 for Perf Arm SPE Date: Tue, 9 Jan 2024 13:23:07 -0600 Message-ID: <20240109192310.16234-1-bwicaksono@nvidia.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWH0EPF000989EC:EE_|PH7PR12MB6786:EE_ X-MS-Office365-Filtering-Correlation-Id: b2b75b1e-5153-4cc1-bbc6-08dc11488a6a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: sZrK74vLQbh/rKBvRFjkTh/WPxwjXUEIp6JREf51rHx2MQTFEDlS6hkmdEkhppjvE21e+obvAKWfVI3jSqvJ7X6dCerJdrcfuMvuFpP++c8rdaoNj3g5JfSk1UEx+3h1Xcn1+VNprU6l+FiMGVxDINMAITsajwY/Ci+ZN8MmsqUDiW0Klx4StJRZwk/bLoepqL7ke71Yn0PQG56Y9M1Tw7qNqzm2fek9Rx1TK01W2iHD6XiGRqpffkZ7VUfNkG7kRkMWRzEGompv6hoKAgHVpJKL5c+BMMVg58mREDVnfRenvveBBxXzRNUjWdaHRY/l+ywY5ZQWctRBUMYaYcG1d2eQku2zOvh2CDfCvBc9/dDQF/cTTrcV5iU6/LKMdshBFZTW40vkUlPhZrD8jyicMSjsPsnDSA1hgR7Tdxkrwz6W7YEm+JNuv+7J4pYZvVV8yR+fGVqFJBaVTinfSpEl67Js6n+IFevqM2Hn8vxQEje3hev5+Zpu7oJMkT9u9/YwE7VV4OjYxCnPedqEVEfb3OQPVqWipTmbulCzQDvchoRLsEMTsoRnlgJ15y3qY/d4z9jlNR7ILuDqJvofkir7GReRMsTyVPSapa7JlrRY6vyGYj3+YT89gym0Bq0rOJynWWhs5d94Xgk17g6zXDJKru22kyWkvmZsrZMSE7uxzYlASkatf+GCm0ZXOKo5Dvs46VMHcSdEVETA+D7HP2sUH6cMsXkDnPVh5lmkvfRdxLAhxTA8so1H4LRVhvTZVbPE2XdDjIPex92BRUn7UqOPz55VsWGX5fxP+vUER2QyWYw= X-Forefront-Antispam-Report: CIP:216.228.117.161;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge2.nvidia.com;CAT:NONE;SFS:(13230031)(4636009)(376002)(136003)(346002)(396003)(39860400002)(230922051799003)(186009)(451199024)(82310400011)(64100799003)(1800799012)(36840700001)(46966006)(40470700004)(316002)(107886003)(336012)(2616005)(1076003)(426003)(26005)(82740400003)(47076005)(36860700001)(8936002)(8676002)(5660300002)(4744005)(7416002)(6636002)(2906002)(478600001)(54906003)(7696005)(6666004)(4326008)(110136005)(70206006)(70586007)(921011)(41300700001)(356005)(7636003)(36756003)(86362001)(40480700001)(40460700003)(2101003)(83996005);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2024 19:24:03.5461 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b2b75b1e-5153-4cc1-bbc6-08dc11488a6a X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.161];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: MWH0EPF000989EC.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB6786 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240109_112411_702949_0A7F68E8 X-CRM114-Status: UNSURE ( 8.55 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series support Neoverse-V2 CPU in Perf Arm SPE. The first patch adds the Neoverse-V2 part number in kernel header. The second patch syncs the kernel change to the tools header. The third patch adds Neoverse-V2 into perf's Neoverse SPE data source list. Besar Wicaksono (3): arm64: Add Neoverse-V2 part tools headers arm64: Add Neoverse-V2 part perf arm-spe: Add Neoverse-V2 to neoverse list arch/arm64/include/asm/cputype.h | 2 ++ tools/arch/arm64/include/asm/cputype.h | 2 ++ tools/perf/util/arm-spe.c | 1 + 3 files changed, 5 insertions(+) base-commit: d988c9f511af71a3445b6a4f3a2c67208ff8e480 Reviewed-by: James Clark