Files
linux/drivers
Will Deacon 1e5e789283 UPSTREAM: arm/arm64: Probe for the presence of KVM hypervisor
Although the SMCCC specification provides some limited functionality for
describing the presence of hypervisor and firmware services, this is
generally applicable only to functions designated as "Arm Architecture
Service Functions" and no portable discovery mechanism is provided for
standard hypervisor services, despite having a designated range of
function identifiers reserved by the specification.

In an attempt to avoid the need for additional firmware changes every
time a new function is added, introduce a UID to identify the service
provider as being compatible with KVM. Once this has been established,
additional services can be discovered via a feature bitmap.

Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
[maz: move code to its own file, plug it into PSCI]
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20201209060932.212364-2-jianyong.wu@arm.com
(cherry picked from commit 6e085e0ac9)
Signed-off-by: Will Deacon <willdeacon@google.com>
Bug: 190594147
Change-Id: I820ef716a2316a928d7cc8e5dda5befa543432d5
2021-07-02 10:00:56 +01:00
..
2021-06-16 18:01:35 +02:00
2021-03-07 12:33:33 +01:00
2021-05-14 09:50:24 +02:00
2021-05-20 15:35:25 +02:00
2021-05-20 15:35:25 +02:00
2021-06-03 18:47:38 +02:00
2021-06-30 19:29:52 +02:00
2021-06-30 19:29:52 +02:00
2021-06-30 19:29:52 +02:00
2021-06-21 11:02:28 +02:00
2021-06-24 16:52:23 +02:00
2021-06-30 19:29:52 +02:00
2021-03-04 11:38:21 +01:00
2021-05-22 15:34:48 +02:00
2021-05-15 09:28:55 +02:00
2021-06-03 18:47:38 +02:00
2021-06-30 19:29:52 +02:00
2021-06-30 19:29:52 +02:00
2021-05-15 09:28:55 +02:00
2021-03-07 12:33:33 +01:00
2021-06-30 19:29:52 +02:00
2021-06-30 19:29:52 +02:00
2021-05-15 09:28:55 +02:00
2021-05-20 15:35:25 +02:00
2021-05-20 15:35:25 +02:00
2021-05-27 08:36:46 +02:00
2021-06-24 16:52:23 +02:00
2021-06-30 19:29:52 +02:00
2021-05-15 09:28:55 +02:00
2021-06-30 19:29:52 +02:00
2021-06-24 16:52:23 +02:00
2021-06-03 18:47:38 +02:00
2021-06-12 14:48:14 +02:00
2021-06-24 16:52:23 +02:00
2021-06-12 14:48:14 +02:00
2021-05-27 08:36:46 +02:00