Home
last modified time | relevance | path

Searched refs:MTRR_TYPE_WRBACK (Results 1 – 11 of 11) sorted by relevance

/linux/arch/x86/kernel/cpu/mtrr/
H A Dcleanup.c59 if (type != MTRR_TYPE_WRBACK) in x86_get_mtrr_mem_range()
256 ((type == MTRR_TYPE_WRBACK) ? "WB" : "Other") in range_to_mtrr()
310 state->range_sizek, MTRR_TYPE_WRBACK); in range_to_mtrr_with_hole()
355 range0_sizek, MTRR_TYPE_WRBACK); in range_to_mtrr_with_hole()
367 range_sizek, MTRR_TYPE_WRBACK); in range_to_mtrr_with_hole()
524 ((type == MTRR_TYPE_WRBACK) ? "WB" : "Other")) in print_out_mtrr_range_state()
554 if (num[MTRR_TYPE_WRBACK] + num[MTRR_TYPE_UNCACHABLE] != in mtrr_need_cleanup()
889 if (type != MTRR_TYPE_WRBACK) in mtrr_trim_uncached_memory()
916 if (!num[MTRR_TYPE_WRBACK]) in mtrr_trim_uncached_memory()
920 if (num[MTRR_TYPE_WRBACK] + num[MTRR_TYPE_UNCACHABLE] != in mtrr_trim_uncached_memory()
H A Dcentaur.c59 *type = MTRR_TYPE_WRBACK; in centaur_get_mcr()
61 *type = MTRR_TYPE_WRBACK; in centaur_get_mcr()
H A Dcyrix.c53 *type = MTRR_TYPE_WRBACK; in cyrix_get_arr()
72 *type = MTRR_TYPE_WRBACK; in cyrix_get_arr()
H A Dmtrr.c49 static_assert(X86_MEMTYPE_WB == MTRR_TYPE_WRBACK);
131 (type1 == MTRR_TYPE_WRTHROUGH && type2 == MTRR_TYPE_WRBACK) || in types_compatible()
132 (type1 == MTRR_TYPE_WRBACK && type2 == MTRR_TYPE_WRTHROUGH); in types_compatible()
H A Dgeneric.c155 if ((type1 == MTRR_TYPE_WRBACK && type2 == MTRR_TYPE_WRTHROUGH) || in get_effective_type()
156 (type1 == MTRR_TYPE_WRTHROUGH && type2 == MTRR_TYPE_WRBACK)) in get_effective_type()
317 add_map_entry(BIT_ULL(32), mtrr_tom2, MTRR_TYPE_WRBACK); in map_add_var()
1037 || type == MTRR_TYPE_WRBACK)) { in generic_validate_add_page()
/linux/arch/x86/include/uapi/asm/
H A Dmtrr.h106 #define MTRR_TYPE_WRBACK 6 macro
/linux/arch/x86/mm/pat/
H A Dmemtype.c373 if (mtrr_type != MTRR_TYPE_WRBACK) in pat_x_mtrr_type()
/linux/arch/x86/hyperv/
H A Divm.c899 guest_force_mtrr_state(NULL, 0, MTRR_TYPE_WRBACK); in hv_vtom_init()
/linux/arch/x86/kernel/
H A Dkvm.c1023 guest_force_mtrr_state(&pci_hole, 1, MTRR_TYPE_WRBACK); in kvm_init_platform()
/linux/arch/x86/xen/
H A Denlighten_pv.c238 guest_force_mtrr_state(NULL, 0, MTRR_TYPE_WRBACK); in xen_pv_init_platform()
/linux/arch/x86/kvm/vmx/
H A Dvmx.c7930 return (MTRR_TYPE_WRBACK << VMX_EPT_MT_EPTE_SHIFT) | VMX_EPT_IPAT_BIT; in vmx_get_mt_mask()
7932 return (MTRR_TYPE_WRBACK << VMX_EPT_MT_EPTE_SHIFT); in vmx_get_mt_mask()