Patch "iommu/vt-d: Really use upper context table when necessary" has been added to the 4.2-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
iommu/vt-d: Really use upper context table when necessary
to the 4.2-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
iommu-vt-d-really-use-upper-context-table-when-necessary.patch
and it can be found in the queue-4.2 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
4df4eab168c1c4058603be55a3169d4a45779cc0Mon Sep 17 00:00:00 2001
From: Joerg Roedel <[email protected]>
Date: Tue, 25 Aug 2015 10:54:28 +0200
Subject: iommu/vt-d: Really use upper context table when necessary
From: Joerg Roedel <[email protected]>
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.
--- drivers/iommu/intel-iommu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iommu/intel-iommu.c +1 -1
@@ -755,6 +755,7 @@ static inline struct context_entry *iommstruct context_entry *context;u64 *entry; + entry = &root->lo;if (ecs_enabled (iommu)) {if (devfn >=0x80 ) { devfn -=0x80 ;
@@ -762,7 +763,6 @@ static inline struct context_entry *iomm } devfn *=2 ; } - entry = &root->lo;if (*entry &1 ) context =phys_to_virt (*entry &VTD_PAGE_MASK );else {
Patches currently in stable-queue which might be from [email protected] are
queue-4.2/iommu-vt-d-really-use-upper-context-table-when-necessary.patch queue-4.2/iommu-fsl-really-fix-init-section-s-content.patch queue-4.2/iommu-io-pgtable-arm-unmap-and-free-table-when-overwriting-with-block.patch