From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id BDE7E1B32A for ; Tue, 7 Nov 2017 00:25:36 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 4E3D620AFD; Mon, 6 Nov 2017 18:25:36 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Mon, 06 Nov 2017 18:25:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=0F5qZh0jex5fh+rzo7ydeEL0gl Gwn91zClncx5I2cJ0=; b=TpShCsIkg+qtNvixPyLYpIvuOoM9O4L7SEN2AoKtfu MgHtIvwff7dBR1NliUyCIb6cF6mRXZa0RD/jCa2WwfG/ZN17SomgkFMY81SpI2aA e4oMSj6C86eVdWm8QUvryH8Qs8G8meXY9HEvu6pnssKudkHjy/L18gOHb7qhR6ok k= 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-sender:x-me-sender:x-sasl-enc; s=fm1; bh=0F5qZh 0jex5fh+rzo7ydeEL0glGwn91zClncx5I2cJ0=; b=rkBKtaaKGhIZl3X2zQHhOd fyj+qGZTUi9swWr5LsQZxuCbE7igef8jLGc0x89/qE7tpHlIMY8TPn8RvZRPlWkZ D5P8h3fkFmE28Z77DTzWDJTAqVm7LUCKHgCa/yJWJpe4lrtt+e35Fv9k8cJgi6zR eMoyGq8+Rexcu8F76Ng9uuBxkxbtyBagwLX+3tlmgVAiQgMG1cOysYOWS4XQ4dyk A6acFxfgLZlZ9XER0UXMlO/5WkRgDUkRw7P6XK1yDOeoax+qJVzJDS5Ljm0cDr2Q TmgbV0tZZy0xhqCcz+y8kFic7av0bTzbzOlc01WtvvJD6APqtt/K+3oHKi/A5BfQ == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 10A547E6B8; Mon, 6 Nov 2017 18:25:36 -0500 (EST) From: Thomas Monjalon To: Ferruh Yigit Cc: dev@dpdk.org, Sergio Gonzalez Monroy , Jianfeng Tan , Jerin Jacob , Santosh Shukla Date: Tue, 07 Nov 2017 00:25:35 +0100 Message-ID: <3773078.IDCL2VCezq@xps> In-Reply-To: <20171102000600.85309-1-ferruh.yigit@intel.com> References: <20171102000600.85309-1-ferruh.yigit@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] eal: force IOVA PA mode if KNI module inserted 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: Mon, 06 Nov 2017 23:25:36 -0000 02/11/2017 01:06, Ferruh Yigit: > Fix kernel crash with KNI because KNI requires physical addresses. > > When IOVA VA mode used, memzones and mbufs physical address fields > contain virtual addresses. But KNI relies on these fields to enable > kernel access for buffers. Those fields having virtual address cause > crash in kernel. > > This is a workaround until KNI fixed properly to work with virtual > addresses. > > Fixes: 72d013644bd6 ("mem: honor IOVA mode in malloc virt2phy") > > Signed-off-by: Ferruh Yigit Applied, thanks