[lkml]   [2016]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/2] Qualcomm SMCCC Session ID Support
This set of patches fixes a problem with the recent adoption of the ARM
SMCCC in the Qualcomm SCM firmware. Qualcomm actually uses the optional
Trusted OS Session ID parameter. When SCM calls are interrupted, the
session ID field is populated with a value that must be used when the
SCM call is resumed.

The first patch extends the arm_smccc_res structure to contain the
additional a6 result field and modifies the SMCCC ASM macro to store
register 6 in the additional field. The second patch modifies the
Qualcomm SCM code to use the new result field.

Andy Gross (2):
arm64: kernel: Add SMC Session ID to results
firmware: qcom: scm: Fix interrupted SCM calls

arch/arm64/kernel/asm-offsets.c | 1 +
arch/arm64/kernel/smccc-call.S | 1 +
drivers/firmware/qcom_scm-64.c | 6 ++++--
include/linux/arm-smccc.h | 4 +++-
4 files changed, 9 insertions(+), 3 deletions(-)


 \ /
  Last update: 2016-09-17 09:57    [W:0.152 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site