Re: [PATCH rdma-rc] IB/mlx5: Avoid load failure due to unknown link width

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 21, 2018 at 03:03:54PM +0200, Leon Romanovsky wrote:
> From: Michael Guralnik <michaelgur@xxxxxxxxxxxx>
> 
> Currently, the firmware report of a connection width that
> is not 1x, 4x, 8x or 12x will cause to driver failure during
> initialization.
> 
> To prevent such failure after every time new width is introduced
> to RDMA stack, we will set a default 4x width for unknown to driver
> widths,
> 
> It is needed to allow to run old kernels with new firmware.
> 
> Cc: <stable@xxxxxxxxxxxxxxx> # 4.1
> Fixes: 1b5daf11b015 ("IB/mlx5: Avoid using the MAD_IFC command under ISSI > 0 mode")
> Signed-off-by: Michael Guralnik <michaelgur@xxxxxxxxxxxx>
> Reviewed-by: Majd Dibbiny <majd@xxxxxxxxxxxx>
> Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
> ---
>  drivers/infiniband/hw/mlx5/main.c | 29 +++++++++++------------------
>  1 file changed, 11 insertions(+), 18 deletions(-)

Applied to for-rc

Thanks,
Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux