diff options
| author | Sebastian Andrzej Siewior <[email protected]> | 2018-03-22 15:22:36 +0000 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2018-03-29 08:38:15 +0000 |
| commit | ea6166f4b83e9cfba1c18f46a764d50045682fe5 (patch) | |
| tree | 89e549e2897afcdbf09ea31831744b1a55b27315 /fs/proc/array.c | |
| parent | iommu/amd: Split domain id out of amd_iommu_devtable_lock (diff) | |
| download | kernel-ea6166f4b83e9cfba1c18f46a764d50045682fe5.tar.gz kernel-ea6166f4b83e9cfba1c18f46a764d50045682fe5.zip | |
iommu/amd: Split irq_lookup_table out of the amd_iommu_devtable_lock
The function get_irq_table() reads/writes irq_lookup_table while holding
the amd_iommu_devtable_lock. It also modifies
amd_iommu_dev_table[].data[2].
set_dte_entry() is using amd_iommu_dev_table[].data[0|1] (under the
domain->lock) so it should be okay. The access to the iommu is
serialized with its own (iommu's) lock.
So split out get_irq_table() out of amd_iommu_devtable_lock's lock.
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
