[Intel-wired-lan] [PATCH net-queue v1] igc: Fix possible system crash when loading module

naamax.meir naamax.meir at linux.intel.com
Mon May 8 04:36:09 UTC 2023


On 4/18/2023 01:18, Vinicius Costa Gomes wrote:
> Guarantee that when probe() is run again, PTM and PCI busmaster will be
> in the same state as it was if the driver was never loaded.
> 
> Avoid an i225/i226 hardware issue that PTM requests can be made even
> though PCI bus mastering is not enabled. These unexpected PTM requests
> can crash some systems.
> 
> So, "force" disable PTM and busmastering before removing the driver,
> so they can be renabled in the right order during probe(). This is
> more like a workaround and should be applicable for i225 and i226, in
> any platform.
> 
> Fixes: 1b5d73fb8624 ("igc: Enable PCIe PTM")
> Signed-off-by: Vinicius Costa Gomes <vinicius.gomes at intel.com>
> ---
>   drivers/net/ethernet/intel/igc/igc_main.c | 3 +++
>   1 file changed, 3 insertions(+)

Tested-by: Naama Meir <naamax.meir at linux.intel.com>


More information about the Intel-wired-lan mailing list