Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753379AbaJFSUB (ORCPT ); Mon, 6 Oct 2014 14:20:01 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:59241 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752961AbaJFST6 (ORCPT ); Mon, 6 Oct 2014 14:19:58 -0400 From: Arnd Bergmann To: Matthew Garrett Cc: Suravee Suthikulanit , catalin.marinas@arm.com, will.deacon@arm.com, linux-arm-kernel@lists.infradead.org, linux-acpi@vger.kernel.org, mark.rutland@arm.com, graeme.gregory@linaro.org, marc.zyngier@arm.com, rjw@rjwysocki.net, linux-kernel@vger.kernel.org, astone@redhat.com, grant.likely@linaro.org, hanjun.guo@linaro.org, Sudeep.Holla@arm.com, olof@lixom.net, jason@lakedaemon.net, "Duran, Leo" , Jon Masters Subject: Re: [PATCH 1/4] ata: ahci_platform: Add ACPI support for AMD Seattle SATA controller Date: Mon, 06 Oct 2014 20:19:37 +0200 Message-ID: <2026795.jAP8HDLAZo@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <20141006163147.GA22482@srcf.ucam.org> References: <1410828446-28502-1-git-send-email-suravee.suthikulpanit@amd.com> <4872185.h11DQxW6kP@wuerfel> <20141006163147.GA22482@srcf.ucam.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V02:K0:DhZMoZ/x4EF6qmkSOm7tW0IRRXTX7VoJR1FDcW5faZc s4FEmFFsvKNvNOOVPQOk0RVBKAFh8tJsLsxA370S8KEv6+VceB fP7gAo9v1sUb/XoOIp5K54RXb87Bkd9iZE/CEnn2/LUkkPD1QW ULC222NjrmoqITWNcuvAOwQj599cXeUTVLVe7+KIONUvSVkY75 F5tMFSO9vVj2v+cqaiy+tgonR9YCWXgtAzsfg25rUijfftFLZ6 W5quLFxM0EFOBoI7XbzgtUkUYx9M4Foj90K6ZKqMoP9ASrX+L0 ZYV2LzAltMb8LTfuG53v1JXyLDtPs0f+RDBvJkPbzcJUjyeP9h acIJtEvItDjYYGLINHR4= X-UI-Out-Filterresults: notjunk:1; Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Monday 06 October 2014 17:31:47 Matthew Garrett wrote: > On Thu, Oct 02, 2014 at 10:39:18AM +0200, Arnd Bergmann wrote: > > > I think part of the problem is that there is no specification for what > > an AHCI device should look like when it's not connected to a PCI > > bus, the AHCI document published by Intel just states: > > One thing that has come out of further discussion on this - ACPI defines > a _CLS object, which allows ACPI devices to declare compatibility with a > PCI class device. We don't have support for it at the moment, but it > would be easy enough to add this to the kernel and then just expose the > AHCI PCI class via _CLS. That would avoid us having problems with people > doing similar things with USB hosts. Interesting. Does this also define a way to get access to registers that are normally in PCI config space, provided they are accessible at all? I'm guessing that it's not extremely important, given that so far all platforms are doing ok without the power management registers or MSI, but I guess it would be nice if we could support those. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/