lkml.org 
[lkml]   [2015]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 5/5] pcmcia: add a new resource manager for non ISA systems
From
Date
On Sat, 2015-05-30 at 16:40 +0200, Dominik Brodowski wrote:
> Alan,
>
> On Thu, Dec 04, 2014 at 09:31:22PM +0000, Alan Cox wrote:
> > On a pure PCI platform we don't actually need all the complexity of the
> > rsrc_nonstatic manager, in fact we can just work directly with the pci
> > allocators and avoid all the complexity (and code bloat).
>
> I know you're re-working this thing by now, but still:

It's on the todo list to finish debugging

> Can we be certain that BIOS, ACPI etc. properly report all io resources
> which must not be utilized by other devices? Does this really depend on ISA

No you can't. However there appears to be a convention that for mmio the
windows are aligned on largish boundaries and vendors only hide hardware
so that it's next to existing resources on an alignment such that it
won't get allocated.

I've no idea if it's in a spec anywhere or that's just a "Hey it works
in Windows" bit of history.

> being set in Kconfig? Should this also be enabled for CardBus bridges on the
> root PCI bus? And: could doing a check for X86 like in rsrc_nonstatic.c
> ( avoid anything < 0x100 for ioports ) help to avoid some of the possible
> fallout?

Probably yes.

Added to the TODO list for it.

Alan




\
 
 \ /
  Last update: 2015-06-01 16:41    [W:1.531 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site