Nicolin Chen
135ba11a7a
dma-mapping: set default segment_boundary_mask to ULONG_MAX
...
The default segment_boundary_mask was set to DMA_BIT_MAKS(32)
a decade ago by referencing SCSI/block subsystem, as a 32-bit
mask was good enough for most of the devices.
Now more and more drivers set dma_masks above DMA_BIT_MAKS(32)
while only a handful of them call dma_set_seg_boundary(). This
means that most drivers have a 4GB segmention boundary because
DMA API returns a 32-bit default value, though they might not
really have such a limit.
The default segment_boundary_mask should mean "no limit" since
the device doesn't explicitly set the mask. But a 32-bit mask
certainly limits those devices capable of 32+ bits addressing.
So this patch sets default segment_boundary_mask to ULONG_MAX.
Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com >
Acked-by: Niklas Schnelle <schnelle@linux.ibm.com >
Signed-off-by: Christoph Hellwig <hch@lst.de >
2020-09-03 18:14:57 +02:00
..
2020-08-24 10:33:08 +02:00
2020-08-12 10:57:59 -07:00
2020-08-12 10:57:59 -07:00
2020-08-07 12:58:11 -07:00
2020-08-15 08:09:38 -07:00
2020-08-06 16:43:36 -07:00
2020-08-07 08:54:16 +02:00
2020-08-15 08:18:22 -07:00
2020-08-17 09:39:18 -07:00
2020-08-16 22:00:22 +01:00
2020-08-15 08:26:55 -07:00
2020-08-12 10:57:59 -07:00
2020-08-10 12:16:51 -07:00
2020-08-06 16:39:14 -07:00
2020-08-12 10:57:59 -07:00
2020-09-01 09:19:43 +02:00
2020-08-12 10:57:56 -07:00
2020-08-23 17:36:59 -05:00
2020-08-12 10:57:59 -07:00
2020-08-12 10:57:59 -07:00
2020-08-27 12:51:25 +02:00
2020-08-20 10:57:29 -07:00
2020-08-26 12:41:53 +02:00
2020-08-12 10:58:01 -07:00
2020-08-12 10:57:59 -07:00
2020-09-01 09:19:28 +02:00
2020-08-14 15:22:43 -07:00
2020-08-14 16:27:00 +02:00
2020-09-03 18:14:57 +02:00
2020-08-07 12:41:36 -07:00
2020-08-06 16:13:13 +02:00
2020-08-07 11:33:28 -07:00
2020-08-12 10:57:59 -07:00
2020-08-23 17:36:59 -05:00
2020-08-12 10:57:57 -07:00
2020-08-28 10:57:14 -07:00
2020-08-12 10:57:59 -07:00
2020-08-12 10:57:57 -07:00
2020-08-06 16:13:13 +02:00
2020-08-14 19:56:56 -07:00
2020-08-12 10:58:02 -07:00
2020-08-06 17:54:04 +02:00
2020-08-13 18:41:00 -07:00
2020-08-14 19:56:57 -07:00
2020-08-14 19:56:57 -07:00
2020-08-26 12:41:56 +02:00
2020-08-21 11:03:38 -07:00
2020-08-23 17:36:59 -05:00
2020-08-07 11:33:28 -07:00
2020-08-28 11:21:20 -07:00
2020-08-07 18:29:15 -07:00
2020-08-06 16:13:13 +02:00
2020-08-06 12:59:31 -07:00
2020-08-12 10:57:59 -07:00
2020-08-26 12:41:53 +02:00
2020-08-11 14:30:36 -07:00
2020-08-11 14:30:36 -07:00
2020-08-07 21:27:37 -07:00
2020-08-14 19:56:57 -07:00
2020-08-12 10:57:56 -07:00
2020-08-12 10:58:02 -07:00
2020-08-14 19:56:56 -07:00
2020-08-14 19:56:56 -07:00
2020-08-30 10:56:12 -07:00
2020-08-07 11:33:26 -07:00
2020-08-26 12:41:53 +02:00
2020-08-07 11:33:21 -07:00
2020-08-12 10:57:56 -07:00
2020-08-06 16:13:13 +02:00
2020-08-13 04:16:15 +02:00
2020-08-15 08:26:55 -07:00
2020-08-12 10:57:56 -07:00
2020-08-07 11:33:29 -07:00
2020-08-14 19:56:56 -07:00
2020-08-12 12:09:36 -07:00
2020-08-07 18:48:15 -07:00
2020-08-07 11:33:26 -07:00
2020-08-17 21:50:54 +03:00
2020-08-17 11:46:22 -07:00
2020-08-12 10:57:59 -07:00
2020-08-06 16:50:59 +02:00
2020-08-26 12:41:51 +02:00
2020-08-06 16:13:13 +02:00
2020-08-07 11:33:24 -07:00
2020-08-23 17:36:59 -05:00
2020-08-23 17:36:59 -05:00
2020-08-07 11:33:25 -07:00
2020-08-07 11:33:25 -07:00
2020-08-07 11:33:25 -07:00
2020-08-10 12:06:44 -07:00
2020-08-12 10:57:56 -07:00
2020-08-14 19:56:56 -07:00
2020-08-14 19:56:56 -07:00
2020-08-06 16:13:13 +02:00
2020-08-07 17:05:01 -04:00
2020-08-12 10:57:59 -07:00
2020-08-06 16:13:13 +02:00
2020-08-12 10:57:57 -07:00
2020-08-07 11:33:24 -07:00
2020-08-12 10:57:59 -07:00
2020-08-06 16:13:13 +02:00
2020-08-09 13:58:04 -07:00
2020-08-12 10:57:59 -07:00
2020-08-12 10:57:59 -07:00
2020-08-12 10:57:59 -07:00