Home
last modified time | relevance | path

Searched refs:ivor (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/arch/powerpc/kvm/
H A Dbooke_emulate.c304 vcpu->arch.ivor[BOOKE_IRQPRIO_CRITICAL] = spr_val; in kvmppc_booke_emulate_mtspr()
319 vcpu->arch.ivor[BOOKE_IRQPRIO_EXTERNAL] = spr_val; in kvmppc_booke_emulate_mtspr()
325 vcpu->arch.ivor[BOOKE_IRQPRIO_PROGRAM] = spr_val; in kvmppc_booke_emulate_mtspr()
331 vcpu->arch.ivor[BOOKE_IRQPRIO_SYSCALL] = spr_val; in kvmppc_booke_emulate_mtspr()
343 vcpu->arch.ivor[BOOKE_IRQPRIO_FIT] = spr_val; in kvmppc_booke_emulate_mtspr()
346 vcpu->arch.ivor[BOOKE_IRQPRIO_WATCHDOG] = spr_val; in kvmppc_booke_emulate_mtspr()
355 vcpu->arch.ivor[BOOKE_IRQPRIO_DEBUG] = spr_val; in kvmppc_booke_emulate_mtspr()
468 *spr_val = vcpu->arch.ivor[BOOKE_IRQPRIO_PROGRAM]; in kvmppc_booke_emulate_mfspr()
474 *spr_val = vcpu->arch.ivor[BOOKE_IRQPRIO_SYSCALL]; in kvmppc_booke_emulate_mfspr()
483 *spr_val = vcpu->arch.ivor[BOOKE_IRQPRIO_FIT]; in kvmppc_booke_emulate_mfspr()
[all …]
H A De500_emulate.c286 vcpu->arch.ivor[BOOKE_IRQPRIO_SPE_UNAVAIL] = spr_val; in kvmppc_core_emulate_mtspr_e500()
289 vcpu->arch.ivor[BOOKE_IRQPRIO_SPE_FP_DATA] = spr_val; in kvmppc_core_emulate_mtspr_e500()
292 vcpu->arch.ivor[BOOKE_IRQPRIO_SPE_FP_ROUND] = spr_val; in kvmppc_core_emulate_mtspr_e500()
300 vcpu->arch.ivor[BOOKE_IRQPRIO_ALTIVEC_ASSIST] = spr_val; in kvmppc_core_emulate_mtspr_e500()
308 vcpu->arch.ivor[BOOKE_IRQPRIO_DBELL] = spr_val; in kvmppc_core_emulate_mtspr_e500()
311 vcpu->arch.ivor[BOOKE_IRQPRIO_DBELL_CRIT] = spr_val; in kvmppc_core_emulate_mtspr_e500()
418 *spr_val = vcpu->arch.ivor[BOOKE_IRQPRIO_SPE_UNAVAIL]; in kvmppc_core_emulate_mfspr_e500()
421 *spr_val = vcpu->arch.ivor[BOOKE_IRQPRIO_SPE_FP_DATA]; in kvmppc_core_emulate_mfspr_e500()
424 *spr_val = vcpu->arch.ivor[BOOKE_IRQPRIO_SPE_FP_ROUND]; in kvmppc_core_emulate_mfspr_e500()
440 *spr_val = vcpu->arch.ivor[BOOKE_IRQPRIO_DBELL]; in kvmppc_core_emulate_mfspr_e500()
[all …]
H A De500.c379 vcpu->arch.ivor[BOOKE_IRQPRIO_PERFORMANCE_MONITOR]; in kvmppc_core_get_sregs_e500()
406 vcpu->arch.ivor[BOOKE_IRQPRIO_SPE_UNAVAIL] = in kvmppc_core_set_sregs_e500()
408 vcpu->arch.ivor[BOOKE_IRQPRIO_SPE_FP_DATA] = in kvmppc_core_set_sregs_e500()
410 vcpu->arch.ivor[BOOKE_IRQPRIO_SPE_FP_ROUND] = in kvmppc_core_set_sregs_e500()
504 unsigned long ivor[3]; in kvmppc_e500_init() local
519 ivor[0] = mfspr(SPRN_IVOR32); in kvmppc_e500_init()
520 ivor[1] = mfspr(SPRN_IVOR33); in kvmppc_e500_init()
521 ivor[2] = mfspr(SPRN_IVOR34); in kvmppc_e500_init()
523 if (ivor[i] > ivor[max_ivor]) in kvmppc_e500_init()
527 memcpy((void *)kvmppc_booke_handlers + ivor[i], in kvmppc_e500_init()
[all …]
H A Dbooke.c2188 unsigned long ivor[16]; in kvmppc_booke_init() local
2205 ivor[0] = mfspr(SPRN_IVOR0); in kvmppc_booke_init()
2206 ivor[1] = mfspr(SPRN_IVOR1); in kvmppc_booke_init()
2207 ivor[2] = mfspr(SPRN_IVOR2); in kvmppc_booke_init()
2208 ivor[3] = mfspr(SPRN_IVOR3); in kvmppc_booke_init()
2209 ivor[4] = mfspr(SPRN_IVOR4); in kvmppc_booke_init()
2210 ivor[5] = mfspr(SPRN_IVOR5); in kvmppc_booke_init()
2211 ivor[6] = mfspr(SPRN_IVOR6); in kvmppc_booke_init()
2212 ivor[7] = mfspr(SPRN_IVOR7); in kvmppc_booke_init()
2213 ivor[8] = mfspr(SPRN_IVOR8); in kvmppc_booke_init()
[all …]
H A De500mc.c133 mtspr(SPRN_GIVOR2, vcpu->arch.ivor[BOOKE_IRQPRIO_DATA_STORAGE]); in kvmppc_core_vcpu_load_e500mc()
134 mtspr(SPRN_GIVOR8, vcpu->arch.ivor[BOOKE_IRQPRIO_SYSCALL]); in kvmppc_core_vcpu_load_e500mc()
236 vcpu->arch.ivor[BOOKE_IRQPRIO_PERFORMANCE_MONITOR]; in kvmppc_core_get_sregs_e500mc()
237 sregs->u.e.ivor_high[4] = vcpu->arch.ivor[BOOKE_IRQPRIO_DBELL]; in kvmppc_core_get_sregs_e500mc()
238 sregs->u.e.ivor_high[5] = vcpu->arch.ivor[BOOKE_IRQPRIO_DBELL_CRIT]; in kvmppc_core_get_sregs_e500mc()
263 vcpu->arch.ivor[BOOKE_IRQPRIO_PERFORMANCE_MONITOR] = in kvmppc_core_set_sregs_e500mc()
268 vcpu->arch.ivor[BOOKE_IRQPRIO_DBELL] = in kvmppc_core_set_sregs_e500mc()
270 vcpu->arch.ivor[BOOKE_IRQPRIO_DBELL_CRIT] = in kvmppc_core_set_sregs_e500mc()
/openbmc/linux/arch/powerpc/include/asm/
H A Dkvm_host.h630 u32 ivor[64]; member
/openbmc/qemu/target/ppc/
H A Dkvm.c1017 static void kvm_sync_excp(CPUPPCState *env, int vector, int ivor) in kvm_sync_excp() argument
1019 env->excp_vectors[vector] = env->spr[ivor] + env->spr[SPR_BOOKE_IVPR]; in kvm_sync_excp()