Home
last modified time | relevance | path

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

/linux/arch/x86/kernel/cpu/
H A Dcommon.c1288 u64 x86_arch_cap_msr = 0; in x86_read_arch_cap_msr() local
1291 rdmsrl(MSR_IA32_ARCH_CAPABILITIES, x86_arch_cap_msr); in x86_read_arch_cap_msr()
1293 return x86_arch_cap_msr; in x86_read_arch_cap_msr()
1296 static bool arch_cap_mmio_immune(u64 x86_arch_cap_msr) in arch_cap_mmio_immune() argument
1298 return (x86_arch_cap_msr & ARCH_CAP_FBSDP_NO && in arch_cap_mmio_immune()
1299 x86_arch_cap_msr & ARCH_CAP_PSDP_NO && in arch_cap_mmio_immune()
1300 x86_arch_cap_msr & ARCH_CAP_SBDR_SSDP_NO); in arch_cap_mmio_immune()
1303 static bool __init vulnerable_to_rfds(u64 x86_arch_cap_msr) in vulnerable_to_rfds() argument
1306 if (x86_arch_cap_msr & ARCH_CAP_RFDS_NO) in vulnerable_to_rfds()
1314 if (x86_arch_cap_msr & ARCH_CAP_RFDS_CLEAR) in vulnerable_to_rfds()
[all …]
H A Dbugs.c64 static u64 __ro_after_init x86_arch_cap_msr; variable
149 x86_arch_cap_msr = x86_read_arch_cap_msr(); in cpu_select_mitigations()
348 if ( (x86_arch_cap_msr & ARCH_CAP_MDS_NO) && in taa_select_mitigation()
349 !(x86_arch_cap_msr & ARCH_CAP_TSX_CTRL_MSR)) in taa_select_mitigation()
440 if (!(x86_arch_cap_msr & ARCH_CAP_FBSDP_NO)) in mmio_select_mitigation()
450 if ((x86_arch_cap_msr & ARCH_CAP_FB_CLEAR) || in mmio_select_mitigation()
453 !(x86_arch_cap_msr & ARCH_CAP_MDS_NO))) in mmio_select_mitigation()
511 if (x86_arch_cap_msr & ARCH_CAP_RFDS_CLEAR) in rfds_select_mitigation()
671 if ((x86_arch_cap_msr & ARCH_CAP_MDS_NO) && !boot_cpu_has(X86_FEATURE_RTM) && in srbds_select_mitigation()
811 if (!(x86_arch_cap_msr & ARCH_CAP_GDS_CTRL)) { in gds_select_mitigation()
[all …]
/linux/arch/x86/kernel/apic/
H A Dapic.c1695 u64 x86_arch_cap_msr; in x2apic_hw_locked() local
1698 x86_arch_cap_msr = x86_read_arch_cap_msr(); in x2apic_hw_locked()
1699 if (x86_arch_cap_msr & ARCH_CAP_XAPIC_DISABLE) { in x2apic_hw_locked()