aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c
diff options
context:
space:
mode:
authorUlf Hansson <[email protected]>2018-02-27 10:49:09 +0000
committerUlf Hansson <[email protected]>2018-02-27 14:12:37 +0000
commit3a574919f0cc15a46ec14c3e5e08300908991915 (patch)
tree12b1bcfb3a04ec5ad64ef87e6a78c8f7edb90f54 /drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c
parentmmc: dw_mmc: Avoid accessing registers in runtime suspended state (diff)
downloadkernel-3a574919f0cc15a46ec14c3e5e08300908991915.tar.gz
kernel-3a574919f0cc15a46ec14c3e5e08300908991915.zip
mmc: core: Avoid hanging to claim host for mmc via some nested calls
As the block layer, since the conversion to blkmq, claims the host using a context, a following nested call to mmc_claim_host(), which isn't using a context, may hang. Calling mmc_interrupt_hpi() and mmc_read_bkops_status() via the mmc block layer, may suffer from this problem, as these functions are calling mmc_claim|release_host(). Let's fix the problem by removing the calls to mmc_claim|release_host() from the above mentioned functions and instead make the callers responsible of claiming/releasing the host. As a matter of fact, the existing callers already deals with it. Fixes: 81196976ed94 ("mmc: block: Add blk-mq support") Reported-by: Dmitry Osipenko <[email protected]> Suggested-by: Adrian Hunter <[email protected]> Tested-by: Dmitry Osipenko <[email protected]> Signed-off-by: Ulf Hansson <[email protected]> Acked-by: Adrian Hunter <[email protected]> Reviewed-by: Shawn Lin <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c')
0 files changed, 0 insertions, 0 deletions