summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2015-02-13 14:35:21 +0000
committerDavid Woodhouse <David.Woodhouse@intel.com>2015-03-25 15:46:13 +0000
commit03ecc32c5274962b9b1904d7a730e71c95bac05f (patch)
tree4c951e5c289e3f66c4472e3f84943ddc097e8f7f /security
parent4423f5e7d28c26af31df711c5c21eeacfac737b4 (diff)
downloadop-kernel-dev-03ecc32c5274962b9b1904d7a730e71c95bac05f.zip
op-kernel-dev-03ecc32c5274962b9b1904d7a730e71c95bac05f.tar.gz
iommu/vt-d: support extended root and context entries
Add a new function iommu_context_addr() which takes care of the differences and returns a pointer to a context entry which may be in either format. The formats are binary compatible for all the old fields anyway; the new one is just larger and some of the reserved bits in the original 128 are now meaningful. So far, nothing actually uses the new fields in the extended context entry. Modulo hardware bugs with interpreting the new-style tables, this should basically be a no-op. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud