[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120608155728.GB9705@local>
Date: Fri, 8 Jun 2012 17:57:29 +0200
From: "Hans J. Koch" <hjk@...sjkoch.de>
To: Dominic Eschweiler <eschweiler@...s.uni-frankfurt.de>
Cc: "Hans J. Koch" <hjk@...sjkoch.de>,
"Michael S. Tsirkin" <mst@...hat.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
kvm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] uio_pci_generic does not export memory resources
On Fri, Jun 08, 2012 at 05:45:12PM +0200, Dominic Eschweiler wrote:
> Am Freitag, den 08.06.2012, 17:18 +0200 schrieb Hans J. Koch:
> > Then there's something fundamentally wrong in your driver. Check the
> > return value of uio_register_device().
> >
> I'm talking about the uio_pci_generic module, not about UIO in general.
>
> > > I was very confused when I tried UIO the first time
> > > and it did not behave like it is described in the documentation.
> >
> > UIO is the mainline since 2007, and I can assure you it works like
> > described. Lots of people use it.
> >
> I know and I really don't have a problem with UIO itself. The
> uio_pci_generic module does not export correctly, maybe you take a look
> on its code? My guess is, that the uio_pci_generic module isn't commonly
> used and therefore the problem wasn't reported before.
As Michael already said, the intention was to map BAR ressources using
/sys/bus/pci/devices/...
OK, I agree, that's the standard PCI way of doing this, not the standard
UIO way.
What problem do you have with this approach?
Thanks,
Hans
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists