public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Ang, Chee Hong <chee.hong.ang@intel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v1 0/3] Enable HPS execution stage notification
Date: Tue, 7 May 2019 14:08:52 +0000	[thread overview]
Message-ID: <1557238131.85097.19.camel@intel.com> (raw)
In-Reply-To: <28ce7503-dd47-9973-5cc7-ba71b9985e26@denx.de>

On Tue, 2019-05-07 at 15:03 +0200, Marek Vasut wrote:
> On 5/7/19 7:07 AM, chee.hong.ang at intel.com wrote:
> > 
> > From: "Ang, Chee Hong" <chee.hong.ang@intel.com>
> > 
> > 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
> > 
> >  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(+)
> 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.

  reply	other threads:[~2019-05-07 14:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-07  5:07 [U-Boot] [PATCH v1 0/3] Enable HPS execution stage notification chee.hong.ang at intel.com
2019-05-07  5:07 ` [U-Boot] [PATCH v1 1/3] ARM: socfpga: stratix10: Add HPS execution stage notification function chee.hong.ang at intel.com
2019-05-07  5:07 ` [U-Boot] [PATCH v1 2/3] ARM: socfpga: stratix10: To notify SDM when SPL pass control to U-Boot chee.hong.ang at intel.com
2019-05-07  5:07 ` [U-Boot] [PATCH v1 3/3] ARM: socfpga: stratix10: To notify SDM when U-Boot pass control to Linux chee.hong.ang at intel.com
2019-05-07 13:03 ` [U-Boot] [PATCH v1 0/3] Enable HPS execution stage notification Marek Vasut
2019-05-07 14:08   ` Ang, Chee Hong [this message]
2019-05-07 14:39     ` Marek Vasut
2019-05-07 16:59       ` Ang, Chee Hong

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=1557238131.85097.19.camel@intel.com \
    --to=chee.hong.ang@intel.com \
    --cc=u-boot@lists.denx.de \
    /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