Skip to content
Commit 701dc207 authored by Ricardo Ribalda's avatar Ricardo Ribalda Committed by Wolfram Sang
Browse files

i2c: piix4: Avoid race conditions with IMC



On AMD's SB800 and upwards, the SMBus is shared with the Integrated
Micro Controller (IMC).

The platform provides a hardware semaphore to avoid race conditions
among them. (Check page 288 of the SB800-Series Southbridges Register
Reference Guide http://support.amd.com/TechDocs/45482.pdf)

Without this patch, many access to the SMBus end with an invalid
transaction or even with the bus stalled.

Reported-by: default avatarAlexandre Desnoyers <alex@qtec.com>
Signed-off-by: default avatarRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com&gt;:>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 2659161d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment