]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iommu/amd: Make sure iommu->need_sync contains correct value
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 2 Sep 2011 12:10:32 +0000 (14:10 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Oct 2011 18:40:20 +0000 (11:40 -0700)
commit054b93a673c2b39106b02cbef05bfdc3f5ba6150
treee086e31d8bb267eb6195adf2882657eb1d177612
parent5c755fc21c8e84aff1230e27646fe4277a19451d
iommu/amd: Make sure iommu->need_sync contains correct value

commit f1ca1512e765337a7c09eb875eedef8ea4e07654 upstream.

The value is only set to true but never set back to false,
which causes to many completion-wait commands to be sent to
hardware. Fix it with this patch.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kernel/amd_iommu.c