Skip to content
Commit 03ecc32c authored by David Woodhouse's avatar David Woodhouse
Browse files

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: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 4423f5e7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment