Re: [PATCH 0/3] Fix two PEIe hotplug issues
From: Mark Lord
Date: Thu Oct 18 2007 - 17:27:14 EST
Theodore Tso wrote:
On Thu, Oct 18, 2007 at 10:06:14AM -0700, Kristen Carlson Accardi wrote:
No, it actually does violate the spec. Feel free to read it yourself.
We are not supposed to do Native PCIe without first successfully executing
OSC. Period. If you do, you are violating the spec.
To be fair, we have violated the spec before in order to get crappy
hardware or to work around crappy ACPI implementations.
acpi_sleep=s3_bios for example violates the spec, but yet it is the
only way to get certain laptops to suspend/resume correctly.
If we religiously relied upon BIOS support for everything in Linux,
then SATA drives wouldn't be doing anything more than emulating PATA,
and we'd still be doing PIO transfers for most PATA drives.
And ditto for many other areas in the kernel,
but that's the main one that I know a bit about.
The question to ask is whether violating the spec will lead to (a) a
potential system hang/crash, (b) data corruption, (c) physical harm to
the device/laptop.
So far, after a couple of days of intensive (disk!) I/O over the slot,
the answers are NO, NO, and NO.
Cheers
-
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/