Re: [PATCH 4/6] pci/dmar/sriov: use physfn to search drhd for VF

From: Chris Wright
Date: Thu Apr 08 2010 - 20:17:21 EST


* Yinghai (yinghai.lu@xxxxxxxxxx) wrote:
> Subject: [PATCH] pci/dmar/sriov: use physfn to search drhd for VF
>
> When virtfn is used, we should use physfn to find correct drhd
>
> -v2: add pci_physfn() Suggested by Roland Dreier <rdreier@xxxxxxxxx>
> do can remove ifdef in dmar.c
> -v3: Chris pointed out we need that for dma_find_matched_atsr_unit too
> also change dmar_pci_device_match() static
>
> Signed-off-by: Yinghai Lu <yinghai@xxxxxxxxxx>
> Acked-by: Roland Dreier <rdreier@xxxxxxxxx>

Looks good

Acked-by: Chris Wright <chrisw@xxxxxxxxxxxx>
--
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/