public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "PierreGondois" <pierre.gondois@arm.com>
To: Sami Mujawar <sami.mujawar@arm.com>, devel@edk2.groups.io
Subject: Re: [edk2-devel] [PATCH v1 1/1] DynamicTables: Fix DT PCI interrupt flags parsing
Date: Mon, 18 Jul 2022 14:30:08 +0200	[thread overview]
Message-ID: <686ccf50-5e9a-20e9-0ccb-39af74efe33c@arm.com> (raw)
In-Reply-To: <17823.1658147248508568038@groups.io>

Hi Sami

On 7/18/22 14:27, Sami Mujawar wrote:
> Hi Pierre,
> 
> Please find my response inline marked [SAMI]
> 
> Regards,
> 
> Sami Mujawar
> 
> On Wed, Apr 27, 2022 at 07:49 AM, PierreGondois wrote:
> 
>     diff --git a/DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtPcieLibArm/SsdtPci=
>     eGenerator.c b/DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtPcieLibArm/SsdtP=
>     cieGenerator.c
>     index a34018151f2d..d5b1c153e98f 100644
>     --- a/DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtPcieLibArm/SsdtPcieGenera=
>     tor.c
>     +++ b/DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtPcieLibArm/SsdtPcieGenera=
>     tor.c
>     @@ -449,7 +449,7 @@ GeneratePrt (
>     if ((Index > 0) &&
>     (IrqMapInfo->IntcInterrupt.Interrupt >=3D 32) &&
>     (IrqMapInfo->IntcInterrupt.Interrupt < 1020) &&
>     - ((IrqMapInfo->IntcInterrupt.Flags & 0x3) !=3D BIT0))
>     + ((IrqMapInfo->IntcInterrupt.Flags & 0x3) !=3D 0))
> 
> [SAMI] The BSA 1.0 says "Each legacy interrupt SPI must be programmed as level-sensitive".
> Considering this, I think the above check should be ((IrqMapInfo->IntcInterrupt.Flags & 0xB) != 0).
> If you agree, please let me know I will make that change locally before pushing.
> [/SAMI]

[Pierre]
Yes indeed,
Thanks for the review and changing this without requiring a v2,

Regards,
Pierre

[/Pierre]

> 
>     {
>     Status =3D EFI_INVALID_PARAMETER;
>     ASSERT_EFI_ERROR (Status);
>     diff --git a/DynamicTablesPkg/Library/FdtHwInfoParserLib/FdtUtility.h b/D=
>     ynamicTablesPkg/Library/FdtHwInfoParserLib/FdtUtility.h
> 

  reply	other threads:[~2022-07-18 12:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-27 14:49 [PATCH v1 1/1] DynamicTables: Fix DT PCI interrupt flags parsing PierreGondois
2022-07-18 12:27 ` [edk2-devel] " Sami Mujawar
2022-07-18 12:30   ` PierreGondois [this message]
2022-07-18 12:35     ` Sami Mujawar
2022-07-18 16:26 ` 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=686ccf50-5e9a-20e9-0ccb-39af74efe33c@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