diff options
author | Thomas Richter <tmricht@linux.ibm.com> | 2024-02-29 15:00:28 +0100 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2024-04-03 15:00:20 +0200 |
commit | e9f3af02f63909f41b43c28330434cc437639c5c (patch) | |
tree | e5b5b84cfbabd3865fa6b4b8b64bf2476795352b /drivers/gpu/drm/amd/display/dc | |
parent | c9c260681f521e4ad9f9f4cc71fe35b978e06222 (diff) | |
download | linux-stable-e9f3af02f63909f41b43c28330434cc437639c5c.tar.gz linux-stable-e9f3af02f63909f41b43c28330434cc437639c5c.tar.bz2 linux-stable-e9f3af02f63909f41b43c28330434cc437639c5c.zip |
s390/pai: fix sampling event removal for PMU device driver
In case of a sampling event, the PAI PMU device drivers need a
reference to this event. Currently to PMU device driver reference
is removed when a sampling event is destroyed. This may lead to
situations where the reference of the PMU device driver is removed
while being used by a different sampling event.
Reset the event reference pointer of the PMU device driver when
a sampling event is deleted and before the next one might be added.
Fixes: 39d62336f5c1 ("s390/pai: add support for cryptography counters")
Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Acked-by: Sumanth Korikkar <sumanthk@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc')
0 files changed, 0 insertions, 0 deletions