Re: [PATCH 4/7] usb-storage: reject probe of device one non-DMA HCDs when using highmem

Hannes Reinecke
2025-05-02T07:25:44Z

On 5/2/25 08:49, Christoph Hellwig wrote:
> 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>
> ---
> drivers/usb/storage/usb.c | 14 +++++++++-----
> 1 file changed, 9 insertions(+), 5 deletions(-)
>
Reviewed-by: Hannes Reinecke <hare@suse.de>

Cheers,

Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare@suse.de +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich