From: Benjamin Poirier Date: Fri, 22 May 2015 23:12:26 +0000 (-0700) Subject: mlx4_core: Fix fallback from MSI-X to INTx X-Git-Tag: omap-for-v4.2/wakeirq-drivers-v2^2~2^2~48^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4ecf29fd78d19a9301e638eaa1419e5c8fbdce1;p=pandora-kernel.git mlx4_core: Fix fallback from MSI-X to INTx The test in mlx4_load_one() to remove MLX4_FLAG_MSI_X expects mlx4_NOP() to fail with -EBUSY. It is also necessary to avoid the reset since the device is not fully reinitialized before calling mlx4_start_hca() a second time. Note that this will also affect mlx4_test_interrupts(), the only other user of MLX4_CMD_NOP. Fixes: f5aef5a ("net/mlx4_core: Activate reset flow upon fatal command cases") Signed-off-by: Benjamin Poirier Signed-off-by: David S. Miller --- Reading git-diff-tree failed