Re: [PATCH 05/11] KVM: arm/arm64: Reset the VCPU without preemption and vcpu state loaded

2019-03-04 Thread Marc Zyngier
On 04/03/2019 17:31, Julien Grall wrote: > Hi, > > On 04/03/2019 17:06, Marc Zyngier wrote: >> On 04/03/2019 16:30, Julien Grall wrote: >>> Hi, >>> >>> I noticed some issues with this patch when rebooting a guest after using >>> perf. >>> >>> [ 577.513447] BUG: sleeping function called from inva

Re: [PATCH 05/11] KVM: arm/arm64: Reset the VCPU without preemption and vcpu state loaded

2019-03-04 Thread Julien Grall
Hi, On 04/03/2019 17:06, Marc Zyngier wrote: On 04/03/2019 16:30, Julien Grall wrote: Hi, I noticed some issues with this patch when rebooting a guest after using perf. [ 577.513447] BUG: sleeping function called from invalid context at kernel/locking/mutex.c:908 [ 577.521926] in_atomic():

Re: [PATCH 05/11] KVM: arm/arm64: Reset the VCPU without preemption and vcpu state loaded

2019-03-04 Thread Marc Zyngier
On 04/03/2019 16:30, Julien Grall wrote: > Hi, > > I noticed some issues with this patch when rebooting a guest after using perf. > > [ 577.513447] BUG: sleeping function called from invalid context at > kernel/locking/mutex.c:908 > [ 577.521926] in_atomic(): 1, irqs_disabled(): 0, pid: 2323,

Re: [PATCH 05/11] KVM: arm/arm64: Reset the VCPU without preemption and vcpu state loaded

2019-03-04 Thread Julien Grall
Hi, I noticed some issues with this patch when rebooting a guest after using perf. [ 577.513447] BUG: sleeping function called from invalid context at kernel/locking/mutex.c:908 [ 577.521926] in_atomic(): 1, irqs_disabled(): 0, pid: 2323, name: qemu-system aar [ 577.529354] 1 lock held by