diff --git a/patch/kernel/archive/mvebu-6.18/10-mvebu-clearfog-pcie-updates.patch b/patch/kernel/archive/mvebu-6.18/10-mvebu-clearfog-pcie-updates.patch index 946a8211ee..483307bc56 100644 --- a/patch/kernel/archive/mvebu-6.18/10-mvebu-clearfog-pcie-updates.patch +++ b/patch/kernel/archive/mvebu-6.18/10-mvebu-clearfog-pcie-updates.patch @@ -7,9 +7,7 @@ Signed-off-by: Russell King --- drivers/pci/controller/pci-mvebu.c | 76 ++++++++++ drivers/pci/pci-bridge-emul.c | 2 + - drivers/pci/pcie/aspm.c | 6 + - drivers/pci/pcie/portdrv.c | 2 + - 4 files changed, 86 insertions(+) + 2 files changed, 78 insertions(+) diff --git a/drivers/pci/controller/pci-mvebu.c b/drivers/pci/controller/pci-mvebu.c index 111111111111..222222222222 100644 @@ -154,43 +152,6 @@ index 111111111111..222222222222 100644 bridge->pci_regs_behavior = kmemdup(pci_regs_behavior, sizeof(pci_regs_behavior), GFP_KERNEL); -diff --git a/drivers/pci/pcie/aspm.c b/drivers/pci/pcie/aspm.c -index 111111111111..222222222222 100644 ---- a/drivers/pci/pcie/aspm.c -+++ b/drivers/pci/pcie/aspm.c -@@ -617,6 +617,12 @@ static void pcie_aspm_cap_init(struct pcie_link_state *link, int blacklist) - pcie_capability_read_dword(child, PCI_EXP_LNKCAP, &child_lnkcap); - pcie_capability_read_word(parent, PCI_EXP_LNKCTL, &parent_lnkctl); - pcie_capability_read_word(child, PCI_EXP_LNKCTL, &child_lnkctl); -+dev_info(&parent->dev, "up support %x enabled %x\n", -+ (parent_lnkcap & PCI_EXP_LNKCAP_ASPMS) >> 10, -+ !!(parent_lnkctl & PCI_EXP_LNKCTL_ASPMC)); -+dev_info(&parent->dev, "dn support %x enabled %x\n", -+ (child_lnkcap & PCI_EXP_LNKCAP_ASPMS) >> 10, -+ !!(child_lnkctl & PCI_EXP_LNKCTL_ASPMC)); - - /* - * Setup L0s state -diff --git a/drivers/pci/pcie/portdrv.c b/drivers/pci/pcie/portdrv.c -index 111111111111..222222222222 100644 ---- a/drivers/pci/pcie/portdrv.c -+++ b/drivers/pci/pcie/portdrv.c -@@ -335,6 +335,7 @@ static int pcie_port_device_register(struct pci_dev *dev) - - /* Get and check PCI Express port services */ - capabilities = get_port_device_capability(dev); -+dev_info(&dev->dev, "PCIe capabilities: 0x%x\n", capabilities); - if (!capabilities) - return 0; - -@@ -347,6 +348,7 @@ static int pcie_port_device_register(struct pci_dev *dev) - * if that is to be used. - */ - status = pcie_init_service_irqs(dev, irqs, capabilities); -+dev_info(&dev->dev, "init_service_irqs: %d\n", status); - if (status) { - capabilities &= PCIE_PORT_SERVICE_HP; - if (!capabilities) -- Armbian