diff options
| author | FUJITA Tomonori <[email protected]> | 2008-07-16 20:33:35 +0200 |
|---|---|---|
| committer | Bartlomiej Zolnierkiewicz <[email protected]> | 2008-07-16 20:33:35 +0200 |
| commit | 0b6abc17700a7843b165c677da0ac94522f83083 (patch) | |
| tree | c347a4a03941731e4df26196fb52feb7492fac23 /include/linux/moduleparam.h | |
| parent | 84e0f3f6c1e26588fdcb9f1b0f99d0275229bc99 (diff) | |
ide: avoid DMA on the stack for REQ_TYPE_ATA_PC
Some REQ_TYPE_ATA_PC commands uses the stack buffers for DMA, which
leads to memory corruption on a non-coherent platform.
With regard to alignment and padding, ide-cd has the the dma safe
check for sg requests and REQ_TYPE_ATA_PC. This adds the stack buffer
check to that check.
Signed-off-by: FUJITA Tomonori <[email protected]>
Acked-by: Borislav Petkov <[email protected]>
Cc: Thomas Bogendoerfer <[email protected]>
Cc: Tejun Heo <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: James Bottomley <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Diffstat (limited to 'include/linux/moduleparam.h')
0 files changed, 0 insertions, 0 deletions