public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Ard Biesheuvel" <ardb@kernel.org>
To: edk2-devel-groups-io <devel@edk2.groups.io>,
	Sami Mujawar <sami.mujawar@arm.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>,
	Leif Lindholm <leif@nuviainc.com>,
	 Pierre <pierre.gondois@arm.com>,
	Matteo.Carlini@arm.com, Akanksha.Jain2@arm.com,
	 Ben.Adderson@arm.com,
	 "Liming Gao (Byosoft address)" <gaoliming@byosoft.com.cn>,
	Peter Batard <pete@akeo.ie>,
	 Thomas Abraham <thomas.abraham@arm.com>,
	Chandni.Cherukuri@arm.com, Khasim.Mohammed@arm.com,
	 nd <nd@arm.com>
Subject: Re: [edk2-devel] [PATCH edk2-platforms v1 00/11] Fix build breaks and update IORT revision macro
Date: Wed, 10 Nov 2021 12:33:00 +0100	[thread overview]
Message-ID: <CAMj1kXHjER_Mo-hdwiEe7oYUqSLJ_T1B++DOcXAO2ada5ytvgg@mail.gmail.com> (raw)
In-Reply-To: <20211110110117.31160-1-sami.mujawar@arm.com>

On Wed, 10 Nov 2021 at 12:01, Sami Mujawar <sami.mujawar@arm.com> wrote:
>
> The first 4 patches in this series fix build breaks in upstream
> edk2-platforms code for Socionext, Lemaker and SynQuacerEvalBoard.
>
> The IORT Rev E.b specification updates the IORT table revision
> to 3. Following this the IORT table revision macro
> EFI_ACPI_IO_REMAPPING_TABLE_REVISION which was at Rev 0 has
> been renamed to EFI_ACPI_IO_REMAPPING_TABLE_REV0.

I *really* don't like this. All other ACPI tables are set up in a
forward compatible way, where an existing definition in code is
guaranteed to comply with later versions of the spec, and can always
claim to be the newest revision. This is the reason why
xxx_TABLE_REVISION macros exist in the first place.

So I suppose that means that the IORT was modified in a non-forward
compatible fashion? Does that mean that newer firmware has to stick
with the old revision in order to remain able to boot older OS
versions?


> Therefore,
> the last 7 patches in this series are added to reflect this
> change for the following platforms:
>  - FVP
>  - Morello FVP
>  - SGI
>  - AMD/Styx
>  - Socionext/SynQuacer
>  - RaspberryPi
>  - N1SDP
>
> Note: This patch series is dependent on the edk2 patch series:
>   "[PATCH v3 0/8] IORT Rev E.b specification updates"
>   (https://edk2.groups.io/g/devel/message/83545), which must
> be merged in edk2 before this patch series can be integrated.
>
> The changes can be seen at:
> https://github.com/samimujawar/edk2-platforms/tree/1527_iort_rev_eb_platforms_v1
>
> Sami Mujawar (11):
>   Platform/Socionext: Fix build break for SynQuacerEvalBoard
>   Platform/LeMaker: Fix build break for CelloBoard
>   Platform/Socionext/SynQuacerEvalBoard: Add missing ArmSoftFloatLib
>   Platform/Socionext/SynQuacerEvalBoard: Disable EbcDxe for AArch32
>     builds
>   Platform/ARM: FVP: Update for IORT revision macro renaming
>   Platform/ARM: Morello: Update for IORT revision macro renaming
>   Platform/ARM: SGI: Update for IORT revision macro renaming
>   Silicon/AMD/Styx: Update for IORT revision macro renaming
>   Silicon/Socionext/SynQuacer: Update for IORT revision macro renaming
>   Platform/RaspberryPi: Update for IORT revision macro renaming
>   Platform/ARM: N1SDP: Update for IORT revision macro renaming
>
>  Platform/ARM/Morello/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManagerFvp.c  |  2 +-
>  Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c       |  2 +-
>  Platform/ARM/SgiPkg/AcpiTables/Iort.aslc                                                     |  2 +-
>  Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c |  2 +-
>  Platform/LeMaker/CelloBoard/CelloBoard.dsc                                                   |  4 +++-
>  Platform/RaspberryPi/AcpiTables/Iort.aslc                                                    |  2 +-
>  Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc                                 | 11 +++++++++--
>  Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.fdf                                 |  8 +++++++-
>  Silicon/AMD/Styx/Drivers/AcpiPlatformDxe/Iort.aslc                                           |  2 +-
>  Silicon/Socionext/SynQuacer/AcpiTables/Iort.aslc                                             |  2 +-
>  10 files changed, 26 insertions(+), 11 deletions(-)
>
> --
> 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'
>
>
>
> 
>
>

  parent reply	other threads:[~2021-11-10 11:33 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-10 11:01 [PATCH edk2-platforms v1 00/11] Fix build breaks and update IORT revision macro Sami Mujawar
2021-11-10 11:01 ` [PATCH edk2-platforms v1 01/11] Platform/Socionext: Fix build break for SynQuacerEvalBoard Sami Mujawar
2021-11-10 11:01 ` [PATCH edk2-platforms v1 02/11] Platform/LeMaker: Fix build break for CelloBoard Sami Mujawar
2021-11-10 11:01 ` [PATCH edk2-platforms v1 03/11] Platform/Socionext/SynQuacerEvalBoard: Add missing ArmSoftFloatLib Sami Mujawar
2021-11-10 11:01 ` [PATCH edk2-platforms v1 04/11] Platform/Socionext/SynQuacerEvalBoard: Disable EbcDxe for AArch32 builds Sami Mujawar
2021-11-10 11:01 ` [PATCH edk2-platforms v1 05/11] Platform/ARM: FVP: Update for IORT revision macro renaming Sami Mujawar
2021-11-10 11:01 ` [PATCH edk2-platforms v1 06/11] Platform/ARM: Morello: " Sami Mujawar
2021-11-10 11:01 ` [PATCH edk2-platforms v1 07/11] Platform/ARM: SGI: " Sami Mujawar
2021-11-10 11:01 ` [PATCH edk2-platforms v1 08/11] Silicon/AMD/Styx: " Sami Mujawar
2021-11-10 11:01 ` [PATCH edk2-platforms v1 09/11] Silicon/Socionext/SynQuacer: " Sami Mujawar
2021-11-10 11:01 ` [PATCH edk2-platforms v1 10/11] Platform/RaspberryPi: " Sami Mujawar
2021-11-10 11:01 ` [PATCH edk2-platforms v1 11/11] Platform/ARM: N1SDP: " Sami Mujawar
2021-11-10 11:33 ` Ard Biesheuvel [this message]
2021-11-10 13:30   ` [edk2-devel] [PATCH edk2-platforms v1 00/11] Fix build breaks and update IORT revision macro Sami Mujawar

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=CAMj1kXHjER_Mo-hdwiEe7oYUqSLJ_T1B++DOcXAO2ada5ytvgg@mail.gmail.com \
    --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