public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Thomas Abraham" <thomas.abraham@arm.com>
To: Sami Mujawar <sami.mujawar@arm.com>, devel@edk2.groups.io
Cc: ardb+tianocore@kernel.org, pierre.gondois@arm.com,
	Matteo.Carlini@arm.com, Akanksha.Jain2@arm.com,
	Ben.Adderson@arm.com, nd@arm.com
Subject: Re: [PATCH edk2-platforms v2 03/11] Platform/ARM: SGI: Update for IORT revision macro renaming
Date: Wed, 6 Jul 2022 16:38:21 +0100	[thread overview]
Message-ID: <16febeb8-1582-30da-d3de-97d4f7382f29@arm.com> (raw)
In-Reply-To: <b2176df4-d3bd-69cc-80e2-8ef8c73dc835@arm.com>

Hi Sami,

On 06/07/2022 16:15, Sami Mujawar wrote:
> Hi Thomas,
> 
> Please find my response inline marked [SAMI].
> 
> Regards,
> 
> Sami Mujawar
> 
> On 06/07/2022 03:18 pm, Thomas Abraham wrote:
>>
>>
>> On 06/07/2022 11:39, Sami Mujawar wrote:
>>> The IORT Specification E.d updates the IORT table revision to 5. To
>>> reflect this change the IORT header file has been updated to rename
>>> the EFI_ACPI_IO_REMAPPING_TABLE_REVISION macro which was at Rev 0 to
>>> EFI_ACPI_IO_REMAPPING_TABLE_REV0.
>>>
>>> Therefore, update the usage of EFI_ACPI_IO_REMAPPING_TABLE_REVISION
>>> macro in the IORT table for SGI platforms to
>>> EFI_ACPI_IO_REMAPPING_TABLE_REV0.
>>>
>>> Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
>>> ---
>>>   Platform/ARM/SgiPkg/AcpiTables/Iort.aslc | 2 +-
>>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/Platform/ARM/SgiPkg/AcpiTables/Iort.aslc 
>>> b/Platform/ARM/SgiPkg/AcpiTables/Iort.aslc
>>> index 
>>> fcc28a71c82eb0c78c96d60c9d9eb1554adb41a3..415403e8e8e5946d3a2319d83b76d6182a8a1e74 
>>> 100644
>>> --- a/Platform/ARM/SgiPkg/AcpiTables/Iort.aslc
>>> +++ b/Platform/ARM/SgiPkg/AcpiTables/Iort.aslc
>>> @@ -50,7 +50,7 @@ ARM_EFI_ACPI_6_0_IO_REMAPPING_TABLE Iort =
>>>        (
>>>          EFI_ACPI_6_2_IO_REMAPPING_TABLE_SIGNATURE,
>>>          ARM_EFI_ACPI_6_0_IO_REMAPPING_TABLE,
>>> -       EFI_ACPI_IO_REMAPPING_TABLE_REVISION
>>> +       EFI_ACPI_IO_REMAPPING_TABLE_REV0
>>
>> nit: Should this have been EFI_ACPI_IO_REMAPPING_TABLE_REVISION_0 to 
>> better align with all the other table revision macros?
> 
> [SAMI] I checked the edk2 code base and apparenlty the protocol 
> versioning follows the scheme you mention above. As for ACPI tables the 
> revision is derived from the _ACPI_x_y_ prefix in the macro name. e.g. 
> EFI_ACPI_6_4_GENERIC_TIMER_DESCRIPTION_TABLE_REVISION.
> 
> However, I have no objection to your suggestion with the only change 
> that I would then prefer to make it 
> EFI_ACPI_IO_REMAPPING_TABLE_REVISION_00.
> 
> Kindly let me know if this is acceptable and I will respin this patch 
> series along with the edk2 series.
> 
> [/SAMI]

Yes, that would also be okay.

Thanks.

> 
>>
>>>        ),
>>>        3,  // NumNodes
>>>        sizeof (EFI_ACPI_6_0_IO_REMAPPING_TABLE),  // NodeOffset
>>
>>
>> Reviewed-by: Thomas Abraham <thomas.abraham@arm.com>
>>
>> Thanks.

  reply	other threads:[~2022-07-06 15:38 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-06 10:39 [PATCH edk2-platforms v2 00/11] Fix build breaks and update IORT revision macro Sami Mujawar
2022-07-06 10:39 ` [PATCH edk2-platforms v2 01/11] Platform/ARM: FVP: Update for IORT revision macro renaming Sami Mujawar
2022-07-06 10:39 ` [PATCH edk2-platforms v2 02/11] Platform/ARM: Morello: " Sami Mujawar
2022-07-06 10:39 ` [PATCH edk2-platforms v2 03/11] Platform/ARM: SGI: " Sami Mujawar
2022-07-06 14:18   ` Thomas Abraham
2022-07-06 15:15     ` Sami Mujawar
2022-07-06 15:38       ` Thomas Abraham [this message]
2022-07-06 10:39 ` [PATCH edk2-platforms v2 04/11] Silicon/AMD/Styx: " Sami Mujawar
2022-07-06 10:39 ` [PATCH edk2-platforms v2 05/11] Silicon/Socionext/SynQuacer: " Sami Mujawar
2022-07-06 10:39 ` [PATCH edk2-platforms v2 06/11] Platform/RaspberryPi: " Sami Mujawar
2022-07-07 13:48   ` Jeremy Linton
2022-07-06 10:39 ` [PATCH edk2-platforms v2 07/11] Platform/ARM: N1SDP: " Sami Mujawar
2022-07-06 10:39 ` [PATCH edk2-platforms v2 08/11] Silicon/Ampere: Add VariableFlashInfoLib Sami Mujawar
2022-07-06 10:39 ` [PATCH edk2-platforms v2 09/11] Platform/Ampere: JadePkg: Update for IORT revision macro renaming Sami Mujawar
2022-07-06 10:39 ` [PATCH edk2-platforms v2 10/11] Silicon/Phytium: Add VariableFlashInfoLib Sami Mujawar
2022-07-06 10:39 ` [PATCH edk2-platforms v2 11/11] Silicon/Phytium: FT2000-4Pkg: Update for IORT revision macro renaming 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=16febeb8-1582-30da-d3de-97d4f7382f29@arm.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