mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-11 21:14:07 +08:00
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 <ego@linux.vnet.ibm.com> Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
9d29250136
commit
95acdc0712
@ -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); \
|
||||
|
Loading…
Reference in New Issue
Block a user