Home
last modified time | relevance | path

Searched refs:trap (Results 1 – 25 of 150) sorted by relevance

123456

/Linux-v4.19/arch/m68k/68000/
Dromvec.S15 .global trap
21 .long CONFIG_RAMBASE+CONFIG_RAMSIZE-4, _start, buserr, trap
22 .long trap, trap, trap, trap
23 .long trap, trap, trap, trap
24 .long trap, trap, trap, trap
25 .long trap, trap, trap, trap
26 .long trap, trap, trap, trap
27 .long trap, trap, trap, trap
28 .long trap, trap, trap, trap
30 .long system_call, trap, trap, trap
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dnv50.c143 u32 trap[6], idx, inst; in nv50_fb_intr() local
155 trap[i] = nvkm_rd32(device, 0x100c94); in nv50_fb_intr()
162 st0 = (trap[0] & 0x0000000f) >> 0; in nv50_fb_intr()
163 st1 = (trap[0] & 0x000000f0) >> 4; in nv50_fb_intr()
164 st2 = (trap[0] & 0x00000f00) >> 8; in nv50_fb_intr()
165 st3 = (trap[0] & 0x0000f000) >> 12; in nv50_fb_intr()
167 st0 = (trap[0] & 0x000000ff) >> 0; in nv50_fb_intr()
168 st1 = (trap[0] & 0x0000ff00) >> 8; in nv50_fb_intr()
169 st2 = (trap[0] & 0x00ff0000) >> 16; in nv50_fb_intr()
170 st3 = (trap[0] & 0xff000000) >> 24; in nv50_fb_intr()
[all …]
/Linux-v4.19/arch/powerpc/include/asm/
Dptrace.h131 #define FULL_REGS(regs) (((regs)->trap & 1) == 0)
133 #define IS_CRITICAL_EXC(regs) (((regs)->trap & 2) != 0)
134 #define IS_MCHECK_EXC(regs) (((regs)->trap & 4) != 0)
135 #define IS_DEBUG_EXC(regs) (((regs)->trap & 8) != 0)
137 #define TRAP(regs) ((regs)->trap & ~0xF)
140 #define CHECK_FULL_REGS(regs) BUG_ON(regs->trap & 1)
145 if ((regs)->trap & 1) \
Dtrace.h153 TP_PROTO(unsigned long addr, unsigned long access, unsigned long trap),
154 TP_ARGS(addr, access, trap),
158 __field(unsigned long, trap)
164 __entry->trap = trap;
168 __entry->addr, __entry->access, __entry->trap)
Dexception-64s.h689 #define EXCEPTION_COMMON(area, trap, label, hdlr, ret, additions) \ argument
690 EXCEPTION_PROLOG_COMMON(trap, area); \
701 #define EXCEPTION_COMMON_NORET_STACK(area, trap, label, hdlr, additions) \ argument
704 EXCEPTION_PROLOG_COMMON_3(trap); \
710 #define STD_EXCEPTION_COMMON(trap, label, hdlr) \ argument
711 EXCEPTION_COMMON(PACA_EXGEN, trap, label, hdlr, \
719 #define STD_EXCEPTION_COMMON_ASYNC(trap, label, hdlr) \ argument
720 EXCEPTION_COMMON(PACA_EXGEN, trap, label, hdlr, \
/Linux-v4.19/arch/m68k/ifpsp060/
Dfskeleton.S83 bral trap | jump to trap handler
102 bral trap | jump to trap handler
121 bral trap | jump to trap handler
140 bral trap | jump to trap handler
159 bral trap | jump to trap handler
178 bral trap | jump to trap handler
200 bral trap | jump to trap handler
214 bral trap | jump to trap handler
246 | discovers that the trap condition is true and it should branch to the operating
247 | system handler for the trap exception vector number 7.
[all …]
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dmad.c125 static void cleanup_traps(struct hfi1_ibport *ibp, struct trap_node *trap) in cleanup_traps() argument
144 if (node != trap) in cleanup_traps()
153 kfree(trap); in cleanup_traps()
157 struct trap_node *trap) in check_and_add_trap() argument
167 queue_id = trap->data.generic_type & 0x0F; in check_and_add_trap()
171 trap->data.generic_type, trap_count); in check_and_add_trap()
172 kfree(trap); in check_and_add_trap()
184 if (node == trap) { in check_and_add_trap()
195 list_add_tail(&trap->list, &trap_list->list); in check_and_add_trap()
198 trap->data.generic_type); in check_and_add_trap()
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dgf100.c974 u32 trap[4]; in gf100_gr_trap_gpc_rop() local
976 trap[0] = nvkm_rd32(device, GPC_UNIT(gpc, 0x0420)) & 0x3fffffff; in gf100_gr_trap_gpc_rop()
977 trap[1] = nvkm_rd32(device, GPC_UNIT(gpc, 0x0434)); in gf100_gr_trap_gpc_rop()
978 trap[2] = nvkm_rd32(device, GPC_UNIT(gpc, 0x0438)); in gf100_gr_trap_gpc_rop()
979 trap[3] = nvkm_rd32(device, GPC_UNIT(gpc, 0x043c)); in gf100_gr_trap_gpc_rop()
981 nvkm_snprintbf(error, sizeof(error), gf100_gpc_rop_error, trap[0]); in gf100_gr_trap_gpc_rop()
985 gpc, trap[0], error, trap[1] & 0xffff, trap[1] >> 16, in gf100_gr_trap_gpc_rop()
986 (trap[2] >> 8) & 0x3f, trap[3] & 0xff); in gf100_gr_trap_gpc_rop()
1058 u32 trap = nvkm_rd32(device, TPC_UNIT(gpc, tpc, 0x0224)); in gf100_gr_trap_tpc() local
1059 nvkm_error(subdev, "GPC%d/TPC%d/TEX: %08x\n", gpc, tpc, trap); in gf100_gr_trap_tpc()
[all …]
/Linux-v4.19/arch/m68k/coldfire/
Dvectors.c39 asmlinkage void trap(void);
54 _ramvec[i] = trap; in trap_init()
56 _ramvec[i] = trap; in trap_init()
/Linux-v4.19/arch/powerpc/mm/
Dhash_utils_64.c1070 unsigned int hash_page_do_lazy_icache(unsigned int pp, pte_t pte, int trap) in hash_page_do_lazy_icache() argument
1081 if (trap == 0x400) { in hash_page_do_lazy_icache()
1183 unsigned long vsid, unsigned long trap, in hash_failure_debug() argument
1191 trap, vsid, ssize, psize, lpsize, pte); in hash_failure_debug()
1217 unsigned long access, unsigned long trap, in hash_page_mm() argument
1230 ea, access, trap); in hash_page_mm()
1231 trace_hash_fault(ea, access, trap); in hash_page_mm()
1315 trap, flags, ssize, psize); in hash_page_mm()
1318 rc = __hash_page_huge(ea, access, vsid, ptep, trap, in hash_page_mm()
1378 rc = __hash_page_64K(ea, access, vsid, ptep, trap, in hash_page_mm()
[all …]
Dhash64_64k.c37 pte_t *ptep, unsigned long trap, unsigned long flags, in __hash_page_4K() argument
84 rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); in __hash_page_4K()
211 hash_failure_debug(ea, access, vsid, trap, ssize, in __hash_page_4K()
224 unsigned long vsid, pte_t *ptep, unsigned long trap, in __hash_page_64K() argument
268 rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); in __hash_page_64K()
323 hash_failure_debug(ea, access, vsid, trap, ssize, in __hash_page_64K()
Dhugetlbpage-hash64.c23 pte_t *ptep, unsigned long trap, unsigned long flags, in __hash_page_huge() argument
76 rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); in __hash_page_huge()
106 hash_failure_debug(ea, access, vsid, trap, ssize, in __hash_page_huge()
Dhash64_4k.c20 pte_t *ptep, unsigned long trap, unsigned long flags, in __hash_page_4K() argument
62 rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); in __hash_page_4K()
115 hash_failure_debug(ea, access, vsid, trap, ssize, in __hash_page_4K()
Dhugepage-hash64.c22 pmd_t *pmdp, unsigned long trap, unsigned long flags, in __hash_page_thp() argument
63 rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); in __hash_page_thp()
160 hash_failure_debug(ea, access, vsid, trap, ssize, in __hash_page_thp()
Dmem.c512 unsigned long access, trap; in update_mmu_cache() local
531 trap = current->thread.regs ? TRAP(current->thread.regs) : 0UL; in update_mmu_cache()
532 switch (trap) { in update_mmu_cache()
543 hash_preload(vma->vm_mm, address, access, trap); in update_mmu_cache()
/Linux-v4.19/arch/powerpc/include/asm/book3s/64/
Dmmu-hash.h449 unsigned long vsid, pte_t *ptep, unsigned long trap,
452 unsigned long vsid, pte_t *ptep, unsigned long trap,
455 unsigned int hash_page_do_lazy_icache(unsigned int pp, pte_t pte, int trap);
457 unsigned long access, unsigned long trap,
459 extern int hash_page(unsigned long ea, unsigned long access, unsigned long trap,
462 pte_t *ptep, unsigned long trap, unsigned long flags,
466 unsigned long vsid, pmd_t *pmdp, unsigned long trap,
471 unsigned long trap, unsigned long flags, in __hash_page_thp() argument
479 unsigned long vsid, unsigned long trap,
/Linux-v4.19/Documentation/sparc/
Dadi.txt98 the corresponding cacheline, a memory corruption trap occurs. By
99 default, it is a disrupting trap and is sent to the hypervisor
101 resumable error (TT=0x7e) trap to the kernel. The kernel sends
102 a SIGSEGV to the task that resulted in this trap with the following
117 the corresponding cacheline, a memory corruption trap occurs. If
120 a SIGSEGV to the task that resulted in this trap with the following
126 siginfo.si_addr = addr; /* address that caused trap */
129 NOTE: ADI tag mismatch on a load always results in precise trap.
135 on a memory address, processor sends an MCD disabled trap. This
136 trap is handled by hypervisor first and the hypervisor vectors this
[all …]
/Linux-v4.19/arch/mips/kernel/
Dkgdb.c310 int trap = (regs->cp0_cause & 0x7c) >> 2; in kgdb_mips_notify() local
333 if (kgdb_handle_exception(trap, compute_signal(trap), cmd, regs)) { in kgdb_mips_notify()
339 if ((trap == 9) && (regs->cp0_epc == (unsigned long)breakinst)) in kgdb_mips_notify()
352 struct pt_regs *regs, long err, int trap, int sig) in kgdb_ll_trap() argument
358 .trapnr = trap, in kgdb_ll_trap()
/Linux-v4.19/arch/m68k/kernel/
Dvectors.c33 asmlinkage void trap(void);
70 vectors[VEC_ILLEGAL] = trap; in base_trap_init()
83 vectors[i] = trap; in trap_init()
/Linux-v4.19/Documentation/arm/
Dmem_alignment9 Of course this is a bad idea to rely on the alignment trap to perform
12 alignment trap can fixup misaligned access for the exception cases, but at
16 trap to SIGBUS any code performing unaligned access (good for debugging bad
26 To change the alignment trap behavior, simply echo a number into
/Linux-v4.19/arch/sparc/kernel/
Dcherrs.S182 rdpr %tl, %g1 ! Save original trap level
185 1: wrpr %g2, %tl ! Set trap level to check
189 wrpr %g1, %tl ! Restore original trap level
190 add %g2, 1, %g2 ! Next trap level
194 wrpr %g1, %tl ! Restore original trap level
233 rdpr %tl, %g1 ! Save original trap level
236 1: wrpr %g2, %tl ! Set trap level to check
240 wrpr %g1, %tl ! Restore original trap level
241 add %g2, 1, %g2 ! Next trap level
245 wrpr %g1, %tl ! Restore original trap level
/Linux-v4.19/arch/m68k/fpsp040/
Dkernel_ex.S49 | if dz trap disabled
56 | else dz trap enabled
105 | if (operr trap disabled)
110 | else (operr trap enabled)
343 btstb #snan_bit,FPCR_ENABLE(%a6) |check if trap enabled
/Linux-v4.19/arch/ia64/mm/
Dfault.c25 static inline int notify_page_fault(struct pt_regs *regs, int trap) in notify_page_fault() argument
32 if (kprobe_running() && kprobe_fault_handler(regs, trap)) in notify_page_fault()
40 static inline int notify_page_fault(struct pt_regs *regs, int trap) in notify_page_fault() argument
/Linux-v4.19/drivers/gpu/drm/i915/gvt/
Dcfg_space.c141 static int trap_gttmmio(struct intel_vgpu *vgpu, bool trap) in trap_gttmmio() argument
147 if (trap == vgpu->cfg_space.bar[INTEL_GVT_PCI_BAR_GTTMMIO].tracked) in trap_gttmmio()
159 ret = intel_gvt_hypervisor_set_trap_area(vgpu, start, end, trap); in trap_gttmmio()
163 vgpu->cfg_space.bar[INTEL_GVT_PCI_BAR_GTTMMIO].tracked = trap; in trap_gttmmio()
/Linux-v4.19/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_vema.c738 struct opa_veswport_trap *trap; in opa_vnic_vema_send_trap() local
831 trap = (struct opa_veswport_trap *)trap_mad->notice.raw_data; in opa_vnic_vema_send_trap()
832 trap->fabric_id = cpu_to_be16(data->fabric_id); in opa_vnic_vema_send_trap()
833 trap->veswid = cpu_to_be16(data->veswid); in opa_vnic_vema_send_trap()
834 trap->veswportnum = cpu_to_be32(data->veswportnum); in opa_vnic_vema_send_trap()
835 trap->opaportnum = cpu_to_be16(data->opaportnum); in opa_vnic_vema_send_trap()
836 trap->veswportindex = data->veswportindex; in opa_vnic_vema_send_trap()
837 trap->opcode = data->opcode; in opa_vnic_vema_send_trap()

123456