Created
January 8, 2015 07:23
-
-
Save matthewfl/c85787174ab0c39fa911 to your computer and use it in GitHub Desktop.
patch for the linux kernel to change the way alignments for large memory request from pci devices are handled
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -Naur linux-3.10.0-123.13.2.el7.mfl.x86_64/drivers/pci/setup-bus.c linux-3.10.0-123.13.2.el7.mfl.x86_64-patched/drivers/pci/setup-bus.c | |
--- linux-3.10.0-123.13.2.el7.mfl.x86_64/drivers/pci/setup-bus.c 2014-12-12 16:14:08.000000000 -0800 | |
+++ linux-3.10.0-123.13.2.el7.mfl.x86_64-patched/drivers/pci/setup-bus.c 2015-01-05 01:05:16.111882902 -0800 | |
@@ -962,8 +962,7 @@ | |
dev_warn(&dev->dev, "disabling BAR %d: %pR " | |
"(bad alignment %#llx)\n", i, r, | |
(unsigned long long) align); | |
- r->flags = 0; | |
- continue; | |
+ order = 11; | |
} | |
size += r_size; | |
if (order < 0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment