提交 036e9ef8 编写于 作者: P Prarit Bhargava 提交者: Vinod Koul

dmaengine: Replace WARN_TAINT_ONCE() with pr_warn_once()

The WARN_TAINT_ONCE() prints out a loud stack trace on broken BIOSes.
The systems that have this problem are several years out of support and
no longer have BIOS updates available.  The stack trace isn't necessary
and a pr_warn_once() will do.

Change WARN_TAINT_ONCE() to pr_warn_once() and taint.
Signed-off-by: NPrarit Bhargava <prarit@redhat.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Vinod Koul <vinod.koul@intel.com>
Cc: Duyck, Alexander H <alexander.h.duyck@intel.com>
Signed-off-by: NVinod Koul <vinod.koul@intel.com>
上级 838b56ad
...@@ -336,8 +336,8 @@ struct dca_provider *ioat_dca_init(struct pci_dev *pdev, void __iomem *iobase) ...@@ -336,8 +336,8 @@ struct dca_provider *ioat_dca_init(struct pci_dev *pdev, void __iomem *iobase)
} }
if (dca3_tag_map_invalid(ioatdca->tag_map)) { if (dca3_tag_map_invalid(ioatdca->tag_map)) {
WARN_TAINT_ONCE(1, TAINT_FIRMWARE_WORKAROUND, add_taint(TAINT_FIRMWARE_WORKAROUND, LOCKDEP_STILL_OK);
"%s %s: APICID_TAG_MAP set incorrectly by BIOS, disabling DCA\n", pr_warn_once("%s %s: APICID_TAG_MAP set incorrectly by BIOS, disabling DCA\n",
dev_driver_string(&pdev->dev), dev_driver_string(&pdev->dev),
dev_name(&pdev->dev)); dev_name(&pdev->dev));
free_dca_provider(dca); free_dca_provider(dca);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册