public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: Luca Fancellu <luca.fancellu@arm.com>
To: mark.rutland@arm.com, andre.przywara@arm.com
Cc: linux-arm-kernel@lists.infradead.org
Subject: [boot-wrapper v3 0/4] Add Armv8-R AArch64 support
Date: Wed, 31 Jul 2024 15:10:59 +0100	[thread overview]
Message-ID: <20240731141103.2559706-1-luca.fancellu@arm.com> (raw)

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 work took inspiration from a serie already present upstream [1].

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

Changes from v2:
 - Now this work is based on this serie:
   https://patchwork.kernel.org/project/linux-arm-kernel/cover/20240729161501.1806271-1-mark.rutland@arm.com/
   Given the major rework, dropped every R-by.
Changes from v1:
 - Dropped patch 4 regarding GIC changes, it's not needed anymore.

Luca Fancellu (4):
  Introduce --with-bw-arch for boot-wrapper compile arch
  aarch64: Enable Armv8-R EL2 boot
  aarch64: Implement PSCI for Armv8-R
  aarch64: Start Xen on Armv8-R at EL2

 Makefile.am                    |  7 +++-
 arch/aarch64/boot.S            |  5 +++
 arch/aarch64/include/asm/cpu.h | 24 ++++++++++++
 arch/aarch64/init.c            | 69 ++++++++++++++++++++++++++++++++--
 configure.ac                   | 20 ++++++++--
 5 files changed, 118 insertions(+), 7 deletions(-)

-- 
2.34.1



             reply	other threads:[~2024-07-31 14:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-31 14:10 Luca Fancellu [this message]
2024-07-31 14:11 ` [boot-wrapper v3 1/4] Introduce --with-bw-arch for boot-wrapper compile arch Luca Fancellu
2024-10-11 10:50   ` Mark Rutland
2024-07-31 14:11 ` [boot-wrapper v3 2/4] aarch64: Enable Armv8-R EL2 boot Luca Fancellu
2024-10-11 10:52   ` Mark Rutland
2024-10-14 18:25     ` Luca Fancellu
2024-10-17  9:30       ` Mark Rutland
2024-07-31 14:11 ` [boot-wrapper v3 3/4] aarch64: Implement PSCI for Armv8-R Luca Fancellu
2024-10-11 10:55   ` Mark Rutland
2024-07-31 14:11 ` [boot-wrapper v3 4/4] aarch64: Start Xen on Armv8-R at EL2 Luca Fancellu
2024-10-11 10:56   ` Mark Rutland

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=20240731141103.2559706-1-luca.fancellu@arm.com \
    --to=luca.fancellu@arm.com \
    --cc=andre.przywara@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=mark.rutland@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox