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