]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: xgene: Revert "PCI: xgene: Use inbound resources for setup"
authorMarc Zyngier <maz@kernel.org>
Mon, 21 Mar 2022 10:48:42 +0000 (10:48 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 12:24:18 +0000 (14:24 +0200)
commit12cbc79b9f0c0b43434eb78c258d78a2c9d4b687
treec6ec79ecbb00d47b80ecc9d863cbda49f99e500a
parent7d0153b3a4f10806725728f4fed0ccbd14df1044
PCI: xgene: Revert "PCI: xgene: Use inbound resources for setup"

commit 3c9a3714c4eaa77bb2d6540d3f2b023415fd30e8 upstream.

Commit 1c8e2e09cbdf ("PCI: xgene: Use inbound resources for setup")
killed PCIe on my XGene-1 box (a Mustang board). The machine itself
is still alive, but half of its storage (over NVMe) is gone, and the
NVMe driver just times out.

Note that this machine boots with a device tree provided by the
UEFI firmware (2016 vintage), which could well be non conformant
with the spec, hence the breakage.

With the patch reverted, the box boots 5.17-rc8 with flying colors.

Link: https://lore.kernel.org/all/Yf2wTLjmcRj+AbDv@xps13.dannf
Link: https://lore.kernel.org/r/20220321104843.949645-2-maz@kernel.org
Fixes: 1c8e2e09cbdf ("PCI: xgene: Use inbound resources for setup")
Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: stable@vger.kernel.org
Cc: Rob Herring <robh@kernel.org>
Cc: Toan Le <toan@os.amperecomputing.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Krzysztof Wilczyński <kw@linux.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Stéphane Graber <stgraber@ubuntu.com>
Cc: dann frazier <dann.frazier@canonical.com>
[dannf: minor context adjustment]
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pci/controller/pci-xgene.c