diff options
author | Diana Craciun <diana.craciun@oss.nxp.com> | 2020-10-05 19:36:50 +0200 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2020-10-12 19:32:49 +0200 |
commit | f2ba7e8c947bf38fec799fdf9122e05a6a3e8382 (patch) | |
tree | ccd68168aeff634b5cc6ce5a7f6060ba36d48976 /kernel/freezer.c | |
parent | vfio/fsl-mc: Allow userspace to MMAP fsl-mc device MMIO regions (diff) | |
download | linux-f2ba7e8c947bf38fec799fdf9122e05a6a3e8382.tar.xz linux-f2ba7e8c947bf38fec799fdf9122e05a6a3e8382.zip |
vfio/fsl-mc: Added lock support in preparation for interrupt handling
Only the DPRC object allocates interrupts from the MSI
interrupt domain. The interrupts are managed by the DPRC in
a pool of interrupts. The access to this pool of interrupts
has to be protected with a lock.
This patch extends the current lock implementation to have a
lock per DPRC.
Signed-off-by: Diana Craciun <diana.craciun@oss.nxp.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'kernel/freezer.c')
0 files changed, 0 insertions, 0 deletions