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

2015-03-20 Thread Feng Kan
ry 32 bits */ > + ret = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); > + if (ret) { > + ret = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32)); > + if (ret) > + return ret; > + } &g

Re: [PATCH v2 2/2] [usb] add support for ACPI identification to xhci-platform

2014-11-18 Thread Feng Kan
On Tue, Nov 18, 2014 at 12:33 PM, Mark Langsdorf wrote: > On 11/18/2014 02:05 PM, Feng Kan wrote: >> >> On Thu, Nov 13, 2014 at 10:36 AM, Mark Langsdorf >> wrote: >>> >>> On 11/04/2014 11:12 AM, Greg KH wrote: >>>> >>>> >

Re: [PATCH v2 2/2] [usb] add support for ACPI identification to xhci-platform

2014-11-18 Thread Feng Kan
On Thu, Nov 13, 2014 at 10:36 AM, Mark Langsdorf wrote: > On 11/04/2014 11:12 AM, Greg KH wrote: >> >> On Tue, Nov 04, 2014 at 10:50:33AM -0600, Mark Langsdorf wrote: > > #endif >>> >>> >>> +#ifdef CONFIG_ACPI >>> +static const struct acpi_device_id usb_xhci_acpi_match[] = { >>> + /* APM X

Re: [PATCH V2] usb:host:xhci-plat: 64-bit dma addressing support

2014-11-13 Thread Feng Kan
Just want to ping this again to see if there is any comments, thanks. On Tue, Nov 4, 2014 at 11:06 AM, Feng Kan wrote: > Use dma_addr_t to support 64-bit plaforms, which access beyond the default > 32 bit address range. > > Signed-off-by: Bao Truong > Signed-off-by: Feng Kan &

[PATCH V2] usb:host:xhci-plat: 64-bit dma addressing support

2014-11-04 Thread Feng Kan
Use dma_addr_t to support 64-bit plaforms, which access beyond the default 32 bit address range. Signed-off-by: Bao Truong Signed-off-by: Feng Kan --- Changes: V2: fixed GKH's comment regarding not mark up the comment after code change. drivers/usb/host/xhci-plat.c

[PATCH] usb:host:xhci-plat: 64-bit dma addressing support

2014-11-03 Thread Feng Kan
Use dma_addr_t to support 64-bit plaforms, which access beyond 32 bit address range. Signed-off-by: Bao Truong Signed-off-by: Feng Kan --- drivers/usb/host/xhci-plat.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci