Commit 187d53a7 authored by Roland Dreier's avatar Roland Dreier Committed by Linus Torvalds

[PATCH] InfiniBand/mthca: don't write ECR in MSI-X mode

From: "Michael S. Tsirkin" <mst@mellanox.co.il>

We don't need to write to the ECR to clear events when using MSI-X, since we
never read the ECR anyway.
Signed-off-by: default avatarMichael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: default avatarRoland Dreier <roland@topspin.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent fc82feb7
......@@ -381,7 +381,6 @@ static irqreturn_t mthca_msi_x_interrupt(int irq, void *eq_ptr,
struct mthca_eq *eq = eq_ptr;
struct mthca_dev *dev = eq->dev;
writel(eq->ecr_mask, dev->hcr + MTHCA_ECR_CLR_OFFSET + 4);
mthca_eq_int(dev, eq);
/* MSI-X vectors always belong to us */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment