Lines Matching full:to

30 	       "Expected CR4.LAM_SUP=1 to %s", has_lam ? "succeed" : "#GP");  in test_cr4_lam_set_clear()
33 report(!vector, "Expected CR4.LAM_SUP=0 to succeed"); in test_cr4_lam_set_clear()
36 /* Refer to emulator.c */
53 * Use LAM57_MASK as mask to construct non-canonical address if LAM is in get_lam_mask()
91 report(!fault, "Expected access to untagged address for %s to succeed", in test_ptr()
96 report(fault != lam_active, "Expected access to tagged address for %s %s LAM to %s", in test_ptr()
107 report(fault, "Expected access to non-LAM-canonical address for %s to #GP", in test_ptr()
129 report_pass("Expected %sINVLPG with tagged addr to succeed", fep ? "fep: " : ""); in test_invlpg()
132 /* LAM doesn't apply to the linear address in the descriptor of invpcid */
156 "Expected INVPCID with untagged pointer + untagged addr to succeed, got vector %u", in test_invpcid()
162 "Expected INVPCID with untagged pointer + tagged addr to #GP, got vector %u", in test_invpcid()
168 "Expected INVPCID with tagged pointer + tagged addr to #GP, got vector %u", in test_invpcid()
176 "Expected INVPCID with tagged pointer + untagged addr to %s, got vector %u", in test_invpcid()
184 /* Test for MMIO to trigger instruction emulation. */ in __test_lam_sup()
200 * KUT initializes vfree_top to 0 for X86_64, and each virtual address in test_lam_sup()
221 "Expected CR4.LAM_SUP=1 to succeed"); in test_lam_sup()
243 * Note, LAM doesn't have a global control bit to turn on/off LAM in test_lam_user()
244 * completely, but purely depends on hardware's CPUID to determine it in test_lam_user()
246 * doesn't expose LAM to guest, the guest can still set LAM control bits in test_lam_user()
248 * hole. KVM doesn't choose to intercept CR3 in this case for in test_lam_user()
254 report(!vector && is_lam_u48_enabled(), "Expected CR3.LAM_U48=1 to succeed"); in test_lam_user()
265 report(!vector && is_lam_u57_enabled(), "Expected CR3.LAM_U57=1 to succeed"); in test_lam_user()
267 /* If !has_lam, it has been tested above, no need to test again. */ in test_lam_user()