summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/perf_event.h
diff options
context:
space:
mode:
authorJonathan Marek <jonathan@marek.ca>2024-10-08 01:59:35 +0200
committerBjorn Andersson <andersson@kernel.org>2024-11-16 04:32:36 +0100
commit06c59d97f63c1b8af521fa5aef8a716fb988b285 (patch)
tree7cb53755e5a2922a46dd3c46266e1c21dec8e786 /arch/powerpc/include/asm/perf_event.h
parentLinux 6.12-rc1 (diff)
downloadlinux-06c59d97f63c1b8af521fa5aef8a716fb988b285.tar.xz
linux-06c59d97f63c1b8af521fa5aef8a716fb988b285.zip
rpmsg: glink: use only lower 16-bits of param2 for CMD_OPEN name length
The name len field of the CMD_OPEN packet is only 16-bits and the upper 16-bits of "param2" are a different "prio" field, which can be nonzero in certain situations, and CMD_OPEN packets can be unexpectedly dropped because of this. Fix this by masking out the upper 16 bits of param2. Fixes: b4f8e52b89f6 ("rpmsg: Introduce Qualcomm RPM glink driver") Signed-off-by: Jonathan Marek <jonathan@marek.ca> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20241007235935.6216-1-jonathan@marek.ca Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'arch/powerpc/include/asm/perf_event.h')
0 files changed, 0 insertions, 0 deletions