From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
To: Julien Grall <julien.grall@citrix.com>
Cc: edgar.iglesias@xilinx.com, stefano.stabellini@citrix.com,
tim@xen.org, Ian Campbell <ian.campbell@citrix.com>,
xen-devel@lists.xen.org
Subject: Re: [PATCH v4 3/3] xen/iommu: arm: Use p2m_ipa_bits as stage2 input size
Date: Wed, 6 May 2015 15:32:39 +1000 [thread overview]
Message-ID: <20150506053239.GV10142@toto> (raw)
In-Reply-To: <5548D3F2.2030302@citrix.com>
On Tue, May 05, 2015 at 03:30:10PM +0100, Julien Grall wrote:
> On 05/05/15 14:59, Ian Campbell wrote:
> > On Tue, 2015-05-05 at 14:48 +0100, Julien Grall wrote:
> >>> Do we need to also check that we are configuring the same number of
> >>> levels of PT etc, or is that already handled?
> >>
> >> The SMMU only care about the number of IPA bits.
> >
> > What ensures that the starting level of the SMMU matches the starting
> > level of the MMU-s2?
>
> Nothing, it's hardcoded in the SMMU driver for now :/.
>
> It's assuming SL0 = 1 which works fine for ARM32 but would be an issue
> on platform with IPA >= 44 bits.
>
> S2 output size may need to be restrict too depending of the PA bits.
Right, these could cause problems.
I've sent out a v5 of the ipa size series.
I can have a look at these other MMU settings and send follow-up patches if
there is interest?
Cheers,
Edgar
next prev parent reply other threads:[~2015-05-06 5:32 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-01 1:40 [PATCH v4 0/3] Set SMMU s2 input-size based on p2m tables Edgar E. Iglesias
2015-05-01 1:40 ` [PATCH v4 1/3] xen/arm: Re-order iommu_setup to after setup_virt_paging Edgar E. Iglesias
2015-05-05 13:18 ` Ian Campbell
2015-05-01 1:40 ` [PATCH v4 2/3] xen/arm: Add p2m_ipa_bits Edgar E. Iglesias
2015-05-05 13:23 ` Ian Campbell
2015-05-06 4:28 ` Edgar E. Iglesias
2015-05-01 1:40 ` [PATCH v4 3/3] xen/iommu: arm: Use p2m_ipa_bits as stage2 input size Edgar E. Iglesias
2015-05-01 10:22 ` Julien Grall
2015-05-05 13:24 ` Ian Campbell
2015-05-05 13:48 ` Julien Grall
2015-05-05 13:59 ` Ian Campbell
2015-05-05 14:30 ` Julien Grall
2015-05-06 5:32 ` Edgar E. Iglesias [this message]
2015-05-05 13:17 ` [PATCH v4 0/3] Set SMMU s2 input-size based on p2m tables Ian Campbell
2015-05-05 13:45 ` Julien Grall
2015-05-06 3:26 ` Edgar E. Iglesias
2015-05-06 8:54 ` Ian Campbell
2015-05-06 9:17 ` Edgar E. Iglesias
2015-05-06 9:39 ` Ian Campbell
2015-05-06 11:06 ` Julien Grall
2015-05-06 11:50 ` Ian Campbell
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=20150506053239.GV10142@toto \
--to=edgar.iglesias@gmail.com \
--cc=edgar.iglesias@xilinx.com \
--cc=ian.campbell@citrix.com \
--cc=julien.grall@citrix.com \
--cc=stefano.stabellini@citrix.com \
--cc=tim@xen.org \
--cc=xen-devel@lists.xen.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.