From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 45EAA941D2C for ; Thu, 5 Dec 2024 17:15:04 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=9vnuuO41unyhnjaA1zCB6Quq+MWVRXZAH8CEhDX0brQ=; c=relaxed/simple; d=groups.io; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject:To:Cc:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Transfer-Encoding; s=20240830; t=1733418904; v=1; x=1733678102; b=jWxdvtT0gThHXPFcwmNvCVXwItQQC7sf6obQvqGXIMRD6CsyNbckZsbAtQgHieKG+aeCKe0P GSa4rQWESYjLds2SBIvzdeyNh/BF1VuFupOdaPeVE3jrqKXKtOeAxIPDNewzxXaj8GDgFAKoPVy dLl7dHSNTUW7CQCag8NnU9mpOQctUtSk7sHSjwUbfAmW7oAUj61UDnml1u9FlB8Ur3y0qyWUlXr 8pBBmDFXEPgM3RNg4jCB/PbYXPc9gybClpmk2iiGaskla8F2rrhBvFilQy5u70FHetn2ZGeuWjU IY07TQbnqGQ99tydChvBT+wmXBCe5x6SuR9CgMH4G0q0A== X-Received: by 127.0.0.2 with SMTP id SoFCYY7687511xvjQ2Vdyber; Thu, 05 Dec 2024 09:15:02 -0800 X-Received: from nyc.source.kernel.org (nyc.source.kernel.org [147.75.193.91]) by mx.groups.io with SMTP id smtpd.web10.17221.1733418902113606125 for ; Thu, 05 Dec 2024 09:15:02 -0800 X-Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 0944DA43E19 for ; Thu, 5 Dec 2024 17:13:09 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id AB95AC4CED1 for ; Thu, 5 Dec 2024 17:15:00 +0000 (UTC) X-Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-53df80eeeedso1268967e87.2 for ; Thu, 05 Dec 2024 09:15:00 -0800 (PST) X-Gm-Message-State: Hj56ppmDNsVqDeGn92u9uu7Px7686176AA= X-Google-Smtp-Source: AGHT+IHYnRZK09xPTB5vL7RJ06b9H1+hz8TPDWyTZI3rTSCphxyt5D9pBlu7xuhKzI385vMybWTZaepjGIF+71EjXV4= X-Received: by 2002:a19:5f05:0:b0:53e:12dc:e805 with SMTP id 2adb3069b0e04-53e12dce857mr3579161e87.45.1733418899071; Thu, 05 Dec 2024 09:14:59 -0800 (PST) MIME-Version: 1.0 References: <6705.1733416611612760184@groups.io> In-Reply-To: <6705.1733416611612760184@groups.io> From: "Ard Biesheuvel via groups.io" Date: Thu, 5 Dec 2024 18:14:46 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [edk2-devel] tianocore/edk2-test patch contribution, Adding new EFI_RT_PROPERTIES_TABLE test case. To: "Hernandez, Ronal" Cc: devel@edk2.groups.io Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Thu, 05 Dec 2024 09:15:02 -0800 Resent-From: ardb@kernel.org Reply-To: devel@edk2.groups.io,ardb@kernel.org List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240830 header.b=jWxdvtT0; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io On Thu, 5 Dec 2024 at 17:36, Hernandez, Ronal via groups.io wrote: > > Thank you for your feedback, Ard Biesheuvel. > > After reviewing the UEFI Specification our interpretation is that because= it is now optional to support any of the EFI Runtime Services, the EFI_RT_= PROPERTIES_TABLE needs to be published for the caller at runtime to know wh= ich runtime services have been implemented. > No. This table is optional. Runtime services *MAY* return EFI_UNSUPPORTED at runtime if the service in question cannot be supported after ExitBootServices(). If this does not apply to any runtime service, there is no requirement to publish this table. > What we are testing in this patch is whether the EFI_RT_PROPERTIES_TABLE = has been installed and whether the RuntimeServicesSupported value has been = populated to reflect which optional runtime services are implemented. > As I said, not doing so is permitted by the UEFI specl, and so it is not an error. > 34. If a platform cannot support calls defined in EFI_RUNTIME_SERVICES af= ter > ExitBootServices() is called, that platform is permitted to provide imple= mentations of those > runtime services that return EFI_UNSUPPORTED when invoked at runtime. On = such systems, an > EFI_RT_PROPERTIES_TABLE configuration table should be published describin= g which runtime services > are supported at runtime *On such systems* means systems where not all runtime services are available at runtime. On systems where all runtime services are available at runtime, there is no requirement to publish the table. -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#120883): https://edk2.groups.io/g/devel/message/120883 Mute This Topic: https://groups.io/mt/109931209/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-