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] [day] [month] [year] [list]
Message-ID: <46FD5707.9040807@tmr.com>
Date:	Fri, 28 Sep 2007 15:33:27 -0400
From:	Bill Davidsen <davidsen@....com>
To:	Andi Kleen <andi@...stfloor.org>
CC:	"Maciej W. Rozycki" <macro@...ux-mips.org>,
	Peter Fordham <peter.fordham@...il.com>,
	linux-kernel@...r.kernel.org
Subject: Re: fpu IO port reservation (arch/i386)

Andi Kleen wrote:
> "Maciej W. Rozycki" <macro@...ux-mips.org> writes:
> 
>> Hi Peter,
>>
>>> Does anybody know why we reserve this range of IO ports for 'fpu'?
>>> AFAIK from all the IO maps I can find on the internet for various x86
>>> chipsets only 0x00f0 is actaully ever used.
>>  There are two ports used: 0xf0 is the busy latch reset and 0xf1 is the 
>> coprocessor reset.  They are legacy ports resulting from the interesting 
>> way the FPU has been wired by IBM in their PC design. 
> 
> Was it really needed on 386s? I didn't think there was a IBM 386 PC.

There were 386 PC clones for sure, and they almost certainly needed it 
and still do. IBM was doing the MCA thing at that time and it was a 
wonderful time for the clone makers.
> 
>> None of them is 
>> used by Linux for i486 and newer systems, which can support the FPU in its 
>> native configuration.
> 
> I can remove it from x86-64 at least. 
> 
AFAIK you are just right, I'm pretty sure there will be systems needing 
it for 386 and 486, and maybe the old Pentium systems as well. A lot of 
system vendors wanted it so software for the old systems would still work.

-- 
Bill Davidsen <davidsen@....com>
   "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot
-
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