[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1427857069-6789-1-git-send-email-yinghai@kernel.org>
Date: Tue, 31 Mar 2015 19:57:46 -0700
From: Yinghai Lu <yinghai@...nel.org>
To: Bjorn Helgaas <bhelgaas@...gle.com>,
David Miller <davem@...emloft.net>
Cc: David Ahern <david.ahern@...cle.com>, linux-pci@...r.kernel.org,
sparclinux@...r.kernel.org, linux-kernel@...r.kernel.org,
Yinghai Lu <yinghai@...nel.org>
Subject: [PATCH 0/3] PCI/sparc: Fix booting with T5-8
Fix regression by commit d63e2e1f3df9 ("sparc/PCI: Clip bridge windows to
fit in upstream windows").
That cause bridge bar get clipped wrongly.
The sparc64 dma_addr_t is 32-bit, we can not use it to check if we can
use 64bit bar, introduce pci_bus_addr_t.
sparc ofpci does not parse 64bit mem for root bus, add code to
make sure that we get correct resource for root.
Also there are device 64-bit res does not have pref bit flag, but bridges
do have pref bit set, that cause extra "no compatible window".
Set pref bit for them according to the errata.
Thanks
Yinghai
Yinghai Lu (3):
PCI: Introduce pci_bus_addr_t
sparc/PCI: Add mem64 resource parsing for root bus
PCI: Set pref for mem64 resource of pcie device
arch/sparc/kernel/pci.c | 7 ++++-
arch/sparc/kernel/pci_common.c | 15 ++++++++--
arch/sparc/kernel/pci_impl.h | 1 +
drivers/pci/Kconfig | 4 +++
drivers/pci/bus.c | 10 +++----
drivers/pci/probe.c | 62 ++++++++++++++++++++++++++++++++++++++----
include/linux/pci.h | 12 ++++++--
7 files changed, 94 insertions(+), 17 deletions(-)
--
1.8.4.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists