[PATCH 0/10] I386 BIOS and cpu fixes / cleanups

From: Zachary Amsden
Date: Wed Nov 09 2005 - 19:30:59 EST


The harmless portion of my current i386 cleanups, including one very
nice bugfix to protect the kernel from rampant trampling by the PnP
BIOS. The problem was the PnP transfer segments were protected in
page increments, not byte increments, so a broken BIOS could overstep
the bounds the PnP code was trying to enforce. Turns out I had such
a broken BIOS, and discovered a common PnP bug is to use word access
(2 bytes) to get and set device IDs, which are supposed to be 1-byte.

Rather than let the BIOS trample memory, I added a workaround to
copy data to and from a temporary value, which allows the BIOS to
smash the high byte safely.

The rest of these are (hopefully) obviously correct, nice transforms
or removal of dead code.

Zachary Amsden <zach@xxxxxxxxxx>
-
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/