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.89075.1684158481833361667 for ; Mon, 15 May 2023 06:48:02 -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 6D0C9260BAB; Mon, 15 May 2023 15:48:00 +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 8lCxTG4aW8k7; Mon, 15 May 2023 15:47:56 +0200 (CEST) Received: from applejack.lan (83.11.34.59.ipv4.supernova.orange.pl [83.11.34.59]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTPSA id AEDD52600A6; Mon, 15 May 2023 15:47:55 +0200 (CEST) From: "Marcin Juszkiewicz" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Leif Lindholm , Rebecca Cran , Sami Mujawar , Marcin Juszkiewicz Subject: [PATCH v5 0/2] Qemu/Sbsa versioning Date: Mon, 15 May 2023 15:47:50 +0200 Message-Id: <20230515134752.362671-1-marcin.juszkiewicz@linaro.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Qemu has versioning for sbsa-ref platform. TF-A reads it from provided DeviceTree and provides as SMC. Version 0.0 (QEMU 8.0) provides platform version information. Version 0.1 (in review) provides GIC information. Next versions will bring more changes to make use of development done during last years. Requires "SbsaQemu: make GIC base address Pcds dynamic" by Leif Lindholm to be able to change values with those from QEMU. QEMU part: https://lists.gnu.org/archive/html/qemu-arm/2023-05/msg00517.h= tml TF-A part: https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+= /20871 Changes since v4: - SMC calls use SmcResult variable (UINTN) - PcdSet* calls use Result var (RETURN_STATUS) - fixed "are we on 0.0" check Marcin Juszkiewicz (2): Platform/SbsaQemu: read platform version Platform/SbsaQemu: read GIC base from TF-A Platform/Qemu/SbsaQemu/SbsaQemu.dsc | 3 + .../SbsaQemuPlatformDxe/SbsaQemuPlatformDxe.c | 58 +++++++++++++++++++ .../SbsaQemuPlatformDxe.inf | 9 +++ Silicon/Qemu/SbsaQemu/SbsaQemu.dec | 3 + 4 files changed, 73 insertions(+) --=20 2.40.1