From: Peter Maydell <peter.maydell@linaro.org>
To: Sergey Fedorov <serge.fdrv@gmail.com>
Cc: QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] target-arm: use extended address bits from supersection short descriptor
Date: Mon, 1 Jun 2015 18:02:53 +0100 [thread overview]
Message-ID: <CAFEAcA8tG25C53iZoZpawzORUT-mzWB5KQSAnYHEGhSC-_uKqg@mail.gmail.com> (raw)
In-Reply-To: <1432810851-8648-1-git-send-email-serge.fdrv@gmail.com>
On 28 May 2015 at 12:00, Sergey Fedorov <serge.fdrv@gmail.com> wrote:
> ---
> target-arm/helper.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/target-arm/helper.c b/target-arm/helper.c
> index 5d0f011..fc3f192 100644
> --- a/target-arm/helper.c
> +++ b/target-arm/helper.c
> @@ -5333,6 +5333,8 @@ static int get_phys_addr_v6(CPUARMState *env, uint32_t address, int access_type,
> if (desc & (1 << 18)) {
> /* Supersection. */
> phys_addr = (desc & 0xff000000) | (address & 0x00ffffff);
> + phys_addr |= ((uint64_t)extract32(desc, 20, 4) << 32);
> + phys_addr |= ((uint64_t)extract32(desc, 5, 4) << 36);
> *page_size = 0x1000000;
> } else {
> /* Section. */
This looks OK codewise, but I can't apply it because you've
forgotten the signed-off-by line.
Can you also provide a useful commit message, please?
Patches should pretty much always have a long-form
commit message, except possibly when they're part of
a large patch series, and rarely even then. (For instance
in this case it's worth mentioning that supporting these
extra bits is IMPDEF in v6 and in v7-without-LPAE but
required in LPAE.)
thanks
-- PMM
next prev parent reply other threads:[~2015-06-01 17:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-28 11:00 [Qemu-devel] [PATCH] target-arm: use extended address bits from supersection short descriptor Sergey Fedorov
2015-06-01 17:02 ` Peter Maydell [this message]
2015-06-01 19:42 ` Sergey Fedorov
2015-06-01 18:41 ` Peter Crosthwaite
2015-06-02 9:01 ` Sergey Fedorov
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=CAFEAcA8tG25C53iZoZpawzORUT-mzWB5KQSAnYHEGhSC-_uKqg@mail.gmail.com \
--to=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=serge.fdrv@gmail.com \
/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).