Re: [PATCH] usbip: Fix the error limitation on max_hw_sectors for usbip device

From: Shuah Khan
Date: Thu Feb 27 2025 - 17:25:28 EST


On 2/24/25 01:36, Zongmin Zhou wrote:
Dear Shuah,


Yes,the usbip server get the real USB controller message send to usbip client vhci-hcd,

must have to changethe API between the kernel and user-space.

The easiest way is to simply set vhci-hcd dma mask to 64 by default,

but not all USB controllers support 64bit,That doesn't look good?

This is an expetnsive change to fix the problem. In addition this change
is unnecessary for non-storage devices where USB over IP is used.
You mentioned this happens only in swiotlb cases? Can you explain the
configuration on host and client side.

I would like to explore fixes that are simpler than what is proposed
in this patch.

thanks,
-- Shuah