Home
last modified time | relevance | path

Searched refs:taint (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.6.21/include/asm-generic/
Dbug.h16 #define BUGFLAG_TAINT(taint) ((taint) << 8) argument
27 void __warn(const char *file, int line, void *caller, unsigned taint,
91 void warn_slowpath_fmt(const char *file, const int line, unsigned taint,
97 #define __WARN_printf(taint, arg...) do { \ argument
99 warn_slowpath_fmt(__FILE__, __LINE__, taint, arg); \
104 #define __WARN_printf(taint, arg...) do { \ argument
107 __WARN_FLAGS(BUGFLAG_NO_CUT_HERE | BUGFLAG_TAINT(taint));\
139 #define WARN_TAINT(condition, taint, format...) ({ \ argument
142 __WARN_printf(taint, format); \
154 #define WARN_TAINT_ONCE(condition, taint, format...) \ argument
[all …]
/linux-6.6.21/tools/debugging/
Dkernel-chktaint26 taint=$1
38 taint=`cat $TAINTFILE`
41 if [ $taint -eq 0 ]; then
48 T=$taint
210 echo "Raw taint value as int/string: $taint/'$out'"
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_utils.c54 void add_taint_for_CI(struct drm_i915_private *i915, unsigned int taint) in add_taint_for_CI() argument
57 taint, (void *)_RET_IP_); in add_taint_for_CI()
61 __add_taint_for_CI(taint); in add_taint_for_CI()
Di915_utils.h357 void add_taint_for_CI(struct drm_i915_private *i915, unsigned int taint);
358 static inline void __add_taint_for_CI(unsigned int taint) in __add_taint_for_CI() argument
366 add_taint(taint, LOCKDEP_STILL_OK); in __add_taint_for_CI()
/linux-6.6.21/arch/arm64/kernel/
Dcpufeature.c1147 int taint = 0; in update_32bit_cpu_features() local
1163 taint |= check_update_ftr_reg(SYS_ID_DFR0_EL1, cpu, in update_32bit_cpu_features()
1165 taint |= check_update_ftr_reg(SYS_ID_DFR1_EL1, cpu, in update_32bit_cpu_features()
1167 taint |= check_update_ftr_reg(SYS_ID_ISAR0_EL1, cpu, in update_32bit_cpu_features()
1169 taint |= check_update_ftr_reg(SYS_ID_ISAR1_EL1, cpu, in update_32bit_cpu_features()
1171 taint |= check_update_ftr_reg(SYS_ID_ISAR2_EL1, cpu, in update_32bit_cpu_features()
1173 taint |= check_update_ftr_reg(SYS_ID_ISAR3_EL1, cpu, in update_32bit_cpu_features()
1175 taint |= check_update_ftr_reg(SYS_ID_ISAR4_EL1, cpu, in update_32bit_cpu_features()
1177 taint |= check_update_ftr_reg(SYS_ID_ISAR5_EL1, cpu, in update_32bit_cpu_features()
1179 taint |= check_update_ftr_reg(SYS_ID_ISAR6_EL1, cpu, in update_32bit_cpu_features()
[all …]
/linux-6.6.21/kernel/
Dpanic.c652 void __warn(const char *file, int line, void *caller, unsigned taint, in __warn() argument
684 add_taint(taint, LOCKDEP_STILL_OK); in __warn()
689 void warn_slowpath_fmt(const char *file, int line, unsigned taint, in warn_slowpath_fmt() argument
698 __warn(file, line, __builtin_return_address(0), taint, in warn_slowpath_fmt()
706 __warn(file, line, __builtin_return_address(0), taint, NULL, &args); in warn_slowpath_fmt()
/linux-6.6.21/Documentation/admin-guide/
Dtainted-kernels.rst12 Note the kernel will remain tainted even after you undo what caused the taint
66 a more details explanation of the various taint flags.
67 Raw taint value as int/string: 4609/'P W O '
73 a particular type of taint. It's best to leave that to the aforementioned
91 6 _/U 64 taint requested by userspace application
101 16 _/X 65536 auxiliary taint, defined for and used by distros
163 (Though some warnings may set more specific taint flags.)
179 16) ``X`` Auxiliary taint, defined for and used by Linux distributors.
Dreporting-issues.rst125 * Ensure the kernel you just installed does not 'taint' itself when
479 Check 'taint' flag
485 The kernel marks itself with a 'taint' flag when something happens that might
490 install the latest mainline kernel; you will need to check the taint flag again
497 why the kernel also mentions the taint status when it reports an internal
541 question is the only reason for the taint. If the issue happens in an
910 Check 'taint' flag
913 *Ensure the kernel you just installed does not 'taint' itself when
916 As outlined above in more detail already: the kernel sets a 'taint' flag when
/linux-6.6.21/drivers/block/aoe/
Daoecmd.c267 if (!t->taint) { in newframe()
272 && (use_tainted || !t->taint) in newframe()
652 if (t->taint) { in rexmit_deferred()
670 } else if (tsince_hr(f) < t->taint * rto(d)) { in rexmit_deferred()
703 n = t->taint++; in scorn()
704 t->taint += t->taint * 2; in scorn()
705 if (n > t->taint) in scorn()
706 t->taint = n; in scorn()
707 if (t->taint > MAX_TAINT) in scorn()
708 t->taint = MAX_TAINT; in scorn()
[all …]
Daoe.h150 int taint; /* how much we want to avoid this aoetgt */ member
Daoeblk.c139 seq_printf(s, "\ttaint:%d\n", (*t)->taint); in aoe_debugfs_show()
/linux-6.6.21/Documentation/translations/zh_TW/admin-guide/
Dtainted-kernels.rst69 a more details explanation of the various taint flags.
70 Raw taint value as int/string: 4609/'P W O '
Dreporting-issues.rst381taint)」標誌標記自己。如果您的內核受到汙染,那麼您面臨的可能是這樣的錯誤。
/linux-6.6.21/Documentation/translations/zh_CN/admin-guide/
Dtainted-kernels.rst66 a more details explanation of the various taint flags.
67 Raw taint value as int/string: 4609/'P W O '
Dreporting-issues.rst374taint)”标志标记自己。如果您的内核受到污染,那么您面临的可能是这样的错误。
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-module51 What: /sys/module/*/taint
55 Description: Module taint flags:
/linux-6.6.21/tools/testing/selftests/hid/tests/
Dbase.py266 taint = taint_file.int_value
270 assert taint_file.int_value == taint
/linux-6.6.21/drivers/staging/
DKconfig13 Using any of these drivers will taint your kernel which might
/linux-6.6.21/arch/x86/kernel/cpu/mce/
Dcore.c1254 int severity, i, taint = 0; in __mc_scan_banks() local
1281 taint++; in __mc_scan_banks()
1321 return taint; in __mc_scan_banks()
1444 int worst = 0, order, no_way_out, kill_current_task, lmce, taint = 0; in do_machine_check() local
1525 taint = __mc_scan_banks(&m, regs, final, toclear, valid_banks, no_way_out, &worst); in do_machine_check()
1564 if (taint) in do_machine_check()
/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dintel_reset.c1223 goto taint; in intel_gt_reset()
1244 goto taint; in intel_gt_reset()
1249 goto taint; in intel_gt_reset()
1257 taint: in intel_gt_reset()
/linux-6.6.21/drivers/of/
DKconfig27 will taint the kernel with TAINT_TEST. The tests will cause ERROR and
/linux-6.6.21/drivers/vfio/
DKconfig72 in an unsupportable kernel and will therefore taint the kernel.
/linux-6.6.21/arch/x86/kernel/cpu/
Dcommon.c1487 int arglen, taint = 0; in cpu_parse_early_param() local
1539 taint++; in cpu_parse_early_param()
1557 taint++; in cpu_parse_early_param()
1567 if (taint) in cpu_parse_early_param()
/linux-6.6.21/Documentation/dev-tools/
Dkselftest.rst301 Note that test modules should taint the kernel with TAINT_TEST. This will
305 source. selftests which do not load modules typically should not taint the
/linux-6.6.21/kernel/module/
DKconfig128 --force). Forced module loading sets the 'F' (forced) taint flag and
216 key. Without this, such modules will simply taint the kernel.

12