Re: [GIT PULL] usb: chipidea: changes for v5.4-rc1

2019-09-05 Thread gre...@linuxfoundation.org
On Thu, Sep 05, 2019 at 02:31:14AM +, Peter Chen wrote: > The following changes since commit cdfee5623290bc893f595636b44fa28e8207c5b3: > > driver core: initialize a default DMA mask for platform device (2019-08-22 > 09:41:55 -0700) > > are available in the Git repository at: > > git://g

[PATCH -next] xhci-ext-caps.c: Add missing platform_device_put() on error in xhci_create_intel_xhci_sw_pdev()

2019-09-05 Thread Wei Yongjun
Add the missing platform_device_put() before return from xhci_create_intel_xhci_sw_pdev() in the error handling case. Fixes: 6ed151f26484 ("xhci-ext-caps.c: Add property to disable Intel SW switch") Signed-off-by: Wei Yongjun --- drivers/usb/host/xhci-ext-caps.c | 1 + 1 file changed, 1 insertio

[PATCH] usb: dwc3: reset the address and run_stop on init

2019-09-05 Thread Roman Kapl
The address should be set to zero during reset according to the documentation. Clearing RunStop ensures that the host disconnects from the device (it was not cleared by CSFTRST, at least on ls1043). This allows the dwc3 to properly initialize even if the previous driver did not shutdown the device

Re: [PATCH] usb: dwc3: reset the address and run_stop on init

