From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 730869414B6 for ; Fri, 12 Jul 2024 09:24:20 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=lLryFst4QCVaWWhl50J0f4AGl2cg8du1b4cTSwBhJ30=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20240206; t=1720776260; v=1; b=fkbBiKyQwmYpDDf3e1tzqatzgUWTD/kqlzT6QmebV0vjDSratXQuNrcvNaaRxGskyfN+fyaY F+nm91zL6A7dTDouLOdnWenK3vxVs9IN0VfE+Y9cOj5XpTpYXdzil4thPuics7c38s6GlucG1VY 2xB6ws+mxIJo+6uIqTXg6syqDsf+7Y/CN/Yj3Ti4wKlYY//jQ3T3e2h8se4sMspbjxWBKsb2ZKN VjwiS2amGmhT1l0FnGpuDEnItid4OZImve2IH9kaghRQ7LEv1TVtB3S2hPJYg1JtXD1pMpnIOnb evmTsUsF9tarrbkwtBkWyNwI7uw3vTkToGPXWEY9ZIRyg== X-Received: by 127.0.0.2 with SMTP id BlKnYY7687511x9Gr8Z4rAO3; Fri, 12 Jul 2024 02:24:19 -0700 X-Received: from muminek.juszkiewicz.com.pl (muminek.juszkiewicz.com.pl [213.251.184.221]) by mx.groups.io with SMTP id smtpd.web11.3886.1720776253286230516 for ; Fri, 12 Jul 2024 02:24:13 -0700 X-Received: from localhost (localhost [127.0.0.1]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTP id 6E657260836; Fri, 12 Jul 2024 11:24:10 +0200 (CEST) X-Virus-Scanned: Debian amavis at juszkiewicz.com.pl X-Received: from muminek.juszkiewicz.com.pl ([127.0.0.1]) by localhost (muminek.juszkiewicz.com.pl [127.0.0.1]) (amavis, port 10024) with ESMTP id GnE_8-hiF4aC; Fri, 12 Jul 2024 11:24:08 +0200 (CEST) X-Received: from applejack.lan (83.8.74.165.ipv4.supernova.orange.pl [83.8.74.165]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTPSA id 0102226005A; Fri, 12 Jul 2024 11:24:07 +0200 (CEST) From: "Marcin Juszkiewicz" To: devel@edk2.groups.io Cc: Leif Lindholm , Ard Biesheuvel , Sami Mujawar , Marcin Juszkiewicz Subject: [edk2-devel] [PATCH 0/2] Set CPU model in SMBIOS Date: Fri, 12 Jul 2024 11:23:54 +0200 Message-ID: <20240712092356.517074-1-marcin.juszkiewicz@linaro.org> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Fri, 12 Jul 2024 02:24:13 -0700 Resent-From: marcin.juszkiewicz@linaro.org Reply-To: devel@edk2.groups.io,marcin.juszkiewicz@linaro.org List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: Rv2cvEGxBnLXbiGAn7iY3fbpx7686176AA= Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=fkbBiKyQ; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=linaro.org (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io During last changes to SbsaQemu platform I noticed that it says "arm-virt" as Processor Version in SMBIOS and decided to change it. The problem is that this value is set in stone as PcdProcessorVersion is FixedAtBuild one. So first patch make it dynamic in ArmPkg and second reads MIDR and sets cpu model name. Marcin Juszkiewicz (2): ArmPkg: make PcdProcessorVersion dynamic SbsaQemu: set CPU model in SMBIOS ArmPkg/ArmPkg.dec | 2 +- .../Universal/Smbios/ProcessorSubClassDxe/ProcessorSubClass.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) Platform/Qemu/SbsaQemu/SbsaQemu.dsc | 2 +- .../SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.inf | 2 + .../Drivers/SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.c | 50 +++++++++++++++++++ 3 files changed, 53 insertions(+), 1 deletion(-) -- 2.45.2 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119906): https://edk2.groups.io/g/devel/message/119906 Mute This Topic: https://groups.io/mt/107179080/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-