lkml.org 
[lkml]   [2016]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86, pci: Add quirk for unsizeable Broadwell EP bar
On Thu, Feb 04, 2016 at 10:54:42AM -0800, Andi Kleen wrote:
> > 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?

You mean, would anything actually use the lspci output? I don't know,
but why would we want it to print garbage?

And the kernel certainly uses the struct resource. Setting
IORESOURCE_PCI_FIXED is not a way of saying "please ignore this
resource."

Bjorn

\
 
 \ /
  Last update: 2016-02-05 03:21    [W:0.063 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site