]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitf3c78f8515dd4cb9e26040ebb54cf589d21137ee
tree0ebf6e06b711de1e35188975065c6129dd3658b9
parentea3d1cc285bf1ae1fa81b47418cd7fd79990bb06
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