Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4031911ybv; Mon, 10 Feb 2020 10:59:43 -0800 (PST) X-Google-Smtp-Source: APXvYqzJxGRC6OLPQ19fLSUOQJQroLxHP5xX1nV7WwCEkWd6JymF0y+ibkJOs1OmjczHwemxquKr X-Received: by 2002:aca:1708:: with SMTP id j8mr325274oii.166.1581361183345; Mon, 10 Feb 2020 10:59:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581361183; cv=none; d=google.com; s=arc-20160816; b=tFoDIBcY1QZmb3QtwOfCVRzOh8kJdSsUa6z3UOVk8XBx5wx4nmQ8fVdb39MXZEkJ4n bUd2zTSPXL41f/5MyZvWErZiPwL15hHpKR06aEVxfJarPUNSN/WYBSWR8Pc2BlgELVtU YUVzctM/LPS9Tv2Ro8KLJbJ2bxOQEwGxFUO1Ib/AHcxVwlWv5QR1Y+oeUUEH+fAOrsw7 S8rnCfk0vEu2Y4o7mINo4Dx+aDrYbIouZO3cYkUd1wHdRZOWh/ShTWfLem4dJYUq3qGt 8Rob16hSMHIBHAyAwYIT76+qMExe4HToAAl46BH14NIhOGs953cYl4wxcI5Ty5ja3/ZU sy9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=tPcokk28/BYPDpgxu0+NcjKgNDj2e9a7888HpRh9u4s=; b=j2o7VJel5cq4FUNrQYDqC9XwoXuQkvpx76hoqTYRaz3lj85PNBT+fpEz+pCh4IWhH4 BRg+pshX9GjHVyfOkwTWXlHtQZy3gfAVSBsL45ltyZZynXLOdhF5YmJcIXmI+xyvVQFd VHRiq0MPJ5KcP61b5oRaVHxfPRb7BFWFmyA2g9Ii6DOiu8BPPYRJvk5OurXlpwXCJuyV 6S1baITRGK0jk2NUdJiJJP87njZw8+re561pY+6E6/BkOaWToxOd+uUZ/59/hhJK4mfh BBb3X7qN9zyEe5clqBVjuz1t3L/xk2ucLcN6epZ2LBf2hlBoC79tEi8az0hT5gxQj7sY NUCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=q9QOfyJW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l17si599472otk.218.2020.02.10.10.59.31; Mon, 10 Feb 2020 10:59:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=q9QOfyJW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727788AbgBJS7X (ORCPT + 99 others); Mon, 10 Feb 2020 13:59:23 -0500 Received: from mail.kernel.org ([198.145.29.99]:35696 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727331AbgBJS7X (ORCPT ); Mon, 10 Feb 2020 13:59:23 -0500 Received: from localhost (unknown [104.132.1.111]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id ED63E2085B; Mon, 10 Feb 2020 18:59:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581361162; bh=dV/9pypPR+5LSujojchvrgFxxYVcyddDIPtQmTd6EPY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=q9QOfyJW/DgVkDJQKfWyyLP9n5gkpS18hB2rZtUPWUvVhuHJZEqkHWEyFkKnFcYcN 14BhDANDwaxllNUjwFiHBl3y0OgKngSv82tCYLGXoxEiyLS4/zUJS6eVnPPj7XjUHS 3wDbtqT2pn0Sc1NNUaZoMg+OtGhJ1YvwDJjuZzUU= Date: Mon, 10 Feb 2020 10:59:21 -0800 From: Greg Kroah-Hartman To: Nicolas Saenz Julienne , Mathias Nyman Cc: linux-rpi-kernel@lists.infradead.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] usb: xhci: Enable LPM for VIA LABS VL805 Message-ID: <20200210185921.GA1058087@kroah.com> References: <20200120142422.3907-1-nsaenzjulienne@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200120142422.3907-1-nsaenzjulienne@suse.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 20, 2020 at 03:24:22PM +0100, Nicolas Saenz Julienne wrote: > This PCIe controller chip is used on the Raspberry Pi 4 and multiple > adapter cards. There is no publicly available documentation for the > chip, yet both the downstream RPi4 kernel and the controller cards > support/advertise LPM support. > > Signed-off-by: Nicolas Saenz Julienne > --- > drivers/usb/host/xhci-pci.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c > index 4917c5b033fa..c1976e98992b 100644 > --- a/drivers/usb/host/xhci-pci.c > +++ b/drivers/usb/host/xhci-pci.c > @@ -241,6 +241,9 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci) > pdev->device == 0x3432) > xhci->quirks |= XHCI_BROKEN_STREAMS; > > + if (pdev->vendor == PCI_VENDOR_ID_VIA && pdev->device == 0x3483) > + xhci->quirks |= XHCI_LPM_SUPPORT; > + > if (pdev->vendor == PCI_VENDOR_ID_ASMEDIA && > pdev->device == 0x1042) > xhci->quirks |= XHCI_BROKEN_STREAMS; Mathias, is this in your review queue? thanks, greg k-h