Re: [PATCH] dmaengine: idxd: Check for driver name match before sva user feature

From: Fenghua Yu
Date: Fri Apr 05 2024 - 16:05:33 EST


On 4/2/24 10:07 PM, Jerry Snitselaar wrote:
Currenty if the user driver is probed on a workqueue configured for

s/Currenty/Currently/

another driver with SVA not enabled on the system, it will print
out a number of probe failing messages like the following:

[ 264.831140] user: probe of wq13.0 failed with error -95

On some systems, such as GNR, the number of messages can
reach over 100.

Move the SVA feature check to be after the driver name match
check.

Cc: Vinod Koul <vkoul@xxxxxxxxxx>
Cc: dmaengine@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
Signed-off-by: Jerry Snitselaar <jsnitsel@xxxxxxxxxx>

Other than the typo,

Reviewed-by: Fenghua Yu <fenghua.yu@xxxxxxxxx>

Thanks.

-Fenghua