Received: by 2002:a05:6500:1b41:b0:1fb:d597:ff75 with SMTP id cz1csp414929lqb; Tue, 4 Jun 2024 15:45:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXYtBARGX8eOjjJ383HW0z5kIpAxPbRCWC3b3T/42iBymh2bWX1myfBSE95WlCIKF/2N3mlzjtahCvGyob3zgQJQUDqI5FBowtKQoR3TQ== X-Google-Smtp-Source: AGHT+IFWtahbHHWol5Bh2xDuygLlxodcmoB/SwHfYZ0KalAlyFS3Qo6IuVM3PKz7BEkErTOUNn6V X-Received: by 2002:a17:902:c40d:b0:1f6:62c:96fb with SMTP id d9443c01a7336-1f6a5a2434cmr11343005ad.30.1717541130765; Tue, 04 Jun 2024 15:45:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717541130; cv=pass; d=google.com; s=arc-20160816; b=J386bHBkvC8/LyKonXALEm+hqI68bOMSPHBNgRCRcWWXKqOtQzw8SeCmyxg7c096LU td1ceOphvQ7olQa16FzEccm+fr4mPEyAGsImhGGbmL2Kp8wsK1pjl2UDjOguPY7BJXwg FXQuIfh7NS40aUqH+XmFIztYqALyPebzz/izS0UdQu3g7tWYyDQt0ws7eQAwuKloL6SE tJ4iSWmwppE8WWdwJPtFw90xV60mNWKYNn6BbXl1lgmw2ycpxfxRWFDrF934sUB75OBI i88uT/3w3yi65I5E5H+U35lQRUIdgCrASYcoKIB4f+pdUBYUNya1sdV7g0sD3PTQk45c gOxw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=Y1MkmKKn/7flykxROcoY39/5KooCgaWLkqPPdP1S0dk=; fh=lySBlj1TVTrDStwu5R/siRhi6zK/wsITSVZJhZiszlw=; b=xEElq9haWELMt93riD+IIkRG3B3awMj0ICzJ7yPNRmwfxfhZoapJ689w1HzWU3ZFXF uR0xSL9EH4R5Zz5lQum/E0geqc7mPns+YcHVl2gSbO7dfkSFZRRNKDIMf6I5NJH10N/b FhcrWU70ddwRY7Bszr/Bk6SEKM7U1GLiGzZIvZ/UazjfNnFIPDI6NC5HU2MAVk5jItWg vthJsGRvDJHFXXeC2H2cYd/h3ePyyEoi21Y2QdDtspk146BR6HoMRJO822WPDC+Kq/+V hox/P+wWMtqIVnHsoyAiKv8WDC+hKCiEeDdMuUAUwZAvORDU/I+517JZNzjEnJlbx5hk UiTA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JFeyzMlR; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-crypto+bounces-4739-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-crypto+bounces-4739-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f6323dd6absi18133755ad.258.2024.06.04.15.45.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 15:45:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto+bounces-4739-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JFeyzMlR; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-crypto+bounces-4739-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-crypto+bounces-4739-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 61C8E281FB8 for ; Tue, 4 Jun 2024 22:45:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 46FBE14D280; Tue, 4 Jun 2024 22:45:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="JFeyzMlR" X-Original-To: linux-crypto@vger.kernel.org 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 E61B914B949; Tue, 4 Jun 2024 22:45:24 +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=1717541125; cv=none; b=H8xDd5qYPsYrvjSEoV0jw1r8AEXUpM0pYkugCdLuE78UO539tzUGFNsamqJztt9ofVmYRlN27Z5hfoQzLgY5r7sY+XZUlXW+KFncUmerYH+m8LqcObDOAO+YQjJ6XN/gybzxLTiRa7tdB/TCCrTwWA5bWt1lImOlv4f7fSwGId4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717541125; c=relaxed/simple; bh=vmwgl3zb5GwugKm/0kI5Ycgx5K1eWtsRadlAFG9jCEg=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=cKJTfhQAONB6vNyLyVMcSdGAKQBGT1K5h/ntki32wjRKiJQ9jSAsz0EZZ2/AMqg8gl6O0g7J+xWKtT1oVKsNGy0OyTCbU3IN1k7gzgA4sCU1d0jls6zUSIvo8Olcixv526uYWuXYBxQ8QK9/dq/HN/rMymC5VENVCo7r5KUm2N8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=JFeyzMlR; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8FBA8C2BBFC; Tue, 4 Jun 2024 22:45:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717541124; bh=vmwgl3zb5GwugKm/0kI5Ycgx5K1eWtsRadlAFG9jCEg=; h=Date:Cc:Subject:From:To:References:In-Reply-To:From; b=JFeyzMlRXTSfz/QVeYxAWWA3ecajRWRcu2x/hCPGOjdqksy/7sxTpTcwyrWYsvf8z D1kNpIdcFEy9C5HvSq0AYe0nP2OSMFiwRY5nHbePAS/1DPrlrTUsj/5bq01CYLKiAc AoHFnKttwRz8T0YeX3NXPZQ+d1ADIHF+1ydqge/dIpjRgeqXTLsuv3WMlNWC0PHMBP JCgzMxzkrzSjItkxQ73IG8lw1iv6nqAXAXOr4YB/cXHeYU47NhcpHkFXNmOTFJrBh3 3nwnW9ZNPx3Hab96uR+M0N3IEv+VxdrIgrd+Z+SLgD2WRWUksR2Gb0o23hN99W5Bgq EBGFa+L/8J4cQ== Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Wed, 05 Jun 2024 01:45:17 +0300 Message-Id: Cc: , , , , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH v9 09/19] x86: Secure Launch kernel late boot stub From: "Jarkko Sakkinen" To: , , , , , , , , X-Mailer: aerc 0.17.0 References: <20240531010331.134441-1-ross.philipson@oracle.com> <20240531010331.134441-10-ross.philipson@oracle.com> In-Reply-To: On Wed Jun 5, 2024 at 12:16 AM EEST, wrote: > On 6/4/24 12:58 PM, Jarkko Sakkinen wrote: > > On Fri May 31, 2024 at 4:03 AM EEST, Ross Philipson wrote: > >> The routine slaunch_setup is called out of the x86 specific setup_arch= () > >> routine during early kernel boot. After determining what platform is > >> present, various operations specific to that platform occur. This > >> includes finalizing setting for the platform late launch and verifying > >> that memory protections are in place. > >=20 > > "memory protections" is not too helpful tbh. > >=20 > > Better to describe very briefly the VT-d usage. > > We can enhance the commit message and talk about VT-d usage and what=20 > PMRs are and do. Yep, pointing out exact things that you're dealing with is even more useful once the feature has landed. After some months one tends to start forgetting things, so it is good to use commit messages as clues and reminders of essential concepts. BR, Jarkko