linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [boot-wrapper 0/7] Add Armv8-R AArch64 support
@ 2024-06-06 13:36 Luca Fancellu
  2024-06-06 13:36 ` [boot-wrapper 1/7] aarch64: Rename labels and prepare for lower EL booting Luca Fancellu
                   ` (7 more replies)
  0 siblings, 8 replies; 24+ messages in thread
From: Luca Fancellu @ 2024-06-06 13:36 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: diego.sueiro

Currently, we cannot boot Linux with boot-wrapper on Armv8-R AArch64:
1. The Armv8-R AArch64 profile does not support the EL3.
2. The Armv8-R AArch64 EL2 only supports a PMSA, which Linux does not
support. So it's necessary to drop into EL1 before entering the kernel.
3. There is no EL2 booting code for Armv8-R AArch64 and no
configuration for dropping to EL1 in boot-wrapper.

These patches enable boot-wrapper booting Linux with Armv8-R AArch64.

This is a rework and rebase of a serie already present upstream [1], apart
from patch 3 which is addressing a small bug and patch 6 and 7 which are
introducing support for PSCI boot through hvc conduit and Xen boot under Armv8-R
AArch64.

[1] https://patchwork.kernel.org/project/linux-arm-kernel/cover/20210525062509.201464-1-jaxson.han@arm.com/

Luca Fancellu (7):
  aarch64: Rename labels and prepare for lower EL booting
  aarch64: Prepare for lower EL booting
  aarch64: Remove TSCXT bit set from SCTLR_EL2_RESET
  gic-v3: Prepare for gicv3 with EL2
  aarch64: Introduce EL2 boot code for Armv8-R AArch64
  aarch64: Support PSCI for Armv8-R AArch64
  aarch64: Start Xen on Armv8-R at EL2

 Makefile.am                       |  6 ++-
 arch/aarch32/include/asm/gic-v3.h |  7 +++
 arch/aarch64/boot.S               | 86 ++++++++++++++++++++++++++++---
 arch/aarch64/include/asm/cpu.h    | 14 ++++-
 arch/aarch64/include/asm/gic-v3.h | 20 +++++--
 arch/aarch64/init.c               | 39 ++++++++++++--
 common/gic-v3.c                   |  2 +-
 configure.ac                      | 19 +++++--
 8 files changed, 170 insertions(+), 23 deletions(-)

-- 
2.34.1


_______________________________________________
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] 24+ messages in thread

end of thread, other threads:[~2024-07-16 13:52 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-06 13:36 [boot-wrapper 0/7] Add Armv8-R AArch64 support Luca Fancellu
2024-06-06 13:36 ` [boot-wrapper 1/7] aarch64: Rename labels and prepare for lower EL booting Luca Fancellu
2024-06-06 15:54   ` Andre Przywara
2024-06-06 13:36 ` [boot-wrapper 2/7] aarch64: Prepare " Luca Fancellu
2024-06-06 16:30   ` Andre Przywara
2024-06-06 13:36 ` [boot-wrapper 3/7] aarch64: Remove TSCXT bit set from SCTLR_EL2_RESET Luca Fancellu
2024-06-06 16:39   ` Andre Przywara
2024-06-06 13:36 ` [boot-wrapper 4/7] gic-v3: Prepare for gicv3 with EL2 Luca Fancellu
2024-06-06 17:10   ` Andre Przywara
2024-06-06 13:36 ` [boot-wrapper 5/7] aarch64: Introduce EL2 boot code for Armv8-R AArch64 Luca Fancellu
2024-06-20 17:22   ` Andre Przywara
2024-06-24 12:22     ` Luca Fancellu
2024-07-15  7:17       ` Luca Fancellu
2024-07-15 13:40       ` Andre Przywara
2024-07-16 13:33         ` Luca Fancellu
2024-07-16 13:52           ` Andre Przywara
2024-06-06 13:36 ` [boot-wrapper 6/7] aarch64: Support PSCI " Luca Fancellu
2024-06-21 11:01   ` Andre Przywara
2024-06-06 13:36 ` [boot-wrapper 7/7] aarch64: Start Xen on Armv8-R at EL2 Luca Fancellu
2024-06-21 10:36   ` Andre Przywara
2024-06-24 13:28     ` Luca Fancellu
2024-07-15  7:16       ` Luca Fancellu
2024-07-15 13:12       ` Andre Przywara
2024-06-06 15:42 ` [boot-wrapper 0/7] Add Armv8-R AArch64 support Luca Fancellu

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