public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v2 0/6] Armv8r64 + BASER_FVP board support
@ 2021-08-19 15:53 Peter Hoyes
  2021-08-19 15:53 ` [PATCH v2 1/6] armv8: Disable pointer authentication traps for EL1 Peter Hoyes
                   ` (5 more replies)
  0 siblings, 6 replies; 23+ messages in thread
From: Peter Hoyes @ 2021-08-19 15:53 UTC (permalink / raw)
  To: u-boot; +Cc: patrick.delaunay, sjg, andre.przywara, diego.sueiro, Peter Hoyes

From: Peter Hoyes <Peter.Hoyes@arm.com>

Add support for the Armv8r64 architecture and the BASER_FVP, which uses
the Armv8r64 architecture.

The Armv8r64 architecture has the following features:
 * No non-secure exception levels
 * Highest exception level is always S-EL2
 * There is only a PMSA at S-EL2, which requires new MPU initialization
   logic
 * The VMSA at S-EL1 may not be enabled by default
 * We boot Linux at S-EL1, so a mechanism is required to boot other
   systems (e.g. Xen) at S-EL2

The BASER_FVP board config is implemented on top of the BASE_FVP and
Juno "VExpress" board configs.

The Armv8-R64 architecture reference manual supplement can be found at
https://developer.arm.com/documentation/ddi0600/latest/

Peter Hoyes (6):
  armv8: Disable pointer authentication traps for EL1
  armv8: Ensure EL1&0 VMSA is enabled
  armv8: Add ARMv8 MPU configuration logic
  vexpress64: Add BASER_FVP vexpress board variant
  arm: Use armv8_switch_to_el1 env to switch to EL1
  doc: Add documentation for the Arm vexpress board configs

 arch/arm/Kconfig                              |  7 ++
 arch/arm/cpu/armv8/cache_v8.c                 | 96 ++++++++++++++++++-
 arch/arm/cpu/armv8/fsl-layerscape/spintable.S |  2 +-
 arch/arm/cpu/armv8/transition.S               |  2 +-
 arch/arm/include/asm/armv8/mpu.h              | 61 ++++++++++++
 arch/arm/include/asm/macro.h                  | 28 +++++-
 arch/arm/include/asm/system.h                 | 39 ++++++++
 arch/arm/lib/bootm.c                          | 40 +++++---
 board/armltd/vexpress64/Kconfig               |  5 +-
 board/armltd/vexpress64/vexpress64.c          | 22 +++++
 configs/vexpress_aemv8r_defconfig             | 18 ++++
 doc/README.semihosting                        |  2 +-
 doc/arch/arm64.rst                            |  3 +-
 doc/board/armltd/index.rst                    |  9 ++
 doc/board/armltd/vexpress64.rst               | 57 +++++++++++
 doc/board/index.rst                           |  1 +
 .../{vexpress_aemv8a.h => vexpress_aemv8.h}   | 63 ++++++++----
 17 files changed, 408 insertions(+), 47 deletions(-)
 create mode 100644 arch/arm/include/asm/armv8/mpu.h
 create mode 100644 configs/vexpress_aemv8r_defconfig
 create mode 100644 doc/board/armltd/index.rst
 create mode 100644 doc/board/armltd/vexpress64.rst
 rename include/configs/{vexpress_aemv8a.h => vexpress_aemv8.h} (83%)

-- 
2.25.1


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

end of thread, other threads:[~2021-09-03 14:00 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-19 15:53 [PATCH v2 0/6] Armv8r64 + BASER_FVP board support Peter Hoyes
2021-08-19 15:53 ` [PATCH v2 1/6] armv8: Disable pointer authentication traps for EL1 Peter Hoyes
2021-08-20 14:44   ` Andre Przywara
2021-08-20 15:04     ` Michael Walle
2021-09-02 22:41   ` Tom Rini
2021-08-19 15:53 ` [PATCH v2 2/6] armv8: Ensure EL1&0 VMSA is enabled Peter Hoyes
2021-09-02 22:41   ` Tom Rini
2021-08-19 15:53 ` [PATCH v2 3/6] armv8: Add ARMv8 MPU configuration logic Peter Hoyes
2021-08-20 15:22   ` Andre Przywara
2021-09-02 22:41   ` Tom Rini
2021-08-19 15:53 ` [PATCH v2 4/6] vexpress64: Add BASER_FVP vexpress board variant Peter Hoyes
2021-09-02 22:42   ` Tom Rini
2021-08-19 15:53 ` [PATCH v2 5/6] arm: Use armv8_switch_to_el1 env to switch to EL1 Peter Hoyes
2021-08-20 16:57   ` Andre Przywara
2021-08-20 17:05     ` Tom Rini
2021-08-26 11:36       ` Andre Przywara
2021-09-02 22:42   ` Tom Rini
2021-09-02 23:07     ` Andre Przywara
2021-09-02 23:49       ` Tom Rini
2021-09-03 10:19         ` Peter Hoyes
2021-09-03 14:00           ` Tom Rini
2021-08-19 15:53 ` [PATCH v2 6/6] doc: Add documentation for the Arm vexpress board configs Peter Hoyes
2021-09-02 22:42   ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox