Christoph Hellwig
e94b45d08b
block: move dma_pad_mask into queue_limits
...
dma_pad_mask is a queue_limits by all ways of looking at it, so move it
there and set it through the atomic queue limits APIs.
Add a little helper that takes the alignment and pad into account to
simplify the code that is touched a bit.
Note that there never was any need for the > check in
blk_queue_update_dma_pad, this probably was just copy and paste from
dma_update_dma_alignment.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/20240626142637.300624-9-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2024-06-26 09:37:35 -06:00
..
2024-05-19 09:21:03 -07:00
2024-05-24 08:43:25 -07:00
2024-06-05 16:58:09 +02:00
2024-05-04 18:59:47 +02:00
2024-06-26 09:37:35 -06:00
2024-05-06 18:26:47 -07:00
2024-05-22 10:45:12 -07:00
2024-05-27 01:30:33 +01:00
2024-06-24 08:38:52 -06:00
2024-05-23 12:04:36 -07:00
2024-05-22 20:14:47 -04:00
2024-06-22 19:36:08 -06:00
2024-06-05 04:55:04 +03:00
2024-05-29 12:31:02 -07:00
2024-05-22 09:56:00 -07:00
2024-06-03 18:00:23 +02:00
2024-05-16 08:50:32 -07:00
2024-05-23 12:04:36 -07:00
2024-05-28 16:09:17 -07:00
2024-05-19 09:21:03 -07:00
2024-05-09 00:30:37 +09:00
2024-05-21 11:15:56 -07:00
2024-05-28 22:21:34 +02:00
2024-05-13 16:53:53 -07:00
2024-06-04 11:29:52 +02:00
2024-05-03 22:09:50 +02:00
2024-05-09 01:03:39 +09:00
2024-05-27 07:34:58 +09:00
2024-06-06 09:39:36 -07:00
2024-05-22 12:26:46 -07:00
2024-06-07 10:05:21 +02:00
2024-06-07 08:40:58 +10:00
2024-05-04 18:59:41 +02:00
2024-06-08 10:48:11 -07:00
2024-05-22 12:26:46 -07:00
2024-05-30 09:05:19 -07:00
2024-05-22 12:26:46 -07:00
2024-05-23 13:38:15 +02:00
2024-05-23 00:29:19 +02:00
2024-05-22 12:26:46 -07:00
2024-05-22 20:14:47 -04:00
2024-06-03 11:10:08 +02:00
2024-05-22 20:14:47 -04:00
2024-06-04 14:00:59 +02:00
2024-06-03 18:20:00 +02:00
2024-05-02 18:12:27 +01:00
2024-05-17 09:05:46 -07:00
2024-05-31 12:39:15 -05:00
2024-06-26 09:37:35 -06:00
2024-05-30 16:34:59 +02:00
2024-05-17 08:53:47 -07:00
2024-05-14 18:25:53 -07:00
2024-05-21 10:09:28 -07:00
2024-05-23 12:28:01 -07:00
2024-06-19 07:58:28 -06:00
2024-06-19 07:58:28 -06:00
2024-04-29 08:20:07 -07:00
2024-06-06 10:15:14 +02:00
2024-05-29 13:08:31 +01:00
2024-06-19 07:58:28 -06:00
2024-06-26 09:14:33 -06:00
2024-05-03 07:26:39 +02:00
2024-05-30 19:43:47 -05:00
2024-05-17 13:01:24 +02:00
2024-06-04 12:10:05 -05:00
2024-05-23 12:09:22 -07:00
2024-05-21 11:19:18 -07:00
2024-05-22 10:41:14 -07:00
2024-06-03 11:57:28 +02:00
2024-05-27 08:18:31 -07:00
2024-05-28 21:53:51 +02:00
2024-05-20 08:55:18 -07:00
2024-04-30 21:10:37 +02:00
2024-04-29 08:20:06 -07:00
2024-06-05 16:01:16 -07:00
2024-05-10 07:30:27 +02:00
2024-05-14 23:36:19 +09:00
2024-05-28 13:22:54 +01:00
2024-05-06 13:34:12 -06:00
2024-05-18 12:48:37 -07:00
2024-05-23 12:04:36 -07:00
2024-05-07 23:40:46 +02:00
2024-06-19 07:58:28 -06:00
2024-06-26 09:37:35 -06:00
2024-05-08 19:21:51 +01:00
2024-05-22 20:14:47 -04:00
2024-05-21 11:23:36 -07:00
2024-05-29 19:12:09 +01:00
2024-05-08 19:46:11 +01:00
2024-05-22 12:11:48 -07:00
2024-06-14 10:20:06 -06:00
2024-04-29 22:29:44 +02:00
2024-05-27 13:00:00 +02:00
2024-05-10 10:25:22 +01:00
2024-05-24 08:38:28 -07:00
2024-06-26 09:37:35 -06:00
2024-05-22 20:14:47 -04:00
2024-05-22 08:32:48 -04:00
2024-05-20 14:56:50 -07:00
2024-05-23 12:04:36 -07:00
2024-05-22 10:45:12 -07:00
2024-05-19 09:21:03 -07:00
2024-05-23 12:04:36 -07:00
2024-05-11 11:32:06 +02:00
2024-05-24 10:24:49 -07:00
2024-04-29 16:45:53 +02:00
2024-05-10 04:34:52 +09:00