[BUG? kernel 2.6.34-rc1-git8] cs: IO port probe 0x0-0xcf7: clean.

Dominik Brodowski linux at dominikbrodowski.net
Mon Mar 22 04:27:02 EDT 2010


Hey,

On Mon, Mar 22, 2010 at 09:40:22AM +0900, Komuro wrote:
> >> I don't add "include port 0x0-0xcf7" in /etc/pcmcia/config.opts.
> >> but recent kernel probes this ioport range ...
> >
> >That's because the parent PCI bridge offers these resources for downstream
> >users, such as yenta_cardbus. So that's not a bug.
> 
> 
> Actually, ioport 0x0-0xff is used for onboard legacy devices.
> So it should be excluded?

Probably -- and none of the devices listed below seem to actually be PCI
devcices... However, I have no idea why there is a "PCI Bus 0000:00" here.
Oh wait. Is this the PC in which both pd6729 and yenta_socket are installed?

Its dmesg contained:

pci_root PNP0A03:00: host bridge window [io  0x0000-0x0cf7] (ignored)
	[because of pci=use_crs being disabled on this system)

but later on

pci 0000:00:11.6: reg 10: [io  0x0000-0x00ff]

this PCI device actually requests io from 0x00 to 0xff! Which PCI device is
it? Later on:

pnp 00:0a: disabling [io  0x0010-0x001f] because it overlaps 0000:00:11.6 BAR 0 [io  0x0000-0x00ff]
pnp 00:0a: disabling [io  0x0022-0x003f] because it overlaps 0000:00:11.6 BAR 0 [io  0x0000-0x00ff]
pnp 00:0a: disabling [io  0x0044-0x005f] because it overlaps 0000:00:11.6 BAR 0 [io  0x0000-0x00ff]
pnp 00:0a: disabling [io  0x0062-0x0063] because it overlaps 0000:00:11.6 BAR 0 [io  0x0000-0x00ff]
pnp 00:0a: disabling [io  0x0065-0x006f] because it overlaps 0000:00:11.6 BAR 0 [io  0x0000-0x00ff]
pnp 00:0a: disabling [io  0x0072-0x007f] because it overlaps 0000:00:11.6 BAR 0 [io  0x0000-0x00ff]
pnp 00:0a: disabling [io  0x0080] because it overlaps 0000:00:11.6 BAR 0 [io 0x0000-0x00ff]
pnp 00:0a: disabling [io  0x0084-0x0086] because it overlaps 0000:00:11.6 BAR 0 [io  0x0000-0x00ff]
pnp 00:0a: disabling [io  0x0088] because it overlaps 0000:00:11.6 BAR 0 [io 0x0000-0x00ff]
pnp 00:0a: disabling [io  0x008c-0x008e] because it overlaps 0000:00:11.6 BAR 0 [io  0x0000-0x00ff]
pnp 00:0a: disabling [io  0x0090-0x009f] because it overlaps 0000:00:11.6 BAR 0 [io  0x0000-0x00ff]
pnp 00:0a: disabling [io  0x00a2-0x00bf] because it overlaps 0000:00:11.6 BAR 0 [io  0x0000-0x00ff]
pnp 00:0a: disabling [io  0x00e0-0x00ef] because it overlaps 0000:00:11.6 BAR 0 [io  0x0000-0x00ff]

So -- we could either manually exclude <0xff on x86{_64}, we could ask the
PCI people to fix this (or why they consider 0x00-0xff to be valid here)...
What do you think?

Best,
	Dominik

> 0000-0cf7 : PCI Bus 0000:00
>   0000-001f : dma1
>   0020-0021 : pic1
>   0040-0043 : timer0
>   0050-0053 : timer1
>   0060-0060 : keyboard
>   0064-0064 : keyboard
>   0070-0077 : rtc0
>   0080-008f : dma page reg
>   00a0-00a1 : pic2
>   00c0-00df : dma2
>   00f0-00ff : fpu
> 
> _______________________________________________
> Linux PCMCIA reimplementation list
> http://lists.infradead.org/mailman/listinfo/linux-pcmcia



More information about the linux-pcmcia mailing list