Re: [PATCH] cardbus: revert IO window limit

From: Linus Torvalds
Date: Wed Jul 12 2006 - 11:16:44 EST




On Wed, 12 Jul 2006, Alessio Sangalli wrote:
>
> Linus Torvalds wrote:
>
> > Alessio, try Daniel's patch. We'd love to hear if it works, and in
> > particular what the dmesg output is (if it does work, it should print out
> > something like
> >
> > PIIX4 ACPI PIO at 2000-203f
> > PIIX4 SMB PIO at 2040-204f
> >
> > and perhaps even a few "PIIX4 devres X" lines..)
>
> this is the relevat dmesg output:
>
> PCI: Probing PCI hardware
> PCI: Probing PCI hardware (bus 00)
> PCI quirk: region 1000-103f claimed by PIIX4 ACPI
> PCI quirk: region 1400-140f claimed by PIIX4 SMB
> PIIX4 devres C PIO at 0398-0399

Thanks, that explains it. Anybody who allocated region 1000 and 1400 would
clash with the built-in PIIX magic IO regions, and any driver that tried
to access those regions would instead end up accessing magic SMBus or ACPI
registers.

So your lock-ups are very understandable indeed, and I'll apply this to
the standard kernel. MUCH better than reverting the IO window limits.

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/