Thread (3 messages) 3 messages, 3 authors, 2010-08-01

Re: [PATCH #upstream-fixes] ata_piix: fix locking around SIDPR access

From: Jeff Garzik <hidden>
Date: 2010-08-01 23:48:39

On 07/20/2010 10:20 AM, Tejun Heo wrote:
SIDPR window registers are shared across ports and as each access is
done in two steps, accesses to different ports under EH may race.
This primarily is caused by incorrect host locking in EH context and
should be fixed by defining locking requirements for each EH operation
which can be used during EH and enforcing them but for now work around
the problem by adding a dedicated SIDPR lock and grabbing it for each
SIDPR access.

Signed-off-by: Tejun Heo<tj@kernel.org>
Reported-by: Mark Knecht<redacted>
Reported-by: Paul Check<redacted>
Cc: stable@kernel.org
---
  drivers/ata/ata_piix.c |    8 ++++++++
  1 file changed, 8 insertions(+)
applied
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help