FUJITA Tomonori
d80e0d96a3
scsi: 53c700: remove dma_is_consistent usage
...
This driver is the only user of dma_is_consistent(). We plan to remove this
API.
The driver uses the API in the following way:
BUG_ON(!dma_is_consistent(hostdata->dev, pScript) && L1_CACHE_BYTES < dma_get_cache_alignment());
The above code tries to see if L1_CACHE_BYTES is greater than
dma_get_cache_alignment() on sysmtes that can not allocate coherent memory
(some old systems can't).
James Bottomley exmplained that this is necesary because the driver packs the
set of mailboxes into a single coherent area and separates the different
usages by a L1 cache stride. So it's fatal if the dma
He also pointed out that we can kill this checking because we don't hit this
BUG_ON on all architectures that actually use the driver.
(akpm: stolen from the scsi tree because
dma-mapping-remove-dma_is_consistent-api.patch needs it)
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-08-11 08:59:21 -07:00
..
2010-08-11 08:59:02 -07:00
2010-07-28 09:05:27 -05:00
2010-07-12 18:03:50 +02:00
2010-08-11 08:59:00 -07:00
2010-08-05 13:53:35 -07:00
2010-07-28 09:05:38 -05:00
2010-08-11 08:59:01 -07:00
2010-08-11 08:59:01 -07:00
2010-08-04 15:15:15 -07:00
2010-07-28 09:05:43 -05:00
2010-08-04 15:31:02 -07:00
2010-08-11 08:59:01 -07:00
2010-07-28 09:07:04 -05:00
2010-08-04 15:31:02 -07:00
2010-07-28 09:07:49 -05:00
2010-08-11 08:59:02 -07:00
2010-05-17 05:27:04 +02:00
2010-08-04 15:31:02 -07:00
2010-07-28 09:07:49 -05:00
2010-08-07 18:20:39 +02:00
2010-08-03 09:04:14 +02:00
2010-08-04 15:31:02 -07:00
2010-08-11 08:59:01 -07:00
2010-08-04 15:31:02 -07:00
2010-05-24 08:01:10 -07:00
2010-04-11 09:23:25 -05:00
2010-05-24 08:01:10 -07:00
2010-05-24 08:01:10 -07:00
2010-04-11 09:23:25 -05:00
2010-08-11 08:59:21 -07:00
2010-03-30 22:02:32 +09:00
2010-05-26 19:51:08 +02:00
2010-05-26 19:51:07 +02:00
2010-05-26 19:51:08 +02:00
2010-05-26 19:51:07 +02:00
2010-05-26 19:51:09 +02:00
2010-06-16 18:05:05 +02:00
2010-03-30 22:02:32 +09:00
2010-08-07 18:15:46 +02:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-08-11 08:59:01 -07:00
2010-08-11 08:59:00 -07:00
2010-07-28 09:05:43 -05:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-08-11 08:59:00 -07:00
2010-08-11 08:59:00 -07:00
2010-03-30 22:02:32 +09:00
2010-08-11 08:59:00 -07:00
2010-05-26 19:51:08 +02:00
2010-05-26 19:51:08 +02:00
2010-07-28 09:07:50 -05:00
2010-07-27 12:02:00 -05:00
2010-07-27 12:02:03 -05:00
2010-07-27 12:01:15 -05:00
2010-07-27 12:01:01 -05:00
2010-03-30 22:02:32 +09:00
2010-08-11 08:59:00 -07:00
2010-07-28 09:05:40 -05:00
2010-07-27 12:03:55 -05:00
2010-05-25 10:04:10 -05:00
2010-04-11 14:04:05 -05:00
2010-03-30 22:02:32 +09:00
2010-08-11 08:59:01 -07:00
2010-03-30 22:02:32 +09:00
2010-04-11 14:03:59 -05:00
2010-05-02 11:16:50 -04:00
2010-03-30 22:02:32 +09:00
2010-06-02 17:50:38 +10:00
2010-03-30 22:02:32 +09:00
2010-07-28 09:07:49 -05:00
2010-05-17 05:27:04 +02:00
2010-05-17 05:27:04 +02:00
2010-06-02 17:50:38 +10:00
2010-03-30 22:02:32 +09:00
2010-05-26 19:51:07 +02:00
2010-05-02 15:55:03 -04:00
2010-03-30 22:02:32 +09:00
2010-08-11 08:59:00 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-08-11 08:58:59 -07:00
2010-07-28 09:05:26 -05:00
2010-07-27 12:01:35 -05:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-05 15:37:12 -07:00
2010-07-24 09:57:52 -06:00
2010-03-03 21:17:06 +05:30
2010-07-27 12:03:55 -05:00
2010-03-30 22:02:32 +09:00
2010-08-10 15:22:42 -07:00
2010-08-11 08:59:00 -07:00
2010-03-30 22:02:32 +09:00
2010-07-28 09:07:50 -05:00
2010-08-06 09:17:02 -07:00
2010-03-30 22:02:32 +09:00
2010-07-28 09:07:50 -05:00
2010-08-06 09:17:02 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-30 12:52:08 -05:00
2010-08-11 08:59:02 -07:00
2010-07-28 09:06:06 -05:00
2010-03-30 22:02:32 +09:00
2010-04-30 12:51:10 -05:00
2010-03-30 22:02:32 +09:00
2010-08-11 08:59:01 -07:00
2010-08-07 18:26:08 +02:00
2010-03-30 22:02:32 +09:00
2010-08-11 08:59:02 -07:00
2010-03-07 17:04:50 -08:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-08-07 18:25:34 +02:00
2010-05-27 09:12:56 -07:00
2010-03-30 22:02:32 +09:00
2010-08-07 18:17:56 +02:00
2010-08-07 18:17:56 +02:00
2010-08-07 18:17:56 +02:00
2010-03-30 22:02:32 +09:00
2010-07-24 09:57:52 -06:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-05-02 15:54:15 -04:00
2010-05-02 15:54:15 -04:00
2010-04-11 13:37:33 -05:00
2010-05-17 21:37:41 +02:00