linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] ARM: support PHYS_OFFSET minimum aligned at 64KiB boundary
@ 2020-09-15 13:16 Zhen Lei
  2020-09-15 13:16 ` [PATCH v2 1/2] ARM: fix trivial comments in head.S Zhen Lei
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Zhen Lei @ 2020-09-15 13:16 UTC (permalink / raw)
  To: Daniel Lezcano, Thomas Gleixner, Andrew Morton, Russell King,
	Catalin Marinas, linux-arm-kernel, patches-armlinux,
	linux-kernel
  Cc: Jianguo Chen, Kefeng Wang, Libin, Zhen Lei

v1 --> v2:
Nothing changed, but add mail list: patches@armlinux.org.uk

v1:
Currently, only support the kernels where the base of physical memory is
at a 16MiB boundary. Because the add/sub instructions only contains 8bits
unrotated value. But we can use one more "add/sub" instructions to handle
bits 23-16, to support PHYS_OFFSET minimum aligned at 64KiB boundary.

This function is required at least by some Huawei boards, such as Hi1380
board. Becuase the kernel Image is loaded at 2MiB boundary.

Zhen Lei (2):
  ARM: fix trivial comments in head.S
  ARM: support PHYS_OFFSET minimum aligned at 64KiB boundary

 arch/arm/Kconfig              | 18 +++++++++++++++++-
 arch/arm/include/asm/memory.h | 16 +++++++++++++---
 arch/arm/kernel/head.S        | 31 ++++++++++++++++++++++---------
 3 files changed, 52 insertions(+), 13 deletions(-)

-- 
1.8.3



_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2020-09-28  9:32 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-15 13:16 [PATCH v2 0/2] ARM: support PHYS_OFFSET minimum aligned at 64KiB boundary Zhen Lei
2020-09-15 13:16 ` [PATCH v2 1/2] ARM: fix trivial comments in head.S Zhen Lei
2020-09-15 13:16 ` [PATCH v2 2/2] ARM: support PHYS_OFFSET minimum aligned at 64KiB boundary Zhen Lei
2020-09-15 19:01   ` Russell King - ARM Linux admin
2020-09-16  1:57     ` Leizhen (ThunderTown)
2020-09-16  7:57       ` Russell King - ARM Linux admin
2020-09-17  3:26         ` Leizhen (ThunderTown)
2020-09-17 14:00     ` Ard Biesheuvel
2020-09-21  3:34       ` Leizhen (ThunderTown)
2020-09-21  6:47         ` Ard Biesheuvel
2020-09-21  8:53           ` Leizhen (ThunderTown)
2020-09-22 12:30             ` Leizhen (ThunderTown)
2020-09-28  1:30               ` Leizhen (ThunderTown)
2020-09-28  9:30                 ` Leizhen (ThunderTown)
2020-09-15 13:31 ` [PATCH v2 0/2] " Russell King - ARM Linux admin

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).