Hi Ken

 

This is exactly what I thought.

 

Thanks for the answers.

 

Regards,

Bohdan Hunko

 

Cypress Semiconductor Ukraine

Engineer

CSUKR CSS ICW SW FW

Mobile: +38099 50 19 714
Bohdan.Hunko@infineon.com

 

 

From: Ken Liu <Ken.Liu@arm.com>
Sent: Friday, 21 October 2022 04:36
To: Hunko Bohdan (CSUKR CSS ICW SW FW 3) <Bohdan.Hunko@infineon.com>; tf-m@lists.trustedfirmware.org
Cc: nd <nd@arm.com>; Mazurak Roman (CSUKR CSS ICW SW FW) <Roman.Mazurak@infineon.com>
Subject: RE: an521 L3 protection setting questions

 

Caution: This e-mail originated outside Infineon Technologies. Do not click on links or open attachments unless you validate it is safe.

 

Hello Bohdan,

 

Answers for your questions:

 

 

 

BTW, we are cleaning up the implementation, for example, when PRoT partitions run under a privileged level, the MPU region settings actually no longer needed. Hope that would help the code reading.

 

BR

 

/Ken

 

From: Bohdan.Hunko--- via TF-M <tf-m@lists.trustedfirmware.org>
Sent: Thursday, October 20, 2022 8:38 PM
To: tf-m@lists.trustedfirmware.org
Cc: Roman.Mazurak@infineon.com
Subject: [TF-M] an521 L3 protection setting questions

 

Hi all,

 

I have a few questions regarding an521 platform protection settings for Level 3 isolation.

 

In platform/ext/target/arm/mps2/an521/tfm_hal_isolation.c there is an const static struct mpu_armv8m_region_cfg_t region_cfg[] – for L3 it specifies to protect:

 

Also in this file mpu_armv8m_enable() function call specifies PRIVILEGED_DEFAULT_ENABLE for MPU.

 

I have following question to this configuration

 

 

 

Regards,

Bohdan Hunko

 

Cypress Semiconductor Ukraine

Engineer

CSUKR CSS ICW SW FW

Mobile: +38099 50 19 714
Bohdan.Hunko@infineon.com