/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mtrr/ |
H A D | cleanup.c | 75 if (type != MTRR_TYPE_WRBACK) in x86_get_mtrr_mem_range() 282 ((type == MTRR_TYPE_WRBACK) ? "WB" : "Other") in range_to_mtrr() 336 state->range_sizek, MTRR_TYPE_WRBACK); in range_to_mtrr_with_hole() 381 range0_sizek, MTRR_TYPE_WRBACK); in range_to_mtrr_with_hole() 393 range_sizek, MTRR_TYPE_WRBACK); in range_to_mtrr_with_hole() 550 ((type == MTRR_TYPE_WRBACK) ? "WB" : "Other")) in print_out_mtrr_range_state() 580 if (num[MTRR_TYPE_WRBACK] + num[MTRR_TYPE_UNCACHABLE] != in mtrr_need_cleanup() 909 if (type != MTRR_TYPE_WRBACK) in mtrr_trim_uncached_memory() 936 if (!num[MTRR_TYPE_WRBACK]) in mtrr_trim_uncached_memory() 940 if (num[MTRR_TYPE_WRBACK] in mtrr_trim_uncached_memory() [all...] |
H A D | centaur.c | 68 *type = MTRR_TYPE_WRBACK; in centaur_get_mcr() 70 *type = MTRR_TYPE_WRBACK; in centaur_get_mcr()
|
H A D | cyrix.c | 53 *type = MTRR_TYPE_WRBACK; in cyrix_get_arr() 72 *type = MTRR_TYPE_WRBACK; in cyrix_get_arr()
|
H A D | generic.c | 91 if ((*prev == MTRR_TYPE_WRBACK && *curr == MTRR_TYPE_WRTHROUGH) || in check_type_overlap() 92 (*prev == MTRR_TYPE_WRTHROUGH && *curr == MTRR_TYPE_WRBACK)) { in check_type_overlap() 307 type = MTRR_TYPE_WRBACK; in mtrr_type_lookup() 881 || type == MTRR_TYPE_WRBACK)) { in generic_validate_add_page()
|
H A D | mtrr.c | 191 (type1 == MTRR_TYPE_WRTHROUGH && type2 == MTRR_TYPE_WRBACK) || in types_compatible() 192 (type1 == MTRR_TYPE_WRBACK && type2 == MTRR_TYPE_WRTHROUGH); in types_compatible() 292 * %MTRR_TYPE_WRBACK - Write data back in bursts whenever 444 * %MTRR_TYPE_WRBACK - Write data back in bursts whenever
|
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/mtrr/ |
H A D | cleanup.c | 72 if (type != MTRR_TYPE_WRBACK) in x86_get_mtrr_mem_range() 269 ((type == MTRR_TYPE_WRBACK) ? "WB" : "Other") in range_to_mtrr() 323 state->range_sizek, MTRR_TYPE_WRBACK); in range_to_mtrr_with_hole() 368 range0_sizek, MTRR_TYPE_WRBACK); in range_to_mtrr_with_hole() 380 range_sizek, MTRR_TYPE_WRBACK); in range_to_mtrr_with_hole() 537 ((type == MTRR_TYPE_WRBACK) ? "WB" : "Other")) in print_out_mtrr_range_state() 567 if (num[MTRR_TYPE_WRBACK] + num[MTRR_TYPE_UNCACHABLE] != in mtrr_need_cleanup() 902 if (type != MTRR_TYPE_WRBACK) in mtrr_trim_uncached_memory() 929 if (!num[MTRR_TYPE_WRBACK]) in mtrr_trim_uncached_memory() 933 if (num[MTRR_TYPE_WRBACK] in mtrr_trim_uncached_memory() [all...] |
H A D | centaur.c | 59 *type = MTRR_TYPE_WRBACK; in centaur_get_mcr() 61 *type = MTRR_TYPE_WRBACK; in centaur_get_mcr()
|
H A D | cyrix.c | 53 *type = MTRR_TYPE_WRBACK; in cyrix_get_arr() 72 *type = MTRR_TYPE_WRBACK; in cyrix_get_arr()
|
H A D | mtrr.c | 138 (type1 == MTRR_TYPE_WRTHROUGH && type2 == MTRR_TYPE_WRBACK) || in types_compatible() 139 (type1 == MTRR_TYPE_WRBACK && type2 == MTRR_TYPE_WRTHROUGH); in types_compatible() 216 * %MTRR_TYPE_WRBACK - Write data back in bursts whenever 368 * %MTRR_TYPE_WRBACK - Write data back in bursts whenever
|
H A D | generic.c | 151 if ((type1 == MTRR_TYPE_WRBACK && type2 == MTRR_TYPE_WRTHROUGH) || in get_effective_type() 152 (type1 == MTRR_TYPE_WRTHROUGH && type2 == MTRR_TYPE_WRBACK)) in get_effective_type() 313 add_map_entry(BIT_ULL(32), mtrr_tom2, MTRR_TYPE_WRBACK); in map_add_var() 1028 || type == MTRR_TYPE_WRBACK)) { in generic_validate_add_page()
|
/kernel/linux/linux-6.6/arch/x86/include/uapi/asm/ |
H A D | mtrr.h | 106 #define MTRR_TYPE_WRBACK 6 macro
|
/kernel/linux/linux-5.10/arch/x86/include/uapi/asm/ |
H A D | mtrr.h | 114 #define MTRR_TYPE_WRBACK 6 macro
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/asm-x86/asm/ |
H A D | mtrr.h | 83 #define MTRR_TYPE_WRBACK 6 macro
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-x86/asm/ |
H A D | mtrr.h | 83 #define MTRR_TYPE_WRBACK 6 macro
|
/kernel/linux/linux-5.10/arch/x86/kvm/ |
H A D | mtrr.c | 126 return MTRR_TYPE_WRBACK; in mtrr_disabled_type() 625 const int wt_wb_mask = (1 << MTRR_TYPE_WRBACK) in kvm_mtrr_get_guest_memory_type() 675 return MTRR_TYPE_WRBACK; in kvm_mtrr_get_guest_memory_type()
|
/kernel/linux/linux-6.6/arch/x86/kvm/ |
H A D | mtrr.c | 134 return MTRR_TYPE_WRBACK; in mtrr_disabled_type() 620 const int wt_wb_mask = (1 << MTRR_TYPE_WRBACK) in kvm_mtrr_get_guest_memory_type() 670 return MTRR_TYPE_WRBACK; in kvm_mtrr_get_guest_memory_type()
|
/kernel/linux/linux-5.10/arch/x86/mm/ |
H A D | pgtable.c | 709 (mtrr != MTRR_TYPE_WRBACK)) in pud_set_huge() 736 (mtrr != MTRR_TYPE_WRBACK)) { in pmd_set_huge()
|
/kernel/linux/linux-6.6/arch/x86/hyperv/ |
H A D | ivm.c | 614 mtrr_overwrite_state(NULL, 0, MTRR_TYPE_WRBACK); in hv_vtom_init()
|
/kernel/linux/linux-5.10/arch/x86/mm/pat/ |
H A D | memtype.c | 429 if (mtrr_type != MTRR_TYPE_WRBACK) in pat_x_mtrr_type()
|
/kernel/linux/linux-6.6/arch/x86/mm/pat/ |
H A D | memtype.c | 390 if (mtrr_type != MTRR_TYPE_WRBACK) in pat_x_mtrr_type()
|
/kernel/linux/linux-6.6/arch/x86/xen/ |
H A D | enlighten_pv.c | 202 mtrr_overwrite_state(NULL, 0, MTRR_TYPE_WRBACK); in xen_pv_init_platform()
|
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/ |
H A D | vmx.c | 7235 cache = MTRR_TYPE_WRBACK; in vmx_get_mt_mask() 7242 cache = MTRR_TYPE_WRBACK; in vmx_get_mt_mask()
|
/kernel/linux/linux-6.6/arch/x86/kvm/vmx/ |
H A D | vmx.c | 7618 return (MTRR_TYPE_WRBACK << VMX_EPT_MT_EPTE_SHIFT) | VMX_EPT_IPAT_BIT; in vmx_get_mt_mask() 7622 cache = MTRR_TYPE_WRBACK; in vmx_get_mt_mask()
|