2019-09-05 Thread Thinh Nguyen
Hi, Roman Kapl wrote: > The address should be set to zero during reset according to the > documentation. That is for usb reset and not core soft reset, and dwc3 already handles that case. > Clearing RunStop ensures that the host disconnects from > the device (it was not cleared by CSFTRST, at l

[PATCH 0/3] Add get/set ethernet address functions and ACPI MAC address pass through functionality to cdc_ncm driver

2019-09-05 Thread Charles.Hyde
In recent testing of a Dell Universal Dock D6000, I found that MAC address pass through is not supported in the Linux drivers. However, this same device is supported in Windows 10 (Pro) on my personal computer, in as much as I was able to tell Windows to assign a new MAC address of my choosing, an

[PATCH 1/3] net: cdc_ncm: add get/set ethernet address functions

2019-09-05 Thread Charles.Hyde
This patch adds support for pushing a MAC address out to USB based ethernet controllers driven by cdc_ncm. With this change, ifconfig can now set the device's MAC address. For example, the Dell Universal Dock D6000 is driven by cdc_ncm. The D6000 can now have its MAC address set by ifconfig, as

[PATCH 3/3] net: cdc_ncm: Add ACPI MAC address pass through functionality

2019-09-05 Thread Charles.Hyde
This change adds support to cdc_ncm for ACPI MAC address pass through functionality that also exists in the Realtek r8152 driver. This is in support of Dell's Universal Dock D6000, to give it the same feature capability as is currently available in Windows and advertized on Dell's product web site

[PATCH 2/3] ACPI: move ACPI functionality out of r8152 driver

2019-09-05 Thread Charles.Hyde
This change moves ACPI functionality out of the Realtek r8152 driver to its own source and header file, making it available to other drivers as needed now and into the future. At the time this ACPI snippet was introduced in 2016, only the Realtek driver made use of it in support of Dell's enterpri

RE: [PATCH 0/3] Add get/set ethernet address functions and ACPI MAC address pass through functionality to cdc_ncm driver

2019-09-05 Thread Mario.Limonciello
> -Original Message- > From: Hyde, Charles - Dell Team > Sent: Thursday, September 5, 2019 4:02 PM > To: Oliver Neukum; "Rafael J. Wysocki"; Len Brown > Cc: Limonciello, Mario; chip.program...@gmail.com; Realtek linux nic > maintainers; linux-usb@vger.kernel.org; linux-a...@vger.kernel.org

RE: [PATCH 0/3] Add get/set ethernet address functions and ACPI MAC address pass through functionality to cdc_ncm driver

2019-09-05 Thread Charles.Hyde
> > -Original Message- > > From: Hyde, Charles - Dell Team > > Sent: Thursday, September 5, 2019 4:02 PM > > To: Oliver Neukum; "Rafael J. Wysocki"; Len Brown > > Cc: Limonciello, Mario; chip.program...@gmail.com; Realtek linux nic > > maintainers; linux-usb@vger.kernel.org; linux-a...@vger

Re: [PATCH 0/3] Add get/set ethernet address functions and ACPI MAC address pass through functionality to cdc_ncm driver

2019-09-05 Thread Greg KH
On Thu, Sep 05, 2019 at 09:14:05PM +, charles.h...@dellteam.com wrote: > > > -Original Message- > > > From: Hyde, Charles - Dell Team > > > Sent: Thursday, September 5, 2019 4:02 PM > > > To: Oliver Neukum; "Rafael J. Wysocki"; Len Brown > > > Cc: Limonciello, Mario; chip.program...@gma

Re: [PATCH 1/1] usb: gadget: configfs: fix concurrent issue between composite APIs

2019-09-05 Thread Peter Chen
On 19-08-26 15:10:55, Peter Chen wrote: > We meet several NULL pointer issues if configfs_composite_unbind > and composite_setup (or composite_disconnect) are running together. > These issues occur when do the function switch stress test, the > configfs_compsoite_unbind is called from user mode by

[PATCH v3 1/3] net: cdc_ncm: add get/set ethernet address functions

2019-09-05 Thread Charles Hyde
This patch adds support for pushing a MAC address out to USB based ethernet controllers driven by cdc_ncm. With this change, ifconfig can now set the device's MAC address. For example, the Dell Universal Dock D6000 is driven by cdc_ncm. The D6000 can now have its MAC address set by ifconfig, as

[PATCH v3 3/3] net: cdc_ncm: Add ACPI MAC address pass through functionality

2019-09-05 Thread Charles Hyde
This change adds support to cdc_ncm for ACPI MAC address pass through functionality that also exists in the Realtek r8152 driver. This is in support of Dell's Universal Dock D6000, to give it the same feature capability as is currently available in Windows and advertized on Dell's product web site

[PATCH v3 2/3] ACPI: move ACPI functionality out of r8152 driver

2019-09-05 Thread Charles Hyde
This change moves ACPI functionality out of the Realtek r8152 driver to its own source and header file, making it available to other drivers as needed now and into the future. At the time this ACPI snippet was introduced in 2016, only the Realtek driver made use of it in support of Dell's enterpri

[PATCH v3 0/3] Add get/set ethernet address functions and ACPI MAC address pass through functionality to cdc_ncm driver

2019-09-05 Thread Charles Hyde
In recent testing of a Dell Universal Dock D6000, I found that MAC address pass through is not supported in the Linux drivers. However, this same device is supported in Windows 10 (Pro) on my personal computer, in as much as I was able to tell Windows to assign a new MAC address of my choosing, an

[PATCH v3 2/3] ACPI: move ACPI functionality out of r8152 driver

2019-09-05 Thread Charles Hyde
This change moves ACPI functionality out of the Realtek r8152 driver to its own source and header file, making it available to other drivers as needed now and into the future. At the time this ACPI snippet was introduced in 2016, only the Realtek driver made use of it in support of Dell's enterpri

[PATCH v3 3/3] net: cdc_ncm: Add ACPI MAC address pass through functionality

2019-09-05 Thread Charles Hyde
This change adds support to cdc_ncm for ACPI MAC address pass through functionality that also exists in the Realtek r8152 driver. This is in support of Dell's Universal Dock D6000, to give it the same feature capability as is currently available in Windows and advertized on Dell's product web site

[PATCH v3 1/3] net: cdc_ncm: add get/set ethernet address functions

2019-09-05 Thread Charles Hyde
This patch adds support for pushing a MAC address out to USB based ethernet controllers driven by cdc_ncm. With this change, ifconfig can now set the device's MAC address. For example, the Dell Universal Dock D6000 is driven by cdc_ncm. The D6000 can now have its MAC address set by ifconfig, as

Re: [PATCH 3/3] net: cdc_ncm: Add ACPI MAC address pass through functionality

2019-09-05 Thread Chunfeng Yun
On Thu, 2019-09-05 at 21:01 +, charles.h...@dellteam.com wrote: > This change adds support to cdc_ncm for ACPI MAC address pass through > functionality that also exists in the Realtek r8152 driver. This is in > support of Dell's Universal Dock D6000, to give it the same feature > capability as

[PATCH v2] usb: host: xhci: wait CNR when doing xhci resume

2019-09-05 Thread Rick Tseng
NVIDIA 3.1 xHCI card would lose power when moving power state into D3Cold. Thus we need to wait CNR bit to clear when xhci resmue as xhci init. Signed-off-by: Rick Tseng --- drivers/usb/host/xhci.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/usb/host/xhci.c b/drivers/usb