From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f182.google.com (mail-qk1-f182.google.com [209.85.222.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6267C386579 for ; Sun, 29 Mar 2026 17:53:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774806795; cv=none; b=iFoxiVr7Jm2yfb4RmtkP/RbtOpkWAxo2oa2GOUva0ZOEipRApwFTWyCKpRVt+M86K8lrYbcKLvwmZLlfpvTmd9CJmFck8k+YQHMjdLOMe2e8rylXLwIc5c+rrSN1l30x6oNiKRecwKo/7rZhSp6gHfvSdrPUsVxyKmj5S/WWiS0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774806795; c=relaxed/simple; bh=h5JxgwKAs02DbPGEChovlNoCuMErME9nRRA7+eOfVKs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=UxstGt5gE1h1FLpm83KoZLQIHvOktQiyquFJ9MlSrGr9Hyfqc30wZR1PIfqy9xSj8gK3eD9Fme0cXjJJquro297WeZlMqbbrN665lfu6reDqs/64rs91SRWFryG6zsprJefKr07dxupkBQ66RSlI6CFjBRljCYI3mZdHmlRFtAs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net; spf=pass smtp.mailfrom=gourry.net; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.b=thRYVMTV; arc=none smtp.client-ip=209.85.222.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gourry.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.b="thRYVMTV" Received: by mail-qk1-f182.google.com with SMTP id af79cd13be357-8cfc085395fso397316285a.2 for ; Sun, 29 Mar 2026 10:53:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gourry.net; s=google; t=1774806792; x=1775411592; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=4a0SC/0eHAsPLkQ7t0zRuSMGofgxMILY/shcs2+r7HY=; b=thRYVMTVDNrWz0WFqKGDAnn0cmgpSD2BOD+2ujcTLemTfENuAUOezKN5MGWZJ9ExBK HMA2NArFM4rEyF3VMLEhz+7uG20Rdaf6/Fr5t8stgbDgUnh+RRA3mZnMYJWFwjGowNva wsCM9I5ex3eJBdmwTzftdaNL8oZQOt8REkslafd/VtSO8nU0SCYeQneT7oP48s/uN4hr g1M+dSr2XPrESwntfEySv3sNWwgCRFV8QcmdiQ4Ik4HzadQTUte23twvafb4yfyHIuwX hzGkuDEZaff+CjRr9bFKU6Hg340uDQSgS78foI60l6Fy5CnCWdEDvgOQqhEq7mQMRyje FgnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774806792; x=1775411592; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4a0SC/0eHAsPLkQ7t0zRuSMGofgxMILY/shcs2+r7HY=; b=bMQCj4xxJVfVn1Jp9kupr7au/IfaGPCpqt0YXuNeTiGAc84nunXa2b/RjyNj5Iya9G 7xQdzsyjNjBuXMu05TtF35CQ2LNC1TfP+uYJwIrbHB1m+N5pclq8xsl+BtS74jsaZs+b z//XOIuqyqoW7jKxZVY8kAiseMtl5RiCAVoPHENGnqyJkHnGsBHjaiKEqX4IaJSdpdkv immHsZ4fWsyrSZ5rIgRXiW3+pya08hr7TlL7cZd95hifCvT7uxC2HcSF8C4+mszUoHck nGNYeBhnsCTmRy4KNHaOC0mIh9nZ8wifODolSdx99BJHY96f9XibfECVayQUGhj+GveV WiNA== X-Forwarded-Encrypted: i=1; AJvYcCWtoII+5kftvpOrU9piKaVVtWHlpCGojhTTBWYWYUv5v092HFLmtsfBVFMMPLriPEmhZE9wgiOr6xieSck=@vger.kernel.org X-Gm-Message-State: AOJu0YzOz3vkciUAPG4BpEpK7PipldZB16EMkhp7ZexhfGfHnDXUxVVL 6wfI4LDVdaNXDLfz/uQc5KyBdkPB2JiCn2E/qT7JuYBhRG3kYjUBsEmMRX8wpMWqgXA= X-Gm-Gg: ATEYQzyIhvBakpXwNP7txsjuSq38WxxHstcjPhxiXmcjs396vrOGAMGVv15pJ6bRq6r oLGfXOf81J0blGUjb2eeWrfmWNDrKq7qyixi3EM39IAuzHQRXZRTMscGOsEZjIlzWyWPY4owRYJ aGdwRZYDxylaBKuzLbAAe6PRpULzvgj+1bXHCreej8uzXlNm/8/Z69uHrKV0IHhOEFZOah3Varm dPy6XDmWkNlcLwYS5la8CGp5lSFhzwIMbgy/UExJH2a7awgibuM1bk5FNolu+iyB6ZcHx2FL3/n Kfrh+/hJD1JK+nthFu8dUJloLecVH39LzmanibrplwTmk/EKKJ0TORVvlVMWVdKwMPkaU9prSML DXPhD7r64dcD7Ty3hBQjIf4cFuem4SBJjjNMlt4PPgMnDTz39QTXWia793HAoQe/pW70pUNA6hA KdBGLY4dLiQDE/uhKMDm1JwWLkPpzFiMlsOB3z726ohOiFlVnD1BaRn3cbLzTxp+n5bAVxKs+b2 T8hFKk= X-Received: by 2002:a05:620a:2908:b0:8cd:8938:f01d with SMTP id af79cd13be357-8d01c616b27mr1326878085a.3.1774806792274; Sun, 29 Mar 2026 10:53:12 -0700 (PDT) Received: from gourry-fedora-PF4VCD3F (pool-173-79-68-72.washdc.fios.verizon.net. [173.79.68.72]) by smtp.gmail.com with ESMTPSA id af79cd13be357-8d02808677dsm422382685a.42.2026.03.29.10.53.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Mar 2026 10:53:11 -0700 (PDT) Date: Sun, 29 Mar 2026 13:53:10 -0400 From: Gregory Price To: Ard Biesheuvel Cc: linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org, x86@kernel.org, Ard Biesheuvel , Dave Young , Usama Arif , Jiri Slaby , Breno Leitao Subject: Re: [PATCH 2/5] x86/efi: Gather initial memory reservation and table handling logic Message-ID: References: <20260326132655.1733873-7-ardb+git@google.com> <20260326132655.1733873-9-ardb+git@google.com> 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: <20260326132655.1733873-9-ardb+git@google.com> On Thu, Mar 26, 2026 at 02:26:58PM +0100, Ard Biesheuvel wrote: > From: Ard Biesheuvel > > Move the back-to-back calls to various EFI routines related to > processing of firmware tables and reserving the associated memory into a > helper function. This is tidier, and will avoid the need to add yet > another function call there in a subsequent patch. > > Signed-off-by: Ard Biesheuvel Reviewed-by: Gregory Price