Re: [PATCH] mmc: sdhci-brcmstb: Add SDHCI_QUIRK2_BROKEN_64_BIT_DMA

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

 



On Saturday, August 27, 2016 12:56:10 PM CEST Florian Fainelli wrote:
> 
> Finally, Arnd's suggestions of using "dma-ranges" is fine, but I do not
> think we quite need this here because we really need to advertise the
> right set of capabilities based on the generation/version of the
> controller deployed in specific chips.

To be more specific here, I think that without the dma-ranges property
you should never be able to set a dma-mask larger than the 32-bit
mask, so if you have machines that are capable of high DMA, you
should definitely add the property in the bus, even if that is
currently ignored.

I've suggested a patch before, but I believe both ARM and MIPS ignore
this at the moment, and just allow drivers to set arbitrary masks
even when the bus does not have a dma-ranges property, and that
is a bug.

	Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux