Skip to content

io/iommu/amd: Derive cpu page table level from va bits of /proc/cpuinfo#2946

Merged
narasimhan-v merged 1 commit intoavocado-framework-tests:masterfrom
dhsrivas:iommu
Mar 5, 2025
Merged

io/iommu/amd: Derive cpu page table level from va bits of /proc/cpuinfo#2946
narasimhan-v merged 1 commit intoavocado-framework-tests:masterfrom
dhsrivas:iommu

Conversation

@dhsrivas
Copy link
Contributor

@dhsrivas dhsrivas commented Mar 4, 2025

Instead of canceling the test if kernel config file is not found, rely and derive cpu page table level from /proc/cpuinfo.

Run

avocado-misc-tests# avocado run io/iommu/amd/iommu_v2pgmode_test.py
JOB ID     : d36a3fa532950d598b273529a8854e1fe7be3944
JOB LOG    : /root/tests/results/job-2025-03-04T12.40-d36a3fa/job.log
 (1/1) io/iommu/amd/iommu_v2pgmode_test.py:IommuPageTable.test: STARTED
 (1/1) io/iommu/amd/iommu_v2pgmode_test.py:IommuPageTable.test: PASS (0.22 s)
RESULTS    : PASS 1 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB HTML   : /root/tests/results/job-2025-03-04T12.40-d36a3fa/results.html
JOB TIME   : 1.93 s

Instead of canceling the test if kernel config file is not found, rely and
derive cpu page table level from /proc/cpuinfo.

Signed-off-by: Dheeraj Kumar Srivastava <dheerajkumar.srivastava@amd.com>
@narasimhan-v narasimhan-v merged commit 4e728bb into avocado-framework-tests:master Mar 5, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants