[PATCH] selftests/powerpc: Remove the repeated declaration

2021-05-31 Thread Shaokun Zhang
Function 'event_ebb_init' and 'event_leader_ebb_init' are declared twice in the header file, so remove the repeated declaration. Cc: Michael Ellerman Signed-off-by: Shaokun Zhang --- tools/testing/selftests/powerpc/pmu/ebb/ebb.h | 2 -- 1 file changed, 2 deletions(-)

[PATCH] powerpc/64s: Fix misleading SPR and timebase information

2019-05-29 Thread Shaokun Zhang
pr_info shows SPR and timebase as a decimal value with a '0x' prefix, which is somewhat misleading. Fix it to print hexadecimal, as was intended. Fixes: 10d91611f426 ("powerpc/64s: Reimplement book3s idle code in C") Cc: Michael Ellerman Cc: Nicholas Piggin Signed-o