From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vijay Kilari Subject: Re: [PATCH v2 1/3] xen/arm: Add ThunderX platform support Date: Tue, 3 Mar 2015 10:39:18 +0530 Message-ID: References: <1424261984-28324-1-git-send-email-vijay.kilari@gmail.com> <1424261984-28324-2-git-send-email-vijay.kilari@gmail.com> <54E487AB.6060703@linaro.org> <1424713864.27930.253.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1424713864.27930.253.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Stefano Stabellini , Prasun Kapoor , Vijaya Kumar K , Julien Grall , Tim Deegan , "xen-devel@lists.xen.org" , Stefano Stabellini , manish.jaggi@caviumnetworks.com List-Id: xen-devel@lists.xenproject.org On Mon, Feb 23, 2015 at 11:21 PM, Ian Campbell wrote: > On Wed, 2015-02-18 at 12:38 +0000, Julien Grall wrote: >> > + uint64_t addr, size; > > Please use paddr_t and PRIpaddr etc. > >> > + res = map_mmio_regions(d, >> > + paddr_to_pfn(addr & PAGE_MASK), >> > + DIV_ROUND_UP(size, PAGE_SIZE), >> > + paddr_to_pfn(addr & PAGE_MASK)); >> >> OOI, why this region is not described in the DT? Is it a PCI device? > It is not PCI device. it is Global SerDes configuration region. It is not mentioned in DT. > I'm curious too. > >> > + if ( res ) >> > + { >> > + printk(XENLOG_ERR "Unable to map to dom%d region" >> >> It would be more clear to specify the name of the region i.e "GSER region" > > Agreed. OK. will be fixed Regards, Vijay