Re: [PATCH 3/3] USB: host: Introduce flag to enable use of 64-bit dma_mask for ehci-platform

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

 



On Fri, 14 Nov 2014, Andreas Herrmann wrote:

> On Thu, Nov 13, 2014 at 08:44:17PM -0800, Florian Fainelli wrote:
> > 2014-11-13 13:36 GMT-08:00 Andreas Herrmann
> > <andreas.herrmann@xxxxxxxxxxxxxxxxxx>:
> > > ehci-octeon driver used a 64-bit dma_mask. With removal of ehci-octeon
> > > and usage of ehci-platform ehci dma_mask is now limited to 32 bits
> > > (coerced in ehci_platform_probe).
> > >
> > > Provide a flag in ehci platform data to allow use of 64 bits for
> > > dma_mask.
> > 
> > Why not just allow enforcing an arbitrary DMA mask?
> 
> I thought about that but as it's currently just 32 or 64 bits
> a flag is sufficient. (At the moment I am not aware that
> other ehci-platform devices would require something else.)
> 
> I'll change the flag to a mask if desired.
> Alan, what's your opinion about this?

I'm not aware of any devices that need a different DMA mask either.  

Florian, do you have any reason for thinking such a thing might come 
along?  Like Andreas, I don't mind making it more general if there's a 
good reason to do so.

Alan Stern

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