From: Vegard Nossum <vegard.nossum@oracle.com>
To: Richard Weinberger <richard@nod.at>,
Alan Stern <stern@rowland.harvard.edu>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-usb@vger.kernel.org,
user-mode-linux-devel@lists.sourceforge.net
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>,
James McMechan <James_McMechan@hotmail.com>
Subject: Re: [uml-devel] [PATCH 21/21] usb: remove HAS_IOMEM dependency from USB_SUPPORT
Date: Wed, 10 Feb 2016 15:45:04 +0100 [thread overview]
Message-ID: <56BB4CF0.90105@oracle.com> (raw)
In-Reply-To: <56BB4AB2.5050400@nod.at>
On 02/10/2016 03:35 PM, Richard Weinberger wrote:
> Am 10.02.2016 um 15:29 schrieb Vegard Nossum:
>> USB has not been usable on UML since this commit:
>>
>> commit e25df1205f37c7bff3ab14fdfc8a5249f3c69c82
>> Author: Martin Schwidefsky <schwidefsky@de.ibm.com>
>> Date: Thu May 10 15:45:57 2007 +0200
>>
>> [S390] Kconfig: menus with depends on HAS_IOMEM.
>>
>> Add "depends on HAS_IOMEM" to a number of menus to make them
>> disappear for s390 which does not have I/O memory.
>>
>> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
>>
>> With hopefully all USB Host Controller Drivers that need it now
>> depending on HAS_IOMEM, we can remove the dependency from USB_SUPPORT
>> itself. This makes it possible to include USB support in UML builds
>> again.
>
> How do you use USB on uml?
> Or is it just for build coverage?
You can use usbip_host (USB over ip) to connect with real devices or
gadgetfs (e.g. dummy_hcd) to emulate a device in the UML userspace which
connects to the USB driver in the UML kernel.
James McMechan at one time had some patches for passing through USB
devices on the host to the UML kernel but I don't think it was ever
merged. Anyway, that might be desirable to bring back at some point in
the future.
My specific use case is using gadgetfs inside UML for USB device driver
fuzzing.
Vegard
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
prev parent reply other threads:[~2016-02-10 14:45 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-10 14:29 [uml-devel] [PATCH 01/21] usb: add HAS_IOMEM dependency to USB_ISP116X_HCD Vegard Nossum
2016-02-10 14:29 ` [uml-devel] [PATCH 02/21] usb: add HAS_IOMEM dependency to USB_NET2272 Vegard Nossum
2016-02-10 16:15 ` Greg Kroah-Hartman
2016-02-10 16:28 ` Vegard Nossum
2016-02-10 16:32 ` Richard Weinberger
2016-02-10 14:29 ` [uml-devel] [PATCH 03/21] usb: Add HAS_IOMEM dependency to USB_M66592 Vegard Nossum
2016-02-10 14:29 ` [uml-devel] [PATCH 04/21] usb: add HAS_IOMEM dependency to USB_XHCI_MVEBU Vegard Nossum
2016-02-10 14:29 ` [uml-devel] [PATCH 05/21] usb: add HAS_IOMEM dependency to USB_R8A66597_HCD Vegard Nossum
2016-02-10 14:29 ` [uml-devel] [PATCH 06/21] usb: add HAS_IOMEM dependency to USB_MUSB_TUSB6010 Vegard Nossum
2016-02-10 14:29 ` [uml-devel] [PATCH 07/21] usb: add HAS_IOMEM dependency to USB_C67X00_HCD Vegard Nossum
2016-02-10 14:29 ` [uml-devel] [PATCH 08/21] usb: add HAS_IOMEM dependency to USB_SL811_HCD Vegard Nossum
2016-02-10 14:29 ` [uml-devel] [PATCH 09/21] usb: add HAS_IOMEM dependency to USB_DWC2 Vegard Nossum
2016-02-10 14:29 ` [uml-devel] [PATCH 10/21] usb: add HAS_IOMEM dependency to USB_EHCI_HCD Vegard Nossum
2016-02-10 14:29 ` [uml-devel] [PATCH 11/21] usb: add HAS_IOMEM dependency to USB_XHCI_HCD Vegard Nossum
2016-02-10 14:29 ` [uml-devel] [PATCH 12/21] usb: add HAS_IOMEM dependency to USB_FOTG210_HCD Vegard Nossum
2016-02-10 14:29 ` [uml-devel] [PATCH 13/21] usb: add HAS_IOMEM dependency to USB_MUSB_HDRC Vegard Nossum
2016-02-10 14:29 ` [uml-devel] [PATCH 14/21] usb: add HAS_IOMEM dependency to USB_PXA25X Vegard Nossum
2016-02-10 14:29 ` [uml-devel] [PATCH 15/21] usb: add HAS_IOMEM dependency to USB_APPLEDISPLAY Vegard Nossum
2016-02-10 14:29 ` [uml-devel] [PATCH 16/21] usb: add HAS_IOMEM dependency to USB_OHCI_HCD Vegard Nossum
2016-02-10 14:29 ` [uml-devel] [PATCH 17/21] usb: add HAS_IOMEM dependency to USB_PXA27X Vegard Nossum
2016-02-10 14:29 ` [uml-devel] [PATCH 18/21] usb: add HAS_IOMEM dependency to USB_OXU210HP_HCD Vegard Nossum
2016-02-10 14:29 ` [uml-devel] [PATCH 19/21] usb: add HAS_IOMEM dependency to USB_ISP1362_HCD Vegard Nossum
2016-02-10 14:29 ` [uml-devel] [PATCH 20/21] usb: support building without CONFIG_HAS_DMA Vegard Nossum
2016-02-15 1:09 ` Greg Kroah-Hartman
2016-02-15 4:48 ` Vegard Nossum
2016-02-10 14:29 ` [uml-devel] [PATCH 21/21] usb: remove HAS_IOMEM dependency from USB_SUPPORT Vegard Nossum
2016-02-10 14:35 ` Richard Weinberger
2016-02-10 14:39 ` Anton Ivanov
2016-02-10 14:45 ` Vegard Nossum [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56BB4CF0.90105@oracle.com \
--to=vegard.nossum@oracle.com \
--cc=James_McMechan@hotmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-usb@vger.kernel.org \
--cc=richard@nod.at \
--cc=schwidefsky@de.ibm.com \
--cc=stern@rowland.harvard.edu \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).