Re: [PATCH] parisc: Stop CPUs via PAT firmware before system halt or reboot.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 15.05.2017 02:42, John David Anglin wrote:
> On 2017-05-12, at 12:55 PM, Helge Deller wrote:
> 
>> Dave reported that he had issued a "shutdown -r" and a panic occurred during
>> the reboot while all CPUs were still up. After this, stall messages were output
>> to console after the firmware version was printed.
>>
>> To avoid that issue, add functions to call PAT firmware to stop all CPUs (with
>> the exception of the currently running CPU) before a panic reboot or a system
>> halt is issued.
> 
> This patch causes a problem with "shutdown -h" on my c8000.  After the system prints
> the message that it is okay to power off, the front panel LED shows a flashing red, and pressing
> the power button once doesn't power the system down.  Pressing it again causes the system
> to reboot.

I noticed that during my testing as well.
It seems that the firmware call stops the whole socket, not just one CPU.
Maybe it's another problem as well?

Anyway, I did included an updated patch [1] in my last git pull request to Linus (which actually
didn't made it into 4.12...).
Can you test this one instead?

Helge


[1] https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git/commit/?h=parisc-4.12-1&id=5aa2aabff1ce642a0c16b8c25bce8dc5ad66ad81
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux