usb-storage: reject probe of device one non-DMA HCDs when using highmem
authorChristoph Hellwig <hch@lst.de>
Mon, 5 May 2025 08:11:23 +0000 (10:11 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 5 May 2025 19:22:39 +0000 (13:22 -0600)
commit48610ec22f0cf7ee5b5658b2b3bab27a8f2ef78b
treea027aa725e77ff740fd93565f5810fb6ea6e678c
parent27a0918d4b701d4825e191448e44b9f14dc0a3b3
usb-storage: reject probe of device one non-DMA HCDs when using highmem

usb-storage is the last user of the block layer bounce buffering now,
and only uses it for HCDs that do not support DMA on highmem configs.

Remove this support and fail the probe so that the block layer bounce
buffering can go away.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Alan Stern <stern@rowland.harvard.edu>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20250505081138.3435992-5-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/usb/storage/usb.c