summaryrefslogtreecommitdiff
path: root/net/dsa/switch.c
diff options
context:
space:
mode:
authorKevin Wang <kevin1.wang@amd.com>2019-09-26 16:22:13 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-10-02 12:23:05 -0500
commit00921306751001b539ebee34171485cd9c749024 (patch)
tree64b535a3d65b06727747b93f517e500231f7ea9c /net/dsa/switch.c
parente0e4a2ce7a059d051c66cd7c94314fef3cd91aea (diff)
drm/amd/powerplay: add sensor lock support for smu
when multithreading access sysfs of amdgpu_pm_info at the sametime. the swsmu driver cause smu firmware hang. eg: single thread access: Message A + Param A ==> right Message B + Param B ==> right Message C + Param C ==> right multithreading access: Message A + Param B ==> error Message B + Param A ==> error Message C + Param C ==> right the patch will add sensor lock(mutex) to avoid this error. Signed-off-by: Kevin Wang <kevin1.wang@amd.com> Reviewed-by: Kenneth Feng <kenneth.feng@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org # 5.3.x
Diffstat (limited to 'net/dsa/switch.c')
0 files changed, 0 insertions, 0 deletions