From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id D820ADE6 for ; Wed, 16 Dec 2015 14:41:47 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 16 Dec 2015 05:41:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,437,1444719600"; d="scan'208";a="874890192" Received: from yliu-dev.sh.intel.com (HELO yliu-dev) ([10.239.66.49]) by fmsmga002.fm.intel.com with ESMTP; 16 Dec 2015 05:41:46 -0800 Date: Wed, 16 Dec 2015 21:42:00 +0800 From: Yuanhan Liu To: David Marchand Message-ID: <20151216134200.GA724@yliu-dev.sh.intel.com> References: <1450269064-23608-1-git-send-email-david.marchand@6wind.com> <20151216124834.GR29571@yliu-dev.sh.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH] eal: map io resources for non x86 architectures X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2015 13:41:48 -0000 On Wed, Dec 16, 2015 at 02:34:35PM +0100, David Marchand wrote: > Yuanhan, > > On Wed, Dec 16, 2015 at 1:48 PM, Yuanhan Liu > wrote: > > On Wed, Dec 16, 2015 at 01:31:04PM +0100, David Marchand wrote: > > x86 requires a special set of instructions to access ioports, but other > > architectures let you remap io resources. > > So let eal remap io resources by accepting IORESOURCE_IO flag for > > architectures other than x86. > > One question: this patch could be a replacement of the igbuio_iomap patch > from Santosh? If so, I like it: It's more elegant. > > > Well, yes, unless I missed something since I am no guru :-). Great then. If there is a test-by, I could give my Ack :) (I have no arm or other platform for testing). --yliu