All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] iommu/vt-d: replace WARN_TAINT with pr_warn + add_taint
@ 2020-03-09 14:01 Hans de Goede
  2020-03-09 14:01   ` Hans de Goede
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Hans de Goede @ 2020-03-09 14:01 UTC (permalink / raw)
  To: David Woodhouse, Lu Baolu, Joerg Roedel; +Cc: Hans de Goede, iommu

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
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2020-03-10 10:42 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-09 14:01 [PATCH 0/2] iommu/vt-d: replace WARN_TAINT with pr_warn + add_taint Hans de Goede
2020-03-09 14:01 ` [PATCH 1/2] iommu/vt-d: dmar: " Hans de Goede
2020-03-09 14:01   ` Hans de Goede
2020-03-10  1:44   ` Lu Baolu
2020-03-10  1:44     ` Lu Baolu
2020-03-09 14:01 ` [PATCH 2/2] iommu/vt-d: dmar_parse_one_rmrr: " Hans de Goede
2020-03-09 14:01   ` Hans de Goede
2020-03-09 15:57   ` Barret Rhoden via iommu
2020-03-09 15:57     ` Barret Rhoden
2020-03-09 16:01     ` Hans de Goede
2020-03-09 16:01       ` Hans de Goede
2020-03-09 16:11       ` Barret Rhoden via iommu
2020-03-09 16:11         ` Barret Rhoden
2020-03-10  1:44   ` Lu Baolu
2020-03-10  1:44     ` Lu Baolu
2020-03-10 10:42 ` [PATCH 0/2] iommu/vt-d: " Joerg Roedel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.