Re: HPT34x progress - and a DMA question

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

 



Alan Cox writes:
 > The 343/363 crashes if you write ->ctl with a live DMA outstanding. Now
 > its easy enough to fix in the driver - just wrap ata_sff_freeze. It
 > raises an interesting question however - which is should ata_sff_freeze
 > stop any running DMA in the general case ?

FWIW when I added ->freeze and ->thaw to sata_promise I made ->freeze
stop in-flight DMAs. As I read the documentation the ATA engine should
be completely idle after ->freeze so this seemed appropriate.

There was a brief discussion about this at the time, but I don't think
we ever agreed on a definitive "precise semantics" for ->freeze.
--
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