OSDN Git Service

iommu/amd: Make sure IOMMU interrupts are re-enabled on resume
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 11 Apr 2012 16:45:52 +0000 (18:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Apr 2012 15:14:08 +0000 (08:14 -0700)
commit1a92416a1d37fd96427bd8d8a5fb52b54429c26f
tree55fd192b97c509ff95a1c261255cf37069f6b7ac
parenta27f3e06be07cd3719f8c42092de3ebfc9202923
iommu/amd: Make sure IOMMU interrupts are re-enabled on resume

commit 9ddd592a191b32f2ee6c4b6ed2bd52665c3a49f5 upstream.

Unfortunatly the interrupts for the event log and the
peripheral page-faults are only enabled at boot but not
re-enabled at resume. Fix that.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
[bwh: Backport to 3.0:
 - Drop change to PPR log which was added in 3.3
  - Source is under arch/x86/kernel]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kernel/amd_iommu_init.c