Defined in 2 files as a function:
- arch/x86/include/asm/msr.h, line 223 (as a function)
- arch/x86/include/asm/paravirt.h, line 195 (as a function)
Referenced in 13 files:
- arch/x86/events/amd/uncore.c, line 156
- arch/x86/events/core.c
- arch/x86/events/intel/core.c
- arch/x86/events/intel/ds.c, line 2797
- arch/x86/include/asm/msr-trace.h, line 50
- arch/x86/include/asm/msr.h
- arch/x86/kernel/cpu/resctrl/pseudo_lock.c
- arch/x86/kvm/emulate.c, line 4391
- arch/x86/kvm/pmu.c
- arch/x86/lib/msr.c, line 145
- drivers/perf/arm_pmuv3.c
- tools/lib/perf/mmap.c, line 299
- tools/testing/selftests/kvm/include/x86/processor.h, line 1404
Smatch caller information:
arch/x86/kernel/cpu/resctrl/pseudo_lock.c measure_residency_fn() -> rdpmc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | counter | r x86_perf_rdpmc_index |
| LOCK2 | irq |
arch/x86/kernel/cpu/resctrl/pseudo_lock.c measure_residency_fn() -> rdpmc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | counter | r x86_perf_rdpmc_index |
| LOCK2 | irq |
arch/x86/kernel/cpu/resctrl/pseudo_lock.c measure_residency_fn() -> rdpmc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | counter | r x86_perf_rdpmc_index |
| LOCK2 | irq |
arch/x86/kernel/cpu/resctrl/pseudo_lock.c measure_residency_fn() -> rdpmc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | counter | r x86_perf_rdpmc_index |
| LOCK2 | irq |
arch/x86/kernel/cpu/resctrl/pseudo_lock.c measure_residency_fn() -> rdpmc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | counter | r x86_perf_rdpmc_index |
| LOCK2 | irq |
arch/x86/kernel/cpu/resctrl/pseudo_lock.c measure_residency_fn() -> rdpmc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | counter | r x86_perf_rdpmc_index |
| LOCK2 | irq |
arch/x86/events/intel/ds.c intel_pmu_save_and_restart_reload() -> rdpmc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| UNITS | 0 | counter | unit_array_size |
arch/x86/kvm/pmu.c kvm_pmu_load_guest_pmcs() -> rdpmc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPPED_DATA | 0 | counter | 1 |
| PREEMPT_ADD | |||
| LOCK2 | &vcpu->mutex | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct kvm_vcpu)->mutex |
arch/x86/kvm/pmu.c kvm_pmu_load_guest_pmcs() -> rdpmc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | counter | s32min-0,1073741824-s32max |
| CAPPED_DATA | 0 | counter | 1 |
| BIT_INFO | 0 | counter | 0x40000000,0xffffffff |
| PREEMPT_ADD | |||
| LOCK2 | &vcpu->mutex | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct kvm_vcpu)->mutex |
arch/x86/kvm/pmu.c kvm_pmu_put_guest_pmcs() -> rdpmc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPPED_DATA | 0 | counter | 1 |
| PREEMPT_ADD | |||
| LOCK2 | &vcpu->mutex | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct kvm_vcpu)->mutex |
arch/x86/kvm/pmu.c kvm_pmu_put_guest_pmcs() -> rdpmc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | counter | s32min-0,1073741824-s32max |
| CAPPED_DATA | 0 | counter | 1 |
| BIT_INFO | 0 | counter | 0x40000000,0xffffffff |
| PREEMPT_ADD | |||
| LOCK2 | &vcpu->mutex | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct kvm_vcpu)->mutex |
arch/x86/events/core.c x86_perf_event_update() -> rdpmc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | counter | unit_array_size |
arch/x86/events/amd/uncore.c amd_uncore_read() -> rdpmc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | counter | 0-s32max |
| FUZZY_MAX | 0 | counter | 0 |
| UNITS | 0 | counter | unit_array_size |
arch/x86/events/intel/core.c intel_update_topdown_event() -> rdpmc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | counter | 1073741827 |
arch/x86/events/intel/core.c intel_update_topdown_event() -> rdpmc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | counter | 536870912 |