[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87bmndqyvv.fsf@concordia.ellerman.id.au>
Date: Fri, 18 Aug 2017 14:32:36 +1000
From: Michael Ellerman <mpe@...erman.id.au>
To: Thierry Reding <thierry.reding@...il.com>,
David Miller <davem@...emloft.net>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Ding Tianhong <dingtianhong@...wei.com>
Cc: leedom@...lsio.com, ashok.raj@...el.com, werner@...lsio.com,
ganeshgr@...lsio.com, asit.k.mallick@...el.com,
patrick.j.cramer@...el.com, Suravee.Suthikulpanit@....com,
Bob.Shaw@....com, l.stach@...gutronix.de, amira@...lanox.com,
gabriele.paoloni@...wei.com, David.Laight@...lab.com,
jeffrey.t.kirsher@...el.com, catalin.marinas@....com,
will.deacon@....com, mark.rutland@....com, robin.murphy@....com,
alexander.duyck@...il.com, eric.dumazet@...il.com,
linux-arm-kernel@...ts.infradead.org, netdev@...r.kernel.org,
linux-pci@...r.kernel.org, linux-kernel@...r.kernel.org,
linuxarm@...wei.com
Subject: Re: [PATCH] PCI: Allow PCI express root ports to find themselves
Thierry Reding <thierry.reding@...il.com> writes:
> From: Thierry Reding <treding@...dia.com>
>
> If the pci_find_pcie_root_port() function is called on a root port
> itself, return the root port rather than NULL.
>
> This effectively reverts commit 0e405232871d6 ("PCI: fix oops when
> try to find Root Port for a PCI device") which added an extra check
> that would now be redundant.
>
> Fixes: a99b646afa8a ("PCI: Disable PCIe Relaxed Ordering if unsupported")
> Fixes: c56d4450eb68 ("PCI: Turn off Request Attributes to avoid Chelsio T5 Completion erratum")
> Signed-off-by: Thierry Reding <treding@...dia.com>
> ---
> This applies on top of and was tested on next-20170817.
>
> Michael, it'd be great if you could test this one again to clarify
> whether or not the fix that's already in Linus' tree is still needed, or
> whether it's indeed obsoleted by this patch.
This works fine for me, applied on top of Linus' tree (d33a2a914319).
cheers
Powered by blists - more mailing lists