[PATCH v2 08/16] arm/arm64: KVM: Advertise SMCCC v1.1

Marc Zyngier marc.zyngier at arm.com
Tue Jan 30 04:28:09 PST 2018


On 30/01/18 00:23, Russell King - ARM Linux wrote:
> On Mon, Jan 29, 2018 at 05:45:51PM +0000, Marc Zyngier wrote:
>> The new SMC Calling Convention (v1.1) allows for a reduced overhead
>> when calling into the firmware, and provides a new feature discovery
>> mechanism.
>>
>> Make it visible to KVM guests.
>>
>> Signed-off-by: Marc Zyngier <marc.zyngier at arm.com>
>> ---
>>  Documentation/virtual/kvm/arm/psci.txt | 12 +++++++-----
>>  arch/arm/kvm/handle_exit.c             |  2 +-
>>  arch/arm64/kvm/handle_exit.c           |  2 +-
>>  include/kvm/arm_psci.h                 |  2 +-
>>  include/linux/arm-smccc.h              | 13 +++++++++++++
>>  virt/kvm/arm/psci.c                    | 24 +++++++++++++++++++++++-
>>  6 files changed, 46 insertions(+), 9 deletions(-)
>>
>> diff --git a/Documentation/virtual/kvm/arm/psci.txt b/Documentation/virtual/kvm/arm/psci.txt
>> index 2e49a4e9f084..aafdab887b04 100644
>> --- a/Documentation/virtual/kvm/arm/psci.txt
>> +++ b/Documentation/virtual/kvm/arm/psci.txt
>> @@ -13,7 +13,7 @@ a migration causes a different PSCI version to be exposed out of the
>>  blue to an unsuspecting guest.
>>  
>>  In order to remedy this situation, KVM exposes a set of "firmware
>> -pseuodo-registers" that can be manipulated using the GET/SET_ONE_REG
>> +pseudo-registers" that can be manipulated using the GET/SET_ONE_REG
> 
> This should surely be in patch 7?

Indeed. Thanks for the heads up.

	M.
-- 
Jazz is not dead. It just smells funny...



More information about the linux-arm-kernel mailing list