From: Ian Campbell <ian.campbell@citrix.com>
To: Shameerali Kolothum Thodi <shameerali.kolothum.thodi@huawei.com>,
"xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>
Cc: "julien.grall@citrix.com" <julien.grall@citrix.com>,
"vijaya.kumar@caviumnetworks.com"
<vijaya.kumar@caviumnetworks.com>
Subject: Re: [PATCH] xen/arm: Correctly read the GICv3 Re-Distributor stride
Date: Wed, 30 Sep 2015 14:30:59 +0100 [thread overview]
Message-ID: <1443619859.16718.190.camel@citrix.com> (raw)
In-Reply-To: <5FC3163CFD30C246ABAA99954A238FA81728BEF3@lhreml504-mbs>
On Wed, 2015-09-30 at 11:29 +0000, Shameerali Kolothum Thodi wrote:
>
> > -----Original Message-----
> > From: Ian Campbell [mailto:ian.campbell@citrix.com]
> > Sent: 30 September 2015 12:04
> > To: Shameerali Kolothum Thodi; xen-devel@lists.xenproject.org
> > Cc: julien.grall@citrix.com; vijaya.kumar@caviumnetworks.com
> > Subject: Re: [PATCH] xen/arm: Correctly read the GICv3 Re-Distributor
> > stride
> >
> > On Wed, 2015-09-30 at 11:54 +0100, Shameerali Kolothum Thodi wrote:
> > > The GICv3 driver read a 32 bit value for the re-distributor stride,
> > > but the dts binding is a two-cell property.
> >
> > The binding doc I have says:
> >
> > - redistributor-stride : If using padding pages, specifies the stride
> > of consecutive redistributors. Must be a multiple of 64kB.
> >
> > i.e. it doesn't say anything about the size. The _example_ is 2 cells,
> > but I don't think that is normative.
> >
> > Unless you can point to a bindings update which specifies strictly two
> > cells then I think the right answer is the use dt_read_number.
>
> You are right. The binding text is not clear. But Linux gic driver from the
> beginning is using the 64 bit value.
The Linux gic driver is also not a normative declaration of the spec.
I think the spec needs to be clarified and then Linux and/or Xen need to be
fixed to follow the spec.
Ian.
next prev parent reply other threads:[~2015-09-30 13:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-30 10:54 [PATCH] xen/arm: Correctly read the GICv3 Re-Distributor stride Shameerali Kolothum Thodi
2015-09-30 11:04 ` Ian Campbell
2015-09-30 11:11 ` Julien Grall
2015-09-30 11:29 ` Shameerali Kolothum Thodi
2015-09-30 13:30 ` Ian Campbell [this message]
2015-09-30 11:06 ` Julien Grall
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1443619859.16718.190.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=julien.grall@citrix.com \
--cc=shameerali.kolothum.thodi@huawei.com \
--cc=vijaya.kumar@caviumnetworks.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).