From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 46C0A5A72 for ; Fri, 18 Dec 2015 08:55:15 +0100 (CET) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP; 17 Dec 2015 23:55:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,445,1444719600"; d="scan'208";a="15402814" Received: from yliu-dev.sh.intel.com (HELO yliu-dev) ([10.239.66.49]) by fmsmga004.fm.intel.com with ESMTP; 17 Dec 2015 23:55:13 -0800 Date: Fri, 18 Dec 2015 15:55:46 +0800 From: Yuanhan Liu To: Jerin Jacob Message-ID: <20151218075546.GB18863@yliu-dev.sh.intel.com> References: <2241331.HNmyzf8foi@xps13> <2979402.yeVYlcCDUH@xps13> <20151218053053.GL29571@yliu-dev.sh.intel.com> <20151218063444.GA8572@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151218063444.GA8572@localhost.localdomain> User-Agent: Mutt/1.5.23 (2014-03-12) 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: Fri, 18 Dec 2015 07:55:15 -0000 On Fri, Dec 18, 2015 at 12:04:48PM +0530, Jerin Jacob wrote: > > > # either we need to modify kernel > > > - Make sure all the non-x86 arch to support mapping for > > > iopci region (i.e. pci_mmap_page_range). I don;t think its a correct > > > approach though. > > > or > > > - include /dev/ioport char-mem device file who could do > > > more than byte operation, Note that this implementation does not exist > > > in kernel. I could send an RFC to lkml. > > > > Maybe you could propose the two to lkml, to get some feedbacks from > > those kernel/ARM gurus? Please cc me if you do so. > > IMO, We need to support DPDK-ARM for the old kernels also. If there is no means > to expose iomap region to userspace in the existing kernel then we add that > support through out-of-tree driver like igb_uio and when make become part of > the kernel then we can turn off of the out-of-tree driver based > on the kernel major and minor version numbers. Agreed. (BTW, I have no idea why the CC list of my last reply was shortened to Santosh only. I double checked with my sent box, the mail header sent out looks normal: Date: Fri, 18 Dec 2015 13:30:53 +0800 From: Yuanhan Liu To: Santosh Shukla Cc: Thomas Monjalon , dev@dpdk.org, David Marchand Not sure it's a bug from my mutt email client, or the mailing list) --yliu