On Sat, Jun 16, 2018 at 09:25:00PM +0200, Lukas Wunner wrote: > struct controller { > struct mutex ctrl_lock; > struct pcie_device *pcie; > + struct rw_semaphore reset_lock; Is there any particular reason why you can't use a regular mutex here?
On Sat, Jun 16, 2018 at 09:25:00PM +0200, Lukas Wunner wrote: > struct controller { > struct mutex ctrl_lock; > struct pcie_device *pcie; > + struct rw_semaphore reset_lock; Is there any particular reason why you can't use a regular mutex here?