Re: [PATCH v17 1/7] arm/arm64: Probe for the presence of KVM hypervisor

2021-02-05 Thread Marc Zyngier
On 2021-02-05 11:19, Will Deacon wrote: On Fri, Feb 05, 2021 at 09:11:00AM +, Steven Price wrote: On 02/02/2021 14:11, Marc Zyngier wrote: > diff --git a/drivers/firmware/smccc/kvm_guest.c b/drivers/firmware/smccc/kvm_guest.c > new file mode 100644 > index ..23ce1ded88b4 > ---

Re: [PATCH v17 1/7] arm/arm64: Probe for the presence of KVM hypervisor

2021-02-05 Thread Will Deacon
On Fri, Feb 05, 2021 at 04:50:27PM +, Marc Zyngier wrote: > On 2021-02-05 11:19, Will Deacon wrote: > > On Fri, Feb 05, 2021 at 09:11:00AM +, Steven Price wrote: > > > On 02/02/2021 14:11, Marc Zyngier wrote: > > > > + for (i = 0; i < 32; ++i) { > > > > + if (res.a0 &

Re: [PATCH v17 1/7] arm/arm64: Probe for the presence of KVM hypervisor

2021-02-05 Thread Marc Zyngier
On 2021-02-05 11:19, Will Deacon wrote: On Fri, Feb 05, 2021 at 09:11:00AM +, Steven Price wrote: On 02/02/2021 14:11, Marc Zyngier wrote: > diff --git a/drivers/firmware/smccc/kvm_guest.c b/drivers/firmware/smccc/kvm_guest.c > new file mode 100644 > index ..23ce1ded88b4 > ---

Re: [PATCH v17 1/7] arm/arm64: Probe for the presence of KVM hypervisor

2021-02-05 Thread Will Deacon
On Fri, Feb 05, 2021 at 09:11:00AM +, Steven Price wrote: > On 02/02/2021 14:11, Marc Zyngier wrote: > > diff --git a/drivers/firmware/smccc/kvm_guest.c > > b/drivers/firmware/smccc/kvm_guest.c > > new file mode 100644 > > index ..23ce1ded88b4 > > --- /dev/null > > +++

Re: [PATCH v17 1/7] arm/arm64: Probe for the presence of KVM hypervisor

2021-02-05 Thread Steven Price
On 02/02/2021 14:11, Marc Zyngier wrote: From: Will Deacon 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

[PATCH v17 1/7] arm/arm64: Probe for the presence of KVM hypervisor

2021-02-02 Thread Marc Zyngier
From: Will Deacon 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