On 06/12/2023 00:52, Konstantin Belousov wrote:
Unfortunately this broke even attach of the mlx5(4) driver.
According to the 'official' Linux kernel documentation, the GFP_KERNEL
flag implies sleepable context.  mlx5_core uses the passed GFP flag to
determine if it is called in the sleepable context, and now even initial
load assumes that it cannot perform sleeping ops.  See, for instance,
second if() statement in the mlx5_fwp_alloc() function.

Oh sorry... Thank you for reporting the issue. I will revisit this change then. Should I revert it in main until there is a solution?

--
Jean-Sébastien Pédron
The FreeBSD Project


Reply via email to