From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from muminek.juszkiewicz.com.pl (muminek.juszkiewicz.com.pl [213.251.184.221]) by mx.groups.io with SMTP id smtpd.web10.1371.1685947076241740488 for ; Sun, 04 Jun 2023 23:37:56 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=softfail (domain: linaro.org, ip: 213.251.184.221, mailfrom: marcin.juszkiewicz@linaro.org) Received: from localhost (localhost [127.0.0.1]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTP id 46161260BC2; Mon, 5 Jun 2023 08:37:52 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at juszkiewicz.com.pl Received: from muminek.juszkiewicz.com.pl ([127.0.0.1]) by localhost (muminek.juszkiewicz.com.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RsiNVool3PMp; Mon, 5 Jun 2023 08:37:49 +0200 (CEST) Received: from applejack.lan (83.21.93.182.ipv4.supernova.orange.pl [83.21.93.182]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTPSA id 71F3A260202; Mon, 5 Jun 2023 08:37:48 +0200 (CEST) From: "Marcin Juszkiewicz" To: devel@edk2.groups.io Cc: Sami Mujawar , Ard Biesheuvel , Leif Lindholm , Marcin Juszkiewicz Subject: [PATCH v2 0/8] ArmCpuInfo improvements Date: Mon, 5 Jun 2023 08:37:34 +0200 Message-Id: <20230605063743.405487-1-marcin.juszkiewicz@linaro.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable This changeset was supposed to add SVE/SME information but got some updates to improve output of ArmCpuInfo application a bit too. Probably would need to definition of system registers for older toolchains. Changes since v1: - show stage 2 granule support on Neoverse-N1 Marcin Juszkiewicz (8): ArmPkg: fix reading of first nibbles in ArmCpuInfo ArmPkg: shorten register field in ArmCpuInfo ArmPkg: add functions to read SVE/SME info ArmPkg: skip empty system registers in ArmCpuInfo ArmPkg: format output in one place in ArmCpuInfo ArmPkg: handle SVE/SME in ArmCpuInfo ArmPkg: cleaning output of ArmCpuInfo ArmPkg: show stage2 granule support on Neoverse-N1 ArmPkg/Library/ArmLib/ArmBaseLib.inf | 5 + ArmPkg/Library/ArmLib/AArch64/AArch64Lib.h | 12 + ArmPkg/Application/ArmCpuInfo/ArmCpuInfo.c | 472 ++++++++++++++++-- .../Library/ArmLib/AArch64/AArch64Support.S | 10 + 4 files changed, 453 insertions(+), 46 deletions(-) --=20 2.40.1