From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752651AbbCJJV2 (ORCPT ); Tue, 10 Mar 2015 05:21:28 -0400 Received: from mail-pd0-f175.google.com ([209.85.192.175]:36882 "EHLO mail-pd0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751116AbbCJJVY (ORCPT ); Tue, 10 Mar 2015 05:21:24 -0400 Message-ID: <54FEB78B.5040005@linaro.org> Date: Tue, 10 Mar 2015 17:21:15 +0800 From: Hanjun Guo User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Lorenzo Pieralisi CC: Catalin Marinas , "Rafael J. Wysocki" , Will Deacon , Olof Johansson , "grant.likely@linaro.org" , Arnd Bergmann , Mark Rutland , "graeme.gregory@linaro.org" , Sudeep Holla , "jcm@redhat.com" , Marc Zyngier , Mark Brown , Robert Richter , Timur Tabi , Ashwin Chaugule , "suravee.suthikulpanit@amd.com" , "linux-acpi@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linaro-acpi@lists.linaro.org" , Liviu Dudau Subject: Re: [PATCH v9 08/21] ARM64 / ACPI: Introduce PCI stub functions for ACPI References: <1424853601-6675-1-git-send-email-hanjun.guo@linaro.org> <1424853601-6675-9-git-send-email-hanjun.guo@linaro.org> <20150306183157.GC26888@e102568-lin.cambridge.arm.com> In-Reply-To: <20150306183157.GC26888@e102568-lin.cambridge.arm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2015年03月07日 02:31, Lorenzo Pieralisi wrote: > On Wed, Feb 25, 2015 at 08:39:48AM +0000, Hanjun Guo wrote: > > [...] > >> diff --git a/arch/arm64/kernel/pci.c b/arch/arm64/kernel/pci.c >> index 6f93c24..4095379 100644 >> --- a/arch/arm64/kernel/pci.c >> +++ b/arch/arm64/kernel/pci.c >> @@ -10,6 +10,7 @@ >> * >> */ >> >> +#include >> #include >> #include >> #include >> @@ -46,3 +47,27 @@ int pcibios_add_device(struct pci_dev *dev) >> >> return 0; >> } >> + >> +/* >> + * raw_pci_read/write - Platform-specific PCI config space access. >> + */ >> +int raw_pci_read(unsigned int domain, unsigned int bus, >> + unsigned int devfn, int reg, int len, u32 *val) >> +{ >> + return -ENXIO; >> +} >> + >> +int raw_pci_write(unsigned int domain, unsigned int bus, >> + unsigned int devfn, int reg, int len, u32 val) >> +{ >> + return -ENXIO; >> +} >> + > > It would be nice to see: > > https://lkml.org/lkml/2015/2/27/264 > > merged at the same time, so that the two functions above disappear :) I hope so, but MMCONFIG patches are being taken care of by Bjorn, it would be nice to merge them through different tree (and it no harms), and remove those two function when introducing the implementation of pci_acpi_scan_root() in later patches. Thanks Hanjun