Patch "drm/amd/powerplay: Fix smu_table_entry.handle type" has been added to the 4.14-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
drm/amd/powerplay: Fix smu_table_entry.handle type
to the 4.14-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
drm-amd-powerplay-fix-smu_table_entry.handle-type.patch
and it can be found in the queue-4.14 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
adab595d16abe48e9c097f000bf8921d35b28fb7Mon Sep 17 00:00:00 2001
From: Andrey Grodzovsky <[email protected]>
Date: Wed, 17 Jan 2018 17:24:13 -0500
Subject: drm/amd/powerplay: Fix smu_table_entry.handle type
From: Andrey Grodzovsky <[email protected]>
commit adab595d16abe48e9c097f000bf8921d35b28fb7 upstream.
The handle describes kernel logical address, should be unsigned long and not uint32_t.
Fixes KASAN error and GFP on driver unload.
--- drivers/gpu/drm/amd/powerplay/smumgr/rv_smumgr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/powerplay/smumgr/rv_smumgr.h +1 -1
@@ -40,7 +40,7 @@ struct smu_table_entry {uint32_t table_addr_high;uint32_t table_addr_low;uint8_t *table; -uint32_t handle; +unsigned long handle; };struct smu_table_array {
Patches currently in stable-queue which might be from [email protected] are
queue-4.14/drm-amd-powerplay-fix-smu_table_entry.handle-type.patch