Re: Regression: boot failure on AMD Elan TS-5500

From: H. Peter Anvin
Date: Sat Jul 05 2008 - 23:15:21 EST


Eric W. Biederman wrote:
Sean Young <sean@xxxxxxxx> writes:

On Mon, Jun 30, 2008 at 02:52:10PM -0700, Jeremy Fitzhardinge wrote:
It's a bit odd that the boot loader neglected to set up ds properly, but changing the testb line to

testb $(1<<6), %cs:BP_loadflags(%esi)

should work. (Or perhaps a %ss: override would be better?)
Yup, it does (%cs: prefix).

Guys I have a fuzzy memory of reads and definitely writes through %cs not working,
on some processor models. i386?


You can never write through %cs in protected mode.

You can read through %cs: in protected mode unless %cs contains an execute-only descriptor.

-hpa
--
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/