Re: VGA PCI IO port reservations

From: H. Peter Anvin (hpa@zytor.com)
Date: Fri Nov 17 2000 - 21:10:13 EST


Followup to: <20001117202009.B2472@zalem.puupuu.org>
By author: Olivier Galibert <galibert@pobox.com>
In newsgroup: linux.dev.kernel
>
> What guarantees you that:
> 1- No device will respond 0xffff for an address it decodes
> 2- No device will crap up on you simply because you've read one
> particular address
>
> If any of these if true for any device out there (I think I have one
> in my computer that does the 1/ part in some cases), your code is
> unsafe.
>

It is. There are plenty of devices for which an arbitrary IN is an
irrecoverable state transition.

        -hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Nov 23 2000 - 21:00:14 EST