]> git.kernelconcepts.de Git - karo-tx-linux.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)
committerJoerg Roedel <jroedel@suse.de>
Tue, 25 Aug 2015 09:39:27 +0000 (11:39 +0200)
commit4df4eab168c1c4058603be55a3169d4a45779cc0
treedb1db338f1453cae5012eb3fa58c532733a2c167
parentca30475698696af3a03f6eaee16472ae09d42269
iommu/vt-d: Really use upper context table when necessary

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>
drivers/iommu/intel-iommu.c