]> git.baikalelectronics.ru Git - kernel.git/commit
ioat/dca: Update DCA BIOS workarounds to use TAINT_FIRMWARE_WORKAROUND
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 22 Mar 2013 06:01:59 +0000 (06:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Mar 2013 16:55:38 +0000 (12:55 -0400)
commit400a47e592239afa57dc752166449204e323c05f
tree0ebf6e06b711de1e35188975065c6129dd3658b9
parent9f25839cc497fcc38bbc335bfd113fb00d26a74d
ioat/dca: Update DCA BIOS workarounds to use TAINT_FIRMWARE_WORKAROUND

This patch is meant to be a follow-up for a patch originally submitted under
the title "ioat: Do not enable DCA if tag map is invalid".  It was brought to
my attention that the preferred approach for BIOS workarounds is to set the
taint flag for TAINT_FIRMWARE_WORKAROUND for systems that require BIOS
workarounds.

This change makes it so that the DCA workarounds for broken BIOSes will now
use WARN_TAINT_ONCE(1, TAINT_FIRMWARE_WORKAROUND, ...) instead of just
printing a message via dev_err.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/dma/ioat/dca.c