| /linux/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 27 poison injection can result in permanent data loss. Injected 28 poison may render data permanently inaccessible even after 32 SYSTEM STABILITY RISK: For volatile memory, poison injection [all …]
|
| /linux/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/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/drivers/cxl/core/ |
| H A D | mbox.c | 178 static void cxl_set_poison_cmd_enabled(struct cxl_poison_state *poison, in cxl_set_poison_cmd_enabled() argument 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() 192 set_bit(CXL_POISON_ENABLED_SCAN_CAPS, poison->enabled_cmds); in cxl_set_poison_cmd_enabled() 195 set_bit(CXL_POISON_ENABLED_SCAN_MEDIA, poison->enabled_cmds); in cxl_set_poison_cmd_enabled() 198 set_bit(CXL_POISON_ENABLED_SCAN_RESULTS, poison->enabled_cmds); in cxl_set_poison_cmd_enabled() 772 cxl_set_poison_cmd_enabled(&mds->poison, opcode); in cxl_walk_cel() 1214 if (test_bit(CXL_POISON_ENABLED_LIST, mds->poison.enabled_cmds)) { in cxl_dev_state_identify() 1216 mds->poison.max_errors = min_t(u32, val, CXL_POISON_LIST_MAX); in cxl_dev_state_identify() [all …]
|
| /linux/drivers/gpu/drm/i915/gt/ |
| H A D | selftest_lrc.c | 790 u32 poison; member 805 arg->ce[0]->lrc_reg_state[CTX_TIMESTAMP] = arg->poison; in __lrc_timestamp() 829 if (!timestamp_advanced(arg->poison, slot[1])) { in __lrc_timestamp() 832 arg->poison, slot[1]); in __lrc_timestamp() 855 const u32 poison[] = { in live_lrc_timestamp() local 902 for (i = 0; i < ARRAY_SIZE(poison); i++) { in live_lrc_timestamp() 903 data.poison = poison[i]; in live_lrc_timestamp() 959 static u32 safe_poison(u32 offset, u32 poison) in safe_poison() argument 967 poison &= ~REG_BIT(0); in safe_poison() 969 return poison; in safe_poison() [all …]
|
| /linux/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() 228 mds->poison.enabled_cmds)) in cxl_mem_visible()
|
| /linux/kernel/ |
| H A D | kstack_erase.c | 76 unsigned long poison) in __stackleak_poison() argument 79 *(unsigned long *)erase_low = poison; in __stackleak_poison()
|
| /linux/tools/mm/ |
| H A D | slabinfo.c | 35 int order, poison, reclaim_account, red_zone; member 93 int poison; variable 582 page_size << s->order, s->partial, onoff(s->poison), in report() 638 if (s->poison) in slabcache() 687 poison = 1; in debug_opt_scan() 701 if (poison) in debug_opt_scan() 703 poison = 1; in debug_opt_scan() 770 if (poison && !s->poison) { in slab_debug() 776 if (!poison && s->poison) { in slab_debug() 1273 slab->poison = get_obj("poison"); in read_slab_dir()
|
| /linux/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/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/tools/lib/bpf/ |
| H A D | relo_core.c | 905 res->poison = false; in bpf_core_calc_relo() 968 res->poison = true; in bpf_core_calc_relo() 1048 if (res->poison) { in bpf_core_patch_insn() 1049 poison: in bpf_core_patch_insn() 1098 goto poison; in bpf_core_patch_insn() 1339 targ_res->poison = false; in bpf_core_calc_relo_insn() 1384 } else if (cand_res.poison != targ_res->poison || in bpf_core_calc_relo_insn() 1392 cand_res.poison ? "failure" : "success", in bpf_core_calc_relo_insn() 1394 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 | relo_core.h | 53 bool poison; member
|
| /linux/arch/x86/kernel/cpu/sgx/ |
| H A D | main.c | 79 if (page->poison) { in __sgx_sanitize_pages() 613 if (page->poison) in sgx_free_epc_page() 648 section->pages[i].poison = 0; in sgx_setup_epc_section() 709 if (page->poison) in arch_memory_failure() 712 page->poison = 1; in arch_memory_failure()
|
| H A D | sgx.h | 35 u16 poison; member
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_cper.c | 112 bool poison, in amdgpu_cper_entry_fill_section_desc() argument 134 if (poison) in amdgpu_cper_entry_fill_section_desc() 174 bool poison; in amdgpu_cper_entry_fill_runtime_section() local 176 poison = sev != CPER_SEV_NON_FATAL_CORRECTED; in amdgpu_cper_entry_fill_runtime_section() 181 amdgpu_cper_entry_fill_section_desc(adev, section_desc, false, poison, in amdgpu_cper_entry_fill_runtime_section()
|
| /linux/tools/testing/memblock/ |
| H A D | internal.h | 28 int poison, const char *s) in free_reserved_area() argument
|
| /linux/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/tools/testing/selftests/bpf/ |
| H A D | bpf_util.h | 71 #pragma GCC poison gettid
|
| /linux/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/drivers/gpu/drm/amd/amdkfd/ |
| H A D | kfd_int_process_v11.c | 228 if (atomic_read(&p->poison)) { in event_interrupt_poison_consumption_v11() 233 atomic_set(&p->poison, 1); in event_interrupt_poison_consumption_v11()
|
| /linux/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
|
| /linux/Documentation/admin-guide/mm/ |
| H A D | slab.rst | 70 example, here's how you can poison the dentry cache as well as all kmalloc 111 P poison 263 typically contain poison values. Any non-poison value shows a
|