public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "PierreGondois" <pierre.gondois@arm.com>
To: Himanshu Sharma <Himanshu.Sharma@arm.com>, devel@edk2.groups.io
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>,
	Leif Lindholm <quic_llindhol@quicinc.com>,
	Sami Mujawar <sami.mujawar@arm.com>
Subject: Re: [edk2-devel] [edk2][PATCH V2 0/2] Update handling of interrupt node for SSDT Serial Port Fixup Library
Date: Mon, 5 Feb 2024 11:54:43 +0100	[thread overview]
Message-ID: <8fe74a33-32bd-45b5-a031-2556e14e418e@arm.com> (raw)
In-Reply-To: <20240104080257.319631-1-Himanshu.Sharma@arm.com>

Hello Himanshu,
I don't have other comments than what Sami had:
Reviewed-by: Pierre Gondois <pierre.gondois@arm.com>

Regards,
Pierre

On 1/4/24 09:02, Himanshu Sharma wrote:
> Currently in the Dynamic Tables Framework, the interrupt node for the
> AML description of the serial-ports is populated using the template
> and so is mandatorily added even if the serial-port is enumerated as
> a DBG2 port in the platform's configuration manager where the
> interrupt is not mandatory. The proposed implementation adds the
> interrupt node only if the interrupt defined for the serial-port is a
> valid SPI or a valid extended SPI. So, in case of DBG2 ports, the
> platforms with interrupt defined as SPI (like Morello) can have the
> interrupt node added to the description and the platforms where it is
> not defined (like N1SDP) can ignore the addition of the interrupt node.
> 
> The changes include adding the SPI range macros in ArmGicArchLib
> (ArmPkg) which can be used by the SSDTSerialPortFixupLib
> (DynamicTablesPkg) to put a check for generating the interrupt node
> using AML Codegen API.
> 
> Change log:
> 
> V2:
>    - Fix comments on V1
>      - Add link to Arm GIC Specification.
>      - Fix uncrustify errors.
>      - Add a check more if the interrupt is 0,
>        to be used when an interrupt is not wired to the serial port.
>    - Update copyright year to 2024.
>    - Link to branch with the patches in this series
>      https://github.com/himsha01/edk2/tree/ssdt_serial_port_interrupt_v2
> 
> V1:
>    - Link to branch with the patches in this series
>      https://github.com/himsha01/edk2/tree/ssdt_serial_port_interrupt
> 
> Himanshu Sharma (2):
>    ArmPkg/ArmGicArchLib: Add macros for SPI and extended SPI ranges
>    DynamicTablesPkg/SsdtSerialPortFixupLib: Add Interrupt node for SPIs only
> 
>   DynamicTablesPkg/Library/Common/SsdtSerialPortFixupLib/SsdtSerialPortFixupLib.inf |  3 +-
>   ArmPkg/Include/Library/ArmGicArchLib.h                                            | 14 ++++++
>   DynamicTablesPkg/Include/ArmNameSpaceObjects.h                                    |  6 ++-
>   DynamicTablesPkg/Library/Common/SsdtSerialPortFixupLib/SsdtSerialPortFixupLib.c   | 49 ++++++++++++++------
>   DynamicTablesPkg/Library/Common/SsdtSerialPortFixupLib/SsdtSerialPortTemplate.asl | 29 +++++++-----
>   5 files changed, 72 insertions(+), 29 deletions(-)
> 


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



  parent reply	other threads:[~2024-02-05 10:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-04  8:02 [edk2-devel] [edk2][PATCH V2 0/2] Update handling of interrupt node for SSDT Serial Port Fixup Library Himanshu Sharma
2024-01-04  8:02 ` [edk2-devel] [edk2][PATCH V2 1/2] ArmPkg/ArmGicArchLib: Add macros for SPI and extended SPI ranges Himanshu Sharma
2024-01-04 15:59   ` Sami Mujawar
2024-02-28 14:45   ` Sami Mujawar
2024-02-28 16:59     ` Sami Mujawar
2024-03-01 14:34       ` Ard Biesheuvel
2024-01-04  8:02 ` [edk2-devel] [edk2][PATCH V2 2/2] DynamicTablesPkg/SsdtSerialPortFixupLib: Add Interrupt node for SPIs only Himanshu Sharma
2024-01-04 16:03   ` Sami Mujawar
2024-02-05 10:54 ` PierreGondois [this message]
2024-03-04 10:34 ` [edk2-devel] [edk2][PATCH V2 0/2] Update handling of interrupt node for SSDT Serial Port Fixup Library 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=8fe74a33-32bd-45b5-a031-2556e14e418e@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