[Skiboot] [PATCH 1/2] hw/ipmi: Disable flash access when requested

Stewart Smith stewart at linux.vnet.ibm.com
Wed Mar 4 17:23:35 AEDT 2015


Jeremy Kerr <jk at ozlabs.org> writes:
> +bool flash_reserve(void)
> +{
> +	return try_lock(&flash_lock);
> +}
> +
> +void flash_release(void)
> +{
> +	unlock(&flash_lock);
> +}

Re-iterating what said on IRC (and confirmed that a different patch is
in the works) that doesn't hold the lock for the duration of the
reservation, as this will likely trigger "not running pollers with locks
held"



More information about the Skiboot mailing list