[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACKFLi=_TQ2EgJcMHWXcaHOXtGX47UDo45fWLwNEpr7aYiFk=g@mail.gmail.com>
Date: Fri, 26 Aug 2022 01:13:11 -0700
From: Michael Chan <michael.chan@...adcom.com>
To: Kai-Heng Feng <kai.heng.feng@...onical.com>
Cc: Siva Reddy Kallam <siva.kallam@...adcom.com>,
Prashant Sreedharan <prashant@...adcom.com>,
Michael Chan <mchan@...adcom.com>,
Josef Bacik <josef@...icpanda.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Netdev <netdev@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] tg3: Disable tg3 device on system reboot to avoid
triggering AER
On Thu, Aug 25, 2022 at 5:25 PM Kai-Heng Feng
<kai.heng.feng@...onical.com> wrote:
> The MSI is probably raised by incoming packets, so power down the device
> and disable bus mastering to stop the traffic, as user confirmed this
> approach works.
>
> In addition to that, be extra safe and cancel reset task if it's running.
>
> Cc: Josef Bacik <josef@...icpanda.com>
> Link: https://lore.kernel.org/all/b8db79e6857c41dab4ef08bdf826ea7c47e3bafc.1615947283.git.josef@toxicpanda.com/
> BugLink: https://bugs.launchpad.net/bugs/1917471
> Signed-off-by: Kai-Heng Feng <kai.heng.feng@...onical.com>
> ---
> v2:
> - Move tg3_reset_task_cancel() outside of rtnl_lock() to prevent
> deadlock.
Looks ok to me. Thanks.
Reviewed-by: Michael Chan <michael.chan@...adcom.com>
Download attachment "smime.p7s" of type "application/pkcs7-signature" (4209 bytes)
Powered by blists - more mailing lists