Lines Matching full:exception
2 * PowerPC exception emulation helpers for QEMU.
34 /* Exception processing */
203 "Unsupported exception %d in Power Save mode\n", excp); in powerpc_reset_wakeup()
361 /* Reset exception state */ in powerpc_reset_excp_state()
427 "Raised an exception without defined vector %d\n", excp); in powerpc_excp_40x()
436 case POWERPC_EXCP_MCHECK: /* Machine check exception */ in powerpc_excp_40x()
443 case POWERPC_EXCP_DSI: /* Data storage exception */ in powerpc_excp_40x()
446 case POWERPC_EXCP_ISI: /* Instruction storage exception */ in powerpc_excp_40x()
451 case POWERPC_EXCP_ALIGN: /* Alignment exception */ in powerpc_excp_40x()
453 case POWERPC_EXCP_PROGRAM: /* Program exception */ in powerpc_excp_40x()
474 cpu_abort(env_cpu(env), "Invalid program exception %d. Aborting\n", in powerpc_excp_40x()
479 case POWERPC_EXCP_SYSCALL: /* System call exception */ in powerpc_excp_40x()
501 cpu_abort(env_cpu(env), "%s exception not implemented\n", in powerpc_excp_40x()
505 cpu_abort(env_cpu(env), "Invalid PowerPC exception %d. Aborting\n", in powerpc_excp_40x()
534 "Raised an exception without defined vector %d\n", excp); in powerpc_excp_6xx()
541 case POWERPC_EXCP_MCHECK: /* Machine check exception */ in powerpc_excp_6xx()
546 case POWERPC_EXCP_DSI: /* Data storage exception */ in powerpc_excp_6xx()
549 case POWERPC_EXCP_ISI: /* Instruction storage exception */ in powerpc_excp_6xx()
555 case POWERPC_EXCP_ALIGN: /* Alignment exception */ in powerpc_excp_6xx()
564 case POWERPC_EXCP_PROGRAM: /* Program exception */ in powerpc_excp_6xx()
590 cpu_abort(env_cpu(env), "Invalid program exception %d. Aborting\n", in powerpc_excp_6xx()
595 case POWERPC_EXCP_SYSCALL: /* System call exception */ in powerpc_excp_6xx()
604 case POWERPC_EXCP_FPU: /* Floating-point unavailable exception */ in powerpc_excp_6xx()
605 case POWERPC_EXCP_DECR: /* Decrementer exception */ in powerpc_excp_6xx()
610 case POWERPC_EXCP_RESET: /* System reset exception */ in powerpc_excp_6xx()
613 "Trying to deliver power-saving system reset exception " in powerpc_excp_6xx()
617 case POWERPC_EXCP_TRACE: /* Trace exception */ in powerpc_excp_6xx()
635 case POWERPC_EXCP_FPA: /* Floating-point assist exception */ in powerpc_excp_6xx()
641 cpu_abort(env_cpu(env), "%s exception not implemented\n", in powerpc_excp_6xx()
645 cpu_abort(env_cpu(env), "Invalid PowerPC exception %d. Aborting\n", in powerpc_excp_6xx()
677 "Raised an exception without defined vector %d\n", excp); in powerpc_excp_7xx()
682 case POWERPC_EXCP_MCHECK: /* Machine check exception */ in powerpc_excp_7xx()
687 case POWERPC_EXCP_DSI: /* Data storage exception */ in powerpc_excp_7xx()
690 case POWERPC_EXCP_ISI: /* Instruction storage exception */ in powerpc_excp_7xx()
696 case POWERPC_EXCP_ALIGN: /* Alignment exception */ in powerpc_excp_7xx()
705 case POWERPC_EXCP_PROGRAM: /* Program exception */ in powerpc_excp_7xx()
731 cpu_abort(env_cpu(env), "Invalid program exception %d. Aborting\n", in powerpc_excp_7xx()
736 case POWERPC_EXCP_SYSCALL: /* System call exception */ in powerpc_excp_7xx()
766 case POWERPC_EXCP_FPU: /* Floating-point unavailable exception */ in powerpc_excp_7xx()
767 case POWERPC_EXCP_DECR: /* Decrementer exception */ in powerpc_excp_7xx()
769 case POWERPC_EXCP_RESET: /* System reset exception */ in powerpc_excp_7xx()
772 "Trying to deliver power-saving system reset exception " in powerpc_excp_7xx()
776 case POWERPC_EXCP_TRACE: /* Trace exception */ in powerpc_excp_7xx()
791 cpu_abort(env_cpu(env), "%s exception not implemented\n", in powerpc_excp_7xx()
795 cpu_abort(env_cpu(env), "Invalid PowerPC exception %d. Aborting\n", in powerpc_excp_7xx()
827 "Raised an exception without defined vector %d\n", excp); in powerpc_excp_74xx()
832 case POWERPC_EXCP_MCHECK: /* Machine check exception */ in powerpc_excp_74xx()
837 case POWERPC_EXCP_DSI: /* Data storage exception */ in powerpc_excp_74xx()
840 case POWERPC_EXCP_ISI: /* Instruction storage exception */ in powerpc_excp_74xx()
846 case POWERPC_EXCP_ALIGN: /* Alignment exception */ in powerpc_excp_74xx()
855 case POWERPC_EXCP_PROGRAM: /* Program exception */ in powerpc_excp_74xx()
881 cpu_abort(env_cpu(env), "Invalid program exception %d. Aborting\n", in powerpc_excp_74xx()
886 case POWERPC_EXCP_SYSCALL: /* System call exception */ in powerpc_excp_74xx()
916 case POWERPC_EXCP_FPU: /* Floating-point unavailable exception */ in powerpc_excp_74xx()
917 case POWERPC_EXCP_DECR: /* Decrementer exception */ in powerpc_excp_74xx()
919 case POWERPC_EXCP_RESET: /* System reset exception */ in powerpc_excp_74xx()
923 "exception %d with no HV support\n", excp); in powerpc_excp_74xx()
926 case POWERPC_EXCP_TRACE: /* Trace exception */ in powerpc_excp_74xx()
928 case POWERPC_EXCP_VPU: /* Vector unavailable exception */ in powerpc_excp_74xx()
934 case POWERPC_EXCP_VPUA: /* Vector assist exception */ in powerpc_excp_74xx()
935 cpu_abort(env_cpu(env), "%s exception not implemented\n", in powerpc_excp_74xx()
939 cpu_abort(env_cpu(env), "Invalid PowerPC exception %d. Aborting\n", in powerpc_excp_74xx()
985 "Raised an exception without defined vector %d\n", excp); in powerpc_excp_booke()
994 case POWERPC_EXCP_MCHECK: /* Machine check exception */ in powerpc_excp_booke()
1007 case POWERPC_EXCP_DSI: /* Data storage exception */ in powerpc_excp_booke()
1010 case POWERPC_EXCP_ISI: /* Instruction storage exception */ in powerpc_excp_booke()
1020 case POWERPC_EXCP_ALIGN: /* Alignment exception */ in powerpc_excp_booke()
1022 case POWERPC_EXCP_PROGRAM: /* Program exception */ in powerpc_excp_booke()
1052 cpu_abort(env_cpu(env), "Invalid program exception %d. Aborting\n", in powerpc_excp_booke()
1057 case POWERPC_EXCP_SYSCALL: /* System call exception */ in powerpc_excp_booke()
1066 case POWERPC_EXCP_FPU: /* Floating-point unavailable exception */ in powerpc_excp_booke()
1068 case POWERPC_EXCP_DECR: /* Decrementer exception */ in powerpc_excp_booke()
1094 "Debug exception triggered on unsupported model\n"); in powerpc_excp_booke()
1106 case POWERPC_EXCP_RESET: /* System reset exception */ in powerpc_excp_booke()
1110 "exception %d with no HV support\n", excp); in powerpc_excp_booke()
1115 cpu_abort(env_cpu(env), "%s exception not implemented\n", in powerpc_excp_booke()
1119 cpu_abort(env_cpu(env), "Invalid PowerPC exception %d. Aborting\n", in powerpc_excp_booke()
1289 "Raised an exception without defined vector %d\n", excp); in powerpc_excp_books()
1298 case POWERPC_EXCP_MCHECK: /* Machine check exception */ in powerpc_excp_books()
1314 case POWERPC_EXCP_DSI: /* Data storage exception */ in powerpc_excp_books()
1317 case POWERPC_EXCP_ISI: /* Instruction storage exception */ in powerpc_excp_books()
1338 case POWERPC_EXCP_ALIGN: /* Alignment exception */ in powerpc_excp_books()
1350 case POWERPC_EXCP_PROGRAM: /* Program exception */ in powerpc_excp_books()
1376 cpu_abort(env_cpu(env), "Invalid program exception %d. Aborting\n", in powerpc_excp_books()
1381 case POWERPC_EXCP_SYSCALL: /* System call exception */ in powerpc_excp_books()
1410 case POWERPC_EXCP_SYSCALL_VECTORED: /* scv exception */ in powerpc_excp_books()
1422 case POWERPC_EXCP_FPU: /* Floating-point unavailable exception */ in powerpc_excp_books()
1423 case POWERPC_EXCP_DECR: /* Decrementer exception */ in powerpc_excp_books()
1425 case POWERPC_EXCP_RESET: /* System reset exception */ in powerpc_excp_books()
1426 /* A power-saving exception sets ME, otherwise it is unchanged */ in powerpc_excp_books()
1442 "exception %d with no HV support\n", excp); in powerpc_excp_books()
1446 case POWERPC_EXCP_TRACE: /* Trace exception */ in powerpc_excp_books()
1449 case POWERPC_EXCP_DSEG: /* Data segment exception */ in powerpc_excp_books()
1450 case POWERPC_EXCP_ISEG: /* Instruction segment exception */ in powerpc_excp_books()
1454 case POWERPC_EXCP_HISI: /* Hypervisor instruction storage exception */ in powerpc_excp_books()
1457 case POWERPC_EXCP_HDECR: /* Hypervisor decrementer exception */ in powerpc_excp_books()
1458 case POWERPC_EXCP_HDSI: /* Hypervisor data storage exception */ in powerpc_excp_books()
1482 case POWERPC_EXCP_VPU: /* Vector unavailable exception */ in powerpc_excp_books()
1483 case POWERPC_EXCP_VSXU: /* VSX unavailable exception */ in powerpc_excp_books()
1484 case POWERPC_EXCP_FU: /* Facility unavailable exception */ in powerpc_excp_books()
1487 case POWERPC_EXCP_HV_FU: /* Hypervisor Facility Unavailable Exception */ in powerpc_excp_books()
1494 case POWERPC_EXCP_PERFM_EBB: /* Performance Monitor EBB Exception */ in powerpc_excp_books()
1495 case POWERPC_EXCP_EXTERNAL_EBB: /* External EBB Exception */ in powerpc_excp_books()
1506 * This exception is handled in userspace. No need to proceed. in powerpc_excp_books()
1510 case POWERPC_EXCP_VPUA: /* Vector assist exception */ in powerpc_excp_books()
1511 case POWERPC_EXCP_MAINT: /* Maintenance exception */ in powerpc_excp_books()
1512 case POWERPC_EXCP_HV_MAINT: /* Hypervisor Maintenance exception */ in powerpc_excp_books()
1513 cpu_abort(env_cpu(env), "%s exception not implemented\n", in powerpc_excp_books()
1517 cpu_abort(env_cpu(env), "Invalid PowerPC exception %d. Aborting\n", in powerpc_excp_books()
1539 cpu_abort(env_cpu(env), "Trying to deliver HV exception (HSRR) %d " in powerpc_excp_books()
1559 cpu_abort(env_cpu(env), "Invalid PowerPC exception %d. Aborting\n", in powerpc_excp()
1563 qemu_log_mask(CPU_LOG_INT, "Raise exception at " TARGET_FMT_lx in powerpc_excp()
1652 /* Machine check exception */ in p7_next_unmasked_interrupt()
1657 /* Hypervisor decrementer exception */ in p7_next_unmasked_interrupt()
1679 /* Decrementer exception */ in p7_next_unmasked_interrupt()
1745 /* Machine check exception */ in p8_next_unmasked_interrupt()
1750 /* Hypervisor decrementer exception */ in p8_next_unmasked_interrupt()
1772 /* Decrementer exception */ in p8_next_unmasked_interrupt()
1785 /* EBB exception */ in p8_next_unmasked_interrupt()
1788 * EBB exception must be taken in problem state and in p8_next_unmasked_interrupt()
1811 /* External Exception */ in p9_interrupt_powersave()
1820 /* Decrementer Exception */ in p9_interrupt_powersave()
1825 /* Machine Check or Hypervisor Maintenance Exception */ in p9_interrupt_powersave()
1834 /* Privileged Doorbell Exception */ in p9_interrupt_powersave()
1839 /* Hypervisor Doorbell Exception */ in p9_interrupt_powersave()
1844 /* Hypervisor virtualization exception */ in p9_interrupt_powersave()
1875 * When it's clear, any system-caused exception exits power-saving in p9_next_unmasked_interrupt()
1882 /* Machine check exception */ in p9_next_unmasked_interrupt()
1887 /* Hypervisor decrementer exception */ in p9_next_unmasked_interrupt()
1918 /* Decrementer exception */ in p9_next_unmasked_interrupt()
1931 /* EBB exception */ in p9_next_unmasked_interrupt()
1934 * EBB exception must be taken in problem state and in p9_next_unmasked_interrupt()
1977 /* Machine check exception */ in ppc_next_unmasked_interrupt()
1982 /* External debug exception */ in ppc_next_unmasked_interrupt()
1996 /* Hypervisor decrementer exception */ in ppc_next_unmasked_interrupt()
2048 /* Decrementer exception */ in ppc_next_unmasked_interrupt()
2065 /* EBB exception */ in ppc_next_unmasked_interrupt()
2068 * EBB exception must be taken in problem state and in ppc_next_unmasked_interrupt()
2112 case PPC_INTERRUPT_MCK: /* Machine check exception */ in p7_deliver_interrupt()
2117 case PPC_INTERRUPT_HDECR: /* Hypervisor decrementer exception */ in p7_deliver_interrupt()
2131 case PPC_INTERRUPT_DECR: /* Decrementer exception */ in p7_deliver_interrupt()
2162 case PPC_INTERRUPT_MCK: /* Machine check exception */ in p8_deliver_interrupt()
2167 case PPC_INTERRUPT_HDECR: /* Hypervisor decrementer exception */ in p8_deliver_interrupt()
2181 case PPC_INTERRUPT_DECR: /* Decrementer exception */ in p8_deliver_interrupt()
2203 case PPC_INTERRUPT_EBB: /* EBB exception */ in p8_deliver_interrupt()
2246 case PPC_INTERRUPT_MCK: /* Machine check exception */ in p9_deliver_interrupt()
2251 case PPC_INTERRUPT_HDECR: /* Hypervisor decrementer exception */ in p9_deliver_interrupt()
2269 case PPC_INTERRUPT_DECR: /* Decrementer exception */ in p9_deliver_interrupt()
2287 case PPC_INTERRUPT_EBB: /* EBB exception */ in p9_deliver_interrupt()
2339 case PPC_INTERRUPT_MCK: /* Machine check exception */ in ppc_deliver_interrupt()
2344 case PPC_INTERRUPT_HDECR: /* Hypervisor decrementer exception */ in ppc_deliver_interrupt()
2380 case PPC_INTERRUPT_DECR: /* Decrementer exception */ in ppc_deliver_interrupt()
2405 case PPC_INTERRUPT_EBB: /* EBB exception */ in ppc_deliver_interrupt()