[Intel-gfx] [PATCH v2 09/13] i2c: designware-baytrail: Acquire P-Unit access on bus acquire

Jarkko Nikula jarkko.nikula at linux.intel.com
Fri Jan 27 11:29:30 UTC 2017


On 01/23/2017 11:09 PM, Hans de Goede wrote:
> Acquire P-Unit access to stop others from accessing the P-Unit while the
> PMIC i2c bus is in use. This is necessary because accessing the P-Unit
> from the kernel may result in the P-Unit trying to access the PMIC i2c
> bus, which results in a hang when it happens while we own the PMIC i2c
> bus semaphore.
>
> BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=155241
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>
> Tested-by: tagorereddy <tagore.chandan at gmail.com>
> Acked-by: Wolfram Sang <wsa at the-dreams.de>
> ---
> Changes in v2:
> -Spelling: P-Unit, PMIC
> -Adjust for iosf_mbi_punit_lock/_unlock to _acquire/_release rename
> ---
>  drivers/i2c/busses/i2c-designware-baytrail.c | 4 ++++
>  1 file changed, 4 insertions(+)
>

Acked-by: Jarkko Nikula <jarkko.nikula at linux.intel.com>


More information about the Intel-gfx mailing list