Re: [PATCH v2] iommu/vt-d: Force to flush iotlb before creating superpage

From: Nadav Amit
Date: Fri Apr 30 2021 - 18:50:21 EST




> On Apr 15, 2021, at 7:13 AM, Joerg Roedel <joro@xxxxxxxxxx> wrote:
>
> On Thu, Apr 15, 2021 at 08:46:28AM +0800, Longpeng(Mike) wrote:
>> Fixes: 6491d4d02893 ("intel-iommu: Free old page tables before creating superpage")
>> Cc: <stable@xxxxxxxxxxxxxxx> # v3.0+
>> Link: https://lore.kernel.org/linux-iommu/670baaf8-4ff8-4e84-4be3-030b95ab5a5e@xxxxxxxxxx/
>> Suggested-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>
>> Signed-off-by: Longpeng(Mike) <longpeng2@xxxxxxxxxx>
>> ---
>> v1 -> v2:
>> - add Joerg
>> - reconstruct the solution base on the Baolu's suggestion
>> ---
>> drivers/iommu/intel/iommu.c | 52 +++++++++++++++++++++++++++++++++------------
>> 1 file changed, 38 insertions(+), 14 deletions(-)
>
> Applied, thanks.
>

Err.. There is a bug in my patch, and some other problem. I will
investigate and get back to you.

Attachment: signature.asc
Description: Message signed with OpenPGP