Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp734060yba; Fri, 3 May 2019 09:34:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqyYfmP2N1NN3e6/LyUMZujVezVtiwXMXZZ7SJlsjEtXcDeKxM/tt3ZMafkSrKlhbNuX0g5q X-Received: by 2002:a63:5c4c:: with SMTP id n12mr11586643pgm.111.1556901266444; Fri, 03 May 2019 09:34:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556901266; cv=none; d=google.com; s=arc-20160816; b=xEDkiGWUrv70RNdK3RhzQaK3JfTibt2TpdKCWsIFFV3gelCVlGVldzeqk9OhDco9Ph 6swn6HGi+Zzbso/PV4nf9lJohOr68hrHen38CqRzeRbi18NZO0xhcplWKBZi55TIqhf6 PckC1lu0VsaYAjWiXcdaBwsDAyibpKR6sTfNs1Drq1zpuXxu48C4EeWaQnJ+kEGX+9gS vbYWdf8UCqYQsa9dQwOsyFnWsZvWqG3W0WVmZQWJL6LqrtYLwm2UAP42u/Zrf40kxl1K NQmMeUEULWGq+3YtDhg3KqC98Ic2h5tvUi6EzNXSvPeZBFgAYrSaIwcJwk38y2BNuCXP 9zkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=ty5jcwe/fBsC3322DZqNnX/Va8yVF1eP0RBciSbIUjs=; b=EIIWH2LeYsTJnu0U9CUGr+DBBtavO8xadESSPV7ETPeBbnPNjft7QNb+JhKp/zPJIL 1/WUEh0m7kfBuWUCYYamJgqLuomxm/UKHu8eQ+Jj/EndRqOiBKSO52lQWEvpFepQOFIm +pFuzXQW25C8ABijGaP/5Vkzer+qzxjV8KHUSpAziCF9dhYpr2TFwTQRpaHYrRK5CEdn TmDQtXwbpWml8opHp1k4hqVdK5T9Y1I+8DSETSYA8M6LWUnVW9EvPENNWAfQixNRozVu yNQh41kyTHeAngWHnQVTKE53fSd9ThxmYCa40+eXaS/Ya+Zevoi/Kf0FwyaIE6CsAti9 EVpw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m6si2744087pgq.116.2019.05.03.09.34.10; Fri, 03 May 2019 09:34:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728095AbfECP2L (ORCPT + 99 others); Fri, 3 May 2019 11:28:11 -0400 Received: from 8bytes.org ([81.169.241.247]:39278 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726267AbfECP2L (ORCPT ); Fri, 3 May 2019 11:28:11 -0400 Received: by theia.8bytes.org (Postfix, from userid 1000) id A6D78580; Fri, 3 May 2019 17:28:10 +0200 (CEST) Date: Fri, 3 May 2019 17:28:09 +0200 From: Joerg Roedel To: Tom Murphy Cc: iommu@lists.linux-foundation.org, murphyt7@tcd.ie, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] iommu/amd: flush not present cache in iommu_map_page Message-ID: <20190503152809.GB11605@8bytes.org> References: <20190428234703.13697-1-tmurphy@arista.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190428234703.13697-1-tmurphy@arista.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 29, 2019 at 12:47:02AM +0100, Tom Murphy wrote: > check if there is a not-present cache present and flush it if there is. > > Signed-off-by: Tom Murphy > --- > drivers/iommu/amd_iommu.c | 19 +++++++++++++++---- > 1 file changed, 15 insertions(+), 4 deletions(-) Applied, thanks.