aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2022-07-12 12:01:06 +0000
committerBorislav Petkov <[email protected]>2022-07-12 12:23:32 +0000
commitc27c753ea6fd1237f4f96abf8b623d7bab505513 (patch)
treea4d18070f91417e41f85c3f4fb1906f4acce0893 /drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c
parentx86/retbleed: Add fine grained Kconfig knobs (diff)
downloadkernel-c27c753ea6fd1237f4f96abf8b623d7bab505513.tar.gz
kernel-c27c753ea6fd1237f4f96abf8b623d7bab505513.zip
x86/static_call: Serialize __static_call_fixup() properly
__static_call_fixup() invokes __static_call_transform() without holding text_mutex, which causes lockdep to complain in text_poke_bp(). Adding the proper locking cures that, but as this is either used during early boot or during module finalizing, it's not required to use text_poke_bp(). Add an argument to __static_call_transform() which tells it to use text_poke_early() for it. Fixes: ee88d363d156 ("x86,static_call: Use alternative RET encoding") Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Borislav Petkov <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c')
0 files changed, 0 insertions, 0 deletions