access: disable phys-bits=36 for now
Paolo Bonzini
maintainerPATCH 1/1 access: disable phys-bits=36 for now
Support for guest-MAXPHYADDR < host-MAXPHYADDR is not upstream yet, it should not be enabled. Otherwise, all the pde.36 and pte.36 fail and the test takes so long that it times out.
--- x86/unittests.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
x86/unittests.cfg +1 -1
@@ -116,7 +116,7 @@ extra_params = -cpu qemu64,+x2apic,+tsc-deadline -append tscdeadline_immed [access] file = access.flat arch = x86_64 -extra_params = -cpu host,phys-bits=36 +extra_params = -cpu host [smap] file = smap.flat
Signature · 1 line
2.26.2
Quoted 15 lines · Paolo Bonzini
Support for guest-MAXPHYADDR < host-MAXPHYADDR is not upstream yet, it should not be enabled. Otherwise, all the pde.36 and pte.36 fail and the test takes so long that it times out.
Reported-by Vitaly Kuznetsov <[email protected]>Signed-off-by Paolo Bonzini <[email protected]>--- x86/unittests.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)x86/unittests.cfg +0
-0
x86/unittests.cfg extra_params = -cpu qemu64,+x2apic,+tsc-deadline -append tscdeadline_immed · line 122
Quoted 8 lines
x86/unittests.cfg +1
-1@@ -116,7 +116,7 @@ extra_params = -cpu qemu64,+x2apic,+tsc-deadline -append tscdeadline_immed [access] file = access.flat arch = x86_64 -extra_params = -cpu host,phys-bits=36 +extra_params = -cpu host [smap] file = smap.flat
Works both VMX and SVM, thanks!
Signature · 1 line
Vitaly
Quoted 23 lines · Vitaly Kuznetsov
Quoted 21 lines · Paolo Bonzini
Support for guest-MAXPHYADDR < host-MAXPHYADDR is not upstream yet, it should not be enabled. Otherwise, all the pde.36 and pte.36 fail and the test takes so long that it times out.
Reported-by Vitaly Kuznetsov <[email protected]>Signed-off-by Paolo Bonzini <[email protected]>--- x86/unittests.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)x86/unittests.cfg +1
-1@@ -116,7 +116,7 @@ extra_params = -cpu qemu64,+x2apic,+tsc-deadline -append tscdeadline_immed [access] file = access.flat arch = x86_64 -extra_params = -cpu host,phys-bits=36 +extra_params = -cpu host
Quoted 4 lines
x86/unittests.cfg extra_params = -cpu qemu64,+x2apic,+tsc-deadline -append tscdeadline_immed · line 122
Quoted 2 lines
x86/unittests.cfg +0
-0[smap] file = smap.flatWorks both VMX and SVM, thanks!
What's the status of the "guest-MAXPHYADDR < host-MAXPHYADDR" work? I ask because the AC_PTE_BIT51 and AC_PDE_BIT51 subtests are broken on CPUs with 52 bit PAs. Is it worth sending a patch to temporarily disable those tests if MAXPHYADDR=52?
Paolo Bonzini
maintainerQuoted 24 lines · Sean Christopherson
Quoted 23 lines · Vitaly Kuznetsov
Quoted 21 lines · Paolo Bonzini
Support for guest-MAXPHYADDR < host-MAXPHYADDR is not upstream yet, it should not be enabled. Otherwise, all the pde.36 and pte.36 fail and the test takes so long that it times out.
Reported-by Vitaly Kuznetsov <[email protected]>Signed-off-by Paolo Bonzini <[email protected]>--- x86/unittests.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)x86/unittests.cfg +1
-1@@ -116,7 +116,7 @@ extra_params = -cpu qemu64,+x2apic,+tsc-deadline -append tscdeadline_immed [access] file = access.flat arch = x86_64 -extra_params = -cpu host,phys-bits=36 +extra_params = -cpu host
Quoted 6 lines
Quoted 4 lines
x86/unittests.cfg extra_params = -cpu qemu64,+x2apic,+tsc-deadline -append tscdeadline_immed · line 122
Quoted 2 lines
x86/unittests.cfg +0
-0[smap] file = smap.flatWorks both VMX and SVM, thanks!
What's the status of the "guest-MAXPHYADDR < host-MAXPHYADDR" work?
Mohammed was working on it, we should have it in 5.9.
Quoted 3 lines
I ask because the
AC_PTE_BIT51andAC_PDE_BIT51subtests are broken on CPUs with 52 bit PAs. Is it worth sending a patch to temporarily disable those tests if MAXPHYADDR=52?
It's a QEMU bug that it does not enable host_phys_bits=on by default for "-cpu host". For now I'll tweak this patch to add it manually.
Paolo
Quoted 40 lines · Paolo Bonzini
Quoted 26 lines · Sean Christopherson
Quoted 25 lines · Vitaly Kuznetsov
Quoted 23 lines · Paolo Bonzini
Support for guest-MAXPHYADDR < host-MAXPHYADDR is not upstream yet,
it should not be enabled. Otherwise, all the pde.36 and pte.36 fail and the test takes so long that it times out.Reported-by Vitaly Kuznetsov <[email protected]>Signed-off-by Paolo Bonzini <[email protected]>--- x86/unittests.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)x86/unittests.cfg +0
-0@@ -116,7 +116,7 @@ extra_params = -cpu qemu64,+x2apic,+tsc-deadline -append
tscdeadline_immed
[access]
file = access.flat
arch =x86_64x86/unittests.cfg +1
-1-extra_params = -cpu host,phys-bits=36 +extra_params = -cpu hostQuoted 6 lines
Quoted 4 lines
Quoted 2 lines
[smap]
file = smap.flatWorks both VMX and SVM, thanks!
What's the status of the "guest-MAXPHYADDR < host-MAXPHYADDR" work?
Mohammed was working on it, we should have it in 5.9.
Quoted 4 lines
I ask because the
AC_PTE_BIT51andAC_PDE_BIT51subtests are broken on CPUs with 52 bit PAs. Is it worth sending a patch to temporarily
disable those tests if MAXPHYADDR=52?
Quoted 6 lines
It's a QEMU bug that it does not enable host_phys_bits=on by default for
"-cpu host". For now I'll tweak this patch to add it manually.Paolo
I actually did send a fix earlier