From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5B358C43460 for ; Thu, 15 Apr 2021 14:13:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3162E61153 for ; Thu, 15 Apr 2021 14:13:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233332AbhDOONr (ORCPT ); Thu, 15 Apr 2021 10:13:47 -0400 Received: from 8bytes.org ([81.169.241.247]:35078 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231391AbhDOONo (ORCPT ); Thu, 15 Apr 2021 10:13:44 -0400 Received: by theia.8bytes.org (Postfix, from userid 1000) id C1A0F386; Thu, 15 Apr 2021 16:13:20 +0200 (CEST) Date: Thu, 15 Apr 2021 16:13:19 +0200 From: Joerg Roedel To: "Longpeng(Mike)" Cc: iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, David Woodhouse , Lu Baolu , Nadav Amit , Alex Williamson , Kevin Tian , Gonglei , stable@vger.kernel.org Subject: Re: [PATCH v2] iommu/vt-d: Force to flush iotlb before creating superpage Message-ID: References: <20210415004628.1779-1-longpeng2@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210415004628.1779-1-longpeng2@huawei.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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: # v3.0+ > Link: https://lore.kernel.org/linux-iommu/670baaf8-4ff8-4e84-4be3-030b95ab5a5e@huawei.com/ > Suggested-by: Lu Baolu > Signed-off-by: Longpeng(Mike) > --- > 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.