On Thu, Sep 17, 2015 at 11:19 AM, Duc Dang wrote:
> The xhci platform driver does not work with system that only supports
> 64-bit DMA as it requests 32-bit DMA mask during driver initialization.
> This patch set addresses this issue and also adds XHCI-compliant USB
> Con
On Thu, Sep 17, 2015 at 12:51 PM, Arnd Bergmann wrote:
> On Thursday 17 September 2015 11:19:46 Duc Dang wrote:
>> 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 mas
This change avoids DMA error in the cases where dma_mask and
coherent_dma_mask of a 32-bit controller get configured as
DMA_BIT_MASK(64) when running on a 64-bit system.
Signed-off-by: Duc Dang
---
drivers/usb/host/xhci.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers
regressions or error messages on the machines
without platform XHCI.
[dhdang: regenerate the patch over v4.3-rc1 and address new comments]
Signed-off-by: Mark Langsdorf
Signed-off-by: Duc Dang
---
drivers/usb/host/xhci-plat.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers
: Mark Langsdorf
Tested-by: Mark Salter
Signed-off-by: Duc Dang
---
drivers/usb/host/xhci-plat.c | 20 +---
1 file changed, 13 insertions(+), 7 deletions(-)
diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c
index 890ad9d..34c93e8 100644
--- a/drivers/usb
The xhci platform driver does not work with system that only supports
64-bit DMA as it requests 32-bit DMA mask during driver initialization.
This patch set addresses this issue and also adds XHCI-compliant USB
Controller ACPI identification into xhci-platform driver.
Changes from v7:
- On
On Tue, Sep 1, 2015 at 4:54 AM, Mathias Nyman
wrote:
> On 31.08.2015 21:58, Duc Dang wrote:
>>
>> On Thu, Aug 20, 2015 at 12:38 PM, Duc Dang wrote:
>>>
>>> The xhci platform driver needs to work on systems that
>>> either only support 64-bit DMA or onl
On Thu, Aug 20, 2015 at 12:38 PM, Duc Dang wrote:
> 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.
>
> [
On Sat, Aug 15, 2015 at 1:58 AM, Christoph Hellwig wrote:
> On Fri, Aug 14, 2015 at 05:52:44PM -0700, Duc Dang wrote:
>> The commit 08439fec26 "ext4: remove block_device_ejected" only causes
>> issue with ext4 and
>> trying reverting it helps our test passes wit
regressions or error messages on the machines
without platform XHCI.
[dhdang: regenerate the patch over 4.2-rc5 and address new comments]
Signed-off-by: Mark Langsdorf
Signed-off-by: Duc Dang
---
Changes from v6:
-None
Change from v5:
-Change comment to "XHCI-complian
: Mark Langsdorf
Tested-by: Mark Salter
Signed-off-by: Duc Dang
---
Changes from v6:
-Add WARN_ON if dma_mask is NULL
-Use dma_coerce_mask_and_coherent to assign
dma_mask and coherent_dma_mask
Changes from v5:
-Change comment
-Assign dma_mask to
On Sat, Aug 15, 2015 at 1:05 PM, Arnd Bergmann wrote:
>
> On Saturday 08 August 2015 13:31:02 Duc Dang wrote:
> > >
> > > If we know that pdev->dev.dma_mask will always be initialised at this
> > > point, then the above change is fine. If not,
On Fri, Aug 14, 2015 at 1:09 AM, Jan Kara wrote:
> On Thu 13-08-15 09:01:28, Darrick J. Wong wrote:
>> On Wed, Aug 12, 2015 at 08:17:28PM -0700, Duc Dang wrote:
>> > Hi Theodore, Andreas, Jan, Andrew and All,
>> >
>> > We are seeing kernel trace when w
k_run+0x94/0xe8
[] do_notify_resume+0x54/0x68
---[ end trace 1fa355ac70316ea2 ]---
--
Regards,
Duc Dang.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
: Mark Langsdorf
Tested-by: Mark Salter
Signed-off-by: Duc Dang
---
Changes from v5:
-Change comment
-Assign dma_mask to coherent_dma_mask if dma_mask is NULL
to make sure dma_set_mask_and_coherent does not fail prematurely.
Changes from v4:
-None
Changes from v3
regressions or error messages on the machines
without platform XHCI.
[dhdang: regenerate the patch over 4.2-rc5 and address new comments]
Signed-off-by: Mark Langsdorf
Signed-off-by: Duc Dang
---
Change from v5:
Change comment to "XHCI-compliant USB Controller" as
"
On Sat, Aug 8, 2015 at 2:22 AM, Russell King - ARM Linux
wrote:
> On Fri, Aug 07, 2015 at 08:18:48PM -0700, Duc Dang wrote:
>> diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c
>> index 890ad9d..5d03f8b 100644
>> --- a/drivers/usb/host/xhci-plat.c
>
On Sat, Aug 8, 2015 at 8:37 AM, Greg KH wrote:
> On Sat, Aug 08, 2015 at 07:43:40AM +0200, Javier Martinez Canillas wrote:
>> Hello Greg,
>>
>> On Sat, Aug 8, 2015 at 3:29 AM, Greg KH wrote:
>> > On Fri, Aug 07, 2015 at 06:03:36PM -0700, Duc Dang wrote:
>>
regressions or error messages on the machines
without platform XHCI.
Signed-off-by: Mark Langsdorf
Signed-off-by: Duc Dang
---
Changes from v4:
Remove #ifdef CONFIG_ACPI
Changes from v3:
Regenerate the patch over 4.2-rc5
No code change
Changes from v2
Replaced
-by: Mark Salter
Signed-off-by: Duc Dang
---
Changes from v4:
None
Changes from v3:
Re-generate the patch over 4.2-rc5
No code change.
Changes from v2:
None
Changes from v1:
Consolidated to use dma_set_mask_and_coherent
Got rid of the check against
On Fri, Aug 7, 2015 at 6:29 PM, Greg KH wrote:
> On Fri, Aug 07, 2015 at 06:03:36PM -0700, Duc Dang wrote:
>> Provide the methods to let ACPI identify the need to use
>> xhci-platform. Change the Kconfig files so the
>> xhci-plat.o file is selectable during kernel config
regressions or error messages on the machines
without platform XHCI.
[dhdang: regenerate the patch over 4.2-rc5]
Signed-off-by: Mark Langsdorf
Signed-off-by: Duc Dang
---
Changes from v3:
Regenerate the patch over 4.2-rc5
No code change
Changes from v2
Replaced tristate
-by: Mark Salter
Signed-off-by: Duc Dang
---
Changes from v3:
Re-generate the patch over 4.2-rc5
No code change.
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
gt; 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 majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
24 matches
Mail list logo