Platform/Qemu/SbsaQemu/SbsaQemu.dsc | 12 ++++++------ Silicon/Qemu/SbsaQemu/AcpiTables/AcpiTables.inf | 7 ++++--- .../Drivers/SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.inf | 5 +++-- .../SbsaQemu/Include/IndustryStandard/SbsaQemuAcpi.h | 2 +- .../Drivers/SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.c | 2 +- 5 files changed, 15 insertions(+), 13 deletions(-)
Currently, the GIC and redistributors base addresses are defined using FixedPcds. In order to enable the QEMU platform to evolve to provide ITS frames, as well as newer versions of the GIC, convert these accesses to Dynamic. Firtsly, this requires fixing the bug of the addresses being read as 32-bit Pcds, and then moving the declarations and calls to the dynamic form. Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Graeme Gregory <graeme@xora.org.uk> Cc: Radoslaw Biernacki <rad@semihalf.com> Cc: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Leif Lindholm (2): Silicon/Qemu: use 64-bit Pcds for SbsaQemu GIC addresses Silicon/Qemu: use dynamic Pcds for SbsaQemu GIC addresses Platform/Qemu/SbsaQemu/SbsaQemu.dsc | 12 ++++++------ Silicon/Qemu/SbsaQemu/AcpiTables/AcpiTables.inf | 7 ++++--- .../Drivers/SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.inf | 5 +++-- .../SbsaQemu/Include/IndustryStandard/SbsaQemuAcpi.h | 2 +- .../Drivers/SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.c | 2 +- 5 files changed, 15 insertions(+), 13 deletions(-) -- 2.30.2 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#104807): https://edk2.groups.io/g/devel/message/104807 Mute This Topic: https://groups.io/mt/98854530/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/leave/3901457/1787277/102458076/xyzzy [importer@patchew.org] -=-=-=-=-=-=-=-=-=-=-=-
W dniu 12.05.2023 o 19:57, Leif Lindholm pisze: > Currently, the GIC and redistributors base addresses are defined using > FixedPcds. > > In order to enable the QEMU platform to evolve to provide ITS frames, > as well as newer versions of the GIC, convert these accesses to Dynamic. > > Firtsly, this requires fixing the bug of the addresses being read as 32-bit > Pcds, and then moving the declarations and calls to the dynamic form. > > Cc: Ard Biesheuvel<ardb+tianocore@kernel.org> > Cc: Graeme Gregory<graeme@xora.org.uk> > Cc: Radoslaw Biernacki<rad@semihalf.com> > Cc: Marcin Juszkiewicz<marcin.juszkiewicz@linaro.org> > > Leif Lindholm (2): > Silicon/Qemu: use 64-bit Pcds for SbsaQemu GIC addresses > Silicon/Qemu: use dynamic Pcds for SbsaQemu GIC addresses Tested-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#105460): https://edk2.groups.io/g/devel/message/105460 Mute This Topic: https://groups.io/mt/98854530/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=-=-=-=-=-=-=-=-=-=-=-
On Fri, May 12, 2023 at 06:57:51PM +0100, Leif Lindholm wrote: > Currently, the GIC and redistributors base addresses are defined using > FixedPcds. > > In order to enable the QEMU platform to evolve to provide ITS frames, > as well as newer versions of the GIC, convert these accesses to Dynamic. > > Firtsly, this requires fixing the bug of the addresses being read as 32-bit > Pcds, and then moving the declarations and calls to the dynamic form. > Messed this up first time, so... All patches look good to me. Reviewed-by: Graeme Gregory <graeme@xora.org.uk> > Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> > Cc: Graeme Gregory <graeme@xora.org.uk> > Cc: Radoslaw Biernacki <rad@semihalf.com> > Cc: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> > > Leif Lindholm (2): > Silicon/Qemu: use 64-bit Pcds for SbsaQemu GIC addresses > Silicon/Qemu: use dynamic Pcds for SbsaQemu GIC addresses > > Platform/Qemu/SbsaQemu/SbsaQemu.dsc | 12 ++++++------ > Silicon/Qemu/SbsaQemu/AcpiTables/AcpiTables.inf | 7 ++++--- > .../Drivers/SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.inf | 5 +++-- > .../SbsaQemu/Include/IndustryStandard/SbsaQemuAcpi.h | 2 +- > .../Drivers/SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.c | 2 +- > 5 files changed, 15 insertions(+), 13 deletions(-) > > -- > 2.30.2 > > > > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#104938): https://edk2.groups.io/g/devel/message/104938 Mute This Topic: https://groups.io/mt/98854530/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=-=-=-=-=-=-=-=-=-=-=-
Thanks, Pushed as ce9ea07a8b56..4303f7782c08. On Tue, May 16, 2023 at 11:18:28 +0100, Graeme Gregory wrote: > On Fri, May 12, 2023 at 06:57:51PM +0100, Leif Lindholm wrote: > > Currently, the GIC and redistributors base addresses are defined using > > FixedPcds. > > > > In order to enable the QEMU platform to evolve to provide ITS frames, > > as well as newer versions of the GIC, convert these accesses to Dynamic. > > > > Firtsly, this requires fixing the bug of the addresses being read as 32-bit > > Pcds, and then moving the declarations and calls to the dynamic form. > > > > Messed this up first time, so... > > All patches look good to me. > > Reviewed-by: Graeme Gregory <graeme@xora.org.uk> > > > Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> > > Cc: Graeme Gregory <graeme@xora.org.uk> > > Cc: Radoslaw Biernacki <rad@semihalf.com> > > Cc: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> > > > > Leif Lindholm (2): > > Silicon/Qemu: use 64-bit Pcds for SbsaQemu GIC addresses > > Silicon/Qemu: use dynamic Pcds for SbsaQemu GIC addresses > > > > Platform/Qemu/SbsaQemu/SbsaQemu.dsc | 12 ++++++------ > > Silicon/Qemu/SbsaQemu/AcpiTables/AcpiTables.inf | 7 ++++--- > > .../Drivers/SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.inf | 5 +++-- > > .../SbsaQemu/Include/IndustryStandard/SbsaQemuAcpi.h | 2 +- > > .../Drivers/SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.c | 2 +- > > 5 files changed, 15 insertions(+), 13 deletions(-) > > > > -- > > 2.30.2 > > > > > > > > > > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#105604): https://edk2.groups.io/g/devel/message/105604 Mute This Topic: https://groups.io/mt/98854530/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/leave/3901457/1787277/102458076/xyzzy [importer@patchew.org] -=-=-=-=-=-=-=-=-=-=-=-
© 2016 - 2024 Red Hat, Inc.