On Don, 2011-09-01 at 13:46 -0400, alexdeucher@gmail.com wrote:
From: Alex Deucher alexander.deucher@amd.com
If the bios or OS sets the pci max read request size to 0 or an invalid value (6,7), it can result in a hang or slowdown. Check and set it to something sane if it's invalid.
Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=42162
v2: use pci reg defines from include/linux/pci_regs.h
Signed-off-by: Alex Deucher alexander.deucher@amd.com
Reviewed-by: Michel Dänzer michel.daenzer@amd.com