Re: Dynamic nop selection breaks boot on Geode LX

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Borislav Petkov
Date: Saturday, October 2, 2010 - 10:50 pm

From: Daniel Drake <dsd@laptop.org>
Date: Sat, Oct 02, 2010 at 08:16:19PM +0100


maybe because the Geode doesn't have both the
P6_NOP5 and the NOP with 4 0x66 prefixes:
http://kerneltrap.org/mailarchive/linux-kernel/2010/8/27/4612336

and for some reason the trap can't find the fixup address. You say
"hangs" so you don't even get an "invalid opcode" OOPS?

Maybe on a Geode jmp label should use the 2-byte jmp + 3 1-byte nops
unconditionally after adding a synthetic CPUID flag in init_amd_k6(), in
the Geode part.

-- 
Regards/Gruss,
    Boris.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Dynamic nop selection breaks boot on Geode LX, Daniel Drake, (Sat Oct 2, 12:16 pm)
Re: Dynamic nop selection breaks boot on Geode LX, Borislav Petkov, (Sat Oct 2, 10:50 pm)
Re: Dynamic nop selection breaks boot on Geode LX, Borislav Petkov, (Sun Oct 3, 2:26 am)
Re: Dynamic nop selection breaks boot on Geode LX, Borislav Petkov, (Sun Oct 3, 7:47 am)
Re: Dynamic nop selection breaks boot on Geode LX, Daniel Drake, (Sun Oct 3, 9:32 am)
Re: Dynamic nop selection breaks boot on Geode LX, Borislav Petkov, (Sun Oct 3, 10:12 am)
Re: Dynamic nop selection breaks boot on Geode LX, Jason Baron, (Mon Oct 4, 8:46 am)
Re: Dynamic nop selection breaks boot on Geode LX, Daniel Drake, (Mon Oct 4, 9:49 am)
Re: Dynamic nop selection breaks boot on Geode LX, Steven Rostedt, (Mon Oct 4, 11:06 am)
Re: Dynamic nop selection breaks boot on Geode LX, Steven Rostedt, (Mon Oct 4, 1:31 pm)
Re: Dynamic nop selection breaks boot on Geode LX, Jason Baron, (Mon Oct 4, 1:39 pm)
Re: Dynamic nop selection breaks boot on Geode LX, H. Peter Anvin, (Mon Oct 4, 2:51 pm)
Re: Dynamic nop selection breaks boot on Geode LX, Steven Rostedt, (Mon Oct 4, 3:11 pm)
Re: Dynamic nop selection breaks boot on Geode LX, Steven Rostedt, (Mon Oct 4, 3:15 pm)
Re: Dynamic nop selection breaks boot on Geode LX, H. Peter Anvin, (Mon Oct 4, 3:22 pm)
Re: Dynamic nop selection breaks boot on Geode LX, Nick Lowe, (Mon Oct 4, 3:27 pm)
Re: Dynamic nop selection breaks boot on Geode LX, H. Peter Anvin, (Mon Oct 4, 3:32 pm)
Re: Dynamic nop selection breaks boot on Geode LX, Daniel Drake, (Tue Oct 26, 1:08 pm)
Re: Dynamic nop selection breaks boot on Geode LX, Jason Baron, (Tue Oct 26, 1:12 pm)