Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753014AbcJTCxs (ORCPT ); Wed, 19 Oct 2016 22:53:48 -0400 Received: from szxga01-in.huawei.com ([58.251.152.64]:10941 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751404AbcJTCxq (ORCPT ); Wed, 19 Oct 2016 22:53:46 -0400 From: Dongdong Liu To: , , , , , , CC: , , , , , , , , Subject: [PATCH V3 0/2] Add ACPI support for HiSilicon SoCs Host Controllers Date: Thu, 20 Oct 2016 11:10:32 +0800 Message-ID: <1476933034-46044-1-git-send-email-liudongdong3@huawei.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.71.200.31] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1741 Lines: 41 This patchset adds ACPI support for the HiSilicon Hip05/Hip06/Hip07 SoC PCIe controllers. The two patches respectively: - rework the current HiSilicon driver to add support for ECAM platforms(not RC). - adds the HiSilicon ACPI specific quirks. This patchset is based on 4.9-rc1 and add Tomasz quirks V6 pathcset. Tomasz quirks V6 patchset can be found here: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git(pci/ecam-v6) v2 -> v3: - rebase against 4.9-rc1 and add Tomasz quirks V6 pathcset. - obtain rc base addresses from PNP0C02 as subdevice of PNP0A03 instead of hardcode the addresses. - modify hisi_pcie_acpi_rd_conf/hisi_pcie_acpi_wr_conf() according to Arnd comments. v1 -> v2: - rebase against Tomasz RFC V5 quirk mechanism - add ACPI support for the HiSilicon Hip07 SoC PCIe controllers Dongdong Liu (2): PCI: hisi: Add ECAM support for devices that are not RC PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers .../devicetree/bindings/pci/hisilicon-pcie.txt | 15 +- MAINTAINERS | 1 + drivers/acpi/pci_mcfg.c | 15 ++ drivers/pci/host/Kconfig | 12 +- drivers/pci/host/Makefile | 1 + drivers/pci/host/pcie-designware.c | 4 +- drivers/pci/host/pcie-designware.h | 2 + drivers/pci/host/pcie-hisi-acpi.c | 170 +++++++++++++++++++++ drivers/pci/host/pcie-hisi.c | 45 ++++++ include/linux/pci-ecam.h | 4 + 10 files changed, 259 insertions(+), 10 deletions(-) create mode 100755 drivers/pci/host/pcie-hisi-acpi.c -- 1.9.1