]> git.pld-linux.org Git - packages/kernel.git/commitdiff
- fix bug 43282 - APEI dmesg flood.
authorPaweł Sikora <pluto@pld-linux.org>
Fri, 8 Jun 2012 10:21:47 +0000 (10:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    kernel-small_fixes.patch -> 1.63

kernel-small_fixes.patch

index 9b809da2c299549c8830af6df1b202593eafc761..5da7c5a9f879da3bacab3153782cd7ece6905f53 100644 (file)
@@ -77,3 +77,17 @@ index 7a0c800..ec5ebbb 100644
                /* 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",
This page took 0.06689 seconds and 4 git commands to generate.