Re: [GIT PULL] x86 setup: correct booting on 486DX4

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: H. Peter Anvin <hpa@...>
Cc: Linux Kernel Mailing List <linux-kernel@...>, Thomas Gleixner <tglx@...>, Ingo Molnar <mingo@...>, Mikael Petterson <mikpe@...>, Eric Biederman <ebiederm@...>
Date: Sunday, November 4, 2007 - 7:17 pm

On Sun, 4 Nov 2007, H. Peter Anvin wrote:

Hmm. I'm not sure I agree with the commit message.

This is documented behaviour on i386 and i486: instruction decoding is 
decoupled from execution, so things that change processor mode have to do 
a jump to make sure that %cr0 changes take effect.

I'm not entirely sure that it needs to be a long-jump, btw. I think any
regular branch is sufficient. You obviously *do* need to make the long 
jump later (to reload %cs in protected mode), but I'm not sure it's needed 
in that place. I forget the exact rules (but they definitely were 
documented).

		Linus
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [GIT PULL] x86 setup: correct booting on 486DX4, Linus Torvalds, (Sun Nov 4, 7:17 pm)
Re: [GIT PULL] x86 setup: correct booting on 486DX4, H. Peter Anvin, (Sun Nov 4, 7:26 pm)
Re: [GIT PULL] x86 setup: correct booting on 486DX4, Linus Torvalds, (Sun Nov 4, 7:59 pm)
Re: [GIT PULL] x86 setup: correct booting on 486DX4, H. Peter Anvin, (Sun Nov 4, 8:02 pm)
Re: [GIT PULL] x86 setup: correct booting on 486DX4, Eric W. Biederman, (Sun Nov 4, 8:43 pm)
Re: [GIT PULL] x86 setup: correct booting on 486DX4, Linus Torvalds, (Sun Nov 4, 9:10 pm)
Re: [GIT PULL] x86 setup: correct booting on 486DX4, H. Peter Anvin, (Sun Nov 4, 8:12 pm)
Re: [GIT PULL] x86 setup: correct booting on 486DX4, Jeremy Fitzhardinge, (Sun Nov 4, 7:27 pm)
Re: [GIT PULL] x86 setup: correct booting on 486DX4, Linus Torvalds, (Sun Nov 4, 7:25 pm)
Re: [GIT PULL] x86 setup: correct booting on 486DX4, H. Peter Anvin, (Sun Nov 4, 7:36 pm)