From: Andi Kleen <ak@linux.intel.com>
To: Bjorn Helgaas <helgaas@kernel.org>
Cc: Andi Kleen <andi@firstfloor.org>,
bhelgaas@google.com, linux-pci@vger.kernel.org,
linux-kernel@vger.kernel.org, x86@kernel.org
Subject: Re: [PATCH] x86, pci: Add quirk for unsizeable Broadwell EP bar
Date: Thu, 4 Feb 2016 10:54:42 -0800 [thread overview]
Message-ID: <20160204185442.GA4875@tassilo.jf.intel.com> (raw)
In-Reply-To: <20160204174155.GB19957@localhost>
> It sounds like these devices have some device-specific register where
> BAR 0 is supposed to be? Setting IORESOURCE_PCI_FIXED doesn't seem
> like the right solution to me. Even if we set that, the core still
There is no actually functional register on these locations that has any side
effects.
> believes this resource corresponds to some address space consumed by
> the device. I think we will still try to size the BAR and decode its
> type. I think it will still show up via lspci. That's all
> meaningless.
But would actually anything use it?
> How do you deal with this on Windows?
>
> I think you need to replace the config accessor with a special one
> that knows that this register is not a BAR, and they can return zero.
> Or maybe the accessor should hide these devices completely, i.e.,
> return 0xffffffff for the vendor/device ID. Or maybe you even have a
> switch the BIOS can use to hide them from the OS.
In some cases we need the devices.
-Andi
next prev parent reply other threads:[~2016-02-04 18:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-15 22:17 [PATCH] x86, pci: Add quirk for unsizeable Broadwell EP bar Andi Kleen
2016-02-04 17:41 ` Bjorn Helgaas
2016-02-04 18:54 ` Andi Kleen [this message]
2016-02-05 1:57 ` Bjorn Helgaas
2016-02-05 3:36 ` Andi Kleen
2016-02-05 16:34 ` Bjorn Helgaas
2016-02-10 22:23 ` Andi Kleen
2016-02-11 14:20 ` Bjorn Helgaas
-- strict thread matches above, loose matches on Subject: below --
2016-02-17 23:45 Andi Kleen
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=20160204185442.GA4875@tassilo.jf.intel.com \
--to=ak@linux.intel.com \
--cc=andi@firstfloor.org \
--cc=bhelgaas@google.com \
--cc=helgaas@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=x86@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).