aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mul.c
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <[email protected]>2020-02-24 15:23:36 +0530
committerLorenzo Pieralisi <[email protected]>2020-02-24 10:13:48 +0000
commit04e046ca57ebed3943422dee10eec9e73aec081e (patch)
tree507d2a04ccefe9eb00f775f9fd408ba966a0f57e /lib/mpi/mpi-mul.c
parent3d3248dbd018502f654064c78efcd2e165ab3486 (diff)
PCI: endpoint: Fix for concurrent memory allocation in OB address region
pci-epc-mem uses a bitmap to manage the Endpoint outbound (OB) address region. This address region will be shared by multiple endpoint functions (in the case of multi function endpoint) and it has to be protected from concurrent access to avoid updating an inconsistent state. Use a mutex to protect bitmap updates to prevent the memory allocation API from returning incorrect addresses. Signed-off-by: Kishon Vijay Abraham I <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Cc: [email protected] # v4.14+
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions