Re: [linux-next:master 14191/14955] vmlinux.o: error: objtool: amdgpu_vm_handle_fault+0x186: sibling call from callable instruction with modified stack frame

From: Peter Zijlstra

Date: Wed Jun 24 2026 - 07:21:58 EST


On Wed, Jun 24, 2026 at 01:16:11PM +0200, Peter Zijlstra wrote:

> @@ -121,7 +110,8 @@ _label: \
> * guaranteed that no GEM object is locked.
> */
> #define drm_exec_until_all_locked(exec) \
> - __drm_exec_until_all_locked(exec, __UNIQUE_ID(drm_exec))
> + __drm_exec_retry: __maybe_unused; \
> + for (bool __drm_exec_loop __maybe_unused = true; drm_exec_cleanup(exec);)

An alternative would be something like:

while (drm_exec_cleanup()) \
if (0) { \
__drm_exec_retry: __maybe_unused; \
continue; \
} else

But that still breaks the multi case.