diff options
author | Ajaykumar Hotchandani <[email protected]> | 2011-11-11 18:31:57 +0530 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2011-12-05 15:06:15 +0100 |
commit | 8dbf4a30033ff61091015f0076e872b5c8f717cc (patch) | |
tree | eec2f316bd8b8b134fd9e830605cd809cf878707 /net/lapb/lapb_subr.c | |
parent | 644ddf588f5dba34df483a6ea8abe639cc102289 (diff) |
x86/mtrr: Resolve inconsistency with Intel processor manual
Following is from Notes of section 11.5.3 of Intel processor
manual available at:
http://www.intel.com/Assets/PDF/manual/325384.pdf
For the Pentium 4 and Intel Xeon processors, after the sequence of
steps given above has been executed, the cache lines containing the
code between the end of the WBINVD instruction and before the
MTRRS have actually been disabled may be retained in the cache
hierarchy. Here, to remove code from the cache completely, a
second WBINVD instruction must be executed after the MTRRs have
been disabled.
This patch provides resolution for that.
Ideally, I will like to make changes only for Pentium 4 and Xeon
processors. But, I am not finding easier way to do it.
And, extra wbinvd() instruction does not hurt much for other
processors.
Signed-off-by: Ajaykumar Hotchandani <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Arjan van de Ven <[email protected]>
Cc: Lucas De Marchi <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions