Re: [Intel-gfx] [PATCH 4/4] ALSA: hda - Continue probe in work context to avoid request_module deadlock

2013-05-23 Thread Takashi Iwai
At Thu, 23 May 2013 01:04:16 +0800, Wang Xingchao wrote: There's deadlock when request_module(i915) in azx_probe. It looks like: device_lock(audio pci device) - azx_probe - module_request (or symbol_request) - modprobe (userspace) - i915 init - drm_pci_init - pci_register_driver -

[Intel-gfx] [PATCH 4/4] ALSA: hda - Continue probe in work context to avoid request_module deadlock

2013-05-22 Thread Wang Xingchao
There's deadlock when request_module(i915) in azx_probe. It looks like: device_lock(audio pci device) - azx_probe - module_request (or symbol_request) - modprobe (userspace) - i915 init - drm_pci_init - pci_register_driver - bus_add_driver - driver_attach - which in turn tries all locks on pci