All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/21] Enable ARM Trusted Firmware for U-Boot
@ 2020-02-19 12:25 chee.hong.ang at intel.com
  2020-02-19 12:25 ` [PATCH v2 01/21] configs: agilex: Remove CONFIG_OF_EMBED chee.hong.ang at intel.com
                   ` (20 more replies)
  0 siblings, 21 replies; 91+ messages in thread
From: chee.hong.ang at intel.com @ 2020-02-19 12:25 UTC (permalink / raw)
  To: u-boot

From: "Ang, Chee Hong" <chee.hong.ang@intel.com>

v2 changes:

- Default defconfig support SPL + ATF + U-Boot boot flow:
  (socfpga_stratix10_defconfig / socfpga_agilex_defconfig)
  
  SPL (EL3) -> ATF-BL31 (EL3) -> U-Boot Proper (EL2) -> Linux (EL1)

  Added new defconfig to support existing SPL + U-Boot (no ATF) boot flow:
  (socfpga_stratix10_nofw_defconfig / socfpga_agilex_nofw_defconfig)

  SPL (EL3) -> U-Boot Proper (EL3) -> Linux (EL1)


- SMC/PSCI calls (EL2) / secure code (EL3) is built in compile time

- Mailbox/FPGA reconfiguration driver now support ATF or without ATF

v1:
https://lists.denx.de/pipermail/u-boot/2019-December/392424.html

These patchsets have dependency on:
https://lists.denx.de/pipermail/u-boot/2019-September/384906.html

Chee Hong Ang (21):
  configs: agilex: Remove CONFIG_OF_EMBED
  arm: socfpga: add fit source file for pack itb with ATF
  arm: socfpga: Add function for checking description from FIT image
  arm: socfpga: Load FIT image with ATF support
  arm: socfpga: Override 'lowlevel_init' to support ATF
  configs: socfpga: Enable FIT image loading with ATF support
  arm: socfpga: Disable "spin-table" method for booting Linux
  arm: socfpga: Add SMC helper function for Intel SOCFPGA (64bits)
  arm: socfpga: Define SMC function identifiers for PSCI SiP services
  arm: socfpga: Add secure register access helper functions for SoC
    64bits
  arm: socfpga: Secure register access for clock manager (SoC 64bits)
  arm: socfpga: Secure register access in PHY mode setup
  arm: socfpga: Secure register access for reading PLL frequency
  mmc: dwmmc: socfpga: Secure register access in MMC driver
  net: designware: socfpga: Secure register access in MAC driver
  arm: socfpga: Secure register access in Reset Manager driver
  arm: socfpga: stratix10: Initialize timer in SPL
  arm: socfpga: Bridge reset invokes SMC service calls in EL2
  arm: socfpga: stratix10: Add ATF support to FPGA reconfig driver
  arm: socfpga: mailbox: Add 'SYSTEM_RESET' PSCI support to
    mbox_reset_cold()
  configs: socfpga: Add defconfig for Agilex and Stratix 10 without ATF
    support

 arch/arm/mach-socfpga/Kconfig                      |   2 -
 arch/arm/mach-socfpga/Makefile                     |   8 +
 arch/arm/mach-socfpga/board.c                      |  10 +
 arch/arm/mach-socfpga/clock_manager_agilex.c       |   5 +-
 arch/arm/mach-socfpga/clock_manager_s10.c          |   5 +-
 arch/arm/mach-socfpga/include/mach/misc.h          |   3 +
 .../mach-socfpga/include/mach/secure_reg_helper.h  |  20 ++
 arch/arm/mach-socfpga/lowlevel_init.S              |  85 +++++
 arch/arm/mach-socfpga/mailbox_s10.c                |   4 +
 arch/arm/mach-socfpga/misc_s10.c                   |  49 ++-
 arch/arm/mach-socfpga/reset_manager_s10.c          |  31 +-
 arch/arm/mach-socfpga/secure_reg_helper.c          |  57 ++++
 arch/arm/mach-socfpga/timer_s10.c                  |   3 +-
 arch/arm/mach-socfpga/wrap_pll_config_s10.c        |   9 +-
 board/altera/soc64/its/fit_spl_atf.its             |  52 +++
 configs/socfpga_agilex_defconfig                   |   9 +-
 ...lex_defconfig => socfpga_agilex_nofw_defconfig} |   2 +-
 configs/socfpga_stratix10_defconfig                |   8 +-
 ..._defconfig => socfpga_stratix10_nofw_defconfig} |   2 +-
 drivers/fpga/stratix10.c                           | 141 +++++++-
 drivers/mmc/socfpga_dw_mmc.c                       |   7 +-
 drivers/net/dwmac_socfpga.c                        |   5 +-
 include/configs/socfpga_soc64_common.h             |   4 +
 include/linux/intel-smc.h                          | 374 +++++++++++++++++++++
 24 files changed, 857 insertions(+), 38 deletions(-)
 create mode 100644 arch/arm/mach-socfpga/include/mach/secure_reg_helper.h
 create mode 100644 arch/arm/mach-socfpga/lowlevel_init.S
 create mode 100644 arch/arm/mach-socfpga/secure_reg_helper.c
 create mode 100644 board/altera/soc64/its/fit_spl_atf.its
 copy configs/{socfpga_agilex_defconfig => socfpga_agilex_nofw_defconfig} (97%)
 copy configs/{socfpga_stratix10_defconfig => socfpga_stratix10_nofw_defconfig} (97%)
 create mode 100644 include/linux/intel-smc.h

-- 
2.7.4

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

end of thread, other threads:[~2020-02-28  8:53 UTC | newest]

Thread overview: 91+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-19 12:25 [PATCH v2 00/21] Enable ARM Trusted Firmware for U-Boot chee.hong.ang at intel.com
2020-02-19 12:25 ` [PATCH v2 01/21] configs: agilex: Remove CONFIG_OF_EMBED chee.hong.ang at intel.com
2020-02-19 17:10   ` Marek Vasut
2020-02-20  2:12     ` Ang, Chee Hong
2020-02-20 16:44       ` Marek Vasut
2020-02-20 17:04         ` Westergreen, Dalon
2020-02-21 16:24           ` Marek Vasut
2020-02-21 18:15             ` Ang, Chee Hong
2020-02-23 13:55               ` Marek Vasut
2020-02-24  2:26                 ` Ang, Chee Hong
2020-02-25 17:55                   ` Marek Vasut
2020-02-25 18:26                     ` Westergreen, Dalon
2020-02-25 18:42                       ` Marek Vasut
2020-02-25 18:56                     ` Westergreen, Dalon
2020-02-19 12:25 ` [PATCH v2 02/21] arm: socfpga: add fit source file for pack itb with ATF chee.hong.ang at intel.com
2020-02-19 12:25 ` [PATCH v2 03/21] arm: socfpga: Add function for checking description from FIT image chee.hong.ang at intel.com
2020-02-19 17:11   ` Marek Vasut
2020-02-19 17:31     ` Dalon L Westergreen
2020-02-19 17:32       ` Marek Vasut
2020-02-19 12:25 ` [PATCH v2 04/21] arm: socfpga: Load FIT image with ATF support chee.hong.ang at intel.com
2020-02-19 12:25 ` [PATCH v2 05/21] arm: socfpga: Override 'lowlevel_init' to support ATF chee.hong.ang at intel.com
2020-02-19 17:13   ` Marek Vasut
2020-02-20  2:27     ` Ang, Chee Hong
2020-02-20 16:44       ` Marek Vasut
2020-02-20 19:05         ` Ang, Chee Hong
2020-02-21 16:26           ` Marek Vasut
2020-02-21 18:35             ` Ang, Chee Hong
2020-02-21 18:46               ` Ang, Chee Hong
2020-02-23 13:59                 ` Marek Vasut
2020-02-19 12:25 ` [PATCH v2 06/21] configs: socfpga: Enable FIT image loading with ATF support chee.hong.ang at intel.com
2020-02-19 17:14   ` Marek Vasut
2020-02-20  2:15     ` Ang, Chee Hong
2020-02-20 16:45       ` Marek Vasut
2020-02-20 20:00         ` Simon Goldschmidt
2020-02-20 22:20           ` Westergreen, Dalon
2020-02-19 12:25 ` [PATCH v2 07/21] arm: socfpga: Disable "spin-table" method for booting Linux chee.hong.ang at intel.com
2020-02-19 12:25 ` [PATCH v2 08/21] arm: socfpga: Add SMC helper function for Intel SOCFPGA (64bits) chee.hong.ang at intel.com
2020-02-19 17:15   ` Marek Vasut
2020-02-20  1:32     ` Ang, Chee Hong
2020-02-19 12:25 ` [PATCH v2 09/21] arm: socfpga: Define SMC function identifiers for PSCI SiP services chee.hong.ang at intel.com
2020-02-19 17:18   ` Marek Vasut
2020-02-20  1:42     ` Ang, Chee Hong
2020-02-20 16:46       ` Marek Vasut
2020-02-19 12:25 ` [PATCH v2 10/21] arm: socfpga: Add secure register access helper functions for SoC 64bits chee.hong.ang at intel.com
2020-02-19 17:20   ` Marek Vasut
2020-02-20  2:02     ` Ang, Chee Hong
2020-02-20 16:47       ` Marek Vasut
2020-02-20 17:54         ` Ang, Chee Hong
2020-02-21 16:31           ` Marek Vasut
2020-02-21 18:01             ` Ang, Chee Hong
2020-02-21 18:07               ` Marek Vasut
2020-02-21 19:06                 ` Ang, Chee Hong
2020-02-23 14:02                   ` Marek Vasut
2020-02-24  2:21                     ` Ang, Chee Hong
2020-02-25 17:54                       ` Marek Vasut
2020-02-26  0:44                         ` Ang, Chee Hong
2020-02-28  2:53                           ` Ang, Chee Hong
2020-02-28  7:46                             ` Simon Goldschmidt
2020-02-28  8:53                               ` Ang, Chee Hong
2020-02-19 12:25 ` [PATCH v2 11/21] arm: socfpga: Secure register access for clock manager (SoC 64bits) chee.hong.ang at intel.com
2020-02-19 17:21   ` Marek Vasut
2020-02-20  2:32     ` Ang, Chee Hong
2020-02-20 16:48       ` Marek Vasut
2020-02-20 18:20         ` Ang, Chee Hong
2020-02-22  5:30   ` Ang, Chee Hong
2020-02-22  7:31     ` Simon Goldschmidt
2020-02-22  9:59       ` Ang, Chee Hong
2020-02-24  9:11         ` Ang, Chee Hong
2020-02-24  9:16           ` Simon Goldschmidt
2020-02-24 10:52             ` Ang, Chee Hong
2020-02-19 12:25 ` [PATCH v2 12/21] arm: socfpga: Secure register access in PHY mode setup chee.hong.ang at intel.com
2020-02-22  5:35   ` Ang, Chee Hong
2020-02-23 14:13     ` Marek Vasut
2020-02-19 12:25 ` [PATCH v2 13/21] arm: socfpga: Secure register access for reading PLL frequency chee.hong.ang at intel.com
2020-02-22  5:40   ` Ang, Chee Hong
2020-02-22 10:05     ` Ang, Chee Hong
2020-02-23 14:14       ` Marek Vasut
2020-02-24  2:06         ` Ang, Chee Hong
2020-02-24  7:15           ` Ang, Chee Hong
2020-02-24  9:13             ` Ang, Chee Hong
2020-02-19 12:25 ` [PATCH v2 14/21] mmc: dwmmc: socfpga: Secure register access in MMC driver chee.hong.ang at intel.com
2020-02-22  5:47   ` Ang, Chee Hong
2020-02-19 12:25 ` [PATCH v2 15/21] net: designware: socfpga: Secure register access in MAC driver chee.hong.ang at intel.com
2020-02-22  5:52   ` Ang, Chee Hong
2020-02-19 12:25 ` [PATCH v2 16/21] arm: socfpga: Secure register access in Reset Manager driver chee.hong.ang at intel.com
2020-02-22  5:59   ` Ang, Chee Hong
2020-02-19 12:25 ` [PATCH v2 17/21] arm: socfpga: stratix10: Initialize timer in SPL chee.hong.ang at intel.com
2020-02-19 12:25 ` [PATCH v2 18/21] arm: socfpga: Bridge reset invokes SMC service calls in EL2 chee.hong.ang at intel.com
2020-02-19 12:25 ` [PATCH v2 19/21] arm: socfpga: stratix10: Add ATF support to FPGA reconfig driver chee.hong.ang at intel.com
2020-02-19 12:25 ` [PATCH v2 20/21] arm: socfpga: mailbox: Add 'SYSTEM_RESET' PSCI support to mbox_reset_cold() chee.hong.ang at intel.com
2020-02-19 12:25 ` [PATCH v2 21/21] configs: socfpga: Add defconfig for Agilex and Stratix 10 without ATF support chee.hong.ang at intel.com

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.