This is matching the GICD_ICFGR read; a non secure access to a secure
interrupt should be treated as RAZ/WI
Change-Id: I9e92e03c13fe0474ed139b0ed22cebd5847b9109
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/31615
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
for (int i = 0, int_id = first_intid; i < 8 * size && int_id < itLines;
i = i + 2, int_id++) {
+
+ if (nsAccessToSecInt(int_id, is_secure_access)) {
+ continue;
+ }
+
irqConfig[int_id] = data & (0x2 << i) ?
Gicv3::INT_EDGE_TRIGGERED :
Gicv3::INT_LEVEL_SENSITIVE;