Re: [PATCH 00/15] mmc: sdhci: Add 64-bit ADMA support

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

 



On 30/10/14 14:15, Arnd Bergmann wrote:
> On Thursday 30 October 2014 12:50:59 Adrian Hunter wrote:
>> On 30/10/14 12:00, Arnd Bergmann wrote:
>>>
>>> You also said that the flag is defined to mean that 64-bit DMA
>>> is working and that you want to show the warning when the hardware
>>> and the firmware disagree about this.  If you have an (at least)
>>> 50% chance that the hardware is lying, you really shouldn't believe
>>> it.
>>
>> Just because there are two options does not mean they are each equally
>> likely.
>>
> 
> Yes, that's why I said "at least". Presumably when the hardware and
> firmware disagree about something, it's because the firmware developer
> found a problem with the hardware and wants to work around that.

No, the capability bit could be set by firmware and the DMA restriction
could be broken software, which would make the situation quite different.

sdhci.c will also accept the capabilities bits coming from another source.

Nevertheless, the programming is for non-broken hardware and the
SDHCI_QUIRK2_BROKEN_64_BIT_DMA will suffice otherwise.

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