Re: [PATCH] USB: EHCI: elide I/O watchdog on AMD parts

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

 



On Fri, 3 Jun 2016, Lucas Stach wrote:

> This removes 10 timer wakeups per second. I'm running this patch for
> a while now and haven't spotted any adverse effects.
> 
> Signed-off-by: Lucas Stach <dev@xxxxxxxxxx>
> ---
>  drivers/usb/host/ehci-pci.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/usb/host/ehci-pci.c b/drivers/usb/host/ehci-pci.c
> index 3b3649d..0cec9f9 100644
> --- a/drivers/usb/host/ehci-pci.c
> +++ b/drivers/usb/host/ehci-pci.c
> @@ -263,6 +263,9 @@ static int ehci_pci_setup(struct usb_hcd *hcd)
>  	case PCI_VENDOR_ID_INTEL:
>  		ehci->need_io_watchdog = 0;
>  		break;
> +	case PCI_VENDOR_ID_AMD:
> +		ehci->need_io_watchdog = 0;
> +		break;
>  	case PCI_VENDOR_ID_NVIDIA:
>  		switch (pdev->device) {
>  		/* MCP89 chips on the MacBookAir3,1 give EPROTO when

Please merge the PCI_VENDOR_ID_AMD case with the PCI_VENDOR_ID_INTEL 
case.

Alan Stern

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