]> www.infradead.org Git - users/jedix/linux-maple.git/commit
USB EHCI/Xen: propagate controller reset information to hypervisor
authorJan Beulich <JBeulich@suse.com>
Tue, 18 Sep 2012 11:23:02 +0000 (12:23 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 4 Dec 2012 17:44:42 +0000 (12:44 -0500)
commit03aaab08edf31d1ab965d37ef99bb5d3a2c068ca
treec751de6aba2e656e8ba7b83f7494005dedeb5262
parenta0a0474bb87a2109dfdf8e896ee99e2f6b7811a4
USB EHCI/Xen: propagate controller reset information to hypervisor

Just like for the in-tree early console debug port driver, the
hypervisor - when using a debug port based console - also needs to be
told about controller resets, so it can suppress using and then
re-initialize the debug port accordingly.

Other than the in-tree driver, the hypervisor driver actually cares
about doing this only for the device where the debug is port actually
in use, i.e. it needs to be told the coordinates of the device being
reset (quite obviously, leveraging the addition done for that would
likely benefit the in-tree driver too).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 9fa5780beea1274d498a224822397100022da7d4)

Conflicts:
drivers/xen/Makefile
include/xen/interface/physdev.h
[Merges per what upstream has f1c6872e]
drivers/usb/early/ehci-dbgp.c
drivers/usb/host/ehci-hcd.c
drivers/usb/host/ehci-hub.c
drivers/xen/Makefile
drivers/xen/dbgp.c [new file with mode: 0644]
include/linux/usb/ehci_def.h
include/xen/interface/physdev.h