Home
last modified time | relevance | path

Searched refs:mtrr_tom2 (Results 1 – 3 of 3) sorted by relevance

/linux/arch/x86/kernel/cpu/mtrr/
H A Dgeneric.c87 u64 mtrr_tom2; variable
315 if (mtrr_tom2) { in map_add_var()
316 add_map_entry(BIT_ULL(32), mtrr_tom2, MTRR_TYPE_WRBACK); in map_add_var()
345 return cache_map_fixed + 2 * num_var_ranges + (mtrr_tom2 != 0); in get_cache_map_size()
389 get_cache_map_size(), num_var_ranges + (mtrr_tom2 != 0)); in mtrr_build_map()
683 if (mtrr_tom2) in print_mtrr_state()
684 pr_info("TOM2: %016llx aka %lldM\n", mtrr_tom2, mtrr_tom2>>20); in print_mtrr_state()
713 mtrr_tom2 = high; in get_mtrr_state()
714 mtrr_tom2 <<= 32; in get_mtrr_state()
715 mtrr_tom2 |= low; in get_mtrr_state()
[all …]
H A Dmtrr.h61 extern u64 mtrr_tom2;
H A Dcleanup.c710 if (mtrr_tom2) in mtrr_cleanup()
711 x_remove_size = (mtrr_tom2 >> PAGE_SHIFT) - x_remove_base; in mtrr_cleanup()
939 if (mtrr_tom2) { in mtrr_trim_uncached_memory()
941 range[nr_range].end = mtrr_tom2 >> PAGE_SHIFT; in mtrr_trim_uncached_memory()