public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: "Kao, Ben" <ben.kao@intel.com>
Cc: "Nyman, Mathias" <mathias.nyman@intel.com>,
	"mathias.nyman@linux.intel.com" <mathias.nyman@linux.intel.com>,
	"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] xhci-pci: Enable runtime PM on Alder Lake-N PCH xHCI controller
Date: Thu, 14 Jul 2022 15:49:33 +0200	[thread overview]
Message-ID: <YtAe7eNMju8EdFTE@kroah.com> (raw)
In-Reply-To: <SN6PR11MB32930FD21F5C00DB8A8429A0ED889@SN6PR11MB3293.namprd11.prod.outlook.com>

On Thu, Jul 14, 2022 at 09:06:44AM +0000, Kao, Ben wrote:
> > From: Greg KH <gregkh@linuxfoundation.org>
> > Sent: Tuesday, July 12, 2022 8:45 PM
> > To: Kao, Ben <ben.kao@intel.com>
> > Cc: Nyman, Mathias <mathias.nyman@intel.com>;
> > mathias.nyman@linux.intel.com; linux-usb@vger.kernel.org; linux-
> > kernel@vger.kernel.org
> > Subject: Re: [PATCH] xhci-pci: Enable runtime PM on Alder Lake-N PCH xHCI
> > controller
> > 
> > On Tue, Jul 12, 2022 at 08:24:42PM +0800, Ben Kao wrote:
> > > There are two Alder Lake-N xHCI host controllers with PCI IDs 0x464e
> > > and 0x54ed, now we add the quirk to default enable runtime PM for
> > > 0x54ed.
> > >
> > > Signed-off-by: Ben Kao <ben.kao@intel.com>
> > > ---
> > >  drivers/usb/host/xhci-pci.c | 2 ++
> > >  1 file changed, 2 insertions(+)
> > >
> > > diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c
> > > index dce6c0ec8d34..44486156bd5d 100644
> > > --- a/drivers/usb/host/xhci-pci.c
> > > +++ b/drivers/usb/host/xhci-pci.c
> > > @@ -61,6 +61,7 @@
> > >  #define PCI_DEVICE_ID_INTEL_ALDER_LAKE_XHCI		0x461e
> > >  #define PCI_DEVICE_ID_INTEL_ALDER_LAKE_N_XHCI
> > 	0x464e
> > >  #define PCI_DEVICE_ID_INTEL_ALDER_LAKE_PCH_XHCI	0x51ed
> > > +#define PCI_DEVICE_ID_INTEL_ALDER_LAKE_N_PCH_XHCI	0x54ed
> > 
> > I think we ask this every time, but why don't we enable this for all devices
> > and then only disable it for the tiny number that don't need it?
> Got it, I will provide another patch to enable runtime PM by default for all
> Intel devices if no one has concerns.

Please test to verify that it works on the systems you enable it for and
verify that future devices will also work properly.

thanks,

greg k-h

      reply	other threads:[~2022-07-14 14:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-12 12:24 [PATCH] xhci-pci: Enable runtime PM on Alder Lake-N PCH xHCI controller Ben Kao
2022-07-12 12:44 ` Greg KH
2022-07-14  9:06   ` Kao, Ben
2022-07-14 13:49     ` Greg KH [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YtAe7eNMju8EdFTE@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=ben.kao@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=mathias.nyman@intel.com \
    --cc=mathias.nyman@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox