diff options
author | 2012-01-06 13:42:45 -0700 | |
---|---|---|
committer | 2012-01-10 14:54:05 -0500 | |
commit | 497421880acecd0281d3182d534f3d28c927caec (patch) | |
tree | 06efff97926506f1797e551b5a35506b28636188 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | NVMe: Rename IO_TIMEOUT to NVME_IO_TIMEOUT (diff) | |
download | wireguard-linux-497421880acecd0281d3182d534f3d28c927caec.tar.xz wireguard-linux-497421880acecd0281d3182d534f3d28c927caec.zip |
NVMe: Fix DMA mapping for admin commands
We were always mapping as DMA_FROM_DEVICE then unmapping with
DMA_TO_DEVICE which was clearly not correct. Follow the same pattern as
nvme_submit_io() and key off the bottom bit of the opcode to determine
whether this is a read or a write.
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions