Bug 15888
Summary: | Unsafe PCIe assumptions in fixed_bar_cap | ||
---|---|---|---|
Product: | Drivers | Reporter: | Petr Vandrovec (petr) |
Component: | PCI | Assignee: | drivers_pci (drivers_pci) |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | akpm, alan |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.34-rc6 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Attachments: | Stop fixed_bar_cap if offset 0x100 is aliased to offset 0x000 |
Description
Petr Vandrovec
2010-04-30 23:41:25 UTC
Please don't send patches via bugzilla - it causes lots of problems with our usual patch management and review processes. Please send this patch via email as per Documentation/SubmittingPatches. Suitable recipients may be found via scripts/get_maintainer.pl. Please also cc myself on the email. Thanks. Since which kernel version did this regress, btw? It was introduced between 2.6.33 and 2.6.34-rc1, when Moorestown platform support was added. Original checkin is: commit a712ffbc199849364c46e9112b93b66de08e2c26 Author: Jesse Barnes <jbarnes@virtuousgeek.org> Date: Thu Feb 4 10:59:27 2010 -0800 x86/PCI: Moorestown PCI support and there was one fix to stop crashing on non-PCIe systems... which unfortunately does not catch AMD's ECS in PCIe-less systems: commit c54113823c777f035fa7444f8841fbccda4a5cc0 Author: Jacob Pan <jacob.jun.pan@intel.com> Date: Wed Feb 24 09:42:50 2010 -0800 x86, pci: Add sanity check for PCI fixed bar probing I was not sure whether my approach with comparing vendor/device ID is acceptable one. If you say it is acceptable approach, I'll send it for inclusion. |