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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
Reported-by: Mark Knecht<markknecht@xxxxxxxxx>
Reported-by: Paul Check<paul@xxxxxxxxxxxx>
Cc: stable@xxxxxxxxxx
---
  drivers/ata/ata_piix.c |    8 ++++++++
  1 file changed, 8 insertions(+)

applied

--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux