[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <10776629.UCmL1lPAav@wuerfel>
Date: Wed, 13 Jan 2016 21:39:48 +0100
From: Arnd Bergmann <arnd@...db.de>
To: Brijesh Singh <brijesh.singh@....com>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
mark.rutland@....com, devicetree@...r.kernel.org,
pawel.moll@....com, ijc+devicetree@...lion.org.uk,
linux-ide@...r.kernel.org, robh+dt@...nel.org,
galak@...eaurora.org, tj@...nel.org
Subject: Re: [PATCH] ata: add AMD Seattle platform driver
On Wednesday 13 January 2016 10:55:04 Brijesh Singh wrote:
> On 01/12/2016 08:24 AM, Arnd Bergmann wrote:
> > c) calling into the ACPI interpreter to do platform specific hacks
>
> Thanks for explaining. Now I understood your comment on AML however we need to consider the following:
>
> a) activity LED blinking routines are called very frequent (10 to 100ms based on emp->state) and executing AML method that often would introduces its own overhead.
>
> b) all BIOS vendors need to implement a new methods in their DSDT and release a new BIOS.
>
> c) other OS'es (mainly Windows) driver need to be updated.
>
>
> We don't know how many other SoC's have similar hacky implementation which can take advantage of extending generic
> AHCI driver to call into AML methods for LED blink. Given some of these causes I think having a platform driver is much cleaner. I can drop DT binding part from this driver and keep just ACPI binding.
>
> Thoughts ?
I don't care what you do with ACPI, just make sure we can use the generic
driver without any platform specific hacks for the DT case.
For ACPI, please talk to the respective maintainers about whether they want
to have a custom driver for this case, or a proper abstraction in the generic
driver.
Arnd
Powered by blists - more mailing lists