From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by mx.groups.io with SMTP id smtpd.web09.5701.1666169837707501299 for ; Wed, 19 Oct 2022 01:57:18 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HCzvvFEh; spf=pass (domain: kernel.org, ip: 145.40.68.75, mailfrom: ardb@kernel.org) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 3875CB82433 for ; Wed, 19 Oct 2022 08:57:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DF060C43142 for ; Wed, 19 Oct 2022 08:57:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666169835; bh=9O98xPQw8O0Fi/+mABFHmDmMgkY3OsgjJsAAhWn6Ij4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=HCzvvFEh+n5kG76u1O7nnhW8ZH1RRGB8YzG5D8OhcVMALzio3RDqxQFCHtPxG7G+m PwbWmcUdSXFoqvtn8w0qEjLKvrguXDX7NyzAr35ZbiQuJ6MM2enI/Lh9Tf1oCD8idO umKSHo7Hvpdi1zs7jaaKxXpMlZa+bSWbfh1sCTFUuXGWn7XsY7X9QXBUJNLGPOHTm7 L8tOJ2GNMUlPq7yYz7b3W/mgS1+DVFmvCHUP9lK3yrRkWS9+iV+B3WgiHQeicxFuiK M8VRfTja80yd1NDFzp5qyUtx4SDJwMF3LNHCyiSKD/YJMFncD2fktb+vtkzkHDgMsK H8S7+HSfEBmlg== Received: by mail-lf1-f54.google.com with SMTP id bp15so26975217lfb.13 for ; Wed, 19 Oct 2022 01:57:15 -0700 (PDT) X-Gm-Message-State: ACrzQf0wVvsBaE6ZNml0fTk0LFDABoXf8RXH1sSfYwdshglHHZt6LHhf bKQjPkITfzKzAlkzrzk2IqRG13drzTyYsBnvLTM= X-Google-Smtp-Source: AMsMyM6wHsV6jVmlQBo+UHhQtsmKP3ogNgqzUI+WEfjRUw6szGgh0KUsBmpfM19W8PQZpA0j7uBfHrN1AboquxT7Yuk= X-Received: by 2002:a05:6512:314a:b0:4a2:d0b9:aa20 with SMTP id s10-20020a056512314a00b004a2d0b9aa20mr2798581lfi.110.1666169833944; Wed, 19 Oct 2022 01:57:13 -0700 (PDT) MIME-Version: 1.0 References: <20221005203329.469866-1-dionnaglaze@google.com> In-Reply-To: From: "Ard Biesheuvel" Date: Wed, 19 Oct 2022 10:57:02 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [edk2-devel] [PATCH v7 0/7] Add safe unaccepted memory behavior To: devel@edk2.groups.io, dionnaglaze@google.com Cc: "Ni, Ray" , "Xu, Min M" , Gerd Hoffmann , James Bottomley , Tom Lendacky , "Yao, Jiewen" , "Aktas, Erdem" , Andrew Fish , "Kinney, Michael D" Content-Type: text/plain; charset="UTF-8" On Fri, 14 Oct 2022 at 23:30, Dionna Glaze via groups.io wrote: > > > > > Can OsIndicationsSupported UEFI variable provide the similar functionality? > > > > Similar, but not the same. If we use a UEFI variable, its value will > persist across boots. That assumes the variable is non-volatile, but I suppose we could use a volatile variable [other than OsIndications] as well. > This can be fine if you only boot one OS, but if > you have two where one supports unaccepted memory and the other > doesn't then you have a problem. > The protocol here is specific to the code that will be calling > ExitBootServices, and thus won't mess up another OS once we reboot and > select it. > > -- > -Dionna Glaze, PhD (she/her) > > > > >