Skip to content

Commit 4e728bb

Browse files
authored
Merge pull request #2946 from dhsrivas/iommu
io/iommu/amd: Derive cpu page table level from va bits of /proc/cpuinfo
2 parents 7051184 + ed8aacf commit 4e728bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

io/iommu/amd/iommu_v2pgmode_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ def check_kernelconf_5lvl(self):
104104
if os.path.exists(config_file):
105105
return check_kernelconf(config_file, "CONFIG_X86_5LEVEL")
106106

107-
self.cancel("Kernel config not found in '/boot/' and '/lib/modules/<uname -r>/build/'")
107+
self.log.info("Kernel config not found in '/boot/' and '/lib/modules/<uname -r>/build/'."
108+
"Using VA bits in /proc/cpuinfo to derive cpu page table level")
108109
return False
109110

110111
def test(self):

0 commit comments

Comments
 (0)