summaryrefslogtreecommitdiffstats
path: root/sound/core/pcm_drm_eld.c
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2020-08-12 18:56:28 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-08-26 10:41:02 +0200
commite9849a60facbbddc5cff0557f808539a24961f5e (patch)
treeed1db699e60f36d34e93f2fdc793025a95ccac79 /sound/core/pcm_drm_eld.c
parentd35f24bc566d33c26a81e02c2fd1f1bb3f4383b2 (diff)
downloadlinux-stable-e9849a60facbbddc5cff0557f808539a24961f5e.tar.gz
linux-stable-e9849a60facbbddc5cff0557f808539a24961f5e.tar.bz2
linux-stable-e9849a60facbbddc5cff0557f808539a24961f5e.zip
s390/ptrace: fix storage key handling
[ Upstream commit fd78c59446b8d050ecf3e0897c5a486c7de7c595 ] The key member of the runtime instrumentation control block contains only the access key, not the complete storage key. Therefore the value must be shifted by four bits. Since existing user space does not necessarily query and set the access key correctly, just ignore the user space provided key and use the correct one. Note: this is only relevant for debugging purposes in case somebody compiles a kernel with a default storage access key set to a value not equal to zero. Fixes: 262832bc5acd ("s390/ptrace: add runtime instrumention register get/set") Reported-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'sound/core/pcm_drm_eld.c')
0 files changed, 0 insertions, 0 deletions