Home
last modified time | relevance | path

Searched refs:is_p9 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/testing/selftests/powerpc/security/
H A Dspectre_v2.c25 static int do_count_loop(struct event *events, bool is_p9, s64 *miss_percent) in do_count_loop() argument
31 if (is_p9) in do_count_loop()
49 if (is_p9) { in do_count_loop()
133 bool is_p9; in spectre_v2_test() local
151 is_p9 = ((mfspr(SPRN_PVR) >> 16) & 0xFFFF) == 0x4e; in spectre_v2_test()
153 if (is_p9) { in spectre_v2_test()
162 FAIL_IF(do_count_loop(events, is_p9, &miss_percent)); in spectre_v2_test()
169 if (is_p9) { in spectre_v2_test()