Searched refs:ecode (Results 1 – 8 of 8) sorted by relevance
| /arch/loongarch/kvm/ |
| A D | exit.c | 346 static int kvm_handle_gspr(struct kvm_vcpu *vcpu, int ecode) in kvm_handle_gspr() argument 680 ret = kvm_handle_mm_fault(vcpu, badv, write, ecode); in kvm_handle_rdwr_fault() 710 static int kvm_handle_read_fault(struct kvm_vcpu *vcpu, int ecode) in kvm_handle_read_fault() argument 712 return kvm_handle_rdwr_fault(vcpu, false, ecode); in kvm_handle_read_fault() 715 static int kvm_handle_write_fault(struct kvm_vcpu *vcpu, int ecode) in kvm_handle_write_fault() argument 717 return kvm_handle_rdwr_fault(vcpu, true, ecode); in kvm_handle_write_fault() 736 static int kvm_handle_fpu_disabled(struct kvm_vcpu *vcpu, int ecode) in kvm_handle_fpu_disabled() argument 794 static int kvm_handle_lsx_disabled(struct kvm_vcpu *vcpu, int ecode) in kvm_handle_lsx_disabled() argument 873 static int kvm_handle_hypercall(struct kvm_vcpu *vcpu, int ecode) in kvm_handle_hypercall() argument 933 static int kvm_fault_ni(struct kvm_vcpu *vcpu, int ecode) in kvm_fault_ni() argument [all …]
|
| A D | mmu.c | 915 int kvm_handle_mm_fault(struct kvm_vcpu *vcpu, unsigned long gpa, bool write, int ecode) in kvm_handle_mm_fault() argument 924 if (!cpu_has_ptw || (ecode == EXCCODE_TLBM)) { in kvm_handle_mm_fault()
|
| A D | vcpu.c | 322 u32 ecode = (estat & CSR_ESTAT_EXC) >> CSR_ESTAT_EXC_SHIFT; in kvm_handle_exit() local 335 trace_kvm_exit(vcpu, ecode); in kvm_handle_exit() 336 if (ecode) { in kvm_handle_exit() 337 ret = kvm_handle_fault(vcpu, ecode); in kvm_handle_exit()
|
| /arch/riscv/kvm/ |
| A D | vcpu_pmu.c | 117 u32 ecode = get_event_code(eidx); in kvm_pmu_get_perf_event_config() local 122 if (ecode < SBI_PMU_HW_GENERAL_MAX) in kvm_pmu_get_perf_event_config() 123 config = kvm_pmu_get_perf_event_hw_config(ecode); in kvm_pmu_get_perf_event_config() 126 config = kvm_pmu_get_perf_event_cache_config(ecode); in kvm_pmu_get_perf_event_config() 132 if (ecode < SBI_PMU_FW_MAX) in kvm_pmu_get_perf_event_config() 133 config = (1ULL << 63) | ecode; in kvm_pmu_get_perf_event_config() 145 u32 ecode = get_event_code(eidx); in kvm_pmu_get_fixed_pmc_index() local 150 if (ecode == SBI_PMU_HW_CPU_CYCLES) in kvm_pmu_get_fixed_pmc_index() 152 else if (ecode == SBI_PMU_HW_INSTRUCTIONS) in kvm_pmu_get_fixed_pmc_index()
|
| /arch/loongarch/kernel/ |
| A D | traps.c | 254 static const char *humanize_exc_name(unsigned int ecode, unsigned int esubcode) in humanize_exc_name() argument 261 switch (ecode) { in humanize_exc_name() 319 unsigned int ecode = FIELD_GET(CSR_ESTAT_EXC, x); in print_estat() local 322 printk("ESTAT: %08lx [%s] (", x, humanize_exc_name(ecode, esubcode)); in print_estat() 324 pr_cont(" ECode=%d EsubCode=%d)\n", (int) ecode, (int) esubcode); in print_estat()
|
| /arch/mips/include/asm/sn/sn0/ |
| A D | hubio.h | 451 ecode: 3, /* Error Code */ member 473 ecode: 4, /* Error Code */ member
|
| /arch/loongarch/include/asm/ |
| A D | kvm_host.h | 304 int kvm_handle_mm_fault(struct kvm_vcpu *vcpu, unsigned long badv, bool write, int ecode);
|
| /arch/x86/events/ |
| A D | perf_event.h | 65 static inline bool constraint_match(struct event_constraint *c, u64 ecode) in constraint_match() argument 67 return ((ecode & c->cmask) - c->code) <= (u64)c->size; in constraint_match()
|
Completed in 753 milliseconds