-
由 David S. Miller 提交于
In arch_cpu_idle() we must enable %pil based interrupts before potentially invoking the hypervisor cpu yield call. As per the Hypervisor API documentation for cpu_yield: Interrupts which are blocked by some mechanism other that pstate.ie (for example %pil) are not guaranteed to cause a return from this service. It seems that only first generation Niagara chips are hit by this bug. My best guess is that later chips implement this in hardware and wake up anyways from %pil events, whereas in first generation chips the yield is implemented completely in hypervisor code and requires %pil to be enabled in order to wake properly from this call. Fixes: 87fa05ae ("sparc: Use generic idle loop") Reported-by: NFabio M. Di Nitto <fabbione@fabbione.net> Reported-by: NJan Engelhardt <jengelh@inai.de> Tested-by: NJan Engelhardt <jengelh@inai.de> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
cb3042d6