From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932821AbcGLC2I (ORCPT ); Mon, 11 Jul 2016 22:28:08 -0400 Received: from szxga02-in.huawei.com ([119.145.14.65]:8337 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752716AbcGLC2F (ORCPT ); Mon, 11 Jul 2016 22:28:05 -0400 From: Dongdong Liu To: , , , , , , CC: , , , , , , , Subject: [RFC PATCH 0/3] Add ACPI support for Hisilicon PCIe Host Controller Date: Tue, 12 Jul 2016 10:42:21 +0800 Message-ID: <1468291344-122909-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 X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020205.578455AC.008A,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: aab54cdd9dc1f7a311e31afa9a4f7609 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset adds ACPI support for the HiSilicon Hip05/Hip06 SoC PCIe controllers. The three patches respectively: - re-architect the current HiSilicon driver to make it scalable to the new ACPI quirks. - rework the current HiSilicon driver to add support for ECAM platforms(not RC). - adds the HiSilicon ACPI specific quirks. This patchset is base on Tomasz RFC V4 quirk mechanism: https://lkml.org/lkml/2016/6/28/165 Dongdong Liu (3): PCI: hisi: re-architect Hip05/Hip06 controllers driver to preapare for ACPI 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 | 3 + drivers/pci/host/Kconfig | 7 + drivers/pci/host/Makefile | 3 +- drivers/pci/host/mcfg-quirks.c | 8 ++ drivers/pci/host/mcfg-quirks.h | 8 ++ drivers/pci/host/pcie-designware.c | 3 +- drivers/pci/host/pcie-designware.h | 2 + drivers/pci/host/pcie-hisi-acpi.c | 151 +++++++++++++++++++++ drivers/pci/host/pcie-hisi-common.c | 66 +++++++++ drivers/pci/host/pcie-hisi.c | 143 ++++++++++--------- drivers/pci/host/pcie-hisi.h | 25 ++++ 12 files changed, 351 insertions(+), 83 deletions(-) create mode 100644 drivers/pci/host/pcie-hisi-acpi.c create mode 100644 drivers/pci/host/pcie-hisi-common.c create mode 100644 drivers/pci/host/pcie-hisi.h -- 1.9.1