From: Nicholas Piggin Date: Tue, 13 Jun 2017 13:05:52 +0000 (+1000) Subject: powerpc/64s/idle: Predict HMI wakeup as unlikely X-Git-Tag: v4.13-rc1~111^2~85 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=95acdc07124f329ef3088a9bc68af905804b2e6b;p=platform%2Fkernel%2Flinux-exynos.git powerpc/64s/idle: Predict HMI wakeup as unlikely In a busy system, idle wakeups can be expected from IPIs and device interrupts. Reviewed-by: Gautham R. Shenoy Signed-off-by: Nicholas Piggin Signed-off-by: Michael Ellerman --- diff --git a/arch/powerpc/kernel/idle_book3s.S b/arch/powerpc/kernel/idle_book3s.S index ebe80b5..1ea14b9 100644 --- a/arch/powerpc/kernel/idle_book3s.S +++ b/arch/powerpc/kernel/idle_book3s.S @@ -306,7 +306,7 @@ FTR_SECTION_ELSE_NESTED(66); \ rlwinm r0,r12,45-31,0xe; /* P7 wake reason field is 3 bits */ \ ALT_FTR_SECTION_END_NESTED_IFSET(CPU_FTR_ARCH_207S, 66); \ cmpwi r0,0xa; /* Hypervisor maintenance ? */ \ - bne 20f; \ + bne+ 20f; \ /* Invoke opal call to handle hmi */ \ ld r2,PACATOC(r13); \ ld r1,PACAR1(r13); \