From: Fedorov Sergey <s.fedorov@samsung.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: a.basov@samsung.com, QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] target-arm: fix TTBCR write masking
Date: Tue, 10 Dec 2013 13:03:42 +0400 [thread overview]
Message-ID: <52A6D8EE.9050406@samsung.com> (raw)
In-Reply-To: <CAFEAcA8-jCW7tBG6n2ELa7Xg03sXe08DbUmkqgZ-35Z+6yqVRw@mail.gmail.com>
This patch is a prerequisite for the following up TrustZone support patches.
Thanks.
Best regards,
Sergey Fedorov
On 12/10/2013 12:57 PM, Peter Maydell wrote:
> On 10 December 2013 06:41, Sergey Fedorov <s.fedorov@samsung.com> wrote:
>> Current implementation is not accurate according to ARMv7-AR reference
>> manual. See "B4.1.153 TTBCR, Translation Table Base Control Register,
>> VMSA | TTBCR format when using the Long-descriptor translation table
>> format". When LPAE feature is supported, EAE, bit[31] selects
>> translation descriptor format and, therefore, TTBCR format.
>>
>> Signed-off-by: Sergey Fedorov <s.fedorov@samsung.com>
> Yeah, when I wrote that I was relying on the fact that all the
> valid bits in a short-format descriptor are also valid in the
> long-format mask, so correct guest software won't care (the
> other bits are UNK/SBZP). However the implementation side
> of UNK/SBZP requires us to treat the bits as RAZ/WI, so this
> patch is correct.
>
> Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
>
> thanks
> -- PMM
>
prev parent reply other threads:[~2013-12-10 9:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-10 6:41 [Qemu-devel] [PATCH] target-arm: fix TTBCR write masking Sergey Fedorov
2013-12-10 8:57 ` Peter Maydell
2013-12-10 9:03 ` Fedorov Sergey [this message]
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=52A6D8EE.9050406@samsung.com \
--to=s.fedorov@samsung.com \
--cc=a.basov@samsung.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.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.