Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp70074lqa; Fri, 26 Apr 2024 14:54:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXaYdsAgwgJ22iqZMwbCDc7Llrh21jo0pSwAXP9KqfOEe6+J0impfsW87fX+NOyOVYcssAKDBQdVZ5bnLkV0qMGFo8j8YIrn+1NPdhHgA== X-Google-Smtp-Source: AGHT+IEYOu53mbFDoOkmmDJamwIG4KI8hfnVBNaaFgFFKFT7Dc3TNwO5OH9zzhGjGFOfBIWdJ9Di X-Received: by 2002:a17:906:2993:b0:a55:b810:8678 with SMTP id x19-20020a170906299300b00a55b8108678mr3607266eje.23.1714168442170; Fri, 26 Apr 2024 14:54:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714168442; cv=pass; d=google.com; s=arc-20160816; b=TKNlmDRHClFeKO+ni+G7B2vl2wA53qdp17NhzEXz8kXPJIBuPPg3GTNtQlDG/cG2jQ dlBO8rblG0XnmbmGaVcu3oV58eayXj0127x5aHhlg55klMsY4Mtb4pclsxc6vR82siNJ LtbSNVv2+6SZhT3UUnJ1SChY1oT5BGP/THKhaLsbrsYyHBjE1k+TucuOygY9VJcBTcPU BMZhV8UFO4OcZQm0Dy4z8Doq3bV2sqX4zjCEpDuI4gEtEPF8RQ6mqqxC6KQ2msRj4G+u S3Aqim5mQDKlifoSSho83b/JTkvPFqTRcjlZ61Iea7rb8B/CQulFmLw0iDVZsxbgtWbE 2eyQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=PhOB8v/m8rGKGC9LADPZctesr38FKsFDYR/vfkHBzOU=; fh=tJs2ysXncUnXWlGAzKq9drRbJPLdlik7QBX6NAMjSRc=; b=lVg7CXRfJQF57PZUa33B0ikJzLFd81XNTnDlhE43BJw5Rde5GiGLl02wl1dwEEy5i7 9dzgQvHFxiRjs6Tr/aA+LP/j9snthCOatbyZW+cgYj91LSk8g2JaPT/qjXa9AmJZ2okX g9M/cvDvb4/+pN3YGsKhNhzE/yeRzPwztvSd3HwWFREEGtRO7o6ZexJJuuoZfyL0TpKK gcsgjxhZZhOzK7uJ3fIbA6Hy0k2PiA7CCNbhEW5su5Mfx9ybSPCRBfchx54m07zN/wjI Uqc7AqbpIOJ/8OEkuNExdlMW0aIAKurJls7Skd4Zf/NwZM0OcjtrwXuYJoyfIDUtXCO5 p5rw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DZKpNuJ7; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-160717-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160717-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id j8-20020a170906474800b00a5250fbded8si11105609ejs.74.2024.04.26.14.54.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 14:54:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-160717-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DZKpNuJ7; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-160717-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160717-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id CBA2A1F226AD for ; Fri, 26 Apr 2024 21:54:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 29C5C376E9; Fri, 26 Apr 2024 21:53:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DZKpNuJ7" 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 546AA374CC for ; Fri, 26 Apr 2024 21:53:54 +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=1714168434; cv=none; b=iCrXqmsf1q+m3FVveE9mA+UjHP2AUYmW+0oZFMcgA3tUAXp/5xIsnTlZ4sJytDxB3L1dFml1rJvnKVO9ndx7i2VjbTHBm4e4v2cdscmeOAvt/z8rHxiyvLRx33yVoQ9MNGw2yAwfHccKTo5wdiP7HA4HOysCJxCgfKBXIPpJfho= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714168434; c=relaxed/simple; bh=JmkU59HQtS7Nf9V3I23Kr43ZjpzMetcH9MCG6rKL23I=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=AbuudPyyq9n1zPxOK7EIaX5rUcTlhB1L3qUHZReUMB4euytj96Ko38WehPkz5PAkIe9/UApFE+seHiS0ZBDv5FDawgEwY2nbwPs2EznL8Flur2oQ7WqJulSo1sCcbrHGJZxU5abrGmTEWYT+IOCAFg0brq+b1PzsDOK+7hWAq94= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DZKpNuJ7; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 73B45C113CD; Fri, 26 Apr 2024 21:53:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714168434; bh=JmkU59HQtS7Nf9V3I23Kr43ZjpzMetcH9MCG6rKL23I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DZKpNuJ7vvkN57xMlCriC/RrwkAnMLBTbGbOTwmtM7QvA5LjMXDNx3ivIPKkWVMFQ UDkMdL2wsxzB7WrOq1m55tv+cx2UXJCmxU6FT6XGxZofQEZ7BAJN+ASYrCljZTeUii JUaaljLuZAA6CgFBQl78jBoFG6lyfM+fpV13umLygKdUTETMvS4UPUNnBIfPRbtzlR /P7BeBu5LRrBrAfiVBfnodi/LhDJI4DBTdYWXi9O2hCZ+l9FbI/iNe0OlIUSSVKbCy 7uMXYi6KF2BC4YA6WIAlNm+g/G7Y1qFab0Ym9VgSvjSdjyeW6ImLNr6CuPRXY8gK+C devVKdiJ1RSog== Date: Fri, 26 Apr 2024 14:53:51 -0700 From: Nathan Chancellor To: Justin Stitt Cc: Ard Biesheuvel , linux-kernel@vger.kernel.org, x86@kernel.org, Ard Biesheuvel , Arnd Bergmann , Eric Biederman , kexec@lists.infradead.org, Nick Desaulniers , Kees Cook , Bill Wendling , Masahiro Yamada Subject: Re: [RFC PATCH 2/9] x86/purgatory: Simplify stack handling Message-ID: <20240426215351.GA3278657@dev-arch.thelio-3990X> References: <20240424155309.1719454-11-ardb+git@google.com> <20240424155309.1719454-13-ardb+git@google.com> <20240424182659.GA2126602@dev-arch.thelio-3990X> 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 Fri, Apr 26, 2024 at 09:32:52PM +0000, Justin Stitt wrote: > Hi, > > On Wed, Apr 24, 2024 at 11:26:59AM -0700, Nathan Chancellor wrote: > > On Wed, Apr 24, 2024 at 05:53:12PM +0200, Ard Biesheuvel wrote: > > > arch/x86/purgatory/stack.S | 18 ------------------ > > > > This needs a small fix up to build. > > > > make[6]: *** No rule to make target 'arch/x86/purgatory/stack.o', needed by 'arch/x86/purgatory/purgatory.ro'. > > > > I was trying to reproduce this build failure, but to no avail. I am > curious what your build target / build command was. > > It is clear that stack.S has been removed so your change makes sense, I > don't doubt that -- I just cannot get that specific error message you Odd, I was using my distribution configuration for the test but it is easily reproducible with allmodconfig: $ make -skj"$(nproc)" ARCH=x86_64 LLVM=1 allmodconfig arch/x86/purgatory/ make[6]: *** No rule to make target 'arch/x86/purgatory/stack.o', needed by 'arch/x86/purgatory/purgatory.ro'. ... > encountered (what is a .ro file supposed to be, anyway?). Read only? Relocatable object? *shrug* Cheers, Nathan