Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7a5a566e authored by Joerg Roedel's avatar Joerg Roedel
Browse files

iommu/amd: Introduce protection_domain_init() function



This function contains the common parts between the
initialization of dma_ops_domains and usual protection
domains. This also fixes a long-standing bug which was
uncovered by recent changes, in which the api_lock was not
initialized for dma_ops_domains.

Reported-by: default avatarGeorge Wang <xuw2015@gmail.com>
Tested-by: default avatarGeorge Wang <xuw2015@gmail.com>
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent a6e08fb2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment