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

已查看 3 次
跳至第一个未读帖子

GitHub

未读,
2016年9月21日 01:49:282016/9/21
收件人 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
回复全部
回复作者
转发
0 个新帖子