lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <489333C6.6070905@keyaccess.nl>
Date:	Fri, 01 Aug 2008 18:03:18 +0200
From:	Rene Herman <rene.herman@...access.nl>
To:	Andi Kleen <andi@...stfloor.org>
CC:	Ingo Molnar <mingo@...e.hu>, Wolfram Sang <w.sang@...gutronix.de>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	Suresh Siddha <suresh.b.siddha@...el.com>,
	Wim Van Sebroeck <wim@...ana.be>,
	Pádraig Brady <P@...igBrady.com>,
	"H. Peter Anvin" <hpa@...or.com>,
	"tglx@...utronix.de" <tglx@...utronix.de>,
	"akpm@...ux-foundation.org" <akpm@...ux-foundation.org>,
	"arjan@...ux.intel.com" <arjan@...ux.intel.com>,
	"roland@...hat.com" <roland@...hat.com>,
	"drepper@...hat.com" <drepper@...hat.com>,
	"mikpe@...uu.se" <mikpe@...uu.se>,
	"chrisw@...s-sol.org" <chrisw@...s-sol.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [patch 0/9] x86, xsave: xsave/xrstor support

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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