[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2 1/3] xen/arm: Add ThunderX platform support



On Tue, Mar 3, 2015 at 2:33 PM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
> On Tue, 2015-03-03 at 10:39 +0530, Vijay Kilari wrote:
>> On Mon, Feb 23, 2015 at 11:21 PM, Ian Campbell <ian.campbell@xxxxxxxxxx> 
>> 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.
>
> Why not? Should it be?

There is no specific driver in dom0 for this.
It is only used by thunder pci driver in dom0 to configure serdes. In
future we plan to
get rid of this. But for now we can have this mapping.

>
>>
>> > 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
>
>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.