Re: [PATCH] x86_64: check if Tom2 is enabled

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: H. Peter Anvin <hpa@...>
Cc: Cyrill Gorcunov <gorcunov@...>, Yinghai Lu <Yinghai.Lu@...>, Ingo Molnar <mingo@...>, LKML <linux-kernel@...>, Jesse Barnes <jesse.barnes@...>, Andrew Morton <akpm@...>
Date: Monday, January 21, 2008 - 2:46 pm

> 

Even if there are different fields in there it is still much cleaner
and simpler if there is only a single number to manipulate.


It's merely an implementation detail of the instruction. But even on 32bit
there is about zero reason to expose that to C code. rdmsr/wrmsr et.al. should
have been defined as 64bit only interface in Linux from day zero.

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

Messages in current thread:
[PATCH] x86: disable_mtrr_trim only need for x86_64, Yinghai Lu, (Sun Jan 20, 12:45 am)
Re: [PATCH] x86: disable_mtrr_trim only need for x86_64, H. Peter Anvin, (Sun Jan 20, 1:37 am)
[PATCH] x86_64: check if Tom2 is enabled, Yinghai Lu, (Mon Jan 21, 2:57 am)
Re: [PATCH] x86_64: check if Tom2 is enabled, Cyrill Gorcunov, (Mon Jan 21, 1:24 pm)
Re: [PATCH] x86_64: check if Tom2 is enabled, Andi Kleen, (Mon Jan 21, 2:03 pm)
Re: [PATCH] x86_64: check if Tom2 is enabled, Cyrill Gorcunov, (Mon Jan 21, 2:09 pm)
Re: [PATCH] x86_64: check if Tom2 is enabled, H. Peter Anvin, (Mon Jan 21, 2:15 pm)
Re: [PATCH] x86_64: check if Tom2 is enabled, Andi Kleen, (Mon Jan 21, 2:46 pm)
Re: [PATCH] x86_64: check if Tom2 is enabled, H. Peter Anvin, (Mon Jan 21, 1:39 pm)
Re: [PATCH] x86_64: check if Tom2 is enabled, Cyrill Gorcunov, (Mon Jan 21, 1:49 pm)
[PATCH] x86_32: trim memory by updating e820, Yinghai Lu, (Mon Jan 21, 1:44 am)