powerpc: Mark known failing tests as kfail
Mark the failing h_cede_tm and spapr_vpa tests as kfail.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Message-ID: <20240504122841.1177683-4-npiggin@gmail.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
diff --git a/powerpc/spapr_vpa.c b/powerpc/spapr_vpa.c
index c2075e1..46fa048 100644
--- a/powerpc/spapr_vpa.c
+++ b/powerpc/spapr_vpa.c
@@ -150,7 +150,8 @@
report_fail("Could not deregister after registration");
disp_count1 = be32_to_cpu(vpa->vp_dispatch_count);
- report(disp_count1 % 2 == 1, "Dispatch count is odd after deregister");
+ /* TCG known fail, could be wrong test, must verify against PowerVM */
+ report_kfail(true, disp_count1 % 2 == 1, "Dispatch count is odd after deregister");
report_prefix_pop();
}
diff --git a/powerpc/tm.c b/powerpc/tm.c
index 6b1ceeb..d9e7f45 100644
--- a/powerpc/tm.c
+++ b/powerpc/tm.c
@@ -133,7 +133,8 @@
report_skip("TM is not available");
goto done;
}
- report(cpus_with_tm == nr_cpus,
+ /* KVM does not report TM in secondary threads in POWER9 */
+ report_kfail(true, cpus_with_tm == nr_cpus,
"TM available in all 'ibm,pa-features' properties");
all = argc == 1 || !strcmp(argv[1], "all");