iommu/vt-d: refactoring of deferred flush entries
authorOmer Peleg <omer@cs.technion.ac.il>
Wed, 20 Apr 2016 08:32:45 +0000 (11:32 +0300)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 20 Apr 2016 19:05:20 +0000 (15:05 -0400)
commit314f1dc140844a73034e285ddac92b9e1ffecb5b
treec33d4c852b99db0e49cd7aa6c7c32b449c19c134
parentc3b46c73264b03000d1e18b22f5caf63332547c9
iommu/vt-d: refactoring of deferred flush entries

Currently, deferred flushes' info is striped between several lists in
the flush tables. Instead, move all information about a specific flush
to a single entry in this table.

This patch does not introduce any functional change.

Signed-off-by: Omer Peleg <omer@cs.technion.ac.il>
[mad@cs.technion.ac.il: rebased and reworded the commit message]
Signed-off-by: Adam Morrison <mad@cs.technion.ac.il>
Reviewed-by: Shaohua Li <shli@fb.com>
Reviewed-by: Ben Serebrin <serebrin@google.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/iommu/intel-iommu.c