]> 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)
commit76737bcc9e19dacf0bea56e03c24a6e8a202f516
tree0ebf6e06b711de1e35188975065c6129dd3658b9
parent011ea5233650ae5489e219399cbdc79a04caf0cc
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