summaryrefslogtreecommitdiffstats
path: root/drivers/dio
diff options
context:
space:
mode:
authorEli Cohen <eli@mellanox.co.il>2008-06-23 09:29:58 -0700
committerRoland Dreier <rolandd@cisco.com>2008-06-23 09:29:58 -0700
commit87afd448b186c885d67a08b7417cd46253b6a9d6 (patch)
tree763ae0a3f10879482ad414c192ac2be4d60a2b90 /drivers/dio
parentf9d1c6ca2bb1bbfde4a95d9e55ab3b0126825295 (diff)
downloadblackbird-op-linux-87afd448b186c885d67a08b7417cd46253b6a9d6.tar.gz
blackbird-op-linux-87afd448b186c885d67a08b7417cd46253b6a9d6.zip
IB/mthca: Clear ICM pages before handing to FW
Current memfree FW has a bug which in some cases, assumes that ICM pages passed to it are cleared. This patch uses __GFP_ZERO to allocate all ICM pages passed to the FW. Once firmware with a fix is released, we can make the workaround conditional on firmware version. This fixes the bug reported by Arthur Kepner <akepner@sgi.com> here: http://lists.openfabrics.org/pipermail/general/2008-May/050026.html Cc: <stable@kernel.org> Signed-off-by: Eli Cohen <eli@mellanox.co.il> [ Rewritten to be a one-liner using __GFP_ZERO instead of vmap()ing ICM memory and memset()ing it to 0. - Roland ] Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/dio')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud