Home
last modified time | relevance | path

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

12

/linux-6.15/include/asm-generic/
H A 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.15/tools/debugging/
H A Dkernel-chktaint26 taint=$1
38 taint=`cat $TAINTFILE`
41 if [ $taint -eq 0 ]; then
48 T=$taint
218 echo "Raw taint value as int/string: $taint/'$out'"
/linux-6.15/drivers/gpu/drm/i915/
H A Di915_utils.c14 void add_taint_for_CI(struct drm_i915_private *i915, unsigned int taint) in add_taint_for_CI() argument
17 taint, __builtin_return_address(0)); in add_taint_for_CI()
21 __add_taint_for_CI(taint); in add_taint_for_CI()
H A Di915_utils.h339 void add_taint_for_CI(struct drm_i915_private *i915, unsigned int taint);
340 static inline void __add_taint_for_CI(unsigned int taint) in __add_taint_for_CI() argument
348 add_taint(taint, LOCKDEP_STILL_OK); in __add_taint_for_CI()
/linux-6.15/kernel/
H A Dpanic.c483 #define TAINT_FLAG(taint, _c_true, _c_false, _module) \ argument
484 [ TAINT_##taint ] = { \
487 .desc = #taint, \
721 void __warn(const char *file, int line, void *caller, unsigned taint, in __warn() argument
760 add_taint(taint, LOCKDEP_STILL_OK); in __warn()
767 void warn_slowpath_fmt(const char *file, int line, unsigned taint, in warn_slowpath_fmt() argument
776 __warn(file, line, __builtin_return_address(0), taint, in warn_slowpath_fmt()
784 __warn(file, line, __builtin_return_address(0), taint, NULL, &args); in warn_slowpath_fmt()
/linux-6.15/arch/arm64/kernel/
H A Dcpufeature.c1278 int taint = 0; in update_32bit_cpu_features() local
1336 taint |= check_update_ftr_reg(SYS_MVFR0_EL1, cpu, in update_32bit_cpu_features()
1338 taint |= check_update_ftr_reg(SYS_MVFR1_EL1, cpu, in update_32bit_cpu_features()
1340 taint |= check_update_ftr_reg(SYS_MVFR2_EL1, cpu, in update_32bit_cpu_features()
1343 return taint; in update_32bit_cpu_features()
1355 int taint = 0; in update_cpu_features() local
1362 taint |= check_update_ftr_reg(SYS_CTR_EL0, cpu, in update_cpu_features()
1370 taint |= check_update_ftr_reg(SYS_DCZID_EL0, cpu, in update_cpu_features()
1374 taint |= check_update_ftr_reg(SYS_CNTFRQ_EL0, cpu, in update_cpu_features()
1465 taint |= check_update_ftr_reg(SYS_GMID_EL1, cpu, in update_cpu_features()
[all …]
/linux-6.15/Documentation/admin-guide/
H A 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
164 (Though some warnings may set more specific taint flags.)
180 16) ``X`` Auxiliary taint, defined for and used by Linux distributors.
H A 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.15/drivers/block/aoe/
H A Daoecmd.c267 if (!t->taint) { in newframe()
272 && (use_tainted || !t->taint) in newframe()
660 if (t->taint) { in rexmit_deferred()
711 n = t->taint++; in scorn()
712 t->taint += t->taint * 2; in scorn()
713 if (n > t->taint) in scorn()
714 t->taint = n; in scorn()
715 if (t->taint > MAX_TAINT) in scorn()
716 t->taint = MAX_TAINT; in scorn()
1167 if (t->taint > 0 in ktiocomplete()
[all …]
H A Daoe.h150 int taint; /* how much we want to avoid this aoetgt */ member
H A Daoeblk.c139 seq_printf(s, "\ttaint:%d\n", (*t)->taint); in aoe_debugfs_show()
/linux-6.15/Documentation/translations/zh_TW/admin-guide/
H A Dtainted-kernels.rst69 a more details explanation of the various taint flags.
70 Raw taint value as int/string: 4609/'P W O '
H A Dreporting-issues.rst375taint)”標誌標記自己。如果您的內核受到污染,那麼您面臨的可能是這樣的錯誤。
/linux-6.15/Documentation/translations/zh_CN/admin-guide/
H A Dtainted-kernels.rst66 a more details explanation of the various taint flags.
67 Raw taint value as int/string: 4609/'P W O '
H A Dreporting-issues.rst374taint)”标志标记自己。如果您的内核受到污染,那么您面临的可能是这样的错误。
/linux-6.15/Documentation/ABI/testing/
H A Dsysfs-module51 What: /sys/module/*/taint
55 Description: Module taint flags:
/linux-6.15/tools/testing/selftests/hid/tests/
H A Dbase.py340 taint = taint_file.int_value
344 assert taint_file.int_value == taint
/linux-6.15/drivers/staging/
H A DKconfig13 Using any of these drivers will taint your kernel which might
/linux-6.15/arch/x86/kernel/cpu/mce/
H A Dcore.c1323 int severity, i, taint = 0; in __mc_scan_banks() local
1351 taint++; in __mc_scan_banks()
1391 return taint; in __mc_scan_banks()
1516 int worst = 0, order, no_way_out, kill_current_task, lmce, taint = 0; in do_machine_check() local
1600 taint = __mc_scan_banks(&err, regs, final, toclear, valid_banks, no_way_out, &worst); in do_machine_check()
1639 if (taint) in do_machine_check()
/linux-6.15/drivers/gpu/drm/i915/gt/
H A Dintel_reset.c1248 goto taint; in intel_gt_reset()
1270 goto taint; in intel_gt_reset()
1275 goto taint; in intel_gt_reset()
1283 taint: in intel_gt_reset()
/linux-6.15/drivers/of/
H A DKconfig32 will taint the kernel with TAINT_TEST. The tests will cause ERROR and
/linux-6.15/drivers/vfio/
H A DKconfig72 in an unsupportable kernel and will therefore taint the kernel.
/linux-6.15/arch/x86/kernel/cpu/
H A Dcommon.c1530 int taint = 0; in parse_set_clear_cpuid() local
1559 taint++; in parse_set_clear_cpuid()
1595 taint++; in parse_set_clear_cpuid()
1604 return taint; in parse_set_clear_cpuid()
/linux-6.15/Documentation/dev-tools/
H A Dkselftest.rst333 Note that test modules should taint the kernel with TAINT_TEST. This will
337 source. selftests which do not load modules typically should not taint the
/linux-6.15/kernel/module/
H A DKconfig129 --force). Forced module loading sets the 'F' (forced) taint flag and
278 key. Without this, such modules will simply taint the kernel.

12