Rene Herman wrote:
On 17-12-07 03:05, H. Peter Anvin wrote:Incidentally, I had the thought earlier today that port 0xf0 might be a suitable delay port. It is used only by the 387-emulating-a-287 hack for IRQ 13, which Linux doesn't use on 486+.rene@7ixe4:~/src/port80$ su -c ./port80 cycles: out 2400, in 2400 rene@7ixe4:~/src/port80$ su -c ./portf0 cycles: out 2400, in 2400 (Duron 1300)I suppose you mean using it instead of port 0x80 always and not just as an alternate port? For the latter 0xed is alright I guess...
FWIW, the criterion used in the kernel for when to use IRQ 13 is: /* * External FPU? Set up irq13 if so, for * original braindamaged IBM FERR coupling. */ if (boot_cpu_data.hard_math && !cpu_has_fpu) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ setup_irq(FPU_IRQ, &fpu_irq);In that case we can't actually use port 0xF0 (it is, however, safe to use it during setup, specifically before we can take our first FPU exception.)
-hpa -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- Re: [PATCH] x86_64: fix problems due to use of "outb" to port 80 on some AMD64x2 laptops, etc.
- From: "H. Peter Anvin" <[email protected]>
- Re: [PATCH] x86_64: fix problems due to use of "outb" to port 80 on some AMD64x2 laptops, etc.
- From: Pavel Machek <[email protected]>
- Re: [PATCH] x86_64: fix problems due to use of "outb" to port 80 on some AMD64x2 laptops, etc.
- From: "H. Peter Anvin" <[email protected]>
- Re: [PATCH] x86_64: fix problems due to use of "outb" to port 80 on some AMD64x2 laptops, etc.
- From: Alan Cox <[email protected]>
- Re: [PATCH] x86_64: fix problems due to use of "outb" to port 80 on some AMD64x2 laptops, etc.
- From: Paul Rolland <[email protected]>
- Re: [PATCH] x86_64: fix problems due to use of "outb" to port 80 on some AMD64x2 laptops, etc.
- From: Rene Herman <[email protected]>
- Re: [PATCH] x86_64: fix problems due to use of "outb" to port 80 on some AMD64x2 laptops, etc.
- From: "H. Peter Anvin" <[email protected]>
- [PATCH] x86: fix problems due to use of "outb" to port 80 on some AMD64x2 laptops, etc.
- From: Rene Herman <[email protected]>
- Re: [PATCH] x86: fix problems due to use of "outb" to port 80 on some AMD64x2 laptops, etc.
- From: "H. Peter Anvin" <[email protected]>
- [PATCH] x86: provide a DMI based port 0x80 I/O delay override.
- From: Rene Herman <[email protected]>
- Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay override.
- From: Ingo Molnar <[email protected]>
- Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay override.
- From: Rene Herman <[email protected]>
- Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay override.
- From: "H. Peter Anvin" <[email protected]>
- Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay override.
- From: Rene Herman <[email protected]>
- Re: [PATCH] x86_64: fix problems due to use of "outb" to port 80 on some AMD64x2 laptops, etc.
- Prev by Date: Re: [PATCH net-2.6.25 8/8] Remove unused IPV4TYPE macros
- Next by Date: Re: [PATCH] initrd: Fix virtual/physical mix-up in overwrite test
- Previous by thread: Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay override.
- Next by thread: Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay override.
- Index(es):