public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Marcin Juszkiewicz" <marcin.juszkiewicz@linaro.org>
To: devel@edk2.groups.io
Cc: Leif Lindholm <quic_llindhol@quicinc.com>,
	Ard Biesheuvel <ardb+tianocore@kernel.org>,
	Graeme Gregory <graeme@xora.org.uk>
Subject: Re: [edk2-devel] [PATCH edk2-platforms v3 3/3] Platform/SbsaQemu: handle systems without GIC ITS
Date: Thu, 17 Aug 2023 13:27:30 +0200	[thread overview]
Message-ID: <fabe6b48-abd4-7464-ad2b-7faf3c617eae@linaro.org> (raw)
In-Reply-To: <17734388FD0352A4.32574@groups.io>

W dniu 19.07.2023 o 14:08, Marcin Juszkiewicz via groups.io pisze:
> If firmware is used with QEMU 8.0 or older then there will be no GIC ITS
> support.
> 
> In such case we would not add information about it into MCFG and there
> will be no IORT table.
> 
> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> ---
>   .../Qemu/SbsaQemu/AcpiTables/AcpiTables.inf   |   1 -
>   .../SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.inf       |   1 +
>   .../Drivers/SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.c | 218 +++++++++++++++++-
>   Silicon/Qemu/SbsaQemu/AcpiTables/Iort.aslc    | 135 -----------
>   4 files changed, 208 insertions(+), 147 deletions(-)
>   delete mode 100644 Silicon/Qemu/SbsaQemu/AcpiTables/Iort.aslc

> diff --git a/Silicon/Qemu/SbsaQemu/Drivers/SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.c b/Silicon/Qemu/SbsaQemu/Drivers/SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.c


> +  // Initialize IORT ACPI Header
> +  EFI_ACPI_6_0_IO_REMAPPING_TABLE Header = {
> +    SBSAQEMU_ACPI_HEADER(EFI_ACPI_6_0_IO_REMAPPING_TABLE_SIGNATURE,
> +                         SBSA_IO_REMAPPING_STRUCTURE,
> +                         EFI_ACPI_IO_REMAPPING_TABLE_REVISION_00),
> +    1,

This should be 3 (ITS, SMMU, RC). I had code which bumped it to 3 and 
then removed it without checking.

Will send v4.

> +    sizeof(EFI_ACPI_6_0_IO_REMAPPING_TABLE),        // NodeOffset
> +    0 };



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#107828): https://edk2.groups.io/g/devel/message/107828
Mute This Topic: https://groups.io/mt/100798349/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



      parent reply	other threads:[~2023-08-17 11:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-19 12:08 [edk2-devel] [PATCH edk2-platforms v3 0/3] Platform/QemuSbsa: add GIC ITS Marcin Juszkiewicz
2023-07-19 12:08 ` [edk2-devel] [PATCH edk2-platforms v3 1/3] Platform/SbsaQemu: add GIC ITS support Marcin Juszkiewicz
2023-07-19 12:08 ` [edk2-devel] [PATCH edk2-platforms v3 2/3] Platform/QemuSbsa: add dynamic PcdSmmuBase Marcin Juszkiewicz
2023-07-19 12:08 ` [edk2-devel] [PATCH edk2-platforms v3 3/3] Platform/SbsaQemu: handle systems without GIC ITS Marcin Juszkiewicz
2023-08-03 13:43 ` [edk2-devel] [PATCH edk2-platforms v3 0/3] Platform/QemuSbsa: add " Ard Biesheuvel
2023-08-14 20:33 ` Graeme Gregory
     [not found] ` <17734388FD0352A4.32574@groups.io>
2023-08-17 11:27   ` Marcin Juszkiewicz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fabe6b48-abd4-7464-ad2b-7faf3c617eae@linaro.org \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox