All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] add support for hs bootflows on am62 devices
@ 2023-03-02 14:07 Kamlesh.Gurudasani.kamlesh
  0 siblings, 0 replies; 7+ messages in thread
From: Kamlesh.Gurudasani.kamlesh @ 2023-03-02 14:07 UTC (permalink / raw)
  To: u-boot; +Cc: Kamlesh Gurudasani

From: Kamlesh Gurudasani <kamlesh@ti.com>

Add support for high security bootflow on am62 devices.

On HS devices, ROM and TIFS will protect the RAM regions with
firewalls. This means the wakeup domain's SPL will need to move the
stack and heap to HSM RAM to ensure it stays within its allotted
memory regions.

Kamlesh Gurudasani (2):
  arm: mach-k3: am62: move scratch board area to HSM RAM
  configs: am62: move stack and heap to HSM RAM

 arch/arm/mach-k3/include/mach/am62_hardware.h |  3 +--
 configs/am62x_evm_r5_defconfig                | 16 +++++++++++-----
 2 files changed, 12 insertions(+), 7 deletions(-)

-- 
2.34.1


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

* Re: [PATCH 0/2] add support for hs bootflows on am62 devices
  2023-03-16 10:35   ` Kamlesh Gurudasani
@ 2023-03-16 18:15     ` Tom Rini
  0 siblings, 0 replies; 7+ messages in thread
From: Tom Rini @ 2023-03-16 18:15 UTC (permalink / raw)
  To: Kamlesh Gurudasani; +Cc: u-boot

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

On Thu, Mar 16, 2023 at 04:05:06PM +0530, Kamlesh Gurudasani wrote:
> Bryan Brattlof <bb@ti.com> writes:
> 
> > Hi Kamlesh!
> >
> > On March  2, 2023 thus sayeth kamlesh@ti.com:
> >> From: Kamlesh Gurudasani <kamlesh@ti.com>
> >> 
> >> Add support for high security bootflow on am62 devices.
> >> 
> >> On HS devices, ROM and TIFS will protect the RAM regions with
> >> firewalls. This means the wakeup domain's SPL will need to move the
> >> stack and heap to HSM RAM to ensure it stays within its allotted
> >> memory regions.
> >> 
> >> Kamlesh Gurudasani (2):
> >>   arm: mach-k3: am62: move scratch board area to HSM RAM
> >>   configs: am62: move stack and heap to HSM RAM
> >> 
> >>  arch/arm/mach-k3/include/mach/am62_hardware.h |  3 +--
> >>  configs/am62x_evm_r5_defconfig                | 16 +++++++++++-----
> >>  2 files changed, 12 insertions(+), 7 deletions(-)
> >
> > Thanks for getting this fixed! Does TIFS drop the On Chip SRAM firewall 
> > completely once it's started? or only for the r5?
> >
> > Reviewed-by: Bryan Brattlof <bb@ti.com>
> >
> > ~Bryan
> Hi Tom,
> 
> Could you please review and merge this patches as these are bug fixes to
> get HS devices working.

Is this a regression fix vs v2023.01 or new feature support? Thanks.

-- 
Tom

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

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

* Re: [PATCH 0/2] add support for hs bootflows on am62 devices
  2023-03-03  1:21 ` Bryan Brattlof
  2023-03-03  9:09   ` Kamlesh Gurudasani
@ 2023-03-16 10:35   ` Kamlesh Gurudasani
  2023-03-16 18:15     ` Tom Rini
  1 sibling, 1 reply; 7+ messages in thread
From: Kamlesh Gurudasani @ 2023-03-16 10:35 UTC (permalink / raw)
  To: Tom Rini; +Cc: u-boot

Bryan Brattlof <bb@ti.com> writes:

> Hi Kamlesh!
>
> On March  2, 2023 thus sayeth kamlesh@ti.com:
>> From: Kamlesh Gurudasani <kamlesh@ti.com>
>> 
>> Add support for high security bootflow on am62 devices.
>> 
>> On HS devices, ROM and TIFS will protect the RAM regions with
>> firewalls. This means the wakeup domain's SPL will need to move the
>> stack and heap to HSM RAM to ensure it stays within its allotted
>> memory regions.
>> 
>> Kamlesh Gurudasani (2):
>>   arm: mach-k3: am62: move scratch board area to HSM RAM
>>   configs: am62: move stack and heap to HSM RAM
>> 
>>  arch/arm/mach-k3/include/mach/am62_hardware.h |  3 +--
>>  configs/am62x_evm_r5_defconfig                | 16 +++++++++++-----
>>  2 files changed, 12 insertions(+), 7 deletions(-)
>
> Thanks for getting this fixed! Does TIFS drop the On Chip SRAM firewall 
> completely once it's started? or only for the r5?
>
> Reviewed-by: Bryan Brattlof <bb@ti.com>
>
> ~Bryan
Hi Tom,

Could you please review and merge this patches as these are bug fixes to
get HS devices working.

Thanks.

~Kamlesh

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

* Re: [PATCH 0/2] add support for hs bootflows on am62 devices
  2023-03-03  1:21 ` Bryan Brattlof
@ 2023-03-03  9:09   ` Kamlesh Gurudasani
  2023-03-16 10:35   ` Kamlesh Gurudasani
  1 sibling, 0 replies; 7+ messages in thread
From: Kamlesh Gurudasani @ 2023-03-03  9:09 UTC (permalink / raw)
  To: Bryan Brattlof; +Cc: u-boot

Bryan Brattlof <bb@ti.com> writes:

> Hi Kamlesh!
>
> On March  2, 2023 thus sayeth kamlesh@ti.com:
>> From: Kamlesh Gurudasani <kamlesh@ti.com>
>> 
>> Add support for high security bootflow on am62 devices.
>> 
>> On HS devices, ROM and TIFS will protect the RAM regions with
>> firewalls. This means the wakeup domain's SPL will need to move the
>> stack and heap to HSM RAM to ensure it stays within its allotted
>> memory regions.
...

>
> Thanks for getting this fixed! Does TIFS drop the On Chip SRAM firewall 
> completely once it's started? or only for the r5?
It is open completely after TIFS drops it.

It is generic RAM, should be available for use to
all cores. Ideally, it should have been opened up by ROM only, then we
wouldn't have run in to this issue. (r5 accessing it before TIFS opens
it up)

Thanks for the review.

> Reviewed-by: Bryan Brattlof <bb@ti.com>
>
> ~Bryan

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

* Re: [PATCH 0/2] add support for hs bootflows on am62 devices
  2023-03-02 14:10 kamlesh
@ 2023-03-03  1:21 ` Bryan Brattlof
  2023-03-03  9:09   ` Kamlesh Gurudasani
  2023-03-16 10:35   ` Kamlesh Gurudasani
  0 siblings, 2 replies; 7+ messages in thread
From: Bryan Brattlof @ 2023-03-03  1:21 UTC (permalink / raw)
  To: kamlesh; +Cc: u-boot

Hi Kamlesh!

On March  2, 2023 thus sayeth kamlesh@ti.com:
> From: Kamlesh Gurudasani <kamlesh@ti.com>
> 
> Add support for high security bootflow on am62 devices.
> 
> On HS devices, ROM and TIFS will protect the RAM regions with
> firewalls. This means the wakeup domain's SPL will need to move the
> stack and heap to HSM RAM to ensure it stays within its allotted
> memory regions.
> 
> Kamlesh Gurudasani (2):
>   arm: mach-k3: am62: move scratch board area to HSM RAM
>   configs: am62: move stack and heap to HSM RAM
> 
>  arch/arm/mach-k3/include/mach/am62_hardware.h |  3 +--
>  configs/am62x_evm_r5_defconfig                | 16 +++++++++++-----
>  2 files changed, 12 insertions(+), 7 deletions(-)

Thanks for getting this fixed! Does TIFS drop the On Chip SRAM firewall 
completely once it's started? or only for the r5?

Reviewed-by: Bryan Brattlof <bb@ti.com>

~Bryan

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

* [PATCH 0/2] add support for hs bootflows on am62 devices
@ 2023-03-02 14:10 kamlesh
  2023-03-03  1:21 ` Bryan Brattlof
  0 siblings, 1 reply; 7+ messages in thread
From: kamlesh @ 2023-03-02 14:10 UTC (permalink / raw)
  To: u-boot; +Cc: Kamlesh Gurudasani

From: Kamlesh Gurudasani <kamlesh@ti.com>

Add support for high security bootflow on am62 devices.

On HS devices, ROM and TIFS will protect the RAM regions with
firewalls. This means the wakeup domain's SPL will need to move the
stack and heap to HSM RAM to ensure it stays within its allotted
memory regions.

Kamlesh Gurudasani (2):
  arm: mach-k3: am62: move scratch board area to HSM RAM
  configs: am62: move stack and heap to HSM RAM

 arch/arm/mach-k3/include/mach/am62_hardware.h |  3 +--
 configs/am62x_evm_r5_defconfig                | 16 +++++++++++-----
 2 files changed, 12 insertions(+), 7 deletions(-)

-- 
2.34.1


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

* Re: [PATCH 0/2] add support for hs bootflows on am62 devices
       [not found] <20230302135043.3174988-1-kamlesh@ti.com>
@ 2023-03-02 14:02 ` Kamlesh Gurudasani
  0 siblings, 0 replies; 7+ messages in thread
From: Kamlesh Gurudasani @ 2023-03-02 14:02 UTC (permalink / raw)
  To: vigneshr, m-chawdhry, j-choudhary, afd, jm, bb; +Cc: u-boot

Kamlesh Gurudasani <kamlesh@ti.com> writes:

Please ignore this series on personal id, bouncing back on u-boot@lists.denx.de

Will debug and post on u-boot@lists.denx.de directly.


> Add support for high security bootflow on am62 devices.
>
> On HS devices, ROM and TIFS will protect the RAM regions with
> firewalls. This means the wakeup domain's SPL will need to move the
> stack and heap to HSM RAM to ensure it stays within its allotted
> memory regions.
>
> Kamlesh Gurudasani (2):
>   arm: mach-k3: am62: move scratch board area to HSM RAM
>   configs: am62: move stack and heap to HSM RAM
>
>  arch/arm/mach-k3/include/mach/am62_hardware.h |  3 +--
>  configs/am62x_evm_r5_defconfig                | 16 +++++++++++-----
>  2 files changed, 12 insertions(+), 7 deletions(-)
>
> -- 
> 2.34.1

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

end of thread, other threads:[~2023-03-16 18:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-02 14:07 [PATCH 0/2] add support for hs bootflows on am62 devices Kamlesh.Gurudasani.kamlesh
  -- strict thread matches above, loose matches on Subject: below --
2023-03-02 14:10 kamlesh
2023-03-03  1:21 ` Bryan Brattlof
2023-03-03  9:09   ` Kamlesh Gurudasani
2023-03-16 10:35   ` Kamlesh Gurudasani
2023-03-16 18:15     ` Tom Rini
     [not found] <20230302135043.3174988-1-kamlesh@ti.com>
2023-03-02 14:02 ` Kamlesh Gurudasani

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.