From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ang, Chee Hong Date: Tue, 7 May 2019 14:08:52 +0000 Subject: [U-Boot] [PATCH v1 0/3] Enable HPS execution stage notification In-Reply-To: <28ce7503-dd47-9973-5cc7-ba71b9985e26@denx.de> References: <1557205643-30557-1-git-send-email-chee.hong.ang@intel.com> <28ce7503-dd47-9973-5cc7-ba71b9985e26@denx.de> Message-ID: <1557238131.85097.19.camel@intel.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.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" > > > > 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.