Re: [RFC][PATCH] Reset PCIe devices to address DMA problem on kdumpwith iommu

From: Don Dutile
Date: Fri Sep 21 2012 - 13:58:07 EST


On 09/14/2012 04:03 PM, Konrad Rzeszutek Wilk wrote:
As to the boot parameter to enable this function, you suggested using
reset_devices. I found that on a certain platform resetting devices
caused PCIe error due to a hardware bug. Therefore I think we need
new parameter apart from reset_devices to disable this function on
such a machine.

Wouldn't a DMI quirk be better for this? That way the second kernel
internally would know not to do this.
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
a DMI quirk for a PCIe switch? pci-quirk maybe? there is a hook
in per-device pci reset code path, which could be setup for such
a case.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/