From patchwork Thu Jan 14 01:59:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quan Xu X-Patchwork-Id: 8029201 Return-Path: X-Original-To: patchwork-xen-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 47180BEEE5 for ; Thu, 14 Jan 2016 02:03:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 78DD02049C for ; Thu, 14 Jan 2016 02:02:59 +0000 (UTC) Received: from lists.xen.org (lists.xenproject.org [50.57.142.19]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AE31B20499 for ; Thu, 14 Jan 2016 02:02:58 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aJXCf-0002Fd-Hn; Thu, 14 Jan 2016 01:59:57 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aJXCd-0002FY-Hh for xen-devel@lists.xen.org; Thu, 14 Jan 2016 01:59:55 +0000 Received: from [85.158.137.68] by server-16.bemta-3.messagelabs.com id 17/DC-07451-A1107965; Thu, 14 Jan 2016 01:59:54 +0000 X-Env-Sender: quan.xu@intel.com X-Msg-Ref: server-12.tower-31.messagelabs.com!1452736793!15648282!1 X-Originating-IP: [134.134.136.65] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 7.35.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 62441 invoked from network); 14 Jan 2016 01:59:54 -0000 Received: from mga03.intel.com (HELO mga03.intel.com) (134.134.136.65) by server-12.tower-31.messagelabs.com with SMTP; 14 Jan 2016 01:59:54 -0000 Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP; 13 Jan 2016 17:59:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,292,1449561600"; d="scan'208";a="29007357" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga004.fm.intel.com with ESMTP; 13 Jan 2016 17:59:50 -0800 Received: from fmsmsx157.amr.corp.intel.com (10.18.116.73) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 13 Jan 2016 17:59:50 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX157.amr.corp.intel.com (10.18.116.73) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 13 Jan 2016 17:59:50 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.215]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.209]) with mapi id 14.03.0248.002; Thu, 14 Jan 2016 09:59:47 +0800 From: "Xu, Quan" To: Jan Beulich Thread-Topic: [PATCH v4 2/3] VT-d: Reduce spin timeout to 1ms, which can be boot-time changed. Thread-Index: AQHRPVuq/OOLkNoi5EOYzh2apDvgmZ75RigAgAEbzPA= Date: Thu, 14 Jan 2016 01:59:46 +0000 Message-ID: <945CA011AD5F084CBEA3E851C0AB28894B818444@SHSMSX101.ccr.corp.intel.com> References: <1450859136-98482-1-git-send-email-quan.xu@intel.com> <1450859136-98482-3-git-send-email-quan.xu@intel.com> <5696900C02000078000C6704@prv-mh.provo.novell.com> In-Reply-To: <5696900C02000078000C6704@prv-mh.provo.novell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMTMwZTBjN2EtODYwOC00OWUyLWI2ZGItNjRhNzlkYzkzOTZkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjQuMTAuMTkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiY3g4WWk5NFBkKzhJMEFNUHpUNDZ4RFprSm1PZ01UY1FVXC9raXJjTjZXT0E9In0= x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Cc: "Tian, Kevin" , "Wu, Feng" , "george.dunlap@eu.citrix.com" , "andrew.cooper3@citrix.com" , "tim@xen.org" , "xen-devel@lists.xen.org" , "Nakajima, Jun" , "keir@xen.org" Subject: Re: [Xen-devel] [PATCH v4 2/3] VT-d: Reduce spin timeout to 1ms, which can be boot-time changed. X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On 14.01.2016 at 12:58am, wrote: > >>> On 23.12.15 at 09:25, wrote: > > --- a/xen/drivers/passthrough/vtd/qinval.c > > +++ b/xen/drivers/passthrough/vtd/qinval.c > > @@ -28,6 +28,11 @@ > > #include "vtd.h" > > #include "extern.h" > > > > +static int __read_mostly iommu_qi_timeout_ms = 1; > > +integer_param("iommu_qi_timeout_ms", iommu_qi_timeout_ms); > > But wait - this needs to be accompanied by an entry in > docs/misc/xen-command-line.markdown. > Jan, Is the following right? -Quan --- a/docs/misc/xen-command-line.markdown +++ b/docs/misc/xen-command-line.markdown @@ -901,6 +901,14 @@ debug hypervisor only). >> Control the use of Queued Invalidation. +> `qi_timeout_ms` (VT-d) + +> Default: `1` + +> `= ` + +>> Specify the timeout of the VT-d Queued Invalidation in ms. + > `snoop` (Intel) > Default: `true`