From: Tejun Heo Date: Tue, 20 Jul 2010 14:20:01 +0000 (+0200) Subject: ata_piix: fix locking around SIDPR access X-Git-Tag: v2.6.36-rc1~535^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=213373cf974fe69e78ec894b07f45ae2f5a3a078;p=pandora-kernel.git 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 Reported-by: Mark Knecht Reported-by: Paul Check Cc: stable@kernel.org Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed