Re: [PATCH v3 1/2] make xhci platform driver use 64 bit or 32 bit DMA

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

 



Hi Greg,

On Wed, Jul 29, 2015 at 10:18 PM, Loc Ho <lho@xxxxxxx> wrote:
> Hi,
>
>>> >> The xhci platform driver needs to work on systems that either only
>>> >> support 64-bit DMA or only support 32-bit DMA. Attempt to set a
>>> >> coherent dma mask for 64-bit DMA, and attempt again with 32-bit
>>> >> DMA if that fails.
>>> >>
>>> >> Signed-off-by: Mark Langsdorf <mlangsdo@xxxxxxxxxx>
>>> >> Tested-by: Mark Salter <msalter@xxxxxxxxxx>
>>> >> ---
>>> >> Changes from v2:
>>> >>         None
>>> >> Changes from v1:
>>> >>         Consolidated to use dma_set_mask_and_coherent
>>> >>         Got rid of the check against sizeof(dma_addr_t)
>>> >>
>>> >>  drivers/usb/host/xhci-plat.c | 16 ++++++++--------
>>> >>  1 file changed, 8 insertions(+), 8 deletions(-)
>>>
>>> Any reason why this isn't pulled in already? It is already 6 months
>>> and seems to be ack'ed already.
>>
>> Does it work for you on 4.2-rc4?  Is it still needed?
>>
>> Care to repost the whole patch updated?

I tested this v3 patch set with 4.2-rc5 and it works fine on my X-Gene
arm64 platform.

The only problem is 'git am' will complain (due to line offset
changed, I guess). Using 'patch -p 1' to apply the 2 patches is fine.

I will repost the whole set over 4.2-rc5.

>
> Let me apply and see if it still work as is.
>
> -Loc

-- 
Regards,
Duc Dang.
--
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