/kernel/linux/linux-6.6/include/asm-generic/ |
H A D | bug.h | 16 #define BUGFLAG_TAINT(taint) ((taint) << 8) 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 { \ 99 warn_slowpath_fmt(__FILE__, __LINE__, taint, arg); \ 104 #define __WARN_printf(taint, arg...) do { \ 107 __WARN_FLAGS(BUGFLAG_NO_CUT_HERE | BUGFLAG_TAINT(taint));\ 139 #define WARN_TAINT(condition, taint, format...) ({ \ 142 __WARN_printf(taint, forma [all...] |
/kernel/linux/linux-5.10/include/asm-generic/ |
H A D | bug.h | 15 #define BUGFLAG_TAINT(taint) ((taint) << 8) 84 void warn_slowpath_fmt(const char *file, const int line, unsigned taint, 87 #define __WARN_printf(taint, arg...) do { \ 89 warn_slowpath_fmt(__FILE__, __LINE__, taint, arg); \ 95 #define __WARN_printf(taint, arg...) do { \ 98 __WARN_FLAGS(BUGFLAG_NO_CUT_HERE | BUGFLAG_TAINT(taint));\ 114 void __warn(const char *file, int line, void *caller, unsigned taint, 135 #define WARN_TAINT(condition, taint, format...) ({ \ 138 __WARN_printf(taint, forma [all...] |
/kernel/linux/linux-5.10/tools/debugging/ |
H A D | kernel-chktaint | 26 taint=$1 38 taint=`cat $TAINTFILE` 41 if [ $taint -eq 0 ]; then 48 T=$taint 107 echo " * taint requested by userspace application (#6)" 187 echo " * auxiliary taint, defined for and used by distros (#16)" 198 echo "For a more detailed explanation of the various taint flags see" 201 echo "Raw taint value as int/string: $taint/'$out'"
|
/kernel/linux/linux-6.6/tools/debugging/ |
H A D | kernel-chktaint | 26 taint=$1 38 taint=`cat $TAINTFILE` 41 if [ $taint -eq 0 ]; then 48 T=$taint 107 echo " * taint requested by userspace application (#6)" 187 echo " * auxiliary taint, defined for and used by distros (#16)" 207 echo "For a more detailed explanation of the various taint flags see" 210 echo "Raw taint value as int/string: $taint/'$out'"
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
H A D | cpufeature.c | 26 * may result in a TAINT_CPU_OUT_OF_SPEC kernel taint, a capability mismatch 951 int taint = 0; in update_32bit_cpu_features() local 960 return taint; in update_32bit_cpu_features() 975 taint |= check_update_ftr_reg(SYS_ID_DFR0_EL1, cpu, in update_32bit_cpu_features() 977 taint |= check_update_ftr_reg(SYS_ID_DFR1_EL1, cpu, in update_32bit_cpu_features() 979 taint |= check_update_ftr_reg(SYS_ID_ISAR0_EL1, cpu, in update_32bit_cpu_features() 981 taint |= check_update_ftr_reg(SYS_ID_ISAR1_EL1, cpu, in update_32bit_cpu_features() 983 taint |= check_update_ftr_reg(SYS_ID_ISAR2_EL1, cpu, in update_32bit_cpu_features() 985 taint |= check_update_ftr_reg(SYS_ID_ISAR3_EL1, cpu, in update_32bit_cpu_features() 987 taint | in update_32bit_cpu_features() 1036 int taint = 0; update_cpu_features() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
H A D | i915_utils.c | 52 void add_taint_for_CI(struct drm_i915_private *i915, unsigned int taint) in add_taint_for_CI() argument 55 taint, (void *)_RET_IP_); in add_taint_for_CI() 59 __add_taint_for_CI(taint); in add_taint_for_CI()
|
H A D | i915_utils.h | 426 void add_taint_for_CI(struct drm_i915_private *i915, unsigned int taint); 427 static inline void __add_taint_for_CI(unsigned int taint) in __add_taint_for_CI() argument 432 * CI checks the taint state after every test and will reboot in __add_taint_for_CI() 435 add_taint(taint, LOCKDEP_STILL_OK); in __add_taint_for_CI()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
H A D | i915_utils.c | 54 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()
|
H A D | i915_utils.h | 357 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 363 * CI checks the taint state after every test and will reboot in __add_taint_for_CI() 366 add_taint(taint, LOCKDEP_STILL_OK); in __add_taint_for_CI()
|
/kernel/linux/linux-6.6/arch/arm64/kernel/ |
H A D | cpufeature.c | 26 * may result in a TAINT_CPU_OUT_OF_SPEC kernel taint, a capability mismatch 1147 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 | in update_32bit_cpu_features() 1224 int taint = 0; update_cpu_features() local [all...] |
/kernel/linux/linux-5.10/kernel/ |
H A D | panic.c | 469 * print_tainted - return a string to represent the kernel taint state. 471 * For individual taint flag meanings, see Documentation/admin-guide/sysctl/kernel.rst 511 * add_taint: add a taint flag if not already set. 521 pr_warn("Disabling lock debugging due to kernel taint\n"); in add_taint() 653 void __warn(const char *file, int line, void *caller, unsigned taint, in __warn() argument 684 add_taint(taint, LOCKDEP_STILL_OK); in __warn() 688 void warn_slowpath_fmt(const char *file, int line, unsigned taint, in warn_slowpath_fmt() argument 696 __warn(file, line, __builtin_return_address(0), taint, in warn_slowpath_fmt() 703 __warn(file, line, __builtin_return_address(0), taint, NULL, &args); in warn_slowpath_fmt()
|
H A D | module.c | 1270 __ATTR(taint, 0444, show_taint, NULL); 1452 pr_warn("%s: module uses symbols from proprietary module %s, inheriting taint.\n", in inherit_taint()
|
/kernel/linux/linux-6.6/kernel/ |
H A D | panic.c | 485 * print_tainted - return a string to represent the kernel taint state. 487 * For individual taint flag meanings, see Documentation/admin-guide/sysctl/kernel.rst 527 * add_taint: add a taint flag if not already set. 537 pr_warn("Disabling lock debugging due to kernel taint\n"); in add_taint() 652 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()
|
/kernel/linux/linux-5.10/drivers/block/aoe/ |
H A D | aoecmd.c | 268 if (!t->taint) { in newframe() 273 && (use_tainted || !t->taint) in newframe() 653 if (t->taint) { in rexmit_deferred() 671 } else if (tsince_hr(f) < t->taint * rto(d)) { in rexmit_deferred() 672 /* reprobe slowly when taint is high */ in rexmit_deferred() 704 n = t->taint++; in scorn() 705 t->taint += t->taint * 2; in scorn() 706 if (n > t->taint) in scorn() 707 t->taint in scorn() [all...] |
H A D | aoe.h | 100 MAX_TAINT = 1000, /* cap on aoetgt taint */ 150 int taint; /* how much we want to avoid this aoetgt */ member
|
H A D | aoeblk.c | 141 seq_printf(s, "\ttaint:%d\n", (*t)->taint); in aoedisk_debugfs_show()
|
/kernel/linux/linux-6.6/drivers/block/aoe/ |
H A D | aoecmd.c | 267 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() 671 /* reprobe slowly when taint is high */ 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 in scorn() [all...] |
H A D | aoe.h | 100 MAX_TAINT = 1000, /* cap on aoetgt taint */ 150 int taint; /* how much we want to avoid this aoetgt */ member
|
H A D | aoeblk.c | 139 seq_printf(s, "\ttaint:%d\n", (*t)->taint); in aoe_debugfs_show()
|
/kernel/linux/linux-6.6/tools/testing/selftests/hid/tests/ |
H A D | base.py | 266 taint = taint_file.int_value 270 assert taint_file.int_value == taint
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
H A D | intel_reset.c | 1076 goto taint; in intel_gt_reset() 1097 goto taint; in intel_gt_reset() 1102 goto taint; in intel_gt_reset() 1110 taint: in intel_gt_reset() 1116 * We also want to go one step further and add a taint to the in intel_gt_reset()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
H A D | intel_reset.c | 1223 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() 1263 * We also want to go one step further and add a taint to the in intel_gt_reset()
|
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/mce/ |
H A D | core.c | 1254 int severity, i, taint = 0; in __mc_scan_banks() local 1280 /* Set taint even when machine check was not enabled. */ in __mc_scan_banks() 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()
|
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/ |
H A D | common.c | 1519 int arglen, taint = 0; in cpu_parse_early_param() local 1571 taint++; in cpu_parse_early_param() 1589 taint++; in cpu_parse_early_param() 1599 if (taint) in cpu_parse_early_param()
|
/kernel/linux/linux-6.6/kernel/module/ |
H A D | main.c | 977 __ATTR(taint, 0444, show_taint, NULL); 1101 pr_warn("%s: module uses symbols %s from proprietary module %s, inheriting taint.\n", in inherit_taint() 2009 * These calls taint the kernel depending certain module circumstances */
|