mirror of
https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9.git
synced 2026-09-09 00:08:12 +08:00
JIRA: https://issues.redhat.com/browse/RHEL-86016 Upstream-status: v6.15-rc1 Conflicts: - Documentation/admin-guide/tainted-kernels.rst Due to the absence of 1b2255db3c22 Documentation: Add detailed explanation for 'N' taint flag (v6.12-rc1) -> Adjust context - include/linux/panic.h Due to RH-only commitd3c11e8d59add Red Hat-specific taint flags -> Merge - kernel/panic.c Due to RH-only commitd3c11e8d59add Red Hat-specific taint flags -> Merge Due to the absence of f36fc96c15bd kernel/panic: initialize taint_flags[] using a macro (v6.11-rc1) -> Adjust format to use old style commit 8eea4e74475804285507c077bec87d40be87ff06 Author: Jason Gunthorpe <jgg@ziepe.ca> Date: Thu Feb 27 20:26:32 2025 -0400 taint: Add TAINT_FWCTL Requesting a fwctl scope of access that includes mutating device debug data will cause the kernel to be tainted. Changing the device operation through things in the debug scope may cause the device to malfunction in undefined ways. This should be reflected in the TAINT flags to help any debuggers understand that something has been done. Link: https://patch.msgid.link/r/4-v5-642aa0c94070+4447f-fwctl_jgg@nvidia.com Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Dave Jiang <dave.jiang@intel.com> Reviewed-by: Shannon Nelson <shannon.nelson@amd.com> Tested-by: Dave Jiang <dave.jiang@intel.com> Tested-by: Shannon Nelson <shannon.nelson@amd.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Benjamin Poirier <bpoirier@redhat.com>