Home
last modified time | relevance | path

Searched full:exception (Results 1 – 25 of 1711) sorted by relevance

12345678910>>...69

/Linux-v6.6/arch/xtensa/kernel/
Dvectors.S4 * This file contains all exception vectors (user, kernel, and double),
7 * exception occurs.
20 * We use a two-level table approach. The user and kernel exception vectors
21 * use a first-level dispatch table to dispatch the exception to a registered
23 * The default handler sets up a C-stack and dispatches the exception to a
36 * indicate that the exception is either a double or a regular exception:
38 * PT_DEPC >= VALID_DOUBLE_EXCEPTION_ADDRESS: double exception
39 * < VALID_DOUBLE_EXCEPTION_ADDRESS: regular exception
41 * Note: Neither the kernel nor the user exception handler generate literals.
60 * User exception vector. (Exceptions with PS.UM == 1, PS.EXCM == 0)
[all …]
Dentry.S2 * Low-level exception handling
90 /* ----------------- DEFAULT FIRST LEVEL EXCEPTION HANDLERS ----------------- */
93 * First-level exception handler for user exceptions.
96 * exception code.
109 * PT_DEPC >= VALID_DOUBLE_EXCEPTION_ADDRESS: double exception, DEPC
110 * < VALID_DOUBLE_EXCEPTION_ADDRESS: regular exception
242 /* Now, jump to the common exception handler. */
252 * MOVSP here, as we do that when we return from the exception.
253 * (See comment in the kernel exception exit code)
264 * PT_DEPC >= VALID_DOUBLE_EXCEPTION_ADDRESS: double exception, DEPC
[all …]
/Linux-v6.6/arch/powerpc/kernel/
Dhead_40x.S8 * Low-level exception handers, MMU support, and rewrite.
82 * critical exception prolog.
102 * Exception prolog for critical exceptions. This is a little different
103 * from the normal exception prolog above since a critical exception
104 * can potentially occur at any point during normal exception processing.
158 stw r9,_ESR(r11) /* exception was taken */
171 * now phys stack/exception frame pointer
180 * Exception vectors.
190 * 0x0100 - Critical Interrupt Exception
195 * 0x0200 - Machine Check Exception
[all …]
Dhead_booke.h13 * Macros used for common Book-e exception handling
33 * entries are available for specific exception use in the event a handler
65 1 : subi r11, r11, INT_FRAME_SIZE; /* Allocate exception frame */ \
86 lis r10, STACK_FRAME_REGS_MARKER@ha /* exception frame marker */
148 /* To handle the additional exception priority levels on 40x and Book-E
155 * GPR to use as the base for indirect access to the exception stacks. This
186 * Exception prolog for critical/machine check exceptions. This is a
187 * little different from the normal exception prolog above since a
188 * critical/machine check exception can potentially occur at any point
189 * during normal exception processing. Thus we cannot use the same SPRG
[all …]
Dhead_book3s_32.S9 * Low-level exception handlers and MMU support
182 * the exception vectors at 0 (and therefore this copy
183 * overwrites OF's exception vectors with our own).
241 EXCEPTION(INTERRUPT_SYSTEM_RESET, Reset, unknown_async_exception)
250 * a non-zero value, the address of the exception frame to use,
253 * (Other exception handlers assume that r1 is a valid kernel stack
254 * pointer when we take an exception from supervisor mode.)
277 /* Data access exception. */
311 /* Instruction access exception. */
341 EXCEPTION(INTERRUPT_EXTERNAL, HardwareInterrupt, do_IRQ)
[all …]
/Linux-v6.6/drivers/acpi/acpica/
Dutexcep.c4 * Module Name: utexcep - Exception code support
23 * RETURN: A string containing the exception text. A valid pointer is
26 * DESCRIPTION: This function translates an ACPI exception into an ASCII
32 const struct acpi_exception_info *exception; in acpi_format_exception() local
36 exception = acpi_ut_validate_exception(status); in acpi_format_exception()
37 if (!exception) { in acpi_format_exception()
39 /* Exception code was not recognized */ in acpi_format_exception()
42 "Unknown exception code: 0x%8.8X", status)); in acpi_format_exception()
47 return (exception->name); in acpi_format_exception()
58 * RETURN: A string containing the exception text. NULL if exception is in ACPI_EXPORT_SYMBOL()
[all …]
/Linux-v6.6/arch/microblaze/kernel/
Dexceptions.c2 * HW exception handling
64 die("Exception in kernel mode", regs, signr); in _exception()
75 pr_warn("Exception %02x in %s mode, FSR=%08x PC=%08x ESR=%08x\n", in full_exception()
83 pr_debug("Illegal opcode exception in user mode\n"); in full_exception()
87 pr_warn("Illegal opcode exception in kernel mode.\n"); in full_exception()
88 die("opcode exception", regs, SIGBUS); in full_exception()
92 pr_debug("Instruction bus error exception in user mode\n"); in full_exception()
96 pr_warn("Instruction bus error exception in kernel mode.\n"); in full_exception()
97 die("bus exception", regs, SIGBUS); in full_exception()
101 pr_debug("Data bus error exception in user mode\n"); in full_exception()
[all …]
Dhw_exception_handler.S3 * Exception handling for Microblaze
18 * Low-level exception handers, MMU support, and rewrite.
45 * Microblaze HW Exception Handler
46 * - Non self-modifying exception handler for the following exception conditions
53 * - Privileged instruction exception (MMU)
54 * - Data storage exception (MMU)
55 * - Instruction storage exception (MMU)
56 * - Data TLB miss exception (MMU)
57 * - Instruction TLB miss exception (MMU)
59 * Note we disable interrupts during exception handling, otherwise we will
[all …]
/Linux-v6.6/arch/arm/nwfpe/
Dfpsr.h18 EXCEPTION TRAP ENABLE BYTE
20 CUMULATIVE EXCEPTION FLAGS BYTE
37 /* EXCEPTION TRAP ENABLE BYTE
42 #define BIT_IXE 0x00100000 /* inexact exception enable */
43 #define BIT_UFE 0x00080000 /* underflow exception enable */
44 #define BIT_OFE 0x00040000 /* overflow exception enable */
45 #define BIT_DZE 0x00020000 /* divide by zero exception enable */
46 #define BIT_IOE 0x00010000 /* invalid operation exception enable */
58 #define BIT_NE 0x00000200 /* NaN exception bit */
61 /* CUMULATIVE EXCEPTION FLAGS BYTE
[all …]
/Linux-v6.6/tools/perf/pmu-events/arch/arm64/
Drecommended.json321 "PublicDescription": "Exception taken, Other synchronous",
324 "BriefDescription": "Exception taken, Other synchronous"
327 "PublicDescription": "Exception taken, Supervisor Call",
330 "BriefDescription": "Exception taken, Supervisor Call"
333 "PublicDescription": "Exception taken, Instruction Abort",
336 "BriefDescription": "Exception taken, Instruction Abort"
339 "PublicDescription": "Exception taken, Data Abort and SError",
342 "BriefDescription": "Exception taken, Data Abort and SError"
345 "PublicDescription": "Exception taken, IRQ",
348 "BriefDescription": "Exception taken, IRQ"
[all …]
/Linux-v6.6/arch/parisc/math-emu/
Ddecode_exc.c55 /* Exception register definitions */
110 /* exception_index is used to index the exception register queue. It in decode_fpu()
111 * always points at the last register that contains a valid exception. A in decode_fpu()
117 * Check for reserved-op exception. A reserved-op exception does not in decode_fpu()
118 * set any exception registers nor does it set the T-bit. If the T-bit in decode_fpu()
119 * is not set then a reserved-op exception occurred. in decode_fpu()
133 * Now we need to determine what type of exception occurred. in decode_fpu()
138 * On PA89: there are 5 different unimplemented exception in decode_fpu()
145 * Clear T-bit and exception register so that in decode_fpu()
160 * exception register contain the correct values in decode_fpu()
[all …]
/Linux-v6.6/tools/testing/selftests/powerpc/tm/
Dtm-unavailable.c5 * Force FP, VEC and VSX unavailable exception during transaction in all
11 * VEC/Altivec registers on abortion due to an unavailable exception in TM.
47 int exception; member
52 if (flags.touch_fp && flags.exception == FP_UNA_EXCEPTION) in expecting_failure()
55 if (flags.touch_vec && flags.exception == VEC_UNA_EXCEPTION) in expecting_failure()
60 * won't raise an exception. However since FP and VEC state are already in expecting_failure()
66 flags.exception == VSX_UNA_EXCEPTION) in expecting_failure()
113 if (flags.exception != FP_UNA_EXCEPTION && in tm_una_ping()
114 flags.exception != VEC_UNA_EXCEPTION && in tm_una_ping()
115 flags.exception != VSX_UNA_EXCEPTION) { in tm_una_ping()
[all …]
/Linux-v6.6/arch/m68k/fpsp040/
Dskeleton.S7 | Each entry point for exception 'xxxx' begins with a 'jmp fpsp_xxxx'.
10 | the 'fpsp_xxxx' handler entry point should be placed in the exception
12 | exception is one that must be reported then there will be a
16 | that caused the exception will still be pending when the FPSP
18 | to handle the exception.
20 | If the exception was completely handled by the package, then
58 | Divide by Zero exception
80 | Inexact exception
83 | will probably want to clear the pending exception.
84 | The provided code will clear the E3 exception (if pending),
[all …]
/Linux-v6.6/arch/m68k/ifpsp060/
Dfskeleton.S70 | This is the exit point for the 060FPSP when an enabled overflow exception
72 | for enabled overflow conditions. The exception stack frame is an overflow
75 | The sample routine below simply clears the exception status bit and
89 | This is the exit point for the 060FPSP when an enabled underflow exception
91 | for enabled underflow conditions. The exception stack frame is an underflow
94 | The sample routine below simply clears the exception status bit and
107 | This is the exit point for the 060FPSP when an enabled operand error exception
109 | for enabled operand error exceptions. The exception stack frame is an operand error
113 | The sample routine below simply clears the exception status bit and
126 | This is the exit point for the 060FPSP when an enabled signalling NaN exception
[all …]
/Linux-v6.6/security/
Ddevice_cgroup.c30 * exception list locking rules:
165 * dev_exception_clean - frees all entries of the exception list
166 * @dev_cgroup: dev_cgroup with the exception list to be cleaned
315 * match_exception - iterates the exception list trying to find a complete match
322 * It is considered a complete match if an exception is found that will
325 * Return: true in case it matches an exception completely
341 /* provided access cannot have more than the exception rule */ in match_exception()
350 * match_exception_partial - iterates the exception list trying to find a partial match
357 * It is considered a partial match if an exception's range is found to
360 * any of the exception list.
[all …]
/Linux-v6.6/Documentation/process/
Dlicense-rules.rst10 with an explicit syscall exception described in
38 kernel, the exception must be documented by a special license expression.
98 exception applies. When multiple licenses apply, an expression consists
116 // SPDX-License-Identifier: GPL-2.0 WITH mif-exception
117 // SPDX-License-Identifier: GPL-2.0+ WITH GCC-exception-2.0
120 valid License identifiers are listed in the tags of the exception text
342 exception text and the required `Exception Metatags`_.
348 Contains the Linux syscall exception as documented in the COPYING
352 LICENSES/exceptions/GCC-exception-2.0
354 Contains the GCC 'linking exception' which allows to link any binary
[all …]
/Linux-v6.6/tools/testing/selftests/kvm/x86_64/
Dnested_exceptions_test.c22 * Bit '0' is set on Intel if the exception occurs while delivering a previous
23 * event/exception. AMD's wording is ambiguous, but presumably the bit is set
24 * if the exception occurs while delivering an external event, e.g. NMI or INTR,
141 * VMX disallows injecting an exception with error_code[31:16] != 0, in l1_vmx_code()
196 TEST_ASSERT(!events.exception.pending, in queue_ss_exception()
197 "Vector %d unexpectedlt pending", events.exception.nr); in queue_ss_exception()
198 TEST_ASSERT(!events.exception.injected, in queue_ss_exception()
199 "Vector %d unexpectedly injected", events.exception.nr); in queue_ss_exception()
202 events.exception.pending = !inject; in queue_ss_exception()
203 events.exception.injected = inject; in queue_ss_exception()
[all …]
Ddebug_regs.c34 * exception rather than a normal trap for KVM_SET_GUEST_DEBUG (we in guest_code()
35 * capture it using the vcpu exception bitmap). in guest_code()
109 run->debug.arch.exception == BP_VECTOR && in main()
111 "INT3: exit %d exception %d rip 0x%llx (should be 0x%llx)", in main()
112 run->exit_reason, run->debug.arch.exception, in main()
126 run->debug.arch.exception == DB_VECTOR && in main()
129 "INS_HW_BP (DR%d): exit %d exception %d rip 0x%llx " in main()
131 i, run->exit_reason, run->debug.arch.exception, in main()
149 run->debug.arch.exception == DB_VECTOR && in main()
152 "DATA_HW_BP (DR%d): exit %d exception %d rip 0x%llx " in main()
[all …]
/Linux-v6.6/Documentation/translations/zh_CN/process/
Dlicense-rules.rst101 // SPDX-License-Identifier: GPL-2.0 WITH mif-exception
102 // SPDX-License-Identifier: GPL-2.0+ WITH GCC-exception-2.0
265 LICENSES/exceptions/GCC-exception-2.0
274 - SPDX-Exception-Identifier:
291 - Exception-Text:
297 SPDX-Exception-Identifier: Linux-syscall-note
301 This exception is used together with one of the above SPDX-Licenses
304 To use this exception add it with the keyword WITH to one of the
307 Exception-Text:
308 Full exception text
[all …]
/Linux-v6.6/arch/openrisc/include/asm/
Dspr_defs.h216 #define SPR_SR_TEE 0x00000002 /* Tick timer Exception Enable */
217 #define SPR_SR_IEE 0x00000004 /* Interrupt Exception Enable */
227 #define SPR_SR_OVE 0x00001000 /* Overflow flag Exception */
228 #define SPR_SR_DSX 0x00002000 /* Delay Slot Exception */
229 #define SPR_SR_EPH 0x00004000 /* Exception Prefix High */
477 #define SPR_DSR_RSTE 0x00000001 /* Reset exception */
478 #define SPR_DSR_BUSEE 0x00000002 /* Bus error exception */
479 #define SPR_DSR_DPFE 0x00000004 /* Data Page Fault exception */
480 #define SPR_DSR_IPFE 0x00000008 /* Insn Page Fault exception */
481 #define SPR_DSR_TTE 0x00000010 /* Tick Timer exception */
[all …]
/Linux-v6.6/arch/mips/kernel/
Dgenex.S27 * General exception vector for all other CPUs.
30 * to fit into space reserved for the exception handler.
46 * General exception handler for CPUs with virtual coherency exception.
49 * exception) bytes to fit into space reserved for the exception handler.
74 * c0_badvaddr because after return from this exception handler the
237 * This is a dedicated interrupt exception vector which reduces the
242 * to fit into space reserved for the exception handler.
249 * EJTAG debug exception handler.
250 * The EJTAG debug exception entry point is 0xbfc00480, which
343 * EJTAG debug exception handler.
[all …]
/Linux-v6.6/Documentation/translations/zh_TW/process/
Dlicense-rules.rst104 // SPDX-License-Identifier: GPL-2.0 WITH mif-exception
105 // SPDX-License-Identifier: GPL-2.0+ WITH GCC-exception-2.0
268 LICENSES/exceptions/GCC-exception-2.0
277 - SPDX-Exception-Identifier:
294 - Exception-Text:
300 SPDX-Exception-Identifier: Linux-syscall-note
304 This exception is used together with one of the above SPDX-Licenses
307 To use this exception add it with the keyword WITH to one of the
310 Exception-Text:
311 Full exception text
[all …]
/Linux-v6.6/arch/x86/math-emu/
Derrors.c27 #include "exception.h"
68 EXCEPTION(EX_Invalid);
136 printk("SW: exception summary\n"); in FPU_printall()
315 /* Set lots of exception bits! */ in FPU_exception()
320 /* Set the corresponding exception bit */ in FPU_exception()
322 /* Set summary bits iff exception isn't masked */ in FPU_exception()
343 printk("FP Exception: %s!\n", exception_names[i].name); in FPU_exception()
346 printk("FPU emulator: Unknown Exception: 0x%04x!\n", n); in FPU_exception()
373 /* Returns < 0 if the exception is unmasked */
390 EXCEPTION(EX_Invalid); in real_1op_NaN()
[all …]
/Linux-v6.6/arch/s390/kernel/
Dtraps.c88 die(regs, "Unknown program exception"); in default_trap_handler()
98 "addressing exception")
100 "execute exception")
102 "fixpoint divide exception")
104 "fixpoint overflow exception")
106 "HFP overflow exception")
108 "HFP underflow exception")
110 "HFP significance exception")
112 "HFP divide exception")
114 "HFP square root exception")
[all …]
/Linux-v6.6/arch/arm64/kvm/hyp/
Dexception.c75 * This performs the exception entry at a given EL (@target_mode), stashing PC
80 * When an exception is taken, most PSTATE fields are left unchanged in the
139 // PSTATE.UAO is set to zero upon any exception to AArch64 in enter_exception64()
149 // PSTATE.SS is set to zero upon any exception to AArch64 in enter_exception64()
152 // PSTATE.IL is set to zero upon any exception to AArch64 in enter_exception64()
155 // PSTATE.SSBS is set to SCTLR_ELx.DSSBS upon any exception to AArch64 in enter_exception64()
160 // PSTATE.BTYPE is set to zero upon any exception to AArch64 in enter_exception64()
175 * When an exception is taken, most CPSR fields are left unchanged in the
206 // CPSR.IT[7:0] are set to zero upon any exception in get_except32_cpsr()
212 // CPSR.SSBS is set to SCTLR.DSSBS upon any exception in get_except32_cpsr()
[all …]

12345678910>>...69