Re: [PATCH 21/21] usb: remove HAS_IOMEM dependency from USB_SUPPORT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
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@xxxxxxxxxx>

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
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux