mbox series

[U-Boot,v2,0/7] AM65x HS device support

Message ID 20190221223512.8310-1-afd@ti.com
Headers show
Series AM65x HS device support | expand

Message

Andrew Davis Feb. 21, 2019, 10:35 p.m. UTC
Hello all,

This series brings up HS device support on the AM65x platform. Support
for HS on K3 family devices is a bit different than previous devices
but for the most part all that has been abstracted into the SECDEV
package, allowing for a rather straight forward implementation here.

Thanks,
Andrew

Changes from v1:
 - Commented on use of .data section
 - Use ti_sci_msg_hdr header directly when possible
 - Rebase and add Reviewed-bys
 - Will add makefile cleanup later as it also affects
   files unrelated to this series

Andrew F. Davis (7):
  arm: K3: Avoid use of MCU_PSRAM0 before SYSFW is loaded
  firmware: ti_sci: Add support for firewall management
  firmware: ti_sci: Modify auth_boot TI-SCI API to match new version
  arm: mach-k3: Add secure device support
  arm: mach-k3: Add secure device build support
  configs: Add a config for AM65x High Security EVM
  doc: Update info on using K3 secure devices

 MAINTAINERS                                  |   4 +
 arch/arm/Kconfig                             |   2 +-
 arch/arm/mach-k3/Makefile                    |   1 +
 arch/arm/mach-k3/am6_init.c                  |  13 +-
 arch/arm/mach-k3/config.mk                   |  25 +++
 arch/arm/mach-k3/config_secure.mk            |  44 ++++
 arch/arm/mach-k3/include/mach/am6_hardware.h |   3 -
 arch/arm/mach-k3/security.c                  |  63 ++++++
 configs/am65x_hs_evm_a53_defconfig           |  74 +++++++
 configs/am65x_hs_evm_r5_defconfig            |  90 +++++++++
 doc/README.ti-secure                         |  20 +-
 drivers/firmware/ti_sci.c                    | 202 ++++++++++++++++++-
 drivers/firmware/ti_sci.h                    | 130 +++++++++++-
 include/linux/soc/ti/ti_sci_protocol.h       |  68 ++++++-
 tools/k3_fit_atf.sh                          |   8 +-
 15 files changed, 718 insertions(+), 29 deletions(-)
 create mode 100644 arch/arm/mach-k3/config_secure.mk
 create mode 100644 arch/arm/mach-k3/security.c
 create mode 100644 configs/am65x_hs_evm_a53_defconfig
 create mode 100644 configs/am65x_hs_evm_r5_defconfig

Comments

Tom Rini April 12, 2019, 4:27 p.m. UTC | #1
On Thu, Feb 21, 2019 at 04:35:05PM -0600, Andrew F. Davis wrote:

> Hello all,
> 
> This series brings up HS device support on the AM65x platform. Support
> for HS on K3 family devices is a bit different than previous devices
> but for the most part all that has been abstracted into the SECDEV
> package, allowing for a rather straight forward implementation here.
> 
> Thanks,
> Andrew
> 
> Changes from v1:
>  - Commented on use of .data section
>  - Use ti_sci_msg_hdr header directly when possible
>  - Rebase and add Reviewed-bys
>  - Will add makefile cleanup later as it also affects
>    files unrelated to this series
> 
> Andrew F. Davis (7):
>   arm: K3: Avoid use of MCU_PSRAM0 before SYSFW is loaded
>   firmware: ti_sci: Add support for firewall management
>   firmware: ti_sci: Modify auth_boot TI-SCI API to match new version
>   arm: mach-k3: Add secure device support
>   arm: mach-k3: Add secure device build support
>   configs: Add a config for AM65x High Security EVM
>   doc: Update info on using K3 secure devices

Can you please rebase this on master and repost?  Thanks!
Andrew Davis April 12, 2019, 4:55 p.m. UTC | #2
On 4/12/19 12:27 PM, Tom Rini wrote:
> On Thu, Feb 21, 2019 at 04:35:05PM -0600, Andrew F. Davis wrote:
> 
>> Hello all,
>>
>> This series brings up HS device support on the AM65x platform. Support
>> for HS on K3 family devices is a bit different than previous devices
>> but for the most part all that has been abstracted into the SECDEV
>> package, allowing for a rather straight forward implementation here.
>>
>> Thanks,
>> Andrew
>>
>> Changes from v1:
>>  - Commented on use of .data section
>>  - Use ti_sci_msg_hdr header directly when possible
>>  - Rebase and add Reviewed-bys
>>  - Will add makefile cleanup later as it also affects
>>    files unrelated to this series
>>
>> Andrew F. Davis (7):
>>   arm: K3: Avoid use of MCU_PSRAM0 before SYSFW is loaded
>>   firmware: ti_sci: Add support for firewall management
>>   firmware: ti_sci: Modify auth_boot TI-SCI API to match new version
>>   arm: mach-k3: Add secure device support
>>   arm: mach-k3: Add secure device build support
>>   configs: Add a config for AM65x High Security EVM
>>   doc: Update info on using K3 secure devices
> 
> Can you please rebase this on master and repost?  Thanks!
> 

Done and sent.

Thanks,
Andrew