Lines Matching full:aspect

19 	unsigned long aspect = pr_which_to_aspect(which);  in dexcr_prctl_onexec_test_child()  local
24 "setting aspect across exec not applied"); in dexcr_prctl_onexec_test_child()
27 "setting aspect across exec not inherited"); in dexcr_prctl_onexec_test_child()
29 FAIL_IF_EXIT_MSG(!(aspect & dexcr), "setting aspect across exec did not take effect"); in dexcr_prctl_onexec_test_child()
32 "clearing aspect across exec not applied"); in dexcr_prctl_onexec_test_child()
35 "clearing aspect across exec not inherited"); in dexcr_prctl_onexec_test_child()
37 FAIL_IF_EXIT_MSG(aspect & dexcr, "clearing aspect across exec did not take effect"); in dexcr_prctl_onexec_test_child()
50 unsigned long aspect = pr_which_to_aspect(which); in dexcr_prctl_aspect_test() local
57 SKIP_IF_MSG(!pr_dexcr_aspect_supported(which), "DEXCR aspect not supported"); in dexcr_prctl_aspect_test()
58 SKIP_IF_MSG(!pr_dexcr_aspect_editable(which), "DEXCR aspect not editable with prctl"); in dexcr_prctl_aspect_test()
71 /* We set the aspect */ in dexcr_prctl_aspect_test()
78 FAIL_IF_MSG(!(aspect & mfspr(SPRN_DEXCR_RO)), "setting aspect did not take effect"); in dexcr_prctl_aspect_test()
80 /* We clear the aspect */ in dexcr_prctl_aspect_test()
87 FAIL_IF_MSG(aspect & mfspr(SPRN_DEXCR_RO), "clearing aspect did not take effect"); in dexcr_prctl_aspect_test()
94 FAIL_IF_MSG(!(ctrl & PR_PPC_DEXCR_CTRL_CLEAR), "process aspect should still be cleared"); in dexcr_prctl_aspect_test()
97 …FAIL_IF_MSG(aspect & mfspr(SPRN_DEXCR_RO), "scheduling aspect to set on exec should not change it … in dexcr_prctl_aspect_test()
104 FAIL_IF_MSG(!(ctrl & PR_PPC_DEXCR_CTRL_CLEAR), "process aspect config should still be cleared"); in dexcr_prctl_aspect_test()
107 FAIL_IF_MSG(aspect & mfspr(SPRN_DEXCR_RO), "process aspect should still be cleared"); in dexcr_prctl_aspect_test()
116 FAIL_IF_MSG(!(aspect & mfspr(SPRN_DEXCR_RO)), "process aspect should be set"); in dexcr_prctl_aspect_test()
124 FAIL_IF_MSG(aspect & mfspr(SPRN_DEXCR_RO), "process aspect should be clear"); in dexcr_prctl_aspect_test()
136 "setting aspect on exec not copied across fork"); in dexcr_prctl_aspect_test()
138 FAIL_IF_EXIT_MSG(mfspr(SPRN_DEXCR_RO) & aspect, in dexcr_prctl_aspect_test()
139 "setting aspect on exec wrongly applied to fork"); in dexcr_prctl_aspect_test()
158 "clearing aspect on exec not copied across fork"); in dexcr_prctl_aspect_test()
160 FAIL_IF_EXIT_MSG(!(mfspr(SPRN_DEXCR_RO) & aspect), in dexcr_prctl_aspect_test()
161 "clearing aspect on exec wrongly applied to fork"); in dexcr_prctl_aspect_test()