Skip to content

xen/arm: Fixes and improvements to SMCCC

Andrew Cooper xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 6 repliesIn review
  2. v10 of 5 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5xen/arm: Fix evaluation of parameters for SMCCC callsxen/arch/arm/include/asm/smccc.h+23 -81 reply
2/5xen/arm: Introduce arm_smccc_guest_smc()xen/arch/arm/firmware/scmi-smc.c xen/arch/arm/include/asm/smccc.h xen/arch/arm/platforms/imx8m.c +2 more+34 -600 replies
3/5xen/arm: Clean up 32bit arm_smccc_1_1_smc()xen/arch/arm/include/asm/smccc.h+22 -231 reply
4/5xen/arm: Rewrite arm_smccc_smc() for arm64xen/arch/arm/arm64/smc.S xen/arch/arm/include/asm/smccc.h+45 -631 reply
5/5xen/arm: Rewrite arm_smccc_*() to return by valuexen/arch/arm/cpuerrata.c xen/arch/arm/include/asm/smccc.h xen/arch/arm/platforms/exynos5.c +4 more+86 -963 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchBertrand Marquis
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-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/5] xen/arm: Fixes and improvements to SMCCC

Patch 1 is a bugfix for the issue reported by Jan Setje-Eilers. It needs backporting to Xen 4.22.

Everything else is because I couldn't bear to leave the code generation in such a bad state.

Only minor changes since v1, in patches 4 and 5.

Andrew Cooper (5):
xen/arm: Fix evaluation of parameters for SMCCC calls xen/arm: Introduce arm_smccc_guest_smc() xen/arm: Clean up 32bit arm_smccc_1_1_smc() xen/arm: Rewrite arm_smccc_smc() for arm64 xen/arm: Rewrite arm_smccc_*() to return by value

 xen/arch/arm/arm64/smc.S                    |  16 --
 xen/arch/arm/cpuerrata.c                    |  18 +-
 xen/arch/arm/firmware/scmi-smc.c            |  16 +-
 xen/arch/arm/include/asm/smccc.h            | 238 +++++++++++---------
 xen/arch/arm/platforms/exynos5.c            |   2 +-
 xen/arch/arm/platforms/imx8m.c              |  16 +-
 xen/arch/arm/platforms/imx8qm.c             |  16 +-
 xen/arch/arm/platforms/seattle.c            |   4 +-
 xen/arch/arm/platforms/xilinx-zynqmp-eemi.c |  17 +-
 xen/arch/arm/psci.c                         |  17 +-
 xen/arch/arm/tee/optee.c                    |  50 ++--
 xen/arch/arm/traps.c                        |   4 +-
 12 files changed, 187 insertions(+), 227 deletions(-)

base-commit: 48728c33e43329c8037575320ce681a65cc13eb7

Signature · 1 line
2.39.5