From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932988AbcHaLer (ORCPT ); Wed, 31 Aug 2016 07:34:47 -0400 Received: from szxga02-in.huawei.com ([119.145.14.65]:3375 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932393AbcHaLep (ORCPT ); Wed, 31 Aug 2016 07:34:45 -0400 From: Dongdong Liu To: , , , , , , CC: , , , , , , , , Subject: [RFC PATCH V2 0/3] Add ACPI support for Hisilicon PCIe Host Controller Date: Wed, 31 Aug 2016 19:48:11 +0800 Message-ID: <1472644094-82731-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.0A090205.57C6C0D0.01F6,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: bbc11a829887e44fe20998c5350643df 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/Hip07 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 V5 quirk mechanism: https://lkml.org/lkml/2016/8/8/273 v1 -> v2 - rebase against Tomasz RFC V5 quirk mechanism - add ACPI support for the HiSilicon Hip07 SoC PCIe controllers 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 | 2 + drivers/pci/host/Kconfig | 8 + drivers/pci/host/Makefile | 3 +- drivers/pci/host/mcfg-quirks.c | 8 + drivers/pci/host/mcfg-quirks.h | 11 ++ drivers/pci/host/pcie-designware.c | 3 +- drivers/pci/host/pcie-designware.h | 2 + drivers/pci/host/pcie-hisi-acpi.c | 189 +++++++++++++++++++++ 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, 392 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