[PATCH] powerpc/pci: fix PCI-e check link issue

2013-05-17 Thread Yuanquan Chen
e_check_link(), it will do the real checking PCI-e link status for the second controller, the device will be rescaned. Signed-off-by: Yuanquan Chen --- arch/powerpc/sysdev/fsl_pci.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/sysdev/fsl_pci.c b/arch/powe

[PATCH] powerpc/pci: fix PCI-e devices rescan issue on powerpc platform

2013-04-02 Thread Yuanquan Chen
etup_devices() and construct a new function pcibios_enable_device. We call this function in pcibios_enable_device, which will be called by PCI-e rescan code. At the meanwhile, we avoid the the impact on cardbus. I also validate this patch with silicon's PCIe-sata which encounters the IRQ i

[linuxppc-release][PATCH] powerpc/pci-hotplug: fix init issue of rescanned pci device

2012-12-04 Thread Yuanquan Chen
er. So, it does the same fixup work for the rescanned device to avoid this issue. Signed-off-by: Yuanquan Chen --- arch/powerpc/kernel/pci-common.c | 20 1 file changed, 20 insertions(+) diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c ind

[PATCH] powerpc/pci-hotplug: fix the rescanned pci device's dma_set_mask issue

2012-11-23 Thread Yuanquan Chen
On powerpc arch, dma_ops of rescanned pci device after system's booting up won't be initialized by system, so it will fail to execute the dma_set_mask in the device's driver. Initialize it to solve this issue. Signed-off-by: Yuanquan Chen --- arch/powerpc/include/asm/dma-m