All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: "Kumar, Udit" <u-kumar1@ti.com>
Cc: Andrew Davis <afd@ti.com>, Beleswar Prasad Padhi <b-padhi@ti.com>,
	sjg@chromium.org, xypron.glpk@gmx.de, cfsworks@gmail.com,
	nm@ti.com, hnagalla@ti.com, n-francis@ti.com, jm@ti.com,
	m-chawdhry@ti.com, kamlesh@ti.com, bb@ti.com, j-humphreys@ti.com,
	s-k6@ti.com, j-choudhary@ti.com, d-gole@ti.com,
	u-boot@lists.denx.de
Subject: Re: [PATCH v2 0/7] Add support to boot TI K3 HSM M4 core
Date: Tue, 6 May 2025 11:19:47 -0600	[thread overview]
Message-ID: <20250506171947.GD5430@bill-the-cat> (raw)
In-Reply-To: <40b2ddc2-fe5b-4515-8772-2a2f9f35b5d7@ti.com>

[-- Attachment #1: Type: text/plain, Size: 1528 bytes --]

On Tue, May 06, 2025 at 10:47:57PM +0530, Kumar, Udit wrote:
> 
> On 5/6/2025 8:38 PM, Andrew Davis wrote:
> > On 5/6/25 9:51 AM, Beleswar Prasad Padhi wrote:
> > > Hi Andrew,
> > > 
> > > On 5/6/2025 4:38 PM, Andrew Davis wrote:
> > > > On 5/6/25 5:41 AM, Beleswar Padhi wrote:
> > > > > Some TI K3 SoCs like J721S2, and J784S4 have a HSM (High Security
> > > > > Module) M4F core in the Wakeup Voltage Domain which could be used to
> > > > > run secure services like Authentication. Boot flow for HSM M4 core is
> > > > > different than the general purpose M4F cores, and is as below:
> > > > > 
> > > > 
> > > > The below flow looks exactly like the general purpose M4F cores..
> > > > Why is the HSM core treated differently and this loader not made into
> > > > a normal remote proc driver?
> > > 
> > > 
> > > Not exactly, HSM core is treated differently because of following
> > > exceptions:
> > > 1. Device operations for HSM core (like reset/reset release) are not
> > > handled by DM. TIFS handles that with proc_boot_ctrl TI-SCI calls.
> > 
> > This could be added to the commit message then.
> > 
> > > 2. The HSM firmware is not an ELF image. So we can't use rproc elf
> > > loader with it. Manual memcpy has to be done.
> > > 
> > 
> > Why is the HSM firmware not an ELF image?
> 
> 
> HSM firmwares are loaded by TIFS (in non-GP) flow, and TIFS does not have
> elf parser.

And to be clear, why is that? Since it's preventing the use other
existing workflows...

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

  reply	other threads:[~2025-05-06 17:20 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-06 10:41 [PATCH v2 0/7] Add support to boot TI K3 HSM M4 core Beleswar Padhi
2025-05-06 10:41 ` [PATCH v2 1/7] arm: mach-k3: Add config option for booting HSM core Beleswar Padhi
2025-05-06 10:41 ` [PATCH v2 2/7] spl: Use FIT data address as fallback when 'load' property is absent Beleswar Padhi
2025-05-06 10:41 ` [PATCH v2 3/7] arm: dts: k3-binman: Add template for packing HSM firmware Beleswar Padhi
2025-05-06 10:41 ` [PATCH v2 4/7] arm: dts: k3-{j721s2/j784s4}-binman: Pack HSM firmware inside tispl.bin Beleswar Padhi
2025-05-07  9:39   ` Anshul Dalal
2025-05-07 14:56     ` Beleswar Prasad Padhi
2025-05-07 15:23       ` Andrew Davis
2025-05-08 11:55         ` Anshul Dalal
2025-05-08 11:59         ` Anshul Dalal
2025-05-08 15:03           ` Beleswar Prasad Padhi
2025-05-08 15:28             ` Andrew Davis
2025-05-09  5:15               ` Beleswar Prasad Padhi
2025-11-19 10:15           ` Beleswar Prasad Padhi
2025-05-06 10:42 ` [PATCH v2 5/7] arm: mach-k3: Use FIT image data addr as fallback if 'load' prop is missing Beleswar Padhi
2025-05-06 10:42 ` [PATCH v2 6/7] arm: mach-k3: Explicitly identify TIFSSTUB images when discarding buffers Beleswar Padhi
2025-05-06 10:42 ` [PATCH v2 7/7] arm: mach-k3: r5: common: Add support to boot HSM M4 core Beleswar Padhi
2025-05-06 11:06   ` Andrew Davis
2025-05-06 14:36     ` Beleswar Prasad Padhi
2025-05-08 12:10   ` Anshul Dalal
2025-05-06 11:08 ` [PATCH v2 0/7] Add support to boot TI K3 " Andrew Davis
2025-05-06 14:51   ` Beleswar Prasad Padhi
2025-05-06 15:08     ` Andrew Davis
2025-05-06 17:17       ` Kumar, Udit
2025-05-06 17:19         ` Tom Rini [this message]
2025-05-06 18:12           ` Andrew Davis
2025-05-07  4:16             ` Kumar, Udit
2025-05-07 10:28             ` Beleswar Prasad Padhi
2025-05-07 15:53               ` Andrew Davis

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=20250506171947.GD5430@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=afd@ti.com \
    --cc=b-padhi@ti.com \
    --cc=bb@ti.com \
    --cc=cfsworks@gmail.com \
    --cc=d-gole@ti.com \
    --cc=hnagalla@ti.com \
    --cc=j-choudhary@ti.com \
    --cc=j-humphreys@ti.com \
    --cc=jm@ti.com \
    --cc=kamlesh@ti.com \
    --cc=m-chawdhry@ti.com \
    --cc=n-francis@ti.com \
    --cc=nm@ti.com \
    --cc=s-k6@ti.com \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    --cc=u-kumar1@ti.com \
    --cc=xypron.glpk@gmx.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.