diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2010-03-25 19:32:49 +0300 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-04-04 09:33:43 +0400 |
commit | 3162b6f0c5e1fcad372d64194fb3cb968941b428 (patch) | |
tree | 31cde2251d3fc28c4e77c8dd213bca0a5a2fedfd /drivers/acpi/battery.c | |
parent | 2eaa9cfdf33b8d7fb7aff27792192e0019ae8fc6 (diff) | |
download | linux-3162b6f0c5e1fcad372d64194fb3cb968941b428.tar.xz |
PNPACPI: truncate _CRS windows with _LEN > _MAX - _MIN + 1
The ACPI spec (sec 6.4.3.5 in v4.0) requires that for Address Space Resource
Descriptors, _LEN <= _MAX - _MIN + 1 in all cases, but there are BIOSes that
violate this. We experimentally determined that Windows truncates the
resource so it doesn't extend past _MAX, so let's do the same thing in
Linux.
http://bugzilla.kernel.org/show_bug.cgi?id=15480
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/battery.c')
0 files changed, 0 insertions, 0 deletions