Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1466779

[PATCH 0/2] Qualcomm SMCCC Session ID Support

From Andy Gross <andy.gross@linaro.org>
Newsgroups linux.kernel
Subject [PATCH 0/2] Qualcomm SMCCC Session ID Support
Date 2016-08-20 08:00 +0200
Message-ID <s87u1-7r7-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] Qualcomm SMCCC Session ID Support Andy Gross <andy.gross@linaro.org> - 2016-08-20 08:00 +0200
  [PATCH 1/2] arm64: kernel: Add SMC Session ID to results Andy Gross <andy.gross@linaro.org> - 2016-08-20 08:00 +0200
    Re: [PATCH 1/2] arm64: kernel: Add SMC Session ID to results Will Deacon <will.deacon@arm.com> - 2016-08-22 15:50 +0200
      Re: [PATCH 1/2] arm64: kernel: Add SMC Session ID to results Andy Gross <andy.gross@linaro.org> - 2016-08-22 16:10 +0200
        Re: [PATCH 1/2] arm64: kernel: Add SMC Session ID to results Will Deacon <will.deacon@arm.com> - 2016-08-22 17:00 +0200
          Re: [PATCH 1/2] arm64: kernel: Add SMC Session ID to results Andy Gross <andy.gross@linaro.org> - 2016-08-22 17:20 +0200
            Re: [PATCH 1/2] arm64: kernel: Add SMC Session ID to results Andy Gross <andy.gross@linaro.org> - 2016-08-23 14:50 +0200
          Re: [PATCH 1/2] arm64: kernel: Add SMC Session ID to results Stephen Boyd <sboyd@codeaurora.org> - 2016-08-23 02:40 +0200
            Re: [PATCH 1/2] arm64: kernel: Add SMC Session ID to results Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> - 2016-08-23 11:10 +0200
            Re: [PATCH 1/2] arm64: kernel: Add SMC Session ID to results Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> - 2016-08-23 12:40 +0200
              Re: [PATCH 1/2] arm64: kernel: Add SMC Session ID to results Andy Gross <andy.gross@linaro.org> - 2016-08-23 14:40 +0200
    Re: [PATCH 1/2] arm64: kernel: Add SMC Session ID to results Bjorn Andersson <bjorn.andersson@linaro.org> - 2016-08-24 20:30 +0200
  [PATCH 2/2] firmware: qcom: scm: Fix interrupted SCM calls Andy Gross <andy.gross@linaro.org> - 2016-08-20 08:00 +0200

csiph-web