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=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no 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 7932DC2BB85 for ; Wed, 15 Apr 2020 08:27:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 54DF920775 for ; Wed, 15 Apr 2020 08:27:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2894469AbgDOI1G (ORCPT ); Wed, 15 Apr 2020 04:27:06 -0400 Received: from mga17.intel.com ([192.55.52.151]:39079 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2894462AbgDOI04 (ORCPT ); Wed, 15 Apr 2020 04:26:56 -0400 IronPort-SDR: kdWuOOzaNeKQQjjnTevTVzxYxM2K5kA/m+ItWPMOCsLY2FRghR4E3dLBIwgwq72s6/9Ko/muuo p26/qOyjFmOg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Apr 2020 01:25:59 -0700 IronPort-SDR: 5a7UZZIm9TvTEGcNrZpZNtTbbut9jtRf7FLh9wLYQDttWAjWNSQ/q8K/7MTU+gkqrgGdeQptB9 nTV5e999iZHg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,386,1580803200"; d="scan'208";a="363611763" Received: from blu2-mobl3.ccr.corp.intel.com (HELO [10.254.210.208]) ([10.254.210.208]) by fmsmga001.fm.intel.com with ESMTP; 15 Apr 2020 01:25:57 -0700 Cc: baolu.lu@linux.intel.com, "Raj, Ashok" , "jacob.jun.pan@linux.intel.com" , "Liu, Yi L" , "iommu@lists.linux-foundation.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2 0/7] iommu/vt-d: Add page request draining support To: "Tian, Kevin" , Joerg Roedel References: <20200415052542.30421-1-baolu.lu@linux.intel.com> From: Lu Baolu Message-ID: <86b04dae-ff11-fc4b-551a-17c0ce352843@linux.intel.com> Date: Wed, 15 Apr 2020 16:25:56 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Kevin, On 2020/4/15 15:57, Tian, Kevin wrote: >> From: Lu Baolu >> Sent: Wednesday, April 15, 2020 1:26 PM >> >> When a PASID is stopped or terminated, there can be pending PRQs >> (requests that haven't received responses) in the software and >> remapping hardware. The pending page requests must be drained >> so that the pasid could be reused. The register level interface >> for page request draining is defined in 7.11 of the VT-d spec. >> This series adds the support for page requests draining. > 7.11 doesn't include register-level interface. It just talks about > the general requirements on system software, endpoint device > and its driver. > I will replace this with "spec 7.10 specifies the software steps to drain page requests and response". Best regards, baolu