Skip to content

ARM: firmware: improvements to Trusted Foundations support

Alexandre Courbot linux-arm-kernel linux-tegra lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 9 repliesIn review
  2. v15 patches 9 repliesSuperseded

Changes in v2 from the cover letter

- Do not remove TF support from tegra_defconfig (will automatically be taken care of during next configuration update)
- Add a new prepare_idle() operation to firmware_ops that informs the firmware a CPU is going idle (vs. asking the firmware to do it itself as do_idle() does)
- Fix idle states names in TF implementation of prepare_idle to sound less Tegra-specific

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6ARM: trusted_foundations: fix vendor prefix typosarch/arm/firmware/Kconfig arch/arm/include/asm/trusted_foundations.h+2 -20 replies
2/6ARM: trusted_foundations: fallback when TF support is missingarch/arm/include/asm/trusted_foundations.h+8 -30 replies
3/6ARM: firmware: enable Trusted Foundations by defaultarch/arm/firmware/Kconfig+1 -00 replies
4/6ARM: firmware: add prepare_idle() operationarch/arm/include/asm/firmware.h+4 -04 replies
5/6ARM: trusted_foundations: implement prepare_idle()arch/arm/firmware/trusted_foundations.c+19 -10 replies
6/6ARM: tegra: cpuidle: use firmware for power downarch/arm/mach-tegra/cpuidle-tegra114.c+10 -14 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchOlof Johansson
SeriesA-b
1/6
2/6
3/6
4/6
5/6
6/6A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/6] ARM: firmware: improvements to Trusted Foundations support

These (mostly minor) patches fix a few typos, improve points that were agreed upon when the Trusted Foundation series was initially submitted, and more importantly add support for a prepare_idle() firmware operation that informs the firmware a CPU is doing idle. Tegra's cpuidle driver is then also updated accordingly.

These patches should be the last step before device trees for NVIDIA SHIELD and Tegra Note 7 can be submitted.

Changes since v1:
- Do not remove TF support from tegra_defconfig (will automatically be taken care of during next configuration update)
- Add a new prepare_idle() operation to firmware_ops that informs the firmware a CPU is going idle (vs. asking the firmware to do it itself as do_idle() does)
- Fix idle states names in TF implementation of prepare_idle to sound less Tegra-specific

Alexandre Courbot (6):
ARM: trusted_foundations: fix vendor prefix typos
ARM: trusted_foundations: fallback when TF support is missing
ARM: firmware: enable Trusted Foundations by default
ARM: firmware: add prepare_idle() operation
ARM: trusted_foundations: implement prepare_idle()
ARM: tegra: cpuidle: use firmware for power down

 arch/arm/firmware/Kconfig                  |  3 ++-
 arch/arm/firmware/trusted_foundations.c    | 20 +++++++++++++++++++-
 arch/arm/include/asm/firmware.h            |  4 ++++
 arch/arm/include/asm/trusted_foundations.h | 13 +++++++++----
 arch/arm/mach-tegra/cpuidle-tegra114.c     | 11 ++++++++++-
 5 files changed, 44 insertions(+), 7 deletions(-)
Signature · 1 line
1.8.5.3