From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hanjun Guo Subject: Re: [PATCH] sata: xgene: add ACPI support for APM X-Gene SATA ports Date: Tue, 13 Jan 2015 14:29:30 +0800 Message-ID: <54B4BB4A.9040901@linaro.org> References: <1418337070-17644-1-git-send-email-fkan@apm.com> <54AE36AF.3070603@linaro.org> <54AEC6D5.1050806@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from mail-pa0-f46.google.com ([209.85.220.46]:37554 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751083AbbAMG3r (ORCPT ); Tue, 13 Jan 2015 01:29:47 -0500 Received: by mail-pa0-f46.google.com with SMTP id lf10so1765330pab.5 for ; Mon, 12 Jan 2015 22:29:46 -0800 (PST) In-Reply-To: Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Suman Tripathi Cc: Feng Kan , patches , "linux-ide@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-acpi@vger.kernel.org" , Mark Salter , Tejun Heo , hdegoede@redhat.com On 2015=E5=B9=B401=E6=9C=8813=E6=97=A5 05:07, Suman Tripathi wrote: > Hi, > > Tested-by: Suman Tripathi > > On Thu, Jan 8, 2015 at 11:35 PM, Hanjun Guo > wrote: > > On 2015=E5=B9=B401=E6=9C=8809=E6=97=A5 01:56, Feng Kan wrote: > > On Wed, Jan 7, 2015 at 11:50 PM, Hanjun Guo > > wrote: > > Hi Feng Kan, > > I have some comments below. > > > On 2015=E5=B9=B401=E6=9C=8808=E6=97=A5 01:32, Feng Kan wr= ote: > > > 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 t= o > 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 availabl= e. > * > */ > +#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[] =3D { > + { "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 i= s > 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 th= en > 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 > > > > Sorry for missing this link, I think I should report this > inconsistency to ACPI spec working group and then update it > accordingly. Also I had reported this issue to ASWG and some people will check with this issue and fix it, so Reviewed-by: Hanjun Guo Thanks Hanjun