| /linux-6.15/Documentation/ABI/testing/ |
| H A D | debugfs-cxl | 7 attribute, the memdev driver sends an inject poison command to 9 aligned and the length of the injected poison is 64-bytes. If 10 successful, the device returns poison when the address is 11 accessed through the CXL.mem bus. Injecting poison adds the 13 to Injected. In addition, the device adds a poison creation 16 It is not an error to inject poison into an address that 17 already has poison present and no error is returned. If the 29 attribute, the memdev driver sends a clear poison command to 30 the device for the specified address. Clearing poison removes 33 poison from an address that does not have poison set. If the [all …]
|
| /linux-6.15/tools/testing/selftests/powerpc/tm/ |
| H A D | tm-poison.c | 30 uint64_t poison = 0xdeadbeefc0dec0fe; in tm_poison_test() local 57 : : [poison] "r" (poison) : ); in tm_poison_test()
|
| H A D | Makefile | 8 tm-signal-context-force-tm tm-poison tm-signal-pagefault 29 $(OUTPUT)/tm-poison: CFLAGS += -m64
|
| H A D | .gitignore | 22 tm-poison
|
| /linux-6.15/Documentation/translations/zh_CN/mm/ |
| H A D | hwpoison.rst | 42 该代码由mm/memory-failure.c中的高级处理程序、一个新的页面poison位和虚拟机中的 43 各种检查组成,用来处理poison的页面。 133 page-types -p `pidof usemem` --hwpoison # poison its pages 136 当指定时,只有在((page_flags & mask) == value)的情况下才会poison页面。
|
| /linux-6.15/drivers/cxl/core/ |
| H A D | mbox.c | 183 set_bit(CXL_POISON_ENABLED_LIST, poison->enabled_cmds); in cxl_set_poison_cmd_enabled() 186 set_bit(CXL_POISON_ENABLED_INJECT, poison->enabled_cmds); in cxl_set_poison_cmd_enabled() 189 set_bit(CXL_POISON_ENABLED_CLEAR, poison->enabled_cmds); in cxl_set_poison_cmd_enabled() 772 cxl_set_poison_cmd_enabled(&mds->poison, opcode); in cxl_walk_cel() 1397 rc = mutex_lock_interruptible(&mds->poison.lock); in cxl_mem_get_poison() 1401 po = mds->poison.list_out; in cxl_mem_get_poison() 1426 if (nr_records >= mds->poison.max_errors) { in cxl_mem_get_poison() 1433 mutex_unlock(&mds->poison.lock); in cxl_mem_get_poison() 1449 if (!mds->poison.list_out) in cxl_poison_alloc_buf() 1453 mds->poison.list_out); in cxl_poison_alloc_buf() [all …]
|
| /linux-6.15/drivers/gpu/drm/i915/gt/ |
| H A D | selftest_lrc.c | 789 u32 poison; member 831 arg->poison, slot[1]); in __lrc_timestamp() 854 const u32 poison[] = { in live_lrc_timestamp() local 894 data.poison = poison[i]; in live_lrc_timestamp() 958 poison &= ~REG_BIT(0); in safe_poison() 960 return poison; in safe_poison() 1192 poison); in load_context() 1215 batch = load_context(ce, poison); in poison_registers() 1265 u32 poison) in compare_isolation() argument 1353 poison, lrc[dw + 1]); in compare_isolation() [all …]
|
| /linux-6.15/drivers/cxl/ |
| H A D | mem.c | 133 if (test_bit(CXL_POISON_ENABLED_INJECT, mds->poison.enabled_cmds)) in cxl_mem_probe() 136 if (test_bit(CXL_POISON_ENABLED_CLEAR, mds->poison.enabled_cmds)) in cxl_mem_probe() 224 mds->poison.enabled_cmds)) in cxl_mem_visible()
|
| /linux-6.15/kernel/ |
| H A D | stackleak.c | 76 unsigned long poison) in __stackleak_poison() argument 79 *(unsigned long *)erase_low = poison; in __stackleak_poison()
|
| /linux-6.15/arch/arm64/kernel/ |
| H A D | vdso.c | 207 __le32 poison = cpu_to_le32(COMPAT_SIGPAGE_POISON_WORD); in aarch32_alloc_sigpage() local 214 memset32(sigpage, (__force u32)poison, PAGE_SIZE / sizeof(poison)); in aarch32_alloc_sigpage()
|
| /linux-6.15/arch/s390/include/asm/ |
| H A D | processor.h | 142 unsigned long poison) in __stackleak_poison() argument 168 : [poison] "d" (poison) in __stackleak_poison()
|
| /linux-6.15/tools/mm/ |
| H A D | slabinfo.c | 35 int order, poison, reclaim_account, red_zone; member 93 int poison; variable 579 page_size << s->order, s->partial, onoff(s->poison), in report() 635 if (s->poison) in slabcache() 684 poison = 1; in debug_opt_scan() 698 if (poison) in debug_opt_scan() 700 poison = 1; in debug_opt_scan() 767 if (poison && !s->poison) { in slab_debug() 773 if (!poison && s->poison) { in slab_debug() 1270 slab->poison = get_obj("poison"); in read_slab_dir()
|
| /linux-6.15/tools/testing/memblock/ |
| H A D | internal.h | 28 int poison, const char *s) in free_reserved_area() argument
|
| /linux-6.15/arch/x86/kernel/cpu/sgx/ |
| H A D | main.c | 78 if (page->poison) { in __sgx_sanitize_pages() 612 if (page->poison) in sgx_free_epc_page() 647 section->pages[i].poison = 0; in sgx_setup_epc_section() 708 if (page->poison) in arch_memory_failure() 711 page->poison = 1; in arch_memory_failure()
|
| H A D | sgx.h | 35 u16 poison; member
|
| /linux-6.15/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_cper.c | 113 bool poison, in amdgpu_cper_entry_fill_section_desc() argument 135 if (poison) in amdgpu_cper_entry_fill_section_desc() 175 bool poison; in amdgpu_cper_entry_fill_runtime_section() local 177 poison = (sev == CPER_SEV_NON_FATAL_CORRECTED) ? false : true; in amdgpu_cper_entry_fill_runtime_section() 182 amdgpu_cper_entry_fill_section_desc(adev, section_desc, false, poison, in amdgpu_cper_entry_fill_runtime_section()
|
| /linux-6.15/tools/lib/bpf/ |
| H A D | relo_core.c | 906 res->poison = false; in bpf_core_calc_relo() 969 res->poison = true; in bpf_core_calc_relo() 1049 if (res->poison) { in bpf_core_patch_insn() 1050 poison: in bpf_core_patch_insn() 1099 goto poison; in bpf_core_patch_insn() 1340 targ_res->poison = false; in bpf_core_calc_relo_insn() 1385 } else if (cand_res.poison != targ_res->poison || in bpf_core_calc_relo_insn() 1393 cand_res.poison ? "failure" : "success", in bpf_core_calc_relo_insn() 1395 targ_res->poison ? "failure" : "success", in bpf_core_calc_relo_insn()
|
| H A D | hashmap.c | 16 #pragma GCC poison u8 u16 u32 u64 s8 s16 s32 s64 19 #pragma GCC poison reallocarray
|
| H A D | libbpf_errno.c | 18 #pragma GCC poison u8 u16 u32 u64 s8 s16 s32 s64
|
| H A D | str_error.c | 13 #pragma GCC poison u8 u16 u32 u64 s8 s16 s32 s64
|
| H A D | relo_core.h | 53 bool poison; member
|
| /linux-6.15/tools/perf/util/ |
| H A D | hashmap.c | 16 #pragma GCC poison u8 u16 u32 u64 s8 s16 s32 s64 19 #pragma GCC poison reallocarray
|
| /linux-6.15/drivers/gpu/drm/amd/amdkfd/ |
| H A D | kfd_int_process_v11.c | 203 if (atomic_read(&p->poison)) { in event_interrupt_poison_consumption_v11() 208 atomic_set(&p->poison, 1); in event_interrupt_poison_consumption_v11()
|
| /linux-6.15/Documentation/mm/ |
| H A D | hwpoison.rst | 42 a new page poison bit and various checks in the VM to handle poisoned 148 page-types -p `pidof usemem` --hwpoison # poison its pages 151 When specified, only poison pages if ((page_flags & mask) ==
|
| /linux-6.15/mm/ |
| H A D | Kconfig.debug | 29 fill the pages with poison patterns after free_pages() and verify 150 Fill the pages with poison patterns after free_pages() and verify 156 Note that "poison" here is not the same thing as the "HWPoison" 160 checking the poison pattern on alloc, you can boot the kernel with
|