summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2010-07-20 16:20:01 +0200
committerJeff Garzik <jgarzik@redhat.com>2010-08-01 19:46:39 -0400
commit213373cf974fe69e78ec894b07f45ae2f5a3a078 (patch)
tree9e25256c54df4dfe7664e7bd6c45b55f99cfea66 /include
parent4d1f9082251a835ea387b47bb9dd26980bf8e0d0 (diff)
downloadlwn-213373cf974fe69e78ec894b07f45ae2f5a3a078.tar.gz
lwn-213373cf974fe69e78ec894b07f45ae2f5a3a078.zip
ata_piix: fix locking around SIDPR access
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 <markknecht@gmail.com> Reported-by: Paul Check <paul@thechecks.ca> Cc: stable@kernel.org Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions