From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 2630D58F6 for ; Thu, 20 Dec 2018 00:05:54 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id A37C422136; Wed, 19 Dec 2018 18:05:53 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 19 Dec 2018 18:05:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=lfXF89um4SXaTpa2X6EPzgikCGmz3UC5uLeV1ydxMfM=; b=GrEWKuDnCMP3 qnb7FRXsouGRop8pDRzlVcdfvYSHp0gJMUxTq280hTtAzf5nPxqsIiDzUkwJe6rE fuhZmk8GqlAAiBk26J6jzHCak7W3emar+1Gq+6jut2YM4692U6ms0A9gWY6/nhDg TYdBjULx+zN31FlDEfYdbiJDUpFR3ME= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=lfXF89um4SXaTpa2X6EPzgikCGmz3UC5uLeV1ydxM fM=; b=sMOVujGQg9ORpa8YHTTiZPr00VD+bEga1OzbZNJJ/rqPEbgdppZRc+iBW S1S66dPTerziGHcc6traL9L6FEaMJHChlZ0LC9/l5iPOGz1J+gsowIKRyX1YmL4u 95BO2BnbHpHfGXkErcI9DdUZIolEeQkfbG1l2G66UpzU01lthlOXWNC8or9upiUy 4l8aDIEs8SuHxQY99UJia1HNYyUrXMdQr/GAfSLe6/sQGMynENyQxXwWwT10sIc2 CN1DpoAj/X3g3kuu1gz3AqZ3o5mqKFkXo7DhgOTvVkI5da/c0JhtsS0usN4ylXIl kKemrrn1EA9t9rygGcxs6JwdR4qFg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtkedrudejuddgtdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffufffkjg hfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghsucfoohhnjhgrlhhonhcu oehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkphepjeejrddufeegrddvtd efrddukeegnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id A3FEC100BB; Wed, 19 Dec 2018 18:05:51 -0500 (EST) From: Thomas Monjalon To: "tone.zhang" Cc: dev@dpdk.org, "Burakov, Anatoly" , gavin.hu@arm.com, honnappa.nagarahalli@arm.com, Steve.Capper@arm.com, stephen@networkplumber.org, nd@arm.com Date: Thu, 20 Dec 2018 00:05:50 +0100 Message-ID: <45449763.apuXktMTFV@xps> In-Reply-To: <1c4528d9-7c19-c781-8d83-9e790dc81ffc@intel.com> References: <1542595044-27145-1-git-send-email-tone.zhang@arm.com> <1544613959-14349-1-git-send-email-tone.zhang@arm.com> <1c4528d9-7c19-c781-8d83-9e790dc81ffc@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v4] pci_vfio: Support 64KB kernel page_size with vfio-pci driver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2018 23:05:54 -0000 12/12/2018 12:27, Burakov, Anatoly: > On 12-Dec-18 11:25 AM, tone.zhang wrote: > > With a larger PAGE_SIZE it is possible for the MSI table to very > > close to the end of the BAR s.t. when we align the start and end > > of the MSI table to the PAGE_SIZE, the end offset of the MSI > > table is out of the PCI BAR boundary. > > > > This patch addresses the issue by comparing both the start and the > > end offset of the MSI table with the BAR size, and skip the mapping > > if it is out of Bar scope. > > > > The patch fixes the debug log as below: > > EAL: Skipping BAR0 > > > > Signed-off-by: tone.zhang > > Reviewed-by: Gavin Hu > > Reviewed-by: Honnappa Nagarahalli > > Reviewed-by: Steve Capper > > Reviewed-by: Anatoly Burakov > > --- > > Acked-by: Anatoly Burakov Applied, thanks