[siemens/jailhouse] 603006: arm: Remove HVC dispatching to PSCI services

3 views
Skip to first unread message

GitHub

unread,
Sep 21, 2016, 1:49:28 AM9/21/16
to jailho...@googlegroups.com
Branch: refs/heads/next
Home: https://github.com/siemens/jailhouse
Commit: 603006702fd87fb152d6c5f982cdfa3c2014eadd
https://github.com/siemens/jailhouse/commit/603006702fd87fb152d6c5f982cdfa3c2014eadd
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-09-21 (Wed, 21 Sep 2016)

Changed paths:
M hypervisor/arch/arm/traps.c

Log Message:
-----------
arm: Remove HVC dispatching to PSCI services

The root cell can't be using HVC dispatching as it can't be running a
hypervisor prior to Jailhouse. And we can tell our non-root cells to use
the SMC method for PSCI services.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: 025006ee669f0ba916a5a7b3a7868aea93e9c027
https://github.com/siemens/jailhouse/commit/025006ee669f0ba916a5a7b3a7868aea93e9c027
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-09-21 (Wed, 21 Sep 2016)

Changed paths:
M hypervisor/arch/arm/exception.S
M hypervisor/arch/arm/traps.c

Log Message:
-----------
arm: Reject unknown SMC invocations

Reject every SMC requests except for the emulated PSCI services. This is
required because we have generally no idea about what services are
behind an interface, and even the calling convention is undefined.
Better fail loudly and then resolve the valid cases on a per-platform
basis.

This obsoletes the smc stub in exception.S, so remove it.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Compare: https://github.com/siemens/jailhouse/compare/3ab315f92b5c...025006ee669f
Reply all
Reply to author
Forward
0 new messages