Commit 95acdc07 authored by Nicholas Piggin's avatar Nicholas Piggin Committed by Michael Ellerman

powerpc/64s/idle: Predict HMI wakeup as unlikely

In a busy system, idle wakeups can be expected from IPIs and device
interrupts.
Reviewed-by: default avatarGautham R. Shenoy <ego@linux.vnet.ibm.com>
Signed-off-by: default avatarNicholas Piggin <npiggin@gmail.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 9d292501
...@@ -306,7 +306,7 @@ FTR_SECTION_ELSE_NESTED(66); \ ...@@ -306,7 +306,7 @@ FTR_SECTION_ELSE_NESTED(66); \
rlwinm r0,r12,45-31,0xe; /* P7 wake reason field is 3 bits */ \ rlwinm r0,r12,45-31,0xe; /* P7 wake reason field is 3 bits */ \
ALT_FTR_SECTION_END_NESTED_IFSET(CPU_FTR_ARCH_207S, 66); \ ALT_FTR_SECTION_END_NESTED_IFSET(CPU_FTR_ARCH_207S, 66); \
cmpwi r0,0xa; /* Hypervisor maintenance ? */ \ cmpwi r0,0xa; /* Hypervisor maintenance ? */ \
bne 20f; \ bne+ 20f; \
/* Invoke opal call to handle hmi */ \ /* Invoke opal call to handle hmi */ \
ld r2,PACATOC(r13); \ ld r2,PACATOC(r13); \
ld r1,PACAR1(r13); \ ld r1,PACAR1(r13); \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment