Re: libata-acpi: allow _GTF on SATA, but disable on PATA for now
From: Kristen Carlson Accardi
Date: Mon Mar 12 2007 - 17:14:49 EST
On Mon, 12 Mar 2007 22:00:15 +0000
Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:
> > Meanwhile, to solve the problem for these people, and without introducing
> > a lot of new code at this stage in the release, perhaps you can suggest
> > a more accurate way to detect PATA vs. SATA so we can fix the bug?
>
> I think the problem starts with the question. It supposes the BIOS knows
> the answer to the question in the first place. It also supposes we
> haven't reconfigured the port in some cases I believe.
>
> My guess is the problem needs approaching from the other end. Ask the
> question "What does the ACPI BIOS expect it to be ?". If I follow the
> spec correctly we can answer that question by asking what methods (_SDD,
> _GTF etc) it provides.
>
> I don't think anything else is reliable.
>
> Alan
>
Ah - ok, so you are saying we could query the device to see if it supports
STM/GTM and then if we were to use the workaround I suggested for this bug
we could just refuse to execute GTF on devices which support STM (since
they may require execution of STM first). If you guys decide you want
the workaround rather than just either disable acpi or remove the acpi patch
entirely, let me know and I'd be glad to rework it, otherwise I'm assuming
you have decided to just disable acpi all together.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/