Defined in 1 files as a function:

Referenced in 11 files:

Smatch caller information:

arch/x86/kernel/head64.c __read_cr4() -> native_read_cr4()

Type Parameter Key Value

arch/x86/hyperv/hv_vtl.c hv_vtl_bringup_vcpu() -> native_read_cr4()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 irq_flags
HALF_LOCKED2 global &cpuhp_state_mutex
HALF_LOCKED2 irq

drivers/misc/lkdtm/bugs.c lkdtm_UNSET_SMEP() -> native_read_cr4()

Type Parameter Key Value

drivers/misc/lkdtm/bugs.c lkdtm_UNSET_SMEP() -> native_read_cr4()

Type Parameter Key Value

drivers/misc/lkdtm/bugs.c lkdtm_UNSET_SMEP() -> native_read_cr4()

Type Parameter Key Value

arch/x86/mm/fault.c __read_cr4() -> native_read_cr4()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags

arch/x86/kernel/process_64.c __read_cr4() -> native_read_cr4()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

arch/x86/boot/startup/sev-startup.c snp_cpuid_postprocess() -> native_read_cr4()

Type Parameter Key Value
PREEMPT_ADD

arch/x86/boot/startup/sev-startup.c snp_cpuid_postprocess() -> native_read_cr4()

Type Parameter Key Value
PREEMPT_ADD

arch/x86/boot/startup/sev-startup.c snp_cpuid_postprocess() -> native_read_cr4()

Type Parameter Key Value
PREEMPT_ADD

arch/x86/coco/sev/vc-handle.c __sev_cpuid_hv_ghcb() -> native_read_cr4()

Type Parameter Key Value

arch/x86/coco/sev/vc-handle.c vc_handle_cpuid() -> native_read_cr4()

Type Parameter Key Value
PREEMPT_ADD

arch/x86/virt/hw.c __read_cr4() -> native_read_cr4()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 irq
HALF_LOCKED2 rcu_read

drivers/firmware/efi/libstub/x86-5lvl.c efi_5level_switch() -> native_read_cr4()

Type Parameter Key Value

arch/x86/xen/enlighten_pv.c __read_cr4() -> native_read_cr4()

Type Parameter Key Value
LOCK2 irq

arch/x86/coco/sev/core.c wakeup_cpu_via_vmgexit() -> native_read_cr4()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &cpuhp_state_mutex
HALF_LOCKED2 irq

arch/x86/kernel/cpu/cacheinfo.c __read_cr4() -> native_read_cr4()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &cache_disable_lock
HALF_LOCKED2 flags

arch/x86/kernel/cpu/common.c __read_cr4() -> native_read_cr4()

Type Parameter Key Value

arch/x86/kernel/acpi/sleep.c __read_cr4() -> native_read_cr4()

Type Parameter Key Value

arch/x86/boot/startup/map_kernel.c check_la57_support() -> native_read_cr4()

Type Parameter Key Value

arch/x86/power/cpu.c __read_cr4() -> native_read_cr4()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &device_hotplug_lock
HALF_LOCKED2 global &system_transition_mutex
HALF_LOCKED2 irq

arch/x86/hyperv/ivm.c hv_snp_boot_ap() -> native_read_cr4()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &cpuhp_state_mutex
HALF_LOCKED2 irq

arch/x86/kernel/setup.c __read_cr4() -> native_read_cr4()

Type Parameter Key Value
LOCK2 irq