mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/10] I386 BIOS and cpu fixes / cleanups
@ 2005-11-10  0:31 Zachary Amsden
  0 siblings, 0 replies; only message in thread
From: Zachary Amsden @ 2005-11-10  0:31 UTC (permalink / raw)
  To: Andrew Morton, Linus Torvalds, Linux Kernel Mailing List,
	H. Peter Anvin, Zwane Mwaikambo, Pratap Subrahmanyam,
	Christopher Li, Eric W. Biederman, Ingo Molnar, Zachary Amsden

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@vmware.com>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-11-10  0:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-10  0:31 [PATCH 0/10] I386 BIOS and cpu fixes / cleanups Zachary Amsden

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome