Skip to content

Commit 7f34891

Browse files
committed
Merge branch 'iommu/fixes' into core
2 parents 189cb8f + 91c98fe commit 7f34891

File tree

4 files changed

+130
-107
lines changed

4 files changed

+130
-107
lines changed

drivers/iommu/amd/iommu.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,8 @@ static void build_completion_wait(struct iommu_cmd *cmd,
937937
memset(cmd, 0, sizeof(*cmd));
938938
cmd->data[0] = lower_32_bits(paddr) | CMD_COMPL_WAIT_STORE_MASK;
939939
cmd->data[1] = upper_32_bits(paddr);
940-
cmd->data[2] = data;
940+
cmd->data[2] = lower_32_bits(data);
941+
cmd->data[3] = upper_32_bits(data);
941942
CMD_SET_TYPE(cmd, CMD_COMPL_WAIT);
942943
}
943944

0 commit comments

Comments
 (0)