[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200605.132058.751437025187060374.davem@davemloft.net>
Date: Fri, 05 Jun 2020 13:20:58 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: palok@...vell.com
Cc: netdev@...r.kernel.org, bhsharma@...hat.com, irusskikh@...vell.com
Subject: Re: [PATCH] net: qed: fixes crash while running driver in kdump
kernel
From: Alok Prasad <palok@...vell.com>
Date: Fri, 5 Jun 2020 16:30:34 +0000
> This fixes a crash introduced by recent is_kdump_kernel() check.
> The source of the crash is that kdump kernel can be loaded on a
> system with already created VFs. But for such VFs, it will follow
> a logic path of PF and eventually crash.
>
> Thus, we are partially reverting back previous changes and instead
> use is_kdump_kernel is a single init point of PF init, where we
> disable SRIOV explicitly.
>
> Fixes: 37d4f8a6b41f ("net: qed: Disable SRIOV functionality inside kdump kernel")
> Cc: Bhupesh Sharma <bhsharma@...hat.com>
> Signed-off-by: Igor Russkikh <irusskikh@...vell.com>
> Signed-off-by: Alok Prasad <palok@...vell.com>
Applied.
Powered by blists - more mailing lists