iwlwifi: don't map complete commands bidirectionally
authorJohannes Berg <johannes.berg@intel.com>
Tue, 26 Feb 2013 10:28:19 +0000 (11:28 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 28 Feb 2013 10:48:51 +0000 (11:48 +0100)
commit98891754ea9453de4db9111c91b20122ca330101
treedbd53937c5979fab1d52523cfd2fbe52687b8193
parente477598351a40769f5b46ccea78479a1aad6f161
iwlwifi: don't map complete commands bidirectionally

The reason we mapped them bidirectionally was that not doing
so had caused IOMMU exceptions, due to the fact that the HW
writes back into the command. Now that the first part of the
command including the write-back part is always in the first
buffer, we don't need to map the remaining buffer(s) bidi
and can get rid of the special-casing for commands.

This is a requisite patch for another one to fix DMA mapping.

Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/pcie/tx.c
This page took 0.028878 seconds and 5 git commands to generate.