From: "Kun Qin" <kuqin12@gmail.com>
To: devel@edk2.groups.io
Cc: Leif Lindholm <quic_llindhol@quicinc.com>,
Ard Biesheuvel <ardb+tianocore@kernel.org>,
Sami Mujawar <sami.mujawar@arm.com>
Subject: [edk2-devel] [PATCH v1 0/3] Add support for handling SGI and pending interrupts
Date: Mon, 24 Jul 2023 13:15:19 -0700 [thread overview]
Message-ID: <20230724201523.852-1-kuqin12@gmail.com> (raw)
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4466
This patch series introduce a few improvements related to interrupt
handling for ArmGic driver and library.
1. The current implementation of the `ArmGicSendSgiTo` is based on GIC v2
and does not work on GIC v3 and on.
2. The pending interrupt related primitives does not exist for end users.
The change added the SGI support compatible with GIC v3 and v4. A few
pending interrupt related utility functions were also added.
This change was tested on QEMU, FVP and proprietary hardware platforms.
Pathc v1 branch: https://github.com/kuqin12/edk2/tree/improve_gic_v1
Cc: Leif Lindholm <quic_llindhol@quicinc.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Kun Qin (3):
ArmPkg: ArmGic: Added support to send SGI to NS G1 EL1
ArmPkg: ArmGicLib: Added GIC v3 and v4 support to ArmGicSendSgiTo
ArmPkg: ArmGic: Added functionalities to manipulate pending interrupts
ArmPkg/Drivers/ArmGic/ArmGicLib.c | 214 +++++++++++++++++++-
ArmPkg/ArmPkg.ci.yaml | 3 +
ArmPkg/Drivers/ArmGic/GicV3/AArch64/ArmGicV3.S | 11 +
ArmPkg/Drivers/ArmGic/GicV3/Arm/ArmGicV3.S | 10 +
ArmPkg/Include/Library/ArmGicLib.h | 76 +++++++
5 files changed, 308 insertions(+), 6 deletions(-)
--
2.41.0.windows.2
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#107187): https://edk2.groups.io/g/devel/message/107187
Mute This Topic: https://groups.io/mt/100337221/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-
next reply other threads:[~2023-07-24 20:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-24 20:15 Kun Qin [this message]
2023-07-24 20:15 ` [edk2-devel] [PATCH v1 1/3] ArmPkg: ArmGic: Added support to send SGI to NS G1 EL1 Kun Qin
2023-07-24 20:15 ` [edk2-devel] [PATCH v1 2/3] ArmPkg: ArmGicLib: Added GIC v3 and v4 support to ArmGicSendSgiTo Kun Qin
2023-07-24 20:15 ` [edk2-devel] [PATCH v1 3/3] ArmPkg: ArmGic: Added functionalities to manipulate pending interrupts Kun Qin
2023-07-26 8:45 ` [edk2-devel] [PATCH v1 0/3] Add support for handling SGI and " Ard Biesheuvel
2023-07-26 18:45 ` Kun Qin
2023-08-03 15:33 ` Ard Biesheuvel
2023-08-03 17:02 ` Leif Lindholm
2023-08-03 18:15 ` Kun Qin
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=20230724201523.852-1-kuqin12@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