]> git.ipfire.org Git - thirdparty/linux.git/commit
PCI: xgene: Drop XGENE_PCIE_IP_VER_UNKN
authorMarc Zyngier <maz@kernel.org>
Tue, 8 Jul 2025 17:33:55 +0000 (18:33 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 22 Jul 2025 20:33:16 +0000 (15:33 -0500)
commitfddf72ed7b52c91da37fe5f1d4faed11251b714f
treedbe3489251f64290abdf14f04f2c23e2f1b1af92
parente3ac25cc95b814723678c3611591f2b85c731c27
PCI: xgene: Drop XGENE_PCIE_IP_VER_UNKN

XGENE_PCIE_IP_VER_UNKN is only refered to when probing for the
original XGene PCIe implementation, and get immediately overridden
if the device has the "apm,xgene-pcie" compatible string.

Given that the only way to get there is by finding this very string in
the DT, it is obvious that we will always overwrite the version with
XGENE_PCIE_IP_VER_1.

Drop the whole thing.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20250708173404.1278635-5-maz@kernel.org
drivers/pci/controller/pci-xgene.c