Re: [PATCH 4.19 65/71] powerpc/pseries: Do not initiate shutdown when system is running on UPS

2020-08-26 Thread Vasant Hegde
On 8/26/20 1:26 AM, Pavel Machek wrote: Hi! Hi Pavel, We have a user space tool (rtas_errd) on LPAR to monitor for EPOW_SHUTDOWN_ON_UPS. Once it gets an event it initiates shutdown after predefined time. It also starts monitoring for any new EPOW Yeah, so there's userspace tool, and curren

Re: [PATCH 4.19 65/71] powerpc/pseries: Do not initiate shutdown when system is running on UPS

2020-08-25 Thread Pavel Machek
Hi! > We have a user space tool (rtas_errd) on LPAR to monitor for > EPOW_SHUTDOWN_ON_UPS. Once it gets an event it initiates shutdown > after predefined time. It also starts monitoring for any new EPOW Yeah, so there's userspace tool, and currently systems _with_ that tool work poorly with UPS.

[PATCH 4.19 65/71] powerpc/pseries: Do not initiate shutdown when system is running on UPS

2020-08-24 Thread Greg Kroah-Hartman
From: Vasant Hegde commit 90a9b102eddf6a3f987d15f4454e26a2532c1c98 upstream. As per PAPR we have to look for both EPOW sensor value and event modifier to identify the type of event and take appropriate action. In LoPAPR v1.1 section 10.2.2 includes table 136 "EPOW Action Codes": SYSTEM_SHUTD