Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1327112

Re: [PATCH] x86, pci: Add quirk for unsizeable Broadwell EP bar

From Andi Kleen <ak@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH] x86, pci: Add quirk for unsizeable Broadwell EP bar
Date 2016-02-04 20:00 +0100
Message-ID <qYxij-5PO-43@gated-at.bofh.it> (permalink)
References <qRkSS-3Rl-23@gated-at.bofh.it> <qYwcy-5aH-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> 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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH] x86, pci: Add quirk for unsizeable Broadwell EP bar Bjorn Helgaas <helgaas@kernel.org> - 2016-02-04 18:50 +0100
  Re: [PATCH] x86, pci: Add quirk for unsizeable Broadwell EP bar Andi Kleen <ak@linux.intel.com> - 2016-02-04 20:00 +0100
    Re: [PATCH] x86, pci: Add quirk for unsizeable Broadwell EP bar Bjorn Helgaas <helgaas@kernel.org> - 2016-02-05 03:00 +0100
      Re: [PATCH] x86, pci: Add quirk for unsizeable Broadwell EP bar Andi Kleen <andi@firstfloor.org> - 2016-02-05 04:40 +0100
        Re: [PATCH] x86, pci: Add quirk for unsizeable Broadwell EP bar Bjorn Helgaas <helgaas@kernel.org> - 2016-02-05 17:40 +0100

csiph-web