[edk2-devel] [PATCH v5 0/2] Qemu/Sbsa versioning

Marcin Juszkiewicz posted 2 patches 1 year ago
Failed in applying to current master (apply log)
Platform/Qemu/SbsaQemu/SbsaQemu.dsc           |  3 +
.../SbsaQemuPlatformDxe/SbsaQemuPlatformDxe.c | 58 +++++++++++++++++++
.../SbsaQemuPlatformDxe.inf                   |  9 +++
Silicon/Qemu/SbsaQemu/SbsaQemu.dec            |  3 +
4 files changed, 73 insertions(+)
[edk2-devel] [PATCH v5 0/2] Qemu/Sbsa versioning
Posted by Marcin Juszkiewicz 1 year ago
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.html
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(+)

-- 
2.40.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#104874): https://edk2.groups.io/g/devel/message/104874
Mute This Topic: https://groups.io/mt/98903526/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [edk2-devel] [PATCH v5 0/2] Qemu/Sbsa versioning
Posted by Rebecca Cran 1 year ago
Thanks. For the series:

Reviewed-by: Rebecca Cran <rebecca@bsdio.com>


On 5/15/23 07:47, Marcin Juszkiewicz wrote:
> 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.html
> 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(+)
>


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#104876): https://edk2.groups.io/g/devel/message/104876
Mute This Topic: https://groups.io/mt/98903526/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-