[Intel-wired-lan] [next PATCH S5 08/10] i40e: Check if the BAR size is large enough before writing to registers
Bowers, AndrewX
andrewx.bowers at intel.com
Fri May 3 23:39:28 UTC 2019
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Alice Michael
> Sent: Wednesday, April 24, 2019 5:21 AM
> To: Michael, Alice <alice.michael at intel.com>; intel-wired-
> lan at lists.osuosl.org
> Cc: Ludkiewicz, Adam <adam.ludkiewicz at intel.com>
> Subject: [Intel-wired-lan] [next PATCH S5 08/10] i40e: Check if the BAR size is
> large enough before writing to registers
>
> From: Adam Ludkiewicz <adam.ludkiewicz at intel.com>
>
> This patch fixes the problem with a kernel panic occurring when trying to bind
> the i40e driver to a non-i40e port. The problem is fixed by checking if the BAR
> size in the device is large enough by reading the highest register.
>
> Signed-off-by: Adam Ludkiewicz <adam.ludkiewicz at intel.com>
> ---
> drivers/net/ethernet/intel/i40e/i40e_main.c | 12 +++++++++++-
> 1 file changed, 11 insertions(+), 1 deletion(-)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list