Searched refs:fault (Results 76 - 100 of 378) sorted by relevance

1234567891011>>

/linux-master/drivers/iio/dac/
H A Dad5421.c28 /* load dac and fault shared the same register number. Writing to it will cause
29 * a dac load command, reading from it will return the fault status register */
53 /* These bits will cause the fault pin to go high */
207 unsigned int fault; local
211 fault = ad5421_read(indio_dev, AD5421_REG_FAULT);
212 if (!fault)
215 /* If we had a fault, this might mean that the DAC has lost its state
223 /* The fault pin stays high as long as a fault condition is present and
224 * it is not possible to mask fault condition
[all...]
/linux-master/arch/x86/kvm/mmu/
H A Dmmutrace.h256 TP_PROTO(struct kvm_vcpu *vcpu, struct kvm_page_fault *fault,
258 TP_ARGS(vcpu, fault, sptep, old_spte, ret),
272 __entry->cr2_or_gpa = fault->addr;
273 __entry->error_code = fault->error_code;
371 TP_PROTO(struct kvm_page_fault *fault),
372 TP_ARGS(fault),
381 __entry->gfn = fault->gfn;
382 __entry->pfn = fault->pfn | (fault->gfn & (KVM_PAGES_PER_HPAGE(fault
[all...]
H A Dtdp_mmu.c363 * handling a page fault could overwrite it, so
409 * sufficient as a fast page fault could read the upper
800 * in order to mimic the page fault path, which can replace a 1GiB page
1013 * Installs a last-level SPTE to handle a TDP page fault.
1017 struct kvm_page_fault *fault,
1025 if (WARN_ON_ONCE(sp->role.level != fault->goal_level))
1028 if (unlikely(!fault->slot))
1031 wrprot = make_spte(vcpu, sp, fault->slot, ACC_ALL, iter->gfn,
1032 fault->pfn, iter->old_spte, fault
1016 tdp_mmu_map_handle_target_level(struct kvm_vcpu *vcpu, struct kvm_page_fault *fault, struct tdp_iter *iter) argument
1105 kvm_tdp_mmu_map(struct kvm_vcpu *vcpu, struct kvm_page_fault *fault) argument
[all...]
/linux-master/include/linux/
H A Dled-class-flash.h17 * Supported led fault bits - must be kept in synch
46 /* get the flash LED fault */
47 int (*fault_get)(struct led_classdev_flash *fled_cdev, u32 *fault);
202 * led_get_flash_fault - get the flash LED fault
204 * @fault: bitmask containing flash faults
206 * Get the flash LED fault.
210 int led_get_flash_fault(struct led_classdev_flash *fled_cdev, u32 *fault);
/linux-master/drivers/misc/ocxl/
H A Dlink.c34 #define SPA_XSL_TF (1ull << (63-3)) /* Translation fault */
43 /* callback to trigger when a translation fault occurs */
64 * The following field are used by the memory fault
142 struct xsl_fault *fault = container_of(fault_work, struct xsl_fault, local
144 struct spa *spa = container_of(fault, struct spa, xsl_fault);
150 * function (taken in the memory fault interrupt handler)
152 rc = copro_handle_mm_fault(fault->pe_data.mm, fault->dar, fault->dsisr,
156 if (fault
[all...]
/linux-master/drivers/dma/idxd/
H A Dirq.c224 struct idxd_evl_fault *fault = container_of(work, struct idxd_evl_fault, work); local
225 struct idxd_wq *wq = fault->wq;
229 struct __evl_entry *entry_head = fault->entry;
237 switch (fault->status) {
262 dev_dbg_ratelimited(dev, "Unrecognized error code: %#x\n", fault->status);
276 * The task that triggered the page fault is unknown currently
278 * space or the task exits already before this fault.
284 switch (fault->status) {
308 kmem_cache_free(idxd->evl_cache, fault);
325 struct idxd_evl_fault *fault; local
[all...]
/linux-master/arch/arm/mm/
H A Dalignment.c7 * Thumb alignment fault fixups (c) 2004 MontaVista Software, Inc.
28 #include "fault.h"
36 * Speed optimisations and better fault handling by Russell King.
106 * Ignoring the alignment fault is not an option on these
222 goto fault; \
243 goto fault; \
275 goto fault; \
317 goto fault; \
384 fault:
446 fault
772 int fault; local
787 int fault; local
810 int fault; local
[all...]
/linux-master/tools/testing/selftests/mm/
H A Dkhugepaged.c47 void (*fault)(void *p, unsigned long start, unsigned long end); member in struct:mem_ops
308 ops->fault(p, 0, hpage_pmd_size);
475 .fault = &anon_fault,
483 .fault = &file_fault,
491 .fault = &anon_fault,
586 ops->fault(p, 0, nr_hpages * hpage_pmd_size);
626 printf("Allocate huge page on fault...");
650 ops->fault(p, 0, size);
671 ops->fault(p, 0, page_size);
696 ops->fault(
[all...]
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_gmc.c378 * amdgpu_gmc_fault_key - get hask key from vm fault address and pasid
392 * @ih: interrupt ring that the fault received from
393 * @addr: address of the VM fault
394 * @pasid: PASID of the process causing the fault
395 * @timestamp: timestamp of the fault
398 * True if the fault was filtered and should not be processed further.
399 * False if the fault is a new one and needs to be handled.
407 struct amdgpu_gmc_fault *fault; local
410 /* Stale retry fault if timestamp goes backward */
420 /* Try to find the fault i
477 struct amdgpu_gmc_fault *fault; local
[all...]
/linux-master/arch/sparc/mm/
H A Dfault_64.c3 * arch/sparc64/mm/fault.c: Page fault handlers for the 64-bit Sparc.
63 printk(KERN_CRIT "OOPS: Bogus kernel PC [%016lx] in fault handler\n",
170 * to compute a precise fault address. Otherwise use the fault
245 * this was a SEGV_MAPERR or SEGV_ACCERR fault.
274 vm_fault_t fault; local
317 * context, we must not take the fault..
342 /* Pure DTLB misses do not tell us whether the fault causing
348 * Special hack, window spill/fill knows the exact fault typ
[all...]
/linux-master/drivers/media/i2c/
H A Dlm3560.c31 /* fault mask */
168 s32 fault = 0; local
174 fault |= V4L2_FLASH_FAULT_SHORT_CIRCUIT;
176 fault |= V4L2_FLASH_FAULT_OVER_TEMPERATURE;
178 fault |= V4L2_FLASH_FAULT_TIMEOUT;
179 ctrl->cur.val = fault;
281 struct v4l2_ctrl *fault; local
322 /* fault */
323 fault = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_FLASH_FAULT, 0,
328 if (fault !
[all...]
/linux-master/drivers/hwmon/
H A Dltc4261.c141 u8 fault; local
146 fault = data->regs[LTC4261_FAULT] & attr->index;
147 if (fault) /* Clear reported faults in chip register */
148 i2c_smbus_write_byte_data(data->client, LTC4261_FAULT, ~fault);
150 return sysfs_emit(buf, "%d\n", fault ? 1 : 0);
H A Dltc4222.c105 unsigned int fault; local
108 ret = regmap_read(regmap, attr->nr, &fault);
111 fault &= attr->index;
112 if (fault) /* Clear reported faults in chip register */
115 return sysfs_emit(buf, "%d\n", !!fault);
/linux-master/arch/x86/mm/
H A Dfault.c45 * Returns 0 if mmiotrace is disabled, or if the fault is not
136 * If it was a exec (instruction fetch) fault on NX page, then
137 * do not ignore the fault:
221 * Handle a fault on the vmalloc or module mapping area
232 * unhandled page-fault when they are accessed.
415 * The OS sees this as a page fault with the upper 32bits of RIP cleared.
452 * We catch this in the page fault handler because these addresses
541 pr_alert("BUG: unable to handle page fault for address: %px\n",
565 * contributory exception from user code and gets a page fault
566 * during delivery, the page fault ca
911 do_sigbus(struct pt_regs *regs, unsigned long error_code, unsigned long address, vm_fault_t fault) argument
1218 vm_fault_t fault; local
[all...]
/linux-master/drivers/iommu/
H A Dexynos-iommu.c192 sysmmu_iova_t addr; /* IOVA address that caused fault */
193 const char *name; /* human readable fault name */
194 unsigned int type; /* fault type for report_iommu_fault() */
198 unsigned short addr_reg; /* register to read IOVA fault address */
199 const char *name; /* human readable fault name */
200 unsigned int type; /* fault type for report_iommu_fault */
273 u32 fault_va; /* IOVA address that caused fault */
274 u32 fault_info; /* fault transaction info */
277 struct sysmmu_fault *fault);
314 struct sysmmu_fault *fault)
312 exynos_sysmmu_v1_get_fault_info(struct sysmmu_drvdata *data, unsigned int itype, struct sysmmu_fault *fault) argument
329 exynos_sysmmu_v5_get_fault_info(struct sysmmu_drvdata *data, unsigned int itype, struct sysmmu_fault *fault) argument
352 exynos_sysmmu_v7_get_fault_info(struct sysmmu_drvdata *data, unsigned int itype, struct sysmmu_fault *fault) argument
548 show_fault_information(struct sysmmu_drvdata *data, const struct sysmmu_fault *fault) argument
570 struct sysmmu_fault fault; local
[all...]
/linux-master/drivers/gpu/drm/i915/gt/
H A Dintel_gt.c272 * For the media GT, this ring fault register is not replicated,
305 u32 fault; local
308 fault = GEN6_RING_FAULT_REG_READ(engine);
309 if (fault & RING_FAULT_VALID) {
310 gt_dbg(gt, "Unexpected fault\n"
315 fault & PAGE_MASK,
316 fault & RING_FAULT_GTTSEL_MASK ?
318 RING_FAULT_SRCID(fault),
319 RING_FAULT_FAULT_TYPE(fault));
326 u32 fault; local
364 u32 fault; local
[all...]
/linux-master/arch/arm64/mm/
H A Dfault.c3 * Based on arch/arm/mm/fault.c
290 * If we now have a valid translation, treat the translation fault as
297 * If we got a different type of fault from the AT instruction,
298 * treat the translation fault as spurious.
348 * tag fault.
374 * Are we prepared to handle this kernel fault?
381 "Ignoring spurious kernel translation fault at virtual address %016lx\n", addr))
422 * an alignment fault not caused by the memory type would take
423 * precedence over translation fault for a real access to empty
424 * space. Unfortunately we can't easily distinguish "alignment fault
508 vm_fault_t fault; local
[all...]
/linux-master/arch/arc/kernel/
H A Dprocess.c72 goto fault;
79 goto fault;
87 fault:
/linux-master/arch/sparc/kernel/
H A Ddtlb_prot.S27 /* PROT ** ICACHE line 2: More real fault processing */
33 ba,pt %xcc, sparc64_realfault_common ! Nope, normal fault
/linux-master/arch/x86/um/
H A DMakefile12 obj-y = bugs_$(BITS).o delay.o fault.o ldt.o \
40 USER_OBJS := bugs_$(BITS).o ptrace_user.o fault.o
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/top/
H A Dgk104.c54 info->fault = (data & 0x000003f8) >> 3;
99 nvkm_debug(subdev, "%02x.%d (%8s): addr %06x fault %2d "
103 info->addr, info->fault, info->engine, info->runlist,
H A Dga100.c52 info->fault = (data & 0x0000007f);
89 nvkm_debug(subdev, "%02x.%d (%8s): addr %06x fault %2d "
92 info->addr, info->fault, info->runlist < 0 ? 0 : info->runlist,
/linux-master/include/rdma/
H A Dib_umem_odp.h97 u64 bcnt, u64 access_mask, bool fault);
/linux-master/drivers/spi/
H A Dspi-tle62x0.c102 unsigned long fault = 0; local
115 fault <<= 8;
116 fault |= ((unsigned long)buff[ptr]);
122 bp += sprintf(bp, "%s ", decode_fault(fault >> (ptr * 2)));
/linux-master/arch/mips/mm/
H A DMakefile9 obj-y += fault.o
16 obj-y += tlbex-fault.o

Completed in 230 milliseconds

1234567891011>>