Home
last modified time | relevance | path

Searched defs:msr (Results 1 – 25 of 51) sorted by relevance

123

/xen/xen/arch/x86/
A Dmonitor.c45 static unsigned long *monitor_bitmap_for_msr(const struct domain *d, u32 *msr) in monitor_bitmap_for_msr()
71 static int monitor_enable_msr(struct domain *d, u32 msr, bool onchangeonly) in monitor_enable_msr()
96 static int monitor_disable_msr(struct domain *d, u32 msr) in monitor_disable_msr()
113 bool monitored_msr(const struct domain *d, u32 msr) in monitored_msr()
128 bool monitored_msr_onchangeonly(const struct domain *d, u32 msr) in monitored_msr_onchangeonly()
210 u32 msr = mop->u.mov_to_msr.msr; in arch_monitor_domctl_event() local
A Dmsr.c166 int guest_rdmsr(struct vcpu *v, uint32_t msr, uint64_t *val) in guest_rdmsr()
356 int guest_wrmsr(struct vcpu *v, uint32_t msr, uint64_t val) in guest_wrmsr()
/xen/xen/include/xen/lib/x86/
A Dcpu-policy.h11 struct msr_policy *msr; member
17 uint32_t msr; member
/xen/xen/include/asm-x86/
A Dmsr.h16 #define rdmsr(msr,val1,val2) \ argument
21 #define rdmsrl(msr,val) do { unsigned long a__,b__; \ argument
28 #define wrmsr(msr,val1,val2) \ argument
33 static inline void wrmsrl(unsigned int msr, __u64 val) in wrmsrl()
42 #define rdmsr_safe(msr,val) ({\ argument
58 static inline int wrmsr_safe(unsigned int msr, uint64_t val) in wrmsr_safe()
A Dxenoprof.h74 static inline int passive_domain_do_rdmsr(unsigned int msr, in passive_domain_do_rdmsr()
80 static inline int passive_domain_do_wrmsr(unsigned int msr, in passive_domain_do_wrmsr()
A Dvpmu.h117 static inline int vpmu_do_wrmsr(unsigned int msr, uint64_t msr_content, in vpmu_do_wrmsr()
122 static inline int vpmu_do_rdmsr(unsigned int msr, uint64_t *msr_content) in vpmu_do_rdmsr()
/xen/xen/arch/x86/cpu/
A Dvpmu_amd.c37 #define is_guest_mode(msr) ((msr) & (1ULL << MSR_F10H_EVNTSEL_GO_SHIFT)) argument
38 #define is_pmu_enabled(msr) ((msr) & (1ULL << MSR_F10H_EVNTSEL_EN_SHIFT)) argument
39 #define set_guest_mode(msr) (msr |= (1ULL << MSR_F10H_EVNTSEL_GO_SHIFT)) argument
40 #define is_overflowed(msr) (!((msr) & (1ULL << (MSR_F10H_COUNTER_LENGTH-1)))) argument
325 static void context_update(unsigned int msr, u64 msr_content) in context_update()
355 static int amd_vpmu_do_wrmsr(unsigned int msr, uint64_t msr_content, in amd_vpmu_do_wrmsr()
414 static int amd_vpmu_do_rdmsr(unsigned int msr, uint64_t *msr_content) in amd_vpmu_do_rdmsr()
A Damd.c52 static inline int rdmsr_amd_safe(unsigned int msr, unsigned int *lo, in rdmsr_amd_safe()
69 static inline int wrmsr_amd_safe(unsigned int msr, unsigned int lo, in wrmsr_amd_safe()
87 static void wrmsr_amd(unsigned int msr, uint64_t val) in wrmsr_amd()
144 static uint64_t __init _probe_mask_msr(unsigned int msr, uint64_t caps) in _probe_mask_msr()
237 #define LAZY(cap, msr, field) \ in amd_ctxt_switch_masking() argument
A Dintel.c52 static uint64_t __init _probe_mask_msr(unsigned int *msr, uint64_t caps) in _probe_mask_msr()
173 #define LAZY(msr, field) \ in intel_ctxt_switch_masking() argument
A Dmwait-idle.c1054 unsigned long long msr; in bxt_idle_state_table_update() local
1101 u64 msr; in sklh_idle_state_table_update() local
/xen/xen/arch/x86/cpu/mcheck/
A Dvmce.c104 static int bank_mce_rdmsr(const struct vcpu *v, uint32_t msr, uint64_t *val) in bank_mce_rdmsr()
177 int vmce_rdmsr(uint32_t msr, uint64_t *val) in vmce_rdmsr()
240 static int bank_mce_wrmsr(struct vcpu *v, uint32_t msr, uint64_t val) in bank_mce_wrmsr()
308 int vmce_wrmsr(uint32_t msr, uint64_t val) in vmce_wrmsr()
A Dmce.h84 static inline uint64_t mca_rdmsr(unsigned int msr) in mca_rdmsr()
93 #define mca_wrmsr(msr, val) do { \ argument
165 static inline int mce_vendor_bank_msr(const struct vcpu *v, uint32_t msr) in mce_vendor_bank_msr()
186 static inline int mce_bank_msr(const struct vcpu *v, uint32_t msr) in mce_bank_msr()
A Dmce_amd.c271 int vmce_amd_wrmsr(struct vcpu *v, uint32_t msr, uint64_t val) in vmce_amd_wrmsr()
278 int vmce_amd_rdmsr(const struct vcpu *v, uint32_t msr, uint64_t *val) in vmce_amd_rdmsr()
A Dmce_intel.c180 static inline void intel_get_extended_msr(struct mcinfo_extended *ext, u32 msr) in intel_get_extended_msr()
490 unsigned msr = MSR_IA32_MCx_CTL2(i); in do_cmci_discover() local
624 unsigned msr = MSR_IA32_MCx_CTL2(i); in clear_cmci() local
989 int vmce_intel_wrmsr(struct vcpu *v, uint32_t msr, uint64_t val) in vmce_intel_wrmsr()
1002 int vmce_intel_rdmsr(const struct vcpu *v, uint32_t msr, uint64_t *val) in vmce_intel_rdmsr()
A Dmce.c1070 uint64_t msr; member
1087 struct intpose_ent *intpose_lookup(unsigned int cpu_nr, uint64_t msr, in intpose_lookup()
1105 static void intpose_add(unsigned int cpu_nr, uint64_t msr, uint64_t val) in intpose_add()
1130 bool intpose_inval(unsigned int cpu_nr, uint64_t msr) in intpose_inval()
1248 struct mcinfo_msr *msr; in x86_mc_msrinject() local
1500 struct mcinfo_msr *msr; in do_mca() local
/xen/xen/arch/x86/hvm/vmx/
A Dvmcs.c219 const char *name, u32 ctl_min, u32 ctl_opt, u32 msr, bool_t *mismatch) in adjust_vmx_controls()
378 uint32_t must_be_one, must_be_zero, msr = MSR_IA32_VMX_PROCBASED_CTLS; in vmx_init_vmcs_config() local
885 void vmx_clear_msr_intercept(struct vcpu *v, unsigned int msr, in vmx_clear_msr_intercept()
917 void vmx_set_msr_intercept(struct vcpu *v, unsigned int msr, in vmx_set_msr_intercept()
946 unsigned int msr, bool is_write) in vmx_msr_is_intercepted()
1349 struct vmx_msr_entry *start, struct vmx_msr_entry *end, uint32_t msr) in locate_msr_entry()
1366 struct vmx_msr_entry *vmx_find_msr(const struct vcpu *v, uint32_t msr, in vmx_find_msr()
1407 int vmx_add_msr(struct vcpu *v, uint32_t msr, uint64_t val, in vmx_add_msr()
1519 int vmx_del_msr(struct vcpu *v, uint32_t msr, enum vmx_msr_list_type type) in vmx_del_msr()
A Dvmx.c2092 static void vmx_enable_msr_interception(struct domain *d, uint32_t msr) in vmx_enable_msr_interception()
2945 static int vmx_msr_read_intercept(unsigned int msr, uint64_t *msr_content) in vmx_msr_read_intercept()
3116 unsigned int msr; in vmx_vlapic_msr_changed() local
3168 static int vmx_msr_write_intercept(unsigned int msr, uint64_t msr_content) in vmx_msr_write_intercept()
3476 const struct vmx_msr_entry *msr; in vmx_failed_vmentry() local
4336 struct vmx_msr_entry *msr; in lbr_tsx_fixup() local
4357 static void sign_extend_msr(struct vcpu *v, u32 msr, int type) in sign_extend_msr()
/xen/xen/arch/x86/oprofile/
A Dnmi_int.c41 static int passive_domain_msr_op_checks(unsigned int msr, int *typep, int *indexp) in passive_domain_msr_op_checks()
57 int passive_domain_do_rdmsr(unsigned int msr, uint64_t *msr_content) in passive_domain_do_rdmsr()
68 int passive_domain_do_wrmsr(unsigned int msr, uint64_t msr_content) in passive_domain_do_wrmsr()
/xen/xen/include/public/
A Ddom0_ops.h72 uint32_t msr; member
96 struct dom0_msr msr; member
/xen/xen/arch/x86/guest/hyperv/
A Dhyperv.c155 union hv_vp_assist_page_msr msr; in setup_vp_assist() local
/xen/tools/debugger/kdd/
A Dkdd-xen.c430 int kdd_wrmsr(kdd_guest *g, int cpuid, uint32_t msr, uint64_t value) in kdd_wrmsr()
458 int kdd_rdmsr(kdd_guest *g, int cpuid, uint32_t msr, uint64_t *value) in kdd_rdmsr()
/xen/tools/tests/mce-test/tools/
A Dxen-mceinj.c273 uint64_t msr, in add_msr_intpose()
310 uint64_t msr; in add_msr_bank_intpose() local
/xen/xen/arch/x86/acpi/cpufreq/
A Dcpufreq.c84 static unsigned extract_msr(u32 msr, struct acpi_cpufreq_data *data) in extract_msr()
121 struct msr_addr msr; member
/xen/xen/arch/x86/cpu/mtrr/
A Dgeneric.c259 static void mtrr_wrmsr(unsigned int msr, uint64_t msr_content) in mtrr_wrmsr()
277 static void set_fixed_range(int msr, bool *changed, unsigned int *msrwords) in set_fixed_range()
/xen/xen/arch/x86/hvm/
A Dmonitor.c80 bool hvm_monitor_msr(unsigned int msr, uint64_t new_value, uint64_t old_value) in hvm_monitor_msr()

Completed in 209 milliseconds

123