Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1488714rdb; Mon, 19 Feb 2024 18:54:06 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUbnFxH+ECByL19cJYqlz5XHxvS30zENKJDGY9a6AzW2TpxE8kPOhC2H6zI7/kWt1e7HXsgrAs3f+6xt6u0AG8sUfWxL4c+8ayaY9PeEQ== X-Google-Smtp-Source: AGHT+IGZqTpkSy8RzNVo1py/Kqe9g+efSAcvcc7jz+O5kdOpu5Nukgs47c/Y+UeU0lc1J8+Kr5Ss X-Received: by 2002:a17:906:1197:b0:a3e:3f42:11a1 with SMTP id n23-20020a170906119700b00a3e3f4211a1mr4395013eja.66.1708397646003; Mon, 19 Feb 2024 18:54:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708397645; cv=pass; d=google.com; s=arc-20160816; b=ROxugFoMJ3xov3y/mMssVe0poqcnTqVbx/4pWh5ufPk+2i5Fz0uoNN2MozK5qVOvXo 2NfY9gMtU15kZfELkXt7nsSKyDX3d+W6mXRSmhaMIwaN0Z/v0qaZbb+cqtxWqTyvbnwr hcNpRO63qwY8GXOARnEKA/gm5vT5Md10QSZYP1MGInNRvy5HMdUn8YzFtnYOQmY166+7 WgCl9iBIA7BnGeFEoXtlbRA/Gt7VMnL1yNRgovjPR15TSW3S2CFt1rfPrgDfWE90p5Qb Yuo+ZfY7SWM7ckx0A7sz9U5G2IwnHmZdBtZ+tjwXvddfGVDiLlyDZh/EbN7/QSF8FyEy QsHQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=2U7LQ4YwEg4oN3uuBJ7jkUjqgIfF9lEOYQZqcco6GKQ=; fh=SVHJFwqn1gk0w/v/dnAn9wkVoDE0s/jCvnaYgsZO+9Q=; b=r9B5P/h4odWSgOvRA/YwRF9soRywyCYFassbNOUfqB9qe+GSWYrh27NHKJrOPYk7ux xv5F9MSdrU4L0EDLR61wT/DnJ7SX5eEB2IArI+LhJlZcdsHWrBRrgACXooYjXtOKXNX6 Yb8C/eL9vT/TWP55yooBlmSuxTX7s3vtL6/v6KmAsRKzjeXQA7HYxf3qMyEBp3g6i/D8 wgfxa6qcXHheNZ86an5t6rCKSYPzfo0Izx/BT7BGdPFhbS2dBZ7mp29yuaOw/2Wyn0mS taAQy9zt86gBvxFzuM0GNOfI2Yn5qOFzPC2mrf8RP8FJRgYDQkAveS5vgfOhpX9xsXcE oiGA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-72228-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72228-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id fx6-20020a170906b74600b00a3e76cfc933si1717731ejb.402.2024.02.19.18.54.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 18:54:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72228-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-72228-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72228-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id BE0D31F23988 for ; Tue, 20 Feb 2024 02:54:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BBD3D10785; Tue, 20 Feb 2024 02:54:00 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 62E1F2E630 for ; Tue, 20 Feb 2024 02:53:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708397640; cv=none; b=XbAtKVuLz4VoOD1gBhoWDXCLc5q3qkX56lU6GfpAMqRrRQsDn2oweMcuXm1foXcdi5QOhOsxbAaEMDsd0RjZEM1nd04lWmEl6FTqa6dtDNDLaMeUt7tZ+pTERu5Lub8/7kqom+LDlqmv0OJ1P+IL3RGlBZQKuwP52Qrl465Cpzk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708397640; c=relaxed/simple; bh=gl6rahTJpdk8byVu8tnfqddKIafJt+RcobUSQq1L7pw=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=WLTm6QexIzT+NVnjKBEJbskZRJbIGZACiFd81UBpC3MF/Vy+zP81AGxDQmrLFn9pKptkXU9ZPWptD1rVpkgAdVkpWXHgA+ZpgY+2JrcRfYfpByddGAYFIAg+6q7LvnjFZ9IeKphSWHuEX3hEgLyc/YMxGiT1PcxYMI6Yko+giCg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4332AFEC; Mon, 19 Feb 2024 18:54:30 -0800 (PST) Received: from a077893.blr.arm.com (a077893.blr.arm.com [10.162.42.8]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id CF3C63F766; Mon, 19 Feb 2024 18:53:48 -0800 (PST) From: Anshuman Khandual To: linux-arm-kernel@lists.infradead.org Cc: Anshuman Khandual , Catalin Marinas , Will Deacon , Mark Brown , linux-kernel@vger.kernel.org Subject: [PATCH V2] arm64/sysreg: Update ID_DFR0_EL1 register fields Date: Tue, 20 Feb 2024 08:23:43 +0530 Message-Id: <20240220025343.3093955-1-anshuman.khandual@arm.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This updates ID_DFR0_EL1.PerfMon and ID_DFR0_EL1.CopDbg register fields as per the definitions based on DDI0601 2023-12. Cc: Catalin Marinas Cc: Will Deacon Cc: Mark Brown Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Anshuman Khandual --- This applies on v6.8-rc5 Changes in V2: - Split ID_DFR0_EL1 changes in this patch and updated PerfMon per Mark Changes in V1: https://lore.kernel.org/all/20240215055159.2440898-1-anshuman.khandual@arm.com/ arch/arm64/tools/sysreg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg index dd693f992832..a9cab2b730a3 100644 --- a/arch/arm64/tools/sysreg +++ b/arch/arm64/tools/sysreg @@ -200,6 +200,7 @@ UnsignedEnum 27:24 PerfMon 0b0110 PMUv3p5 0b0111 PMUv3p7 0b1000 PMUv3p8 + 0b1001 PMUv3p9 0b1111 IMPDEF EndEnum Enum 23:20 MProfDbg @@ -231,6 +232,7 @@ Enum 3:0 CopDbg 0b1000 Debugv8p2 0b1001 Debugv8p4 0b1010 Debugv8p8 + 0b1011 Debugv8p9 EndEnum EndSysreg -- 2.25.1