summaryrefslogtreecommitdiff
path: root/security/landlock
diff options
context:
space:
mode:
authorChristian Gmeiner <cgmeiner@igalia.com>2024-03-01 14:28:11 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-04-03 15:19:32 +0200
commit03f58a64794aaee56df2de37e53c3610dd151f76 (patch)
treec046bc1b30bbce29a7259729d5a95f6a194a6a17 /security/landlock
parentad8a4eb663521323f1a57a72c4a63ffabe24e1ac (diff)
downloadlinux-03f58a64794aaee56df2de37e53c3610dd151f76.tar.gz
linux-03f58a64794aaee56df2de37e53c3610dd151f76.tar.bz2
linux-03f58a64794aaee56df2de37e53c3610dd151f76.zip
drm/etnaviv: Restore some id values
[ Upstream commit b735ee173f84d5d0d0733c53946a83c12d770d05 ] The hwdb selection logic as a feature that allows it to mark some fields as 'don't care'. If we match with such a field we memcpy(..) the current etnaviv_chip_identity into ident. This step can overwrite some id values read from the GPU with the 'don't care' value. Fix this issue by restoring the affected values after the memcpy(..). As this is crucial for user space to know when this feature works as expected increment the minor version too. Fixes: 4078a1186dd3 ("drm/etnaviv: update hwdb selection logic") Cc: stable@vger.kernel.org Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com> Reviewed-by: Tomeu Vizoso <tomeu@tomeuvizoso.net> Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'security/landlock')
0 files changed, 0 insertions, 0 deletions