packages: kernel/kernel-small_fixes.patch - fix bug 43282 - APEI dmesg flood.
pluto
pluto at pld-linux.org
Fri Jun 8 12:21:53 CEST 2012
Author: pluto Date: Fri Jun 8 10:21:53 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- fix bug 43282 - APEI dmesg flood.
---- Files affected:
packages/kernel:
kernel-small_fixes.patch (1.62 -> 1.63)
---- Diffs:
================================================================
Index: packages/kernel/kernel-small_fixes.patch
diff -u packages/kernel/kernel-small_fixes.patch:1.62 packages/kernel/kernel-small_fixes.patch:1.63
--- packages/kernel/kernel-small_fixes.patch:1.62 Tue May 29 21:24:50 2012
+++ packages/kernel/kernel-small_fixes.patch Fri Jun 8 12:21:47 2012
@@ -77,3 +77,17 @@
/* purge any lower objects after partial_lookup */
if (bindex < orig_bstart || bindex > orig_bend) {
dput(lower_dentry);
+--- linux-3.4.orig/drivers/acpi/apei/apei-base.c 2012-06-08 10:02:06.000000000 +0200
++++ linux-3.4/drivers/acpi/apei/apei-base.c 2012-06-08 10:04:16.503779775 +0200
+@@ -586,6 +586,11 @@ static int apei_check_gar(struct acpi_ge
+ }
+ *access_bit_width = 1UL << (access_size_code + 2);
+
++ /* Fixup common BIOS bug */
++ if (bit_width == 32 && bit_offset == 0 && (*paddr & 0x03) == 0 &&
++ *access_bit_width < 32)
++ *access_bit_width = 32;
++
+ if ((bit_width + bit_offset) > *access_bit_width) {
+ pr_warning(FW_BUG APEI_PFX
+ "Invalid bit width + offset in GAR [0x%llx/%u/%u/%u/%u]\n",
================================================================
---- CVS-web:
http://cvs.pld-linux.org/packages/kernel/kernel-small_fixes.patch?r1=1.62&r2=1.63
More information about the pld-cvs-commit
mailing list