]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iommu/vt-d: Really use upper context table when necessary
authorJoerg Roedel <jroedel@suse.de>
Tue, 25 Aug 2015 08:54:28 +0000 (10:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 17:26:14 +0000 (19:26 +0200)
commitfeab9b2a1002c23d415f7a2db4f4777c60d3eb52
tree369c8e64339b1982f406ce3de92a53d854de25fc
parent1f398b31044845397b5e2fefdb7ac247180e6a7c
iommu/vt-d: Really use upper context table when necessary

commit 4df4eab168c1c4058603be55a3169d4a45779cc0 upstream.

There is a bug in iommu_context_addr() which will always use
the lower context table, even when the upper context table
needs to be used. Fix this issue.

Fixes: 03ecc32c5274 ("iommu/vt-d: support extended root and context entries")
Reported-by: Xiao, Nan <nan.xiao@hp.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/iommu/intel-iommu.c