From: Bjorn Helgaas <helgaas@kernel.org>
To: Alan Cox <alan@linux.intel.com>
Cc: "Hunter, Adrian" <adrian.hunter@intel.com>,
Ulf Hansson <ulf.hansson@linaro.org>,
linux-mmc <linux-mmc@vger.kernel.org>,
linux-pci <linux-pci@vger.kernel.org>,
Bjorn Helgaas <bhelgaas@google.com>,
linux-acpi <linux-acpi@vger.kernel.org>,
"Rafael J. Wysocki" <rjw@rjwysocki.net>
Subject: Re: [PATCH] mmc: sdhci-pci: Remove D3 delays for Intel BYT-related host controllers
Date: Tue, 10 Oct 2017 06:03:51 -0500 [thread overview]
Message-ID: <20171010110351.GU25517@bhelgaas-glaptop.roam.corp.google.com> (raw)
In-Reply-To: <1507626095.26339.5.camel@linux.intel.com>
On Tue, Oct 10, 2017 at 10:01:35AM +0100, Alan Cox wrote:
> > Your concern was that a quirk would require a long list of device IDs
> > and we'd have to add new ones. I share that concern,
>
> I'm not sure I do. The bus topology tells you what is on die, and the
> id of the root bridge tells you if it's one of the parts you can do
> this.
Your a49d25364dfb ("staging/atomisp: Add support for the Intel IPU
v2") added the most generic version (pci_d3_delay_fixup() uses
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, PCI_ANY_ID, pci_d3_delay_fixup);
so there's no list of device IDs. If this is really a property of the
family (BYT/CHT/etc), it makes sense to me to do it that way, but if
you think it's better to have a list, that's OK too.
The more interesting question to me is whether the quirk should be in
an optional driver or in the always-present arch code. My assumption
is that putting it in the driver means that if the driver isn't
enabled, we're doing unnecessary delays.
Bjorn
prev parent reply other threads:[~2017-10-10 11:03 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-06 12:50 [PATCH] mmc: sdhci-pci: Remove D3 delays for Intel BYT-related host controllers Adrian Hunter
2017-10-06 16:20 ` Bjorn Helgaas
2017-10-09 8:56 ` Adrian Hunter
2017-10-09 13:41 ` Bjorn Helgaas
2017-10-09 20:01 ` Hunter, Adrian
2017-10-09 20:01 ` Hunter, Adrian
2017-10-09 20:25 ` Bjorn Helgaas
2017-10-10 9:01 ` Alan Cox
2017-10-10 9:01 ` Alan Cox
2017-10-10 11:03 ` Bjorn Helgaas [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=20171010110351.GU25517@bhelgaas-glaptop.roam.corp.google.com \
--to=helgaas@kernel.org \
--cc=adrian.hunter@intel.com \
--cc=alan@linux.intel.com \
--cc=bhelgaas@google.com \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=rjw@rjwysocki.net \
--cc=ulf.hansson@linaro.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.