Commit c12e7254 authored by Tanmay Shah's avatar Tanmay Shah Committed by sanglipeng
Browse files

mailbox: zynqmp: Fix counts of child nodes

stable inclusion
from stable-v5.10.180
commit 26b1b0d0bebdb45ba1e33590313a4e345e1e18d8
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8FC2O

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=26b1b0d0bebdb45ba1e33590313a4e345e1e18d8



--------------------------------

[ Upstream commit f72f805e ]

If child mailbox node status is disabled it causes
crash in interrupt handler. Fix this by assigning
only available child node during driver probe.

Fixes: 4981b82b ("mailbox: ZynqMP IPI mailbox controller")
Signed-off-by: default avatarTanmay Shah <tanmay.shah@amd.com>
Acked-by: default avatarMichal Simek <michal.simek@amd.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20230311012407.1292118-2-tanmay.shah@amd.com


Signed-off-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent fe1f11d0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment