From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) by mx.groups.io with SMTP id smtpd.web11.13016.1665783011712882491 for ; Fri, 14 Oct 2022 14:30:12 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@google.com header.s=20210112 header.b=eNfoRuVC; spf=pass (domain: google.com, ip: 209.85.218.44, mailfrom: dionnaglaze@google.com) Received: by mail-ej1-f44.google.com with SMTP id sc25so13071761ejc.12 for ; Fri, 14 Oct 2022 14:30:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=isPU6NFkA/34qEor+2LDbBl2uZEzLKVfyB9tZ/e8wqE=; b=eNfoRuVCfv/4hLTIQqftE7kILuEUHZwRYH7NLFc6FXGCh6CEHBrlA6eWI2lWxlC77V JoZ7HiNPHZb+ZoA8AFDZ0MRS5P6CZjrKvYwq4lFxWihdPP6zZuJxDAwiVOAxr7h4839F dpavLWj4Pif4i1dl1rpD4Ezm6XL++Zf6j29iaO14EMhUqXF67k4zBIEh/ZjefSTWYT8J QD39GTJeEMYY4E2mphCs51R2gZu9oqd7P02k9HI65jnn0ByOM8VcR8tDKlilSfGQgpy2 gPO8nx6nBEHYTyCSpFt++gsTMP3B+jWwvWSIUvv3n3OGoduwlvgwDxHhKCHMOzrujEA8 2zNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=isPU6NFkA/34qEor+2LDbBl2uZEzLKVfyB9tZ/e8wqE=; b=KMhQm2g4f7Fbtm3oM5VwwN+M5DrFeVbJqJiknia6nPo0jX5eUZk58rl2BEBEi6UDuJ BhEA3wONZvn8FVki7kePwFmboTw/sxO3aQe73rhwvQY5pzcluRybTwaKetrN5ySZtdVs 0ITO6y5R93ZQH4TzeuNTSCk/4fg1dx5rGQEg+GdgCPNd92XnLAJ6/1waL6sjPP7vdiss mq7JR2sEOI/+p91JMpi4fvWG9WYSNqAk4lSVLsE41V4036dkl2EuN6nYZ3yCpVKn3CfN CHnojc8AIanwtSfNnK1p9JlTioB/o5RTvDHMcwzXKtruKO3dgH84TeyCnTZGXVxXdx2Y xlWA== X-Gm-Message-State: ACrzQf2qbel4l0E1mv6/6dzQzV3Y+fYltvMQDwBBuOb43tIS1Prdyx2Y yJNGT0h71cm/xPEKyBU2kPewiX0lkgA/Qm/JA4TLTw== X-Google-Smtp-Source: AMsMyM5yNtQMd64Sp3YHSP8x1jJrdG0h8CUziwYiO6rIFXZU2YVjynMie3qiyw9hUHhTxDOtHzHZUfmn5vZ4TbMXrSc= X-Received: by 2002:a17:906:fe46:b0:73d:939a:ec99 with SMTP id wz6-20020a170906fe4600b0073d939aec99mr5082117ejb.169.1665783010033; Fri, 14 Oct 2022 14:30:10 -0700 (PDT) MIME-Version: 1.0 References: <20221005203329.469866-1-dionnaglaze@google.com> In-Reply-To: From: "Dionna Glaze" Date: Fri, 14 Oct 2022 14:29:58 -0700 Message-ID: Subject: Re: [edk2-devel] [PATCH v7 0/7] Add safe unaccepted memory behavior To: "Ni, Ray" Cc: "devel@edk2.groups.io" , Ard Biescheuvel , "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" > > 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. 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)