DynamicTablesPkg/FdtHwInfoParserLib: Update SmmuV3 DeviceId Valid flag

SmmuV3 nodes with revision 5 have a flag with a
"DeviceID mapping index valid" bit:
"Set to 1 if the DeviceID mapping index field is valid. Set to 0.
otherwise".

Set this flag if the DeviceId mapping field has been populated.

Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
diff --git a/DynamicTablesPkg/Library/FdtHwInfoParserLib/Arm/Iort/SmmuV3Parser.c b/DynamicTablesPkg/Library/FdtHwInfoParserLib/Arm/Iort/SmmuV3Parser.c
index 274c530..97c8a0c 100644
--- a/DynamicTablesPkg/Library/FdtHwInfoParserLib/Arm/Iort/SmmuV3Parser.c
+++ b/DynamicTablesPkg/Library/FdtHwInfoParserLib/Arm/Iort/SmmuV3Parser.c
@@ -435,6 +435,7 @@
 

     SmmuV3Info->DeviceIdMappingIndex = SmmuV3Info->IdMappingCount;

     SmmuV3Info->IdMappingCount++;

+    SmmuV3Info->Flags |= EFI_ACPI_IORT_SMMUv3_FLAG_DEVICEID_VALID;

   }

 

   // Add the CmObj to the Configuration Manager.