Re: [stable][PATCH] PCIe hot-plug for Intel IOMMU

From: Yinghai Lu
Date: Wed Nov 11 2009 - 16:27:15 EST


On Wed, Nov 11, 2009 at 7:23 AM, Fenghua Yu <fenghua.yu@xxxxxxxxx> wrote:
> To support PCIe hot plug in IOMMU, we register a notifier to respond to device
> change action.
>
> When the notifier gets BUS_NOTIFY_UNBOUND_DRIVER, it removes the device from its
> DMAR domain.
>
> A hot added device will be added into an IOMMU domain when it first does IOMMU
> op. So there is no need to add more code for hot add.
>
> Without the patch, after a hot-remove, a hot-added device on the same slot will
> not work.
>
> Signed-off-by: Fenghua Yu <fenghua.yu@xxxxxxxxx>

Tested-by: Yinghai Lu <yinghai@xxxxxxxxxx>

>
> ---
>
> The patch missed 2.6.32 release. Could it be in 2.6.32 stable?

Jesse,
can you push to Linus?

looks like David is too busy.

YH
--
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/