Hi Raghu,
See https://review.trustedfirmware.org/c/hafnium/hafnium/+/9876
Regards, Olivier.
________________________________________ From: raghu.ncstate@icloud.com raghu.ncstate@icloud.com Sent: 01 May 2021 02:02 To: Olivier Deprez; 'Raghu Krishnamurthy via Hafnium' Subject: RE: [Hafnium] SMMUv3 Driver issue when running FVP tests
Thanks Olivier. The first patch is clear. Not sure I understand the second patch. Look forward to the review to understand details.
-----Original Message----- From: Olivier Deprez Olivier.Deprez@arm.com Sent: Friday, April 30, 2021 10:03 AM To: raghu.ncstate@icloud.com; 'Raghu Krishnamurthy via Hafnium' hafnium@lists.trustedfirmware.org Subject: Re: [Hafnium] SMMUv3 Driver issue when running FVP tests
Hi Raghu,
The second problem about FVP CI test suite goes away by applying the slight change below on top of master. I will submit an appropriate change by Monday.
diff --git a/test/hftest/hftest.py b/test/hftest/hftest.py index 2e70abf9..c63c2d18 100755 --- a/test/hftest/hftest.py +++ b/test/hftest/hftest.py @@ -392,7 +392,7 @@ class FvpDriverHypervisor(FvpDriver): Driver which runs tests in Arm FVP emulator, with hafnium as hypervisor """ INITRD_START= 0x84000000 - INITRD_END = 0x85000000 #Default value, however may change if initrd in args + INITRD_END = 0x86000000 #Default value, however may change if + initrd in args
def __init__(self, args): self.vms_in_partitions_json = args.partitions and args.partitions["VMs"]
Regards, Olivier.
________________________________________ From: Hafnium hafnium-bounces@lists.trustedfirmware.org on behalf of Olivier Deprez via Hafnium hafnium@lists.trustedfirmware.org Sent: 30 April 2021 08:48 To: 'Raghu Krishnamurthy via Hafnium'; raghu.ncstate@icloud.com Subject: Re: [Hafnium] SMMUv3 Driver issue when running FVP tests
Hi,
Can you cherry pick: https://review.trustedfirmware.org/c/hafnium/hafnium/+/9791
This will solve this first problem. Though I'm seeing a second failure occurring later in the test run. We're looking at it.
Regards, Olivier.
________________________________________ From: Hafnium hafnium-bounces@lists.trustedfirmware.org on behalf of Raghu Krishnamurthy via Hafnium hafnium@lists.trustedfirmware.org Sent: 30 April 2021 02:52 To: 'Raghu Krishnamurthy via Hafnium' Subject: [Hafnium] SMMUv3 Driver issue when running FVP tests
When I run kokoro/test.sh -fvp at the tip of the master brach(as of today), I see the following failures when running the aarch64 tests. The test command line that fails is:
timeout --foreground 300s ./test/hftest/hftest.py --driver=fvp --out out/reference/aem_v8a_fvp_clang --out_initrd out/reference/aem_v8a_fvp_vm_clang --out_partitions out/reference/aem_v8a_fvp_vm_clang --log out/reference/kokoro_log hafnium --initrd test/vmapi/arch/aarch64/aarch64_test
Error log is:
ERROR: SMMUv3: Linear Stream Table cannot be supported when StreamID bits > 7
ERROR: SMMUv3: Failed to initialize driver
Panic: Could not initialize IOMMUs.
Has anybody seen this issue? I'll try to debug but thought I'll send an email in case somebody already knows the answer to this. Wondering if I'm missing a knob in the FVP.
-Raghu
-- Hafnium mailing list Hafnium@lists.trustedfirmware.org https://lists.trustedfirmware.org/mailman/listinfo/hafnium -- Hafnium mailing list Hafnium@lists.trustedfirmware.org https://lists.trustedfirmware.org/mailman/listinfo/hafnium