From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3BEA72D29B7 for ; Wed, 18 Mar 2026 16:58:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773853140; cv=none; b=U9fmfuzdFPUZ2ZiFCu38q52MMyM8P+6r7+/B3KUaFhTxQw9NI+3tjZs58akrJJnvbF4g+DIrKYO5kJI5yfofLjdYdo+NChzHW36DHKnwStJSyhmGC/3tzYk36//X7B/R3cvvXqfJLiLzhVWVTPfqIvAMC9qsxxTtVI8rN/35M7o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773853140; c=relaxed/simple; bh=InkPSujBUa0wBS2vem9uM8VkwmsuLz/Suu/KnEtO6i4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=kEWmpA6xPSA3gMQZ3sPT+NukYgB/PCZCNJVTtJGpc45LUYyEQjQAlkvVtvoZ9gKddN/uKPO0CfsVhql3UQGAtd5Q2z/xgjskAHXHzgD6jmbMwg0oNp4l8hU7GnQH3WklGGSvyXn53NWrj8VfvJNput+LF/byiq162PpqGEPd1XY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1eL9MOD5; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="1eL9MOD5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3FFB8C19421; Wed, 18 Mar 2026 16:58:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1773853139; bh=InkPSujBUa0wBS2vem9uM8VkwmsuLz/Suu/KnEtO6i4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=1eL9MOD5GKEHk0NyvseU/0wR7nojncDpZlyBu74UhfEEN8Ut6A5ri/JupQUNTCuJr rxLmRdiUxJHMHWpShwbwfEoNJ4ebI5AVRel6a30HbsGy5GEP0uml7DrjZv7WzEZbzY OB9o8iiBunMvMhXX4xRr2N65eyFMj7KySFBaaiwk= Date: Wed, 18 Mar 2026 17:58:55 +0100 From: "gregkh@linuxfoundation.org" To: "Lin, Shuicheng" Cc: "Brost, Matthew" , "Vivi, Rodrigo" , "stable@vger.kernel.org" Subject: Re: FAILED: patch "[PATCH] drm/xe/sync: Cleanup partially initialized sync on parse" failed to apply to 6.12-stable tree Message-ID: <2026031828-dyslexic-retract-a423@gregkh> References: <2026031732-size-unfasten-2bf3@gregkh> <2026031748-huskiness-autistic-5186@gregkh> <2026031851-glamour-unusual-8513@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Wed, Mar 18, 2026 at 04:26:44PM +0000, Lin, Shuicheng wrote: > On Wed, Mar 18, 2026 5:25 AM gregkh wrote: > > On Tue, Mar 17, 2026 at 05:10:53PM +0000, Lin, Shuicheng wrote: > > > On Tue, Mar 17, 2026 9:32 AM greg k-h wrote: > > > > On Tue, Mar 17, 2026 at 04:27:46PM +0000, Lin, Shuicheng wrote: > > > > > On Tue, Mar 17, 2026 4:48 AM gregkh wrote: > > > > > > The patch below does not apply to the 6.12-stable tree. > > > > > > If someone wants it applied there, or to any other stable or > > > > > > longterm tree, then please email the backport, including the > > > > > > original git commit id to . > > > > > > > > > > > > To reproduce the conflict and resubmit, you may use the > > > > > > following > > > > commands: > > > > > > > > > > > > git fetch > > > > > > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git > > > > > > / linux-6.12.y git checkout FETCH_HEAD git cherry-pick -x > > > > > > 1bfd7575092420ba5a0b944953c95b74a5646ff8 > > > > > > # git commit -s git > > > > > > send-email --to '' --in-reply-to > > > > > > '2026031732-size-unfasten- 2bf3@gregkh' --subject-prefix 'PATCH > > 6.12.y' > > > > HEAD^.. > > > > > > > > > > I cannot reproduce the failure with upper cmd. > > > > > The patch could be applied successfully without conflict. > > > > > Anyway, I follow the instructions re-send the patch. > > > > > Let me know if it still has issue. > > > > > > > > Try building it after it is applied and notice how it breaks the > > > > build :( > > > > > > I tried to do it, and it could build successfully. > > > I checked the code and cannot find what will cause the build failure. > > > Could you please share me the failure signature? > > > > CC [M] drivers/gpu/drm/xe/xe_sync.o > > drivers/gpu/drm/xe/xe_sync.c: In function ‘xe_sync_entry_parse’: > > drivers/gpu/drm/xe/xe_sync.c:182:33: error: label ‘free_sync’ used but not > > defined > > 182 | goto free_sync; > > | ^~~~ > > Thanks for the log. > It seems the patch is not applied correctly and cause the build failure. > For the original patch 1bfd75750924 ("drm/xe/sync: Cleanup partially initialized sync on parse failure"), > all the change is within function xe_sync_entry_parse(). > This "free_sync" label is added at the end of xe_sync_entry_parse(), and some error path use goto to jump to this label. > > For this and below err, it seems the last part of this patch is applied to function xe_sync_entry_add_deps(), which is the function after xe_sync_entry_parse(). > The err should be due to "free_sync" label is added to function xe_sync_entry_add_deps() instead of xe_sync_entry_parse(). > Could you please help me confirm it? It's best if you can send a properly backported patch for us to apply. thanks, greg k-h