linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: marc.zyngier@arm.com (Marc Zyngier)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: head: fix swapper and idmap population with LPAE and big-endian
Date: Mon, 25 Feb 2013 17:05:39 +0100	[thread overview]
Message-ID: <fc39410e45e86f30d1f4fec192f35f64@localhost> (raw)
In-Reply-To: <1361805401-8629-1-git-send-email-will.deacon@arm.com>

On Mon, 25 Feb 2013 15:16:41 +0000, Will Deacon <will.deacon@arm.com>
wrote:
> The LPAE page table format uses 64-bit descriptors, so we need to take
> endianness into account when populating the swapper and idmap tables
> during early initialisation.
> 
> This patch ensures that we store the two words making up each page table
> entry in the correct order when running big-endian.
> 
> Cc: <stable@vger.kernel.org>
> Acked-by: Catalin Marinas <catalin.marinas@arm.com>
> Signed-off-by: Will Deacon <will.deacon@arm.com>

FWIW, tested as a KVM guest.

Tested-by: Marc Zyngier <marc.zyngier@arm.com>

        M.
-- 
Fast, cheap, reliable. Pick two.

  reply	other threads:[~2013-02-25 16:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-25 15:16 [PATCH] ARM: head: fix swapper and idmap population with LPAE and big-endian Will Deacon
2013-02-25 16:05 ` Marc Zyngier [this message]
2013-02-25 20:08   ` Rob Herring
2013-02-25 20:17     ` Marc Zyngier

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=fc39410e45e86f30d1f4fec192f35f64@localhost \
    --to=marc.zyngier@arm.com \
    --cc=linux-arm-kernel@lists.infradead.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).