All of lore.kernel.org
 help / color / mirror / Atom feed
From: Leif Lindholm <leif.lindholm@linaro.org>
To: msalter@redhat.com, linux-arm-kernel@lists.infradead.org,
	linux-efi@vger.kernel.org, will.deacon@arm.com,
	catalin.marinas@arm.com
Cc: ard.biesheuvel@linaro.org
Subject: [PATCH 0/2] arm64: don't call early_*map() post paging_init()
Date: Mon,  5 Jan 2015 18:33:53 +0000	[thread overview]
Message-ID: <1420482835-6444-1-git-send-email-leif.lindholm@linaro.org> (raw)

This (tiny) series resolves a fairly serious problem with
early_ioremap/iounmap/memremap/memunmap on arm64. These functions
cannot safely be called after paging_init(), but the sanity check
was not triggering.

As a result, a fixmap entry was incorrectly cleared during
early_initcalls on arm64 UEFI systems.

1/2 reworks the arm64 UEFI support code to not attempt these calls
and
2/2 enables the sanity check

Leif Lindholm (2):
  arm64: don't make early_*map() calls post paging_init()
  arm64: call early_ioremap_reset() in paging_init()

 arch/arm64/kernel/efi.c   | 12 +++---------
 arch/arm64/kernel/setup.c |  2 --
 arch/arm64/mm/mmu.c       |  1 +
 3 files changed, 4 insertions(+), 11 deletions(-)

-- 
2.1.3

WARNING: multiple messages have this Message-ID (diff)
From: leif.lindholm@linaro.org (Leif Lindholm)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/2] arm64: don't call early_*map() post paging_init()
Date: Mon,  5 Jan 2015 18:33:53 +0000	[thread overview]
Message-ID: <1420482835-6444-1-git-send-email-leif.lindholm@linaro.org> (raw)

This (tiny) series resolves a fairly serious problem with
early_ioremap/iounmap/memremap/memunmap on arm64. These functions
cannot safely be called after paging_init(), but the sanity check
was not triggering.

As a result, a fixmap entry was incorrectly cleared during
early_initcalls on arm64 UEFI systems.

1/2 reworks the arm64 UEFI support code to not attempt these calls
and
2/2 enables the sanity check

Leif Lindholm (2):
  arm64: don't make early_*map() calls post paging_init()
  arm64: call early_ioremap_reset() in paging_init()

 arch/arm64/kernel/efi.c   | 12 +++---------
 arch/arm64/kernel/setup.c |  2 --
 arch/arm64/mm/mmu.c       |  1 +
 3 files changed, 4 insertions(+), 11 deletions(-)

-- 
2.1.3

             reply	other threads:[~2015-01-05 18:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-05 18:33 Leif Lindholm [this message]
2015-01-05 18:33 ` [PATCH 0/2] arm64: don't call early_*map() post paging_init() Leif Lindholm
2015-01-05 18:33 ` [PATCH 1/2] arm64: don't make early_*map() calls " Leif Lindholm
2015-01-05 18:33   ` Leif Lindholm
2015-01-06  9:38   ` Ard Biesheuvel
2015-01-06  9:38     ` Ard Biesheuvel
2015-01-06 13:39     ` Leif Lindholm
2015-01-06 13:39       ` Leif Lindholm
     [not found] ` <1420482835-6444-1-git-send-email-leif.lindholm-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-01-05 18:33   ` [PATCH 2/2] arm64: call early_ioremap_reset() in paging_init() Leif Lindholm
2015-01-05 18:33     ` Leif Lindholm
     [not found]     ` <1420482835-6444-3-git-send-email-leif.lindholm-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-01-06  9:39       ` Ard Biesheuvel
2015-01-06  9:39         ` Ard Biesheuvel

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=1420482835-6444-1-git-send-email-leif.lindholm@linaro.org \
    --to=leif.lindholm@linaro.org \
    --cc=ard.biesheuvel@linaro.org \
    --cc=catalin.marinas@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-efi@vger.kernel.org \
    --cc=msalter@redhat.com \
    --cc=will.deacon@arm.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 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.