All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64: don't call early_*map() post paging_init()
@ 2015-01-05 18:33 ` Leif Lindholm
  0 siblings, 0 replies; 12+ messages in thread
From: Leif Lindholm @ 2015-01-05 18:33 UTC (permalink / raw)
  To: msalter, linux-arm-kernel, linux-efi, will.deacon, catalin.marinas
  Cc: ard.biesheuvel

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-01-06 13:39 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-05 18:33 [PATCH 0/2] arm64: don't call early_*map() post paging_init() Leif Lindholm
2015-01-05 18:33 ` 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

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.