diff options
author | Anup Patel <anup.patel@broadcom.com> | 2017-08-01 12:35:53 +0200 |
---|---|---|
committer | Jassi Brar <jaswinder.singh@linaro.org> | 2017-08-31 05:09:03 +0200 |
commit | 1f7466c6b428fa52504e85c2df43aa8641f9294e (patch) | |
tree | c88a077d8702a59bede6083da96d059522badb22 /fs/devpts | |
parent | mailbox: bcm-flexrm-mailbox: Fix mask used in CMPL_START_ADDR_VALUE() (diff) | |
download | linux-1f7466c6b428fa52504e85c2df43aa8641f9294e.tar.xz linux-1f7466c6b428fa52504e85c2df43aa8641f9294e.zip |
mailbox: bcm-flexrm-mailbox: Use bitmap instead of IDA
Currently, we are using IDA library for managing IDs
on a FlexRM ring. The IDA library dynamically allocates
memory for underlying data structures which can cause
potential locking issue when allocating/free IDs from
flexrm_new_request() and flexrm_process_completions().
To tackle this, we replace use of IDA with bitmap for
each FlexRM ring and also protect the bitmap with FlexRM
ring lock.
Signed-off-by: Anup Patel <anup.patel@broadcom.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'fs/devpts')
0 files changed, 0 insertions, 0 deletions