Home
last modified time | relevance | path

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

12

/linux/include/asm-generic/
H A Dbug.h17 #define BUGFLAG_TAINT(taint) ((taint) << 8) argument
36 void __warn(const char *file, int line, void *caller, unsigned taint,
101 void warn_slowpath_fmt(const char *file, const int line, unsigned taint,
131 #define __WARN_printf(taint, arg...) do { \ argument
134 __WARN_FLAGS("", BUGFLAG_NO_CUT_HERE | BUGFLAG_TAINT(taint));\
140 #define __WARN_printf(taint, arg...) do { \ argument
142 warn_slowpath_fmt(__FILE__, __LINE__, taint, arg); \
171 #define WARN_TAINT(condition, taint, format...) ({ \ argument
174 __WARN_printf(taint, format); \
188 #define WARN_TAINT_ONCE(condition, taint, format...) \ argument
[all …]
/linux/tools/debugging/
H A Dkernel-chktaint26 taint=$1
38 taint=`cat $TAINTFILE`
41 if [ $taint -eq 0 ]; then
48 T=$taint
214 echo "Raw taint value as int/string: $taint/'$out'"
218 cnt=`grep [A-Z] /sys/module/*/taint | wc -l` || cnt=0
224 if [ -r /sys/module/$dir/taint ]; then
225 modtnt=`cat /sys/module/$dir/taint`
/linux/arch/arm64/kernel/
H A Dcpufeature.c1289 int taint = 0; in update_32bit_cpu_features() local
1305 taint |= check_update_ftr_reg(SYS_ID_DFR0_EL1, cpu, in update_32bit_cpu_features()
1307 taint |= check_update_ftr_reg(SYS_ID_DFR1_EL1, cpu, in update_32bit_cpu_features()
1309 taint |= check_update_ftr_reg(SYS_ID_ISAR0_EL1, cpu, in update_32bit_cpu_features()
1311 taint |= check_update_ftr_reg(SYS_ID_ISAR1_EL1, cpu, in update_32bit_cpu_features()
1313 taint |= check_update_ftr_reg(SYS_ID_ISAR2_EL1, cpu, in update_32bit_cpu_features()
1315 taint |= check_update_ftr_reg(SYS_ID_ISAR3_EL1, cpu, in update_32bit_cpu_features()
1317 taint |= check_update_ftr_reg(SYS_ID_ISAR4_EL1, cpu, in update_32bit_cpu_features()
1319 taint |= check_update_ftr_reg(SYS_ID_ISAR5_EL1, cpu, in update_32bit_cpu_features()
1321 taint |= check_update_ftr_reg(SYS_ID_ISAR6_EL1, cpu, in update_32bit_cpu_features()
[all …]
/linux/kernel/
H A Dpanic.c792 #define TAINT_FLAG(taint, _c_true, _c_false) \ argument
793 [ TAINT_##taint ] = { \
795 .desc = #taint, \
1032 void __warn(const char *file, int line, void *caller, unsigned taint, in __warn() argument
1073 add_taint(taint, LOCKDEP_STILL_OK); in __warn()
1080 void warn_slowpath_fmt(const char *file, int line, unsigned taint, in warn_slowpath_fmt() argument
1089 __warn(file, line, __builtin_return_address(0), taint, in warn_slowpath_fmt()
1097 __warn(file, line, __builtin_return_address(0), taint, NULL, &args); in warn_slowpath_fmt()
/linux/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.
/linux/arch/s390/include/asm/
H A Dbug.h106 #define __WARN_printf(taint, fmt, arg...) \ argument
107 __WARN_print_arg(BUGFLAG_TAINT(taint), fmt, ## arg)
/linux/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()
678 } else if (tsince_hr(f) < t->taint * rto(d)) { 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()
[all …]
H A Daoe.h151 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/arch/x86/include/asm/
H A Dbug.h179 #define __WARN_printf(taint, fmt, arg...) \ argument
180 __WARN_print_arg(BUGFLAG_TAINT(taint), fmt, ## arg)
/linux/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/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/Documentation/ABI/testing/
H A Dsysfs-module51 What: /sys/module/*/taint
55 Description: Module taint flags:
/linux/tools/testing/selftests/hid/tests/
H A Dbase.py354 taint = taint_file.int_value
358 assert taint_file.int_value == taint
/linux/drivers/staging/
H A DKconfig13 Using any of these drivers will taint your kernel which might
/linux/arch/x86/kernel/cpu/mce/
H A Dcore.c1363 int severity, i, taint = 0; in __mc_scan_banks() local
1391 taint++; in __mc_scan_banks()
1431 return taint; in __mc_scan_banks()
1556 int worst = 0, order, no_way_out, kill_current_task, lmce, taint = 0; in do_machine_check() local
1640 taint = __mc_scan_banks(&err, regs, final, toclear, valid_banks, no_way_out, &worst); in do_machine_check()
1679 if (taint) in do_machine_check()
/linux/drivers/gpu/drm/i915/gt/
H A Dintel_reset.c1245 goto taint; in intel_gt_reset()
1267 goto taint; in intel_gt_reset()
1272 goto taint; in intel_gt_reset()
1280 taint: in intel_gt_reset()
/linux/Documentation/userspace-api/fwctl/
H A Dfwctl.rst108 a kernel taint.
110 4. Full debug device access. Triggers a kernel taint, requires CAP_SYS_RAWIO.
120 taint or CAP), broadly derived from the principles of kernel lockdown. Some
/linux/drivers/vfio/
H A DKconfig72 in an unsupportable kernel and will therefore taint the kernel.
/linux/drivers/of/
H A DKconfig32 will taint the kernel with TAINT_TEST. The tests will cause ERROR and
/linux/arch/x86/kernel/cpu/
H A Dcommon.c1648 int taint = 0; in parse_set_clear_cpuid() local
1677 taint++; in parse_set_clear_cpuid()
1713 taint++; in parse_set_clear_cpuid()
1722 return taint; in parse_set_clear_cpuid()
/linux/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/kernel/module/
H A DKconfig129 --force). Forced module loading sets the 'F' (forced) taint flag and
279 key. Without this, such modules will simply taint the kernel.

12