summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@broadcom.com>2017-08-01 16:05:53 +0530
committerJassi Brar <jaswinder.singh@linaro.org>2017-08-31 08:39:03 +0530
commit1f7466c6b428fa52504e85c2df43aa8641f9294e (patch)
treec88a077d8702a59bede6083da96d059522badb22 /security
parent6d2061b981af165d3e45462e0804b5a1f2f4c7bc (diff)
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 'security')
0 files changed, 0 insertions, 0 deletions