commit | 0964fc8f5f30f4ec7cce4c7a09c547ac87b4ed25 | [log] [tgz] |
---|---|---|
author | Stanislaw Kardach <skardach@marvell.com> | Mon Nov 19 16:17:26 2018 +0530 |
committer | David S. Miller <davem@davemloft.net> | Mon Nov 19 17:56:07 2018 -0800 |
tree | bff72b39402eb3ddd301d4344a3bbb90814a134a | |
parent | 34425e8c7589b87fea3659c35d8a217110fcbd4b [diff] |
octeontx2-af: Relax resource lock into mutex Mailbox message handling is done in a workqueue context scheduled from interrupt handler. So resource locks does not need to be a spinlock. Therefore relax them into a mutex so that later on we may use them in routines that might sleep. Signed-off-by: Stanislaw Kardach <skardach@marvell.com> Signed-off-by: Sunil Goutham <sgoutham@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>