Skip to content

Enable HPS execution stage notification

Ang u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 3 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH v1 0/3] Enable HPS execution stage notification
Quoted 25 lines · Marek Vasut
Quoted 19 lines · chee.hong.ang at intel.com

From: "Ang, Chee Hong" <[email protected]>

Notify Secure Device Manager (SDM) on the stage of HPS code execution.
In general, there are three main code execution stages:
(1) First Stage Boot Loader (FSBL) which is U-Boot SPL.
(2) Second Stage Boot Loader (SSBL) which is U-Boot.
(3) Operating System which is Linux.

Ang, Chee Hong (3):
  ARM: socfpga: stratix10: Add HPS execution stage notification function
  ARM: socfpga: stratix10: To notify SDM when SPL pass control to U-Boot
  ARM: socfpga: stratix10: To notify SDM when U-Boot pass control to
    Linux

Quoted 5 lines

 arch/arm/mach-socfpga/include/mach/mailbox_s10.h | 7 +++++++ arch/arm/mach-socfpga/mailbox_s10.c              | 6 ++++++ arch/arm/mach-socfpga/misc_s10.c                 | 5 +++++ arch/arm/mach-socfpga/spl_s10.c                  | 6 ++++++

 4 files changed, 24 insertions(+)
Quoted 5 lines

Can we expect any of this mbox stuff to be ever migrated over to DM and
moved into drivers/ instead of constantly adding stuff to mach- socfpga ?

These mailbox stuffs are basically a set of functions shared by SPL, u- boot and Linux (PSCI) which is specific to our platform. Even if we convert this mailbox stuffs to DM and move to drivers/, we still need to duplicate those functions for PSCI which can be called by Linux. We are starting to spend time converting our existing clock manager and etc for S10 platform to DM and will move them to drivers/. But we still need to keep those PSCI stuffs which are specific to our platform in mach-sofcpga.