pci_lock and runtime resume

From: Dave Airlie
Date: Sun Feb 03 2013 - 19:33:21 EST


So I've just been looking a bit more at dynamic PM for graphics and
noticed that when userspace reads pci config space, the read happens
under the pci_lock which is a spinlock.
Now on most of the GPU drivers we'll be entering standard s/r paths
which don't have this restriction from what I can see, I get to see
lots of scheduling while atomic fun, that I'm not really sure I can
fix nicely.

Dave.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/