[Skiboot] [PATCH 02/16] core/pci: Add missing lock in set_power_timer

christophe lombard clombard at linux.vnet.ibm.com
Tue Sep 17 18:20:50 AEST 2019


On 09/09/2019 14:31, Frederic Barrat wrote:
> set_power_timer() was not using any lock, though it alters the slot
> state and devices found under it. So lock the PHB under which the slot
> is found to avoid concurrent operations.
> 
> Signed-off-by: Frederic Barrat <fbarrat at linux.ibm.com>
> ---

It seems logical

Reviewed-by: Christophe Lombard <clombard at linux.vnet.ibm.com>



More information about the Skiboot mailing list