On 06/07/2015 19:09, Eric Auger wrote: >> > The good thing is that this helps a bit forming a lock hierarchy across >> > the subsystems, for example irq bypass mutex outside vfio_platform_irq >> > spinlock, because you cannot have a spinlock inside the mutex. I think >> > that all of your six callbacks are fine. > arghh, no that's wrong then. I have plenty of them in the KVM/arm vgic > part :-( I checked and it's right... /me rereads AAAARGH. You cannot have a mutex inside a spinlock. What you're doing is fine. Paolo -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html