Hi, This patchset introduces support for ICU (Interrupt Consolidation Unit) of Armada7k8k SoC family. This unit allows to send a message-based interrupts from the CP110 unit (South Bridge) to the Application Processor hardware block. After dispatching the interrupts in the GIC are generated.
A basic version of the library is introduced, that allows to configure a static mapping of the interrupt lanes between CP110 interfaces and GIC. It is required for the cases, where the OS does not support the ICU controller on its own (e.g. ACPI boot). The patches are available in the github: https://github.com/MarvellEmbeddedProcessors/edk2-open-platform/commits/icu-upstream-r20180712 I'm looking forward to review and any comments/remarks. Best regards, Marcin Marcin Wojtas (6): Marvell/Armada70x0Db: Set correct CP110 count Marvell/Library: Introduce ArmadaIcuLib class Marvell/Library: Armada7k8kSoCDescLib: Enable getting CP base address Marvell/Library: Armada7k8kSoCDescLib: Introduce ICU information Marvell/Library: Implement common ArmadaIcuLib Marvell/Armada7k8k: Enable ICU configuration Silicon/Marvell/Marvell.dec | 1 + Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc | 1 + Platform/Marvell/Armada70x0Db/Armada70x0Db.dsc | 7 +- Silicon/Marvell/Armada7k8k/Drivers/PlatInitDxe/PlatInitDxe.inf | 1 + Silicon/Marvell/Library/IcuLib/IcuLib.inf | 38 +++ Silicon/Marvell/Armada7k8k/Library/Armada7k8kSoCDescLib/Armada7k8kSoCDescLib.h | 12 + Silicon/Marvell/Include/Library/ArmadaIcuLib.h | 45 +++ Silicon/Marvell/Include/Library/ArmadaSoCDescLib.h | 36 +++ Silicon/Marvell/Library/IcuLib/IcuLib.h | 46 +++ Silicon/Marvell/Armada7k8k/Drivers/PlatInitDxe/PlatInitDxe.c | 2 + Silicon/Marvell/Armada7k8k/Library/Armada7k8kSoCDescLib/Armada7k8kSoCDescLib.c | 50 ++++ Silicon/Marvell/Library/IcuLib/IcuLib.c | 315 ++++++++++++++++++++ 12 files changed, 552 insertions(+), 2 deletions(-) create mode 100644 Silicon/Marvell/Library/IcuLib/IcuLib.inf create mode 100644 Silicon/Marvell/Include/Library/ArmadaIcuLib.h create mode 100644 Silicon/Marvell/Library/IcuLib/IcuLib.h create mode 100644 Silicon/Marvell/Library/IcuLib/IcuLib.c -- 2.7.4 _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

