From patchwork Thu Jul 18 21:55:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghavendra Rao Ananta X-Patchwork-Id: 13736753 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 69D4FC3DA61 for ; Thu, 18 Jul 2024 21:56:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:Cc:To:From: Subject:Message-ID:Mime-Version:Date:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=EypkathlExzRF6s7Pw1Va6Kut8AWRhF2PFYDjZMhs2I=; b=dFqGV5uWdSkc2RcOf9321DVFGg tNUCMYrci8SraXFy/lZPP0Iwr1HLJU9kIOSx8jND/r1i4m7+m1KeE0wmRsoMBxgbXGgxCtDjgoxqt 99CSOMc9OaRTJMdrKsHA6TLkJyDnuqZ7aMuw48iSa+/4VNCVlvurO2ZuR2gMf2ok9zmgjmpbIUiNe IzKGP3y3lAIKnPe9CDSswwwnB2mOjGEnJFEzBJGqSPolIPIAWD3v1oiA4eQLJXaUsJQWp7EeI2QBr eU5vkyBSwT6dDgIURL+qJFxt/PZ2imuMJEONpnDiXl6LXDtKtg1XgqqjkOUfgOXJNP0uj09RJoRzm 547YFzKw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sUZ6W-00000000n2P-46jA; Thu, 18 Jul 2024 21:56:00 +0000 Received: from mail-yb1-xb4a.google.com ([2607:f8b0:4864:20::b4a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sUZ6B-00000000mxV-32NO for linux-arm-kernel@lists.infradead.org; Thu, 18 Jul 2024 21:55:41 +0000 Received: by mail-yb1-xb4a.google.com with SMTP id 3f1490d57ef6-e03a694ba5aso2923638276.3 for ; Thu, 18 Jul 2024 14:55:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1721339737; x=1721944537; darn=lists.infradead.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=EypkathlExzRF6s7Pw1Va6Kut8AWRhF2PFYDjZMhs2I=; b=AdQuqfgBD7f+HkEtsTSUdX5YU0yV3MJzj8oIGwn13FtjWC8mVcnSxxYMqVY/VQrnsw /9A5rGci0q9DiYRCwsTNOwYcxJk2KO37ZS+gyaSYu3BwD/CJkE1vlp5heGJ/eIG15XPX 8LgNUiIVaaV+LjkUEJFNFcozKF0470xo0nIK4XYKK1jtlNPjU1XhhS4gPKxqt0MP1yZT L2f0D9F7d53HOqUuHH+Ko3FA0rgeHHodEHZ34NtEkvWuBLazTAPVjFZBTzxVSEnrqS9w T5p83bxwfmUwbyifraLGI9nmdOJmgf6zD5zjMs+JNP0JVdHg7s/4d9nm+oaXFKbBeh+7 XNPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721339737; x=1721944537; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=EypkathlExzRF6s7Pw1Va6Kut8AWRhF2PFYDjZMhs2I=; b=feMgotf3sKtVh9uAD948y9oryErPN6aFd5/iT5qUlPtly7XQVbIk7i5NieAaq/hqtf b0KTWVh+7KDFkSOpz3bNsFTDcIFQfLlZPS+RMGYMeDYbd+WVNKILeE0gvYhLpCk0tGrU UVb5OZKy2fD5zAx/KOHlXE4Q85qLpVN+sVWvUFQSpWcw7tjP6jsxjWCiXioaIuu61K6O Ol7t46zgZJqtYuzNBlt5zmNrbE9KOgdKM1e0G7g7+XNqfQ3GoCxVamK2s0p8dZo6oQC/ szbkruU7uIae/m/1mk3jUrfq0wUbg/ncs/Mvgr+mzFT3LRxal6GLHqhpB7vaG16BnEH8 Wtzg== X-Forwarded-Encrypted: i=1; AJvYcCU/gq+dY7QUwkoeMqVJTFALy7ESoW2QHIfCFMkUZuy1f7JA1vixJqt6Oe/6T8quxXpLZI7zpuvRCWTmOtlkv5Nu+ziRaUXaHi36AJMOZ2shq26usBY= X-Gm-Message-State: AOJu0Yyla4qxQTtdba+1eZmxjKbgoO6NQgp9v+TkbYXCI4KzcwfMJKaF bnOVJMK1D/bFi+K2++F1UE8CnqK7kvyjL4M7KCgqvOW4QypMGk0BQJNn3w20X5D1Ghi3+THT+Wv +4X9pKg== X-Google-Smtp-Source: AGHT+IFixUR+r//SSF50MMiOX3++HyGfKjJb2WSupKJ5Es5CNqnpttrvuhfPOedVV7rtWVwhpror9bgKMQQv X-Received: from rananta-linux.c.googlers.com ([fda3:e722:ac3:cc00:2b:ff92:c0a8:20a1]) (user=rananta job=sendgmr) by 2002:a05:6902:180c:b0:e03:5144:1d48 with SMTP id 3f1490d57ef6-e05fec1f9d9mr6383276.11.1721339736356; Thu, 18 Jul 2024 14:55:36 -0700 (PDT) Date: Thu, 18 Jul 2024 21:55:32 +0000 Mime-Version: 1.0 X-Mailer: git-send-email 2.45.2.1089.g2a221341d9-goog Message-ID: <20240718215532.616447-1-rananta@google.com> Subject: [PATCH] arm64/sysreg: Correct the values for GICv4.1 From: Raghavendra Rao Ananta To: Oliver Upton , Marc Zyngier , Catalin Marinas , Will Deacon , Mark Brown Cc: Raghavendra Rao Anata , linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-kernel@vger.kernel.org, kvm@vger.kernel.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240718_145539_862598_DA5579FC X-CRM114-Status: UNSURE ( 9.51 ) 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 Currently, sysreg has value as 0b0010 for the presence of GICv4.1 in ID_PFR1_EL1 and ID_AA64PFR0_EL1, instead of 0b0011 as per ARM ARM. Hence, correct them to reflect ARM ARM. Signed-off-by: Raghavendra Rao Ananta Reviewed-by: Marc Zyngier Reviewed-by: Zenghui Yu Reviewed-by: Anshuman Khandual --- arch/arm64/tools/sysreg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) base-commit: 0c3836482481200ead7b416ca80c68a29cfdaabd diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg index a4c1dd4741a47..7ceaa1e0b4bc2 100644 --- a/arch/arm64/tools/sysreg +++ b/arch/arm64/tools/sysreg @@ -149,7 +149,7 @@ Res0 63:32 UnsignedEnum 31:28 GIC 0b0000 NI 0b0001 GICv3 - 0b0010 GICv4p1 + 0b0011 GICv4p1 EndEnum UnsignedEnum 27:24 Virt_frac 0b0000 NI @@ -903,7 +903,7 @@ EndEnum UnsignedEnum 27:24 GIC 0b0000 NI 0b0001 IMP - 0b0010 V4P1 + 0b0011 V4P1 EndEnum SignedEnum 23:20 AdvSIMD 0b0000 IMP