[edk2-devel] [PATCH v5 4/8] DynamicTablesPkg: IORT set reference to interrupt array if present
PierreGondois
pierre.gondois at arm.com
Wed Jul 13 16:10:15 UTC 2022
>>
>> // Add PMU Interrupt Array
>> - if ((SmmuNode->NumPmuInterrupts > 0) &&
>> - (NodeList->PmuInterruptToken != CM_NULL_TOKEN))
>> - {
>> + if (SmmuNode->NumPmuInterrupts != 0) {
>> + if (NodeList->PmuInterruptToken == CM_NULL_TOKEN) {
>> + Status = EFI_INVALID_PARAMETER;
>> + DEBUG ((
>> + DEBUG_ERROR,
>> + "ERROR: IORT: Invalid PMU Interrupt token,"
>> + " Token = 0x%x, Status =%r\n",
>> + NodeList->PmuInterruptToken,
>> + Status
>> + ));
>> + return Status;
>> + }
>> +
>> Status = AddSmmuInterruptArray (
>> CfgMgrProtocol,
>> PmuInterruptArray,
>
> Hi Sami,
> I think this bits belongs to the previous patch.
>
> Regards,
> Pierre
This actually belongs here as patch 2/8 is about IdMappingToken.
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#91315): https://edk2.groups.io/g/devel/message/91315
Mute This Topic: https://groups.io/mt/92334073/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list