linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Qualcomm SMCCC Session ID Support
@ 2016-08-20  5:51 Andy Gross
  2016-08-20  5:51 ` [PATCH 1/2] arm64: kernel: Add SMC Session ID to results Andy Gross
  2016-08-20  5:51 ` [PATCH 2/2] firmware: qcom: scm: Fix interrupted SCM calls Andy Gross
  0 siblings, 2 replies; 15+ messages in thread
From: Andy Gross @ 2016-08-20  5:51 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: linux-arm-msm, Will Deacon, Catalin Marinas, Srinivas Kandagatla,
	Stephen Boyd, stanimir.varbanov, linux-kernel, patches,
	Bjorn Andersson, Andy Gross

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(-)

-- 
1.9.1

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

end of thread, other threads:[~2016-08-31 14:36 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-20  5:51 [PATCH 0/2] Qualcomm SMCCC Session ID Support Andy Gross
2016-08-20  5:51 ` [PATCH 1/2] arm64: kernel: Add SMC Session ID to results Andy Gross
2016-08-22 13:43   ` Will Deacon
2016-08-22 14:02     ` Andy Gross
2016-08-22 14:53       ` Will Deacon
2016-08-22 15:16         ` Andy Gross
2016-08-23 12:39           ` Andy Gross
2016-08-23  0:38         ` Stephen Boyd
2016-08-23  9:07           ` Lorenzo Pieralisi
2016-08-23 10:38           ` Lorenzo Pieralisi
2016-08-23 12:36             ` Andy Gross
2016-08-30 20:16             ` Andy Gross
2016-08-31 14:36               ` Will Deacon
2016-08-24 18:24   ` Bjorn Andersson
2016-08-20  5:51 ` [PATCH 2/2] firmware: qcom: scm: Fix interrupted SCM calls Andy Gross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).