[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOSf1CHaLCAsnB42Je+ynJ6xv-M8qmScbfOLSHVze7D4fEh66Q@mail.gmail.com>
Date: Fri, 18 Jun 2021 17:21:32 +1000
From: "Oliver O'Halloran" <oohall@...il.com>
To: Wesley Sheng <wesley.sheng@....com>
Cc: linasvepstas@...il.com, Russell Currey <ruscur@...sell.cc>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Jonathan Corbet <corbet@....net>,
linux-pci <linux-pci@...r.kernel.org>,
linuxppc-dev <linuxppc-dev@...ts.ozlabs.org>,
linux-doc@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
wesleyshenggit@...a.com
Subject: Re: [PATCH] Documentation: PCI: pci-error-recovery: rearrange the
general sequence
On Fri, Jun 18, 2021 at 4:05 PM Wesley Sheng <wesley.sheng@....com> wrote:
>
> Reset_link() callback function was called before mmio_enabled() in
> pcie_do_recovery() function actually, so rearrange the general
> sequence betwen step 2 and step 3 accordingly.
I don't think this is true in all cases. If pcie_do_recovery() is
called with state==pci_channel_io_normal (i.e. non-fatal AER) the link
won't be reset. EEH (ppc PCI error recovery thing) also uses
.mmio_enabled() as described.
Powered by blists - more mailing lists