From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: Re: [PATCH] eal: map io resources for non x86 architectures Date: Fri, 18 Dec 2015 15:55:46 +0800 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 Cc: dev@dpdk.org To: Jerin Jacob 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) Content-Disposition: inline In-Reply-To: <20151218063444.GA8572@localhost.localdomain> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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