]> www.infradead.org Git - users/hch/block.git/commit
scsi: add a dma_alignment field to the host and host template
authorChristoph Hellwig <hch@lst.de>
Wed, 6 Mar 2024 04:25:20 +0000 (21:25 -0700)
committerChristoph Hellwig <hch@lst.de>
Tue, 9 Apr 2024 05:37:14 +0000 (07:37 +0200)
commitc0cf18e5195b3eba1211afe1c90c34fb755e1f35
tree18769d2719fbfbd4462847da64bec63a865ce5f5
parent13c2f93f4ae4f18c141480ceb3ff341b137b874c
scsi: add a dma_alignment field to the host and host template

Get drivers out of the business of having to call the block layer
dma alignment limits helpers themselves.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
14 files changed:
drivers/firewire/sbp2.c
drivers/message/fusion/mptfc.c
drivers/message/fusion/mptsas.c
drivers/message/fusion/mptscsih.c
drivers/message/fusion/mptspi.c
drivers/scsi/hosts.c
drivers/scsi/iscsi_tcp.c
drivers/scsi/qla2xxx/qla_os.c
drivers/scsi/scsi_lib.c
drivers/staging/rts5208/rtsx.c
drivers/usb/image/microtek.c
drivers/usb/storage/scsiglue.c
drivers/usb/storage/uas.c
include/scsi/scsi_host.h