OSDN Git Service

soc: fsl: qbman: avoid race in clearing QMan interrupt
authorMadalin Bucur <madalin.bucur@nxp.com>
Fri, 21 Dec 2018 14:41:42 +0000 (16:41 +0200)
committerLi Yang <leoyang.li@nxp.com>
Fri, 18 Jan 2019 22:48:35 +0000 (16:48 -0600)
commit89857a8a5c89a406b967ab2be7bd2ccdbe75e73d
tree2f681909969d9cc805649765bed039b09508f644
parentbfeffd155283772bbe78c6a05dec7c0128ee500c
soc: fsl: qbman: avoid race in clearing QMan interrupt

By clearing all interrupt sources, not only those that
already occurred, the existing code may acknowledge by
mistake interrupts that occurred after the code checks
for them.

Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: Roy Pledge <roy.pledge@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
drivers/soc/fsl/qbman/qman.c