dprintf1 139 tools/testing/selftests/x86/protection_keys.c dprintf1("enabled tracing\n"); dprintf1 232 tools/testing/selftests/x86/protection_keys.c dprintf1("dump[%03d][@%p]: %016jx\n", i, ptr, *ptr); dprintf1 273 tools/testing/selftests/x86/protection_keys.c dprintf1(">>>>===============SIGSEGV============================\n"); dprintf1 274 tools/testing/selftests/x86/protection_keys.c dprintf1("%s()::%d, pkru: 0x%x shadow: %x\n", __func__, __LINE__, dprintf1 295 tools/testing/selftests/x86/protection_keys.c dprintf1("siginfo: %p\n", si); dprintf1 296 tools/testing/selftests/x86/protection_keys.c dprintf1(" fpregs: %p\n", fpregs); dprintf1 301 tools/testing/selftests/x86/protection_keys.c dprintf1("pkru_xstate_offset: %d\n", pkru_xstate_offset()); dprintf1 314 tools/testing/selftests/x86/protection_keys.c dprintf1("si_pkey_ptr: %p\n", si_pkey_ptr); dprintf1 320 tools/testing/selftests/x86/protection_keys.c dprintf1("signal pkru from xsave: %08x\n", *pkru_ptr); dprintf1 322 tools/testing/selftests/x86/protection_keys.c dprintf1("signal pkru from pkru: %08x\n", __rdpkru()); dprintf1 323 tools/testing/selftests/x86/protection_keys.c dprintf1("pkey from siginfo: %jx\n", siginfo_pkey); dprintf1 325 tools/testing/selftests/x86/protection_keys.c dprintf1("WARNING: set PRKU=0 to allow faulting instruction to continue\n"); dprintf1 327 tools/testing/selftests/x86/protection_keys.c dprintf1("<<<<==================================================\n"); dprintf1 387 tools/testing/selftests/x86/protection_keys.c dprintf1("child sleeping...\n"); dprintf1 409 tools/testing/selftests/x86/protection_keys.c dprintf1("%s(pkey=%d, flags=%lx) = %x / %d\n", dprintf1 454 tools/testing/selftests/x86/protection_keys.c dprintf1("START->%s(%d, 0x%x)\n", __func__, dprintf1 460 tools/testing/selftests/x86/protection_keys.c dprintf1("%s(%d) hw_pkey_get(%d): %x\n", __func__, dprintf1 470 tools/testing/selftests/x86/protection_keys.c dprintf1("%s(%d) shadow: 0x%x\n", __func__, pkey, shadow_pkru); dprintf1 475 tools/testing/selftests/x86/protection_keys.c dprintf1("%s(%d) hw_pkey_get(%d): %x\n", __func__, dprintf1 478 tools/testing/selftests/x86/protection_keys.c dprintf1("%s(%d) pkru: 0x%x\n", __func__, pkey, rdpkru()); dprintf1 481 tools/testing/selftests/x86/protection_keys.c dprintf1("END<---%s(%d, 0x%x)\n", __func__, dprintf1 494 tools/testing/selftests/x86/protection_keys.c dprintf1("%s(%d) hw_pkey_get(%d): %x\n", __func__, dprintf1 506 tools/testing/selftests/x86/protection_keys.c dprintf1("%s(%d) hw_pkey_get(%d): %x\n", __func__, dprintf1 509 tools/testing/selftests/x86/protection_keys.c dprintf1("%s(%d) pkru: 0x%x\n", __func__, pkey, rdpkru()); dprintf1 554 tools/testing/selftests/x86/protection_keys.c dprintf1("%s(flags=%lx, init_val=%lx) syscall ret: %d errno: %d\n", dprintf1 564 tools/testing/selftests/x86/protection_keys.c dprintf1("alloc_pkey()::%d, pkru: 0x%x shadow: %x\n", dprintf1 586 tools/testing/selftests/x86/protection_keys.c dprintf1("alloc_pkey()::%d errno: %d\n", __LINE__, errno); dprintf1 597 tools/testing/selftests/x86/protection_keys.c dprintf1("%s(pkey=%ld) syscall ret: %d\n", __func__, pkey, ret); dprintf1 641 tools/testing/selftests/x86/protection_keys.c dprintf1("%s()::%d, ret: %d pkru: 0x%x shadow: 0x%x\n", __func__, dprintf1 655 tools/testing/selftests/x86/protection_keys.c dprintf1("sys_mprotect_pkey(%p, %zx, prot=0x%lx, pkey=%ld) ret: %d\n", dprintf1 660 tools/testing/selftests/x86/protection_keys.c dprintf1("%s()::%d, ret: %d pkru: 0x%x shadow: 0x%x\n", __func__, dprintf1 663 tools/testing/selftests/x86/protection_keys.c dprintf1("%s()::%d, ret: %d pkru: 0x%x shadow: 0x%x\n", __func__, dprintf1 669 tools/testing/selftests/x86/protection_keys.c dprintf1("mprotect_pkey(%p, %zx, prot=0x%lx, pkey=%ld) ret: %d\n", dprintf1 672 tools/testing/selftests/x86/protection_keys.c dprintf1("%s()::%d, ret: %d pkru: 0x%x shadow: 0x%x\n", __func__, dprintf1 756 tools/testing/selftests/x86/protection_keys.c dprintf1("doing %s(size=%ld, prot=0x%x, pkey=%d)\n", __func__, dprintf1 766 tools/testing/selftests/x86/protection_keys.c dprintf1("%s() for pkey %d @ %p\n", __func__, pkey, ptr); dprintf1 775 tools/testing/selftests/x86/protection_keys.c dprintf1("doing %s(size=%ld, prot=0x%x, pkey=%d)\n", __func__, dprintf1 787 tools/testing/selftests/x86/protection_keys.c dprintf1("unaligned ptr: %p\n", ptr); dprintf1 789 tools/testing/selftests/x86/protection_keys.c dprintf1(" aligned ptr: %p\n", ptr); dprintf1 791 tools/testing/selftests/x86/protection_keys.c dprintf1("MADV_HUGEPAGE ret: %d\n", ret); dprintf1 793 tools/testing/selftests/x86/protection_keys.c dprintf1("MADV_WILLNEED ret: %d\n", ret); dprintf1 796 tools/testing/selftests/x86/protection_keys.c dprintf1("mmap()'d thp for pkey %d @ %p\n", pkey, ptr); dprintf1 850 tools/testing/selftests/x86/protection_keys.c dprintf1("doing %s(%ld, %x, %x)\n", __func__, size, prot, pkey); dprintf1 859 tools/testing/selftests/x86/protection_keys.c dprintf1("mmap()'d hugetlbfs for pkey %d @ %p\n", pkey, ptr); dprintf1 868 tools/testing/selftests/x86/protection_keys.c dprintf1("doing %s(size=%ld, prot=0x%x, pkey=%d)\n", __func__, dprintf1 881 tools/testing/selftests/x86/protection_keys.c dprintf1("mmap()'d for pkey %d @ %p\n", pkey, ptr); dprintf1 951 tools/testing/selftests/x86/protection_keys.c dprintf1("%s() set PKRU=%x to restore state after signal nuked it\n", dprintf1 1007 tools/testing/selftests/x86/protection_keys.c dprintf1("disabling write access to PKEY[1], doing read\n"); dprintf1 1010 tools/testing/selftests/x86/protection_keys.c dprintf1("*ptr: %d\n", ptr_contents); dprintf1 1011 tools/testing/selftests/x86/protection_keys.c dprintf1("\n"); dprintf1 1017 tools/testing/selftests/x86/protection_keys.c dprintf1("disabling access to PKEY[%02d], doing read @ %p\n", pkey, ptr); dprintf1 1021 tools/testing/selftests/x86/protection_keys.c dprintf1("*ptr: %d\n", ptr_contents); dprintf1 1026 tools/testing/selftests/x86/protection_keys.c dprintf1("disabling write access to PKEY[%02d], doing write\n", pkey); dprintf1 1033 tools/testing/selftests/x86/protection_keys.c dprintf1("disabling access to PKEY[%02d], doing write\n", pkey); dprintf1 1043 tools/testing/selftests/x86/protection_keys.c dprintf1("disabling access to PKEY[%02d], " dprintf1 1047 tools/testing/selftests/x86/protection_keys.c dprintf1("read ret: %d\n", ret); dprintf1 1057 tools/testing/selftests/x86/protection_keys.c dprintf1("read ret: %d\n", ret); dprintf1 1072 tools/testing/selftests/x86/protection_keys.c dprintf1("disabling access to PKEY[%02d], " dprintf1 1078 tools/testing/selftests/x86/protection_keys.c dprintf1("vmsplice() ret: %d\n", vmsplice_ret); dprintf1 1091 tools/testing/selftests/x86/protection_keys.c dprintf1("disabling write to PKEY[%02d], " dprintf1 1099 tools/testing/selftests/x86/protection_keys.c dprintf1("futex() ret: %d\n", futex_ret); dprintf1 1113 tools/testing/selftests/x86/protection_keys.c dprintf1("trying get/set/free to non-allocated pkey: %2d\n", i); dprintf1 1161 tools/testing/selftests/x86/protection_keys.c dprintf1("%s() alloc loop: %d\n", __func__, i); dprintf1 1257 tools/testing/selftests/x86/protection_keys.c dprintf1("[%d] child pid: %d\n", getpid(), child_pid); dprintf1 1262 tools/testing/selftests/x86/protection_keys.c dprintf1("[%d] attach ret: %ld %d\n", getpid(), ret, __LINE__); dprintf1 1370 tools/testing/selftests/x86/protection_keys.c dprintf1("%s() start\n", __func__); dprintf1 1412 tools/testing/selftests/x86/protection_keys.c dprintf1("SKIP: %s: no CPU support\n", __func__); dprintf1 1447 tools/testing/selftests/x86/protection_keys.c dprintf1("======================\n"); dprintf1 1448 tools/testing/selftests/x86/protection_keys.c dprintf1("test %d preparing...\n", test_nr); dprintf1 1452 tools/testing/selftests/x86/protection_keys.c dprintf1("test %d starting with pkey: %d\n", test_nr, pkey); dprintf1 1454 tools/testing/selftests/x86/protection_keys.c dprintf1("test %d starting...\n", test_nr); dprintf1 1456 tools/testing/selftests/x86/protection_keys.c dprintf1("freeing test memory: %p\n", ptr); dprintf1 1460 tools/testing/selftests/x86/protection_keys.c dprintf1("pkru_faults: %d\n", pkru_faults); dprintf1 1461 tools/testing/selftests/x86/protection_keys.c dprintf1("orig_pkru_faults: %d\n", orig_pkru_faults); dprintf1 1467 tools/testing/selftests/x86/protection_keys.c dprintf1("======================\n\n");