Re: [PATCH] arm, kvm: fix double lock on cpu_add_remove_lock

2014-04-08 Thread Rafael J. Wysocki
On Monday, April 07, 2014 12:14:22 PM Srivatsa S. Bhat wrote: On 04/06/2014 11:06 PM, Ming Lei wrote: The patch of arm, kvm: Fix CPU hotplug callback registration in -next tree holds the lock before calling the two functions: kvm_vgic_hyp_init() kvm_timer_hyp_init() and

Re: [PATCH] arm, kvm: fix double lock on cpu_add_remove_lock

2014-04-07 Thread Srivatsa S. Bhat
On 04/06/2014 11:06 PM, Ming Lei wrote: The patch of arm, kvm: Fix CPU hotplug callback registration in -next tree holds the lock before calling the two functions: kvm_vgic_hyp_init() kvm_timer_hyp_init() and both the two functions are calling register_cpu_notifier() to

[PATCH] arm, kvm: fix double lock on cpu_add_remove_lock

2014-04-06 Thread Ming Lei
The patch of arm, kvm: Fix CPU hotplug callback registration in -next tree holds the lock before calling the two functions: kvm_vgic_hyp_init() kvm_timer_hyp_init() and both the two functions are calling register_cpu_notifier() to register cpu notifier, so cause double lock on