All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH v3 2/2] arm/arm64: KVM: enable 32 bits kvm vcpu events support
@ 2018-10-12 15:36 ` gengdongjiu
  0 siblings, 0 replies; 7+ messages in thread
From: gengdongjiu @ 2018-10-12 15:36 UTC (permalink / raw)
  To: James Morse
  Cc: christoffer.dall, marc.zyngier, suzuki.poulose, peter.maydell,
	drjones, linux-arm-kernel, kvmarm, linux-kernel, kvm

Hi James,

> Hi Dongjiu Geng,
> 
> On 11/10/2018 20:07, Dongjiu Geng wrote:
> > The commit 539aee0edb9f ("KVM: arm64: Share the parts of get/set
> > events useful to 32bit") shares the get/set events helper for arm64
> > and arm32,
> 
> Oops. I evidently didn't test this bit. Looks like I just depended on the symbol to be defined, I didn't check the CAP was exposed.

Yes, you do not check the CAP when you test it.

> 
> 
> > it is better also share the check
> > for vcpu events capability to enable 32 bit kvm vcpu events support.
> 
> not just better, necessary for correctly-written user-space to know the feature is supported. This last bit would be clearer as: "but forgot to
> share the cap extension code."

Ok, will update it.

> 
> 
> Thanks for catching this!

You are welcome

> 
> Acked-by: James Morse <james.morse@arm.com>
> 
> 
> Thanks,
> 
> James


^ permalink raw reply	[flat|nested] 7+ messages in thread
* [PATCH v3 0/2] rename function name and enable 32bit vcpu events
@ 2018-10-11 19:07 Dongjiu Geng
  2018-10-11 19:07   ` Dongjiu Geng
  0 siblings, 1 reply; 7+ messages in thread
From: Dongjiu Geng @ 2018-10-11 19:07 UTC (permalink / raw)
  To: christoffer.dall, marc.zyngier, suzuki.poulose, peter.maydell,
	drjones, james.morse, linux-arm-kernel, kvmarm, linux-kernel,
	kvm
  Cc: gengdongjiu

Rename the kvm_arch_dev_ioctl_check_extension() to 
kvm_arch_vm_ioctl_check_extension, because the name
is not reasonable; 

Enable the 32 bit vcpu events support.

Change since v2:
1. Address Suzuki's comments to update the patch commit messages

change since v1:
1. Update patch commit messages.

Dongjiu Geng (2):
  arm/arm64: KVM: rename function kvm_arch_dev_ioctl_check_extension()
  arm/arm64: KVM: enable 32 bits kvm vcpu events support

 arch/arm/include/asm/kvm_host.h   | 2 +-
 arch/arm64/include/asm/kvm_host.h | 2 +-
 arch/arm64/kvm/reset.c            | 5 ++---
 virt/kvm/arm/arm.c                | 3 ++-
 4 files changed, 6 insertions(+), 6 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-10-12 15:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-12 15:36 [PATCH v3 2/2] arm/arm64: KVM: enable 32 bits kvm vcpu events support gengdongjiu
2018-10-12 15:36 ` gengdongjiu
  -- strict thread matches above, loose matches on Subject: below --
2018-10-11 19:07 [PATCH v3 0/2] rename function name and enable 32bit vcpu events Dongjiu Geng
2018-10-11 19:07 ` [PATCH v3 2/2] arm/arm64: KVM: enable 32 bits kvm vcpu events support Dongjiu Geng
2018-10-11 19:07   ` Dongjiu Geng
2018-10-11 19:07   ` Dongjiu Geng
2018-10-12 11:35   ` James Morse
2018-10-12 11:35     ` James Morse

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.