linux-um.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Richard Weinberger <richard@nod.at>
To: Vegard Nossum <vegard.nossum@oracle.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>,
	James McMechan <James_McMechan@hotmail.com>,
	linux-usb@vger.kernel.org, Alan Stern <stern@rowland.harvard.edu>,
	user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] [PATCH 02/21] usb: add HAS_IOMEM dependency to USB_NET2272
Date: Wed, 10 Feb 2016 17:32:30 +0100	[thread overview]
Message-ID: <56BB661E.7010308@nod.at> (raw)
In-Reply-To: <56BB651A.7030107@oracle.com>

Am 10.02.2016 um 17:28 schrieb Vegard Nossum:
> I don't think there is a "correct function" for when HAS_IOMEM is not
> enabled. There is no IO address space on UML, so it doesn't make sense
> to compile these drivers in the first place.
> 
> Or do you mean to use the dummy implementation from asm-generic/io.h? (I
> have to admit I don't know how that would work.)

We already had an discussion of having an ioremap() like this for UML and S390:

static inline void __iomem *ioremap(phys_addr_t offset, size_t size)
{
	BUG();
	return NULL;
}

But IMHO we should just fix the driver dependencies instead of providing dummy
interfaces just for the sake of making things somehow build...

Thanks,
//richard

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


  reply	other threads:[~2016-02-10 16:32 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 [this message]
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

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=56BB661E.7010308@nod.at \
    --to=richard@nod.at \
    --cc=James_McMechan@hotmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=schwidefsky@de.ibm.com \
    --cc=stern@rowland.harvard.edu \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    --cc=vegard.nossum@oracle.com \
    /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).