From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (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 3DC5323EA89; Wed, 13 May 2026 07:46:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.50.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778658388; cv=none; b=OV7C8lHIm3YwHmLhx4liRpp175pcL4rq2R9C5+AN3a51NTh5VDMeKaM7W7Usw547jLlJQvtb+g3nXenofzleuUlraQuS7kEnCYHgrxpt1rvEMCWpWvLNEk1jsPC3hHEbGiC9Nko+13210S/TFPuMnJKohZbOEqO/dVindk7Skz0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778658388; c=relaxed/simple; bh=gdJ3bclZnSTQKqwObYZBerxCAeCGszQZnoiFN16hqOM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=M66Mx9CnvM50OXarrdhaRjL3mFya5KNksPF4Phtn+u0mkZ37LNCo4idN2YrnO3xCWnEqrGtGYU5LLSdYLS6ZMpWOx6Jw6XSkwaDg2G3PeDT7i7t9S8WhFHlx6eKiR0EWBPMhP5af+FGITIeoPAdrban8mdHHgR1BSvcwoEmPkl0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=pYLknmhr; arc=none smtp.client-ip=90.155.50.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="pYLknmhr" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=gdJ3bclZnSTQKqwObYZBerxCAeCGszQZnoiFN16hqOM=; b=pYLknmhrYkO3h4mYcHqhgbr1Km EBg4kCULjXxvtlr8jFObjuXNBjZe3bqKLp/yJviVic1RUp+6EbzHRj/9EnCnCsg8uEYVK4tuZAzSa HHyKM+Gb0kKt6jiEM50zTk/pjY3WIP/Bh6smDq73X/7VNaNri8RGr+l+QJeLJLcY8ibN+4gltIbt+ FzaYKDU0nEGOpG1+TI04BDrXw/ztY6U9mMbrQekhuPuCVNSmM116gM+AFRsZ2qK9d1U98XykJpcue K56NOgHMOzOg07CkU5WA85A9C5qQx510qX7BZugLsBvy5zKZZMNcFkKtfs2b7h1nDEEVOFdbLBYnU RqqbXR0w==; Received: from 77-249-17-252.cable.dynamic.v4.ziggo.nl ([77.249.17.252] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.99.1 #2 (Red Hat Linux)) id 1wN4IQ-0000000BDhN-0Qsd; Wed, 13 May 2026 07:46:22 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id 94A4A300B8A; Wed, 13 May 2026 09:36:17 +0200 (CEST) Date: Wed, 13 May 2026 09:36:17 +0200 From: Peter Zijlstra To: Josh Poimboeuf Cc: x86@kernel.org, linux-kernel@vger.kernel.org, live-patching@vger.kernel.org, Joe Lawrence , Song Liu , Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org, Mark Rutland , Miroslav Benes , Petr Mladek Subject: Re: [PATCH v3 10/21] objtool: Ignore jumps to the end of the function for checksum runs Message-ID: <20260513073617.GH1889694@noisy.programming.kicks-ass.net> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, May 12, 2026 at 08:33:44PM -0700, Josh Poimboeuf wrote: > Sometimes Clang arm64 code jumps to the end of the function for UB. > No need to make that an error for checksum runs. I'm not sure I understand the rationale. If the compiler trips UB, we want to be complaining about that no? Same as when clang just stops code-gen, also something we commonly see when it hits UB.