]> git.baikalelectronics.ru Git - kernel.git/commit
xen/pciback: Document when the 'unbind' and 'bind' functions are called.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 21 Apr 2014 19:43:08 +0000 (15:43 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 23 May 2014 16:33:50 +0000 (12:33 -0400)
commit11a3b91c5071edcfc58480505bebe0e2ae8b2d67
treeb33b506798dd763e0c9e14b84c6e90ff2a98f8f7
parent4dd8759a495829fc273c95fa138980b0a1ae898d
xen/pciback: Document when the 'unbind' and 'bind' functions are called.

And also mention that you cannot do any pci_reset_function,
pci_reset_slot, or such calls. This is because they take the same
lock as SysFS does - and we would end up with a dead-lock if
we call those functions.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
drivers/xen/xen-pciback/pci_stub.c