]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Mar 2019 21:03:19 +0000 (14:03 -0700)
commit27a0e499a313796fbc56b0ba7d2d2171cc3d4ac3
treef03d0c6587c539f0659ce0613e5e7c51868b27e8
parent703db5d1b1759fd2aec0ce3c3b6f6c4262a1433d
soc: fsl: qbman: avoid race in clearing QMan interrupt

[ Upstream commit 89857a8a5c89a406b967ab2be7bd2ccdbe75e73d ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/soc/fsl/qbman/qman.c