Skip to content

iommu/vt-d: replace WARN_TAINT with pr_warn + add_taint

Hans de Goede linux-iommu stable 1 version Applied

Status from this message: Applied both for v5.6, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2iommu/vt-d: dmar: replace WARN_TAINT with pr_warn + add_taintdrivers/iommu/dmar.c+6 -51 reply
2/2iommu/vt-d: dmar_parse_one_rmrr: replace WARN_TAINT with pr_warn + add_taintdrivers/iommu/intel-iommu.c+4 -24 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchLu Baolu
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] iommu/vt-d: replace WARN_TAINT with pr_warn + add_taint

Hi All,

The iommu/vt-d code calls WARN_TAINT(... TAINT_FIRMWARE_WORKAROUND ...) in various places. Since the firmware is outside of the kernel's control this should not be using the WARN_TAINT macro for this, calling the WARN* macros based on external inputs is wrong, as there is nothing we can do to fix those external inputs and the WARN* macros are intended for things which we can fix (also see the patch commit msg).

I'm working on a patch-set which converts all in kernel uses of WARN_TAINT(... TAINT_FIRMWARE_WORKAROUND ...) to pr_warn + add_taint, but I'm sending these 2 out separately because these address the 2 most troublesome cases of the vt-d code calling WARN_TAINT() which together are responsible for over a 100 bugzilla-s in Fedora alone.

Can we please get these 2 patches queued up as fixes for 5.6-rc# ?

Regards,

Hans

_______________________________________________
iommu mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/iommu