Segher Boessenkool <seg...@kernel.crashing.org> 于2021年4月1日周四 上午6:15写道:
> On Wed, Mar 31, 2021 at 08:58:17PM +1100, Michael Ellerman wrote: > > So perhaps: > > > > EXC_SYSTEM_RESET > > EXC_MACHINE_CHECK > > EXC_DATA_STORAGE > > EXC_DATA_SEGMENT > > EXC_INST_STORAGE > > EXC_INST_SEGMENT > > EXC_EXTERNAL_INTERRUPT > > EXC_ALIGNMENT > > EXC_PROGRAM_CHECK > > EXC_FP_UNAVAILABLE > > EXC_DECREMENTER > > EXC_HV_DECREMENTER > > EXC_SYSTEM_CALL > > EXC_HV_DATA_STORAGE > > EXC_PERF_MONITOR > > These are interrupt (vectors), not exceptions. It doesn't matter all > that much, but confusing things more isn't useful either! There can be > multiple exceptions that all can trigger the same interrupt. > > When looking at the reference manual of e500 and e600 from NXP official, they call them as interrupts.While looking at the "The Programming Environments" that is also from NXP, they call them exceptions. Looks like there is no explicit distinction between interrupts and exceptions. Here are the links for the reference manual of e600 and e500: https://www.nxp.com.cn/docs/en/reference-manual/E600CORERM.pdf https://www.nxp.com/files-static/32bit/doc/ref_manual/EREF_RM.pdf Here is the "The Programming Environments" link: https://www.nxp.com.cn/docs/en/user-guide/MPCFPE_AD_R1.pdf As far as I know, the values of interrupts or exceptions above are defined explicitly in reference manual or the programming environments. Could you please provide more details about multiple exceptions with the same interrupts? Xiongwei