From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932337AbbAHR42 (ORCPT ); Thu, 8 Jan 2015 12:56:28 -0500 Received: from exprod5og113.obsmtp.com ([64.18.0.26]:58167 "EHLO mail-ob0-f174.google.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756924AbbAHR41 convert rfc822-to-8bit (ORCPT ); Thu, 8 Jan 2015 12:56:27 -0500 MIME-Version: 1.0 In-Reply-To: <54AE36AF.3070603@linaro.org> References: <1418337070-17644-1-git-send-email-fkan@apm.com> <54AE36AF.3070603@linaro.org> Date: Thu, 8 Jan 2015 09:56:25 -0800 Message-ID: Subject: Re: [PATCH] sata: xgene: add ACPI support for APM X-Gene SATA ports From: Feng Kan To: Hanjun Guo Cc: patches , linux-ide@vger.kernel.org, "linux-kernel@vger.kernel.org" , "linux-acpi@vger.kernel.org" , Mark Salter , tj@kernel.org, hdegoede@redhat.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 7, 2015 at 11:50 PM, Hanjun Guo wrote: > Hi Feng Kan, > > I have some comments below. > > > On 2015年01月08日 01:32, Feng Kan wrote: >> >> Just want to ping this again. >> >> Happy new year >> >> On Thu, Dec 11, 2014 at 2:31 PM, Feng Kan wrote: >>> >>> This adds ACPI support for the APM X-Gene SATA ports. When the system >>> boots using ACPI table, the SATA ports are able to configure using the >>> values supplied by the ACPI table rather than the DTS. >>> >>> Signed-off-by: Feng Kan >>> --- >>> drivers/ata/ahci_xgene.c | 10 ++++++++++ >>> 1 file changed, 10 insertions(+) >>> >>> diff --git a/drivers/ata/ahci_xgene.c b/drivers/ata/ahci_xgene.c >>> index d0c851a..4951392 100644 >>> --- a/drivers/ata/ahci_xgene.c >>> +++ b/drivers/ata/ahci_xgene.c >>> @@ -22,6 +22,7 @@ >>> * NOTE: PM support is not currently available. >>> * >>> */ >>> +#include >>> #include >>> #include >>> #include >>> @@ -521,6 +522,14 @@ disable_resources: >>> return rc; >>> } >>> >>> +#ifdef CONFIG_ACPI >>> +static const struct acpi_device_id xgene_ahci_acpi_match[] = { >>> + { "APMC0D0D", }, > > > When I was going through the PNP and ACPI ID list in > http://www.uefi.org/PNP_ACPI_Registry, I found that > there is no "APMC" for ACPI ID, I only found that there is > a PNP ID "APM" for Applied Memory Tech company, are > you using PNP ID for this one? > > if not, I think you can send a request to UEFI and > request a new ACPI ID of "APMC" for Applied Micro, and then > submit the patch again. > > How to send a request to register the ACPI ID, you can > refer to: > http://www.uefi.org/PNP_ACPI_Registry Hanjun, the documents are bit out of sync. We have received approval and it is present in the document link below. I can also forward the approval letter if it needed. http://download.microsoft.com/download/7/E/7/7E7662CF-CBEA-470B-A97E-CE7CE0D98DC2/ISA%20PNPID%20List.xlsx > > Thanks > Hanjun