]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/amd: Correct the wrong setting of alias DTE in do_attach
authorBaoquan He <bhe@redhat.com>
Wed, 20 Jan 2016 14:01:19 +0000 (22:01 +0800)
committerJoerg Roedel <jroedel@suse.de>
Fri, 29 Jan 2016 11:30:47 +0000 (12:30 +0100)
commit1da55e51dcb5b4ae144377739ce6ac0eb0569561
tree4744b9215ae49624548957eee65035028b68650f
parentb31a88bdcec37397d22e2cee5e602a33995c8b2c
iommu/amd: Correct the wrong setting of alias DTE in do_attach

In below commit alias DTE is set when its peripheral is
setting DTE. However there's a code bug here to wrongly
set the alias DTE, correct it in this patch.

commit 5ef24680ece0175cd15e4b888af6c50d893528ef
Author: Joerg Roedel <jroedel@suse.de>
Date:   Tue Oct 20 17:33:38 2015 +0200

    iommu/amd: Set alias DTE in do_attach/do_detach

Signed-off-by: Baoquan He <bhe@redhat.com>
Tested-by: Mark Hounschell <markh@compro.net>
Cc: stable@vger.kernel.org # v4.4
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd_iommu.c