Re: [PATCH v2] iommu/amd: Use wait_event in put_pasid_state_wait

From: Oded Gabbay
Date: Thu Feb 05 2015 - 07:23:45 EST




On 02/05/2015 01:40 PM, Joerg Roedel wrote:
So this should be the correct version then.

From 2a52250e542d8964c8285a37b71fe838a44c05c4 Mon Sep 17 00:00:00 2001
From: Joerg Roedel<jroedel@xxxxxxx>
Date: Wed, 4 Feb 2015 15:50:38 +0100
Subject: [PATCH 1/2] iommu/amd: Use wait_event in put_pasid_state_wait

Now that I learned about possible spurious wakeups this
place needs fixing too. Replace the self-coded sleep variant
with the generic wait_event() helper.

Signed-off-by: Joerg Roedel<jroedel@xxxxxxx>

Tested-by: Oded Gabbay <oded.gabbay@xxxxxxx>

Oded
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/