Loading
drm/lima: add mask irq callback to gp and pp
stable inclusion from stable-v5.10.221 commit e12c363cf5fdd0decef467ee2c0069dcad267679 category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IACV6I CVE: CVE-2024-40976 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e12c363cf5fdd0decef467ee2c0069dcad267679 -------------------------------- [ Upstream commit 49c13b4d2dd4a831225746e758893673f6ae961c ] This is needed because we want to reset those devices in device-agnostic code such as lima_sched. In particular, masking irqs will be useful before a hard reset to prevent race conditions. Signed-off-by:Erico Nunes <nunes.erico@gmail.com> Signed-off-by:
Qiang Yu <yuq825@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240405152951.1531555-2-nunes.erico@gmail.com Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Jinjiang Tu <tujinjiang@huawei.com>