/linux-6.12.1/arch/x86/kvm/ |
D | mtrr.c | 97 u64 *mtrr; in kvm_mtrr_set_msr() local 99 mtrr = find_mtrr(vcpu, msr); in kvm_mtrr_set_msr() 100 if (!mtrr) in kvm_mtrr_set_msr() 106 *mtrr = data; in kvm_mtrr_set_msr() 112 u64 *mtrr; in kvm_mtrr_get_msr() local 126 mtrr = find_mtrr(vcpu, msr); in kvm_mtrr_get_msr() 127 if (!mtrr) in kvm_mtrr_get_msr() 130 *pdata = *mtrr; in kvm_mtrr_get_msr()
|
D | Makefile | 9 i8254.o ioapic.o irq_comm.o cpuid.o pmu.o mtrr.o \
|
/linux-6.12.1/Documentation/arch/x86/ |
D | mtrr.rst | 55 The CONFIG_MTRR option creates a /proc/mtrr file which may be used 61 There are two interfaces to /proc/mtrr: one is an ASCII interface 72 % cat /proc/mtrr 78 # echo "base=0xf8000000 size=0x400000 type=write-combining" >! /proc/mtrr 82 # echo "base=0xf8000000 size=0x400000 type=write-combining" >| /proc/mtrr 86 % cat /proc/mtrr 109 in other words the X server will manipulate /proc/mtrr using the 118 %echo "base=0xfb000000 size=0x1000000 type=write-combining" >/proc/mtrr 119 %echo "base=0xfb000000 size=0x1000 type=uncachable" >/proc/mtrr 123 % cat /proc/mtrr [all …]
|
D | index.rst | 22 mtrr
|
D | pat.rst | 165 Over time writes to /proc/mtrr will be deprecated in favor of using PAT based 166 interfaces. Users writing to /proc/mtrr are suggested to use above interfaces.
|
/linux-6.12.1/lib/ |
D | devres.c | 334 int *mtrr; in devm_arch_phys_wc_add() local 337 mtrr = devres_alloc_node(devm_arch_phys_ac_add_release, sizeof(*mtrr), GFP_KERNEL, in devm_arch_phys_wc_add() 339 if (!mtrr) in devm_arch_phys_wc_add() 344 devres_free(mtrr); in devm_arch_phys_wc_add() 348 *mtrr = ret; in devm_arch_phys_wc_add() 349 devres_add(dev, mtrr); in devm_arch_phys_wc_add()
|
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/pci/ |
D | agp.c | 100 arch_phys_wc_del(pci->agp.mtrr); in nvkm_agp_dtor() 136 pci->agp.mtrr = -1; in nvkm_agp_ctor() 173 pci->agp.mtrr = arch_phys_wc_add(pci->agp.base, pci->agp.size); in nvkm_agp_ctor()
|
/linux-6.12.1/drivers/video/fbdev/ |
D | vesafb.c | 59 static int mtrr __read_mostly; /* disable mtrr */ 233 mtrr = simple_strtoul(this_opt+5, NULL, 0); in vesafb_setup() 235 mtrr=0; in vesafb_setup() 434 if (mtrr == 3) { in vesafb_probe() 450 if (mtrr && mtrr != 3) in vesafb_probe()
|
D | uvesafb.c | 47 static int mtrr = 3; /* enable mtrr by default */ variable 1519 if (mtrr && !(info->fix.smem_start & (PAGE_SIZE - 1))) { in uvesafb_init_mtrr() 1827 mtrr = simple_strtoul(this_opt+5, NULL, 0); in uvesafb_setup() 1829 mtrr = 0; in uvesafb_setup() 1855 if (mtrr != 3 && mtrr != 0) in uvesafb_setup() 1856 pr_warn("uvesafb: mtrr should be set to 0 or 3; %d is unsupported", mtrr); in uvesafb_setup() 1966 module_param(mtrr, uint, 0); 1967 MODULE_PARM_DESC(mtrr,
|
D | vt8623fb.c | 99 static int mtrr = 1; variable 109 module_param(mtrr, int, 0444); 110 MODULE_PARM_DESC(mtrr, "Enable write-combining with MTRR (1=enable, 0=disable, default=1)"); 791 if (mtrr) in vt8623_pci_probe()
|
D | i740fb.c | 35 static int mtrr = 1; variable 1146 if (mtrr) in i740fb_probe() 1272 mtrr = simple_strtoul(opt + 5, NULL, 0); in i740fb_setup() 1314 module_param(mtrr, int, 0444); 1315 MODULE_PARM_DESC(mtrr, "Enable write-combining with MTRR (1=enable, 0=disable, default=1)");
|
D | s3fb.c | 154 static int mtrr = 1; variable 166 module_param(mtrr, int, 0444); 167 MODULE_PARM_DESC(mtrr, "Enable write-combining with MTRR (1=enable, 0=disable, default=1)"); 1373 if (mtrr) in s3_pci_probe() 1543 mtrr = simple_strtoul(opt + 5, NULL, 0); in s3fb_setup()
|
/linux-6.12.1/arch/x86/kernel/cpu/mtrr/ |
D | generic.c | 137 struct mtrr_var_range *mtrr = mtrr_state.var_ranges + reg; in get_var_mtrr_state() local 139 if (!(mtrr->mask_lo & MTRR_PHYSMASK_V)) in get_var_mtrr_state() 142 *start = (((u64)mtrr->base_hi) << 32) + (mtrr->base_lo & PAGE_MASK); in get_var_mtrr_state() 143 *size = get_mtrr_size((((u64)mtrr->mask_hi) << 32) + in get_var_mtrr_state() 144 (mtrr->mask_lo & PAGE_MASK)); in get_var_mtrr_state() 146 return mtrr->base_lo & MTRR_PHYSBASE_TYPE; in get_var_mtrr_state()
|
D | Makefile | 2 obj-y := mtrr.o if.o generic.o cleanup.o
|
/linux-6.12.1/Documentation/fb/ |
D | intel810.rst | 142 k. "mtrr" 192 vsync1:50,vsync2:85,accel,mtrr" 212 Example, to enable MTRR, include "mtrr=1". 220 vsync2=85 accel=1 mtrr=1 225 vsync2=85 accel=1 mtrr=1
|
D | vesafb.rst | 157 mtrr:n Setup memory type range registers for the vesafb framebuffer 167 old one. In this example, use "mtrr:2". 169 mtrr: type mismatch for e0000000,8000000 old: write-back new: 173 nomtrr disable mtrr
|
D | uvesafb.rst | 54 video=uvesafb:1024x768-32,mtrr:3,ywrap (compiled into the kernel) 56 # modprobe uvesafb mode_option=1024x768-32 mtrr=3 scroll=ywrap (module) 86 mtrr:n Setup memory type range registers for the framebuffer
|
/linux-6.12.1/drivers/gpu/drm/nouveau/ |
D | nouveau_ttm.c | 324 drm->ttm.mtrr = arch_phys_wc_add(device->func->resource_addr(device, 1), in nouveau_ttm_init() 358 arch_phys_wc_del(drm->ttm.mtrr); in nouveau_ttm_fini() 359 drm->ttm.mtrr = 0; in nouveau_ttm_fini()
|
/linux-6.12.1/Documentation/translations/zh_CN/core-api/ |
D | kernel-api.rst | 258 arch/x86/kernel/cpu/mtrr/mtrr.c
|
/linux-6.12.1/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
D | pci.h | 22 int mtrr; member
|
/linux-6.12.1/arch/x86/kernel/cpu/ |
D | Makefile | 50 obj-$(CONFIG_MTRR) += mtrr/
|
/linux-6.12.1/drivers/staging/sm750fb/ |
D | sm750.h | 94 } mtrr; member
|
D | sm750.c | 1057 sm750_dev->mtrr.vram = 0; in lynxfb_pci_probe() 1083 sm750_dev->mtrr.vram = arch_phys_wc_add(sm750_dev->vidmem_start, in lynxfb_pci_probe() 1115 arch_phys_wc_del(sm750_dev->mtrr.vram); in lynxfb_pci_remove()
|
/linux-6.12.1/lib/zstd/common/ |
D | cpu.h | 140 D(mtrr, 12)
|
/linux-6.12.1/Documentation/core-api/ |
D | kernel-api.rst | 281 .. kernel-doc:: arch/x86/kernel/cpu/mtrr/mtrr.c
|