Re: [patch 0/9] x86, xsave: xsave/xrstor support

From: Rene Herman
Date: Fri Aug 01 2008 - 12:01:20 EST


On 01-08-08 17:44, Andi Kleen wrote:
On Fri, Aug 01, 2008 at 05:19:17PM +0200, Rene Herman wrote:
On 01-08-08 16:49, Andi Kleen wrote:

For real ISA at the least, the best fix I feel is just not go grabbing resources without anything (ie, ISAPnP) or anyone (ie, the user) telling
Really old systems don't have isapnp. Neither have smbus devices.

us that's where the hardware's at.
That would mean the users on these systems would need to add tons
of obscure command line options.
No, it means users on those 1% of systems that are using drivers that break the other 99% would have to for those one or two drivers that do.

And as said, we don't care.

Not sure who "we" is in this context.

We, the old crap hardware users the drivers for which break sensible systems by default.

Really, look at the patch I posted -- it's a patch to make passing in a base (and irq if you want one) to i2c-pca-isa needed. Right now, the thing just grabs those resources and breaks the boot on systems that don't have it as per Ingo's testing.

On plain technical grounds mucking with resources you don't own is bad (on those old systems, 0x330 might even be a NE2000 which gets confused really quickly) and even more importantly; let's take a wild guess and assume that that specific ISA driver has, oh let's say, less than 3 users in the world all of whom wouldn't care one bit about sticking in an options line in their modprobe.conf.

There is no reason drivers like that should be allowed to break all the _other_ systems instead of making those users do that. Not a single one.

Especially dropping easy support for all smbus devices (which are often like
this) would seem quite wrong to me. And for real ISA devices there tends to be a surprisingly large user base left for those.

Fortunately, smbus devices tend to not grab IRQs and go poking around the general I/O space willy-nilly (they go poking around the smbus I/O space willy-nilly). Note again, this specific case is a _bus_ driver for a bus on an ISA card.

Rene
--
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/