From patchwork Wed Oct 16 21:12:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nathan Chancellor X-Patchwork-Id: 1998273 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=vboAiCKC; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=FebUSwRQ; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XTNwP25Fpz1xvV for ; Thu, 17 Oct 2024 08:12:53 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To: Content-Transfer-Encoding:Content-Type:MIME-Version:Message-Id:Date:Subject: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=N5jl8iqQn15K/r0lgu7yKrB8BOfggBKRG9RYqQ4n6HE=; b=vboAiCKCkRodV5 ruu4VeNZNPkB0kpDnn3LCJzaFqvKLHigqTM6mWjqBxmce0d8OTIooyQlb6hw2YLkro52iD8Fx7pw/ TuEoioRDgQ1wSwm6cTSvvVrRvaLPIh+1tOu+GG+tPX0w+uqaGIE3AM2Zlc7jMaQj5lObsiapLkeKY Raw6jVDED3cGfrVtYY7cjWVU0KdVa3PpYdNaWKGIPW1NYEkYiRW2UqoJas1esekPo3r/STh374JUR qnSvbxpT3iJqCZ/IsfTLi9oImxuMUEiwBiTnsGHsh7sy2VNLv8Ob3L6q9pzdyBUXCtHclIgu6U+wj m0fys6sb3NEWhhVOqcZA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t1BK6-0000000D1Vh-1mw0; Wed, 16 Oct 2024 21:12:50 +0000 Received: from nyc.source.kernel.org ([2604:1380:45d1:ec00::3]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t1BK3-0000000D1Ui-10dC for linux-um@lists.infradead.org; Wed, 16 Oct 2024 21:12:48 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 4E015A40168; Wed, 16 Oct 2024 21:12:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 574A9C4CEC5; Wed, 16 Oct 2024 21:12:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1729113166; bh=gvPBuO8nQ4vzn798wSf1AJborcfkCDs17JO72U1ptd8=; h=From:Subject:Date:To:Cc:From; b=FebUSwRQvl0PbE0ZXrj2/PrRxH8Ez7cUli8GdVZ5DIYMqU7jkpTYmHeodo3RsPYK7 EfIseQ3Bkt1vQiawerXjuZmwrixuKeGOohUIKDZstNh7cxb+zstqyx1lYqWy760NuS nJY5hyWc7IHGBUyLzsY94gRHgUuoFk6kv48OhwI8paK9uj9eVUCieeXQkJuPvPoKxk SsEOZUTsnP4Y0p95pIcdEsdqoCmDUQc4Jdq4unoa7dHYq7gXhB3DrF4SjZ4qdri0W4 cTj2DQQeow7NGmQw+HVqZwCR2wrAsa4UNJVhWVl/7/RfWIP9HEICk3zaryibmkgPRJ rAZDzx1FmtZcA== From: Nathan Chancellor Subject: [PATCH 0/2] um: Fix a couple of issues with stub_exe when building with clang Date: Wed, 16 Oct 2024 14:12:36 -0700 Message-Id: <20241016-uml-fix-stub_exe-clang-v1-0-3d6381dc5a78@kernel.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAEQsEGcC/x2M7QpAQBAAX0X729bduZBXkXTOYstXd0jJu9v8n JqZByIFpghV8kCgiyNvq4BOE/CTW0dC7oXBKGO10jmey4wD3xiPs2vpJvSzaOi7UtnC2KLPHEi 8BxLrH9fN+37kp116aAAAAA== X-Change-ID: 20241016-uml-fix-stub_exe-clang-cb8047247d3a To: Richard Weinberger , Anton Ivanov , Johannes Berg Cc: Nick Desaulniers , Bill Wendling , Justin Stitt , Benjamin Berg , linux-um@lists.infradead.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, patches@lists.linux.dev, Nathan Chancellor X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=660; i=nathan@kernel.org; h=from:subject:message-id; bh=gvPBuO8nQ4vzn798wSf1AJborcfkCDs17JO72U1ptd8=; b=owGbwMvMwCUmm602sfCA1DTG02pJDOkCOj6mByZtudzw1bjhwXq5N+taffY8vMQ0JdVsWtESN 4sVBen3OkpZGMS4GGTFFFmqH6seNzScc5bxxqlJMHNYmUCGMHBxCsBE1OIY/kpnxObtuLc5RmNF xrLV/1Nm2uefZHXqN1qYc0h57veoX9EMf8W4fiXPq0qdbiU80UrY73a4MK/dR/vJZjwsU/xXPPe 5yQUA X-Developer-Key: i=nathan@kernel.org; a=openpgp; fpr=2437CB76E544CB6AB3D9DFD399739260CB6CB716 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241016_141247_367423_5A7D5BD8 X-CRM114-Status: UNSURE ( 6.65 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.1 (--) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: This series fixes a couple of issues I see when building ARCH=um defconfig with LLVM=1 after commit 32e8eaf263d9 ("um: use execveat to create userspace MMs") in -next. This passes my basic build and boot testing with both GCC and clang. Content analysis details: (-2.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.0 DKIMWL_WL_HIGH DKIMwl.org - High trust sender X-BeenThere: linux-um@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-um" Errors-To: linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org This series fixes a couple of issues I see when building ARCH=um defconfig with LLVM=1 after commit 32e8eaf263d9 ("um: use execveat to create userspace MMs") in -next. This passes my basic build and boot testing with both GCC and clang. --- Nathan Chancellor (2): um: Fix passing '-n' to linker for stub_exe um: Disable auto variable initialization for stub_exe.c arch/um/kernel/skas/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) --- base-commit: 41ab5fe7471ff38d2909d1c93b88197a89c6a00f change-id: 20241016-uml-fix-stub_exe-clang-cb8047247d3a Best regards,