freebsd-nq/sys/x86
Konstantin Belousov 1abfd35537 Split the DMAR unit domains and contexts. Domains carry address space
and related data structures.  Contexts attach requests initiators to
domains.  There is still 1:1 correspondence between contexts and
domains on the running system, since only busdma currently allocates
them, using dmar_get_ctx_for_dev().

Large part of the change is formal rename of the ctx to domain, but
patch also reworks the context allocation and free to allow for
independent domain creation.

The helper dmar_move_ctx_to_domain() is introduced for future use, to
reassign request initiator from one domain to another.  The hard issue
which is not yet resolved with the context move is proper handling (or
reserving) RMRR entries in the destination domain as required by ACPI
DMAR table for moved context.

Tested by:	pho
Sponsored by:	The FreeBSD Foundation
2015-06-26 07:01:29 +00:00
..
acpica Merge ACPICA 20150619. 2015-06-18 23:14:45 +00:00
bios
cpufreq Pull in r267961 and r267973 again. Fix for issues reported will follow. 2014-06-28 03:56:17 +00:00
include Rewrite amd64 PCID implementation to follow an algorithm described in 2015-05-09 19:11:01 +00:00
iommu Split the DMAR unit domains and contexts. Domains carry address space 2015-06-26 07:01:29 +00:00
isa Include mca_machdep.h. 2015-01-18 03:43:47 +00:00
pci Reassign copyright statements on several files from Advanced 2015-04-23 14:22:20 +00:00
x86 Update print_INTEL_TLB() by the tag values from the Intel SDM 2015-06-06 22:03:24 +00:00
xen xen: make sure xenpv bus is the last to attach 2015-05-25 09:47:16 +00:00