From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 563727803CE for ; Fri, 17 Nov 2023 16:04:30 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=tJiR1ELYkFMUC2NfbkUkBogMuG/dbf36sr5UtXTtbDM=; c=relaxed/simple; d=groups.io; h=DKIM-Filter:Message-ID:Date:MIME-Version:User-Agent:Subject:To:References:From:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1700237068; v=1; b=F9SnuW8Lf+Gb7FuYS4WN1/lqRFHOjpVdVcosfFxImZmQatnPVaZl+hQD+aR0vOgsLzBWcmUU z+n/hAOZB1cUDpo22bv5mGW6JBPEEw93r7bp/SJLAHNLQc9i0GeGA0qTiswmlTq8UjmrdzFdPGR 5ZwCvS8yHiKJVrcsJAWODweg= X-Received: by 127.0.0.2 with SMTP id VUk2YY7687511xFFcG9qWjO1; Fri, 17 Nov 2023 08:04:28 -0800 X-Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web11.14985.1700237068303916341 for ; Fri, 17 Nov 2023 08:04:28 -0800 X-Received: from [192.168.4.22] (unknown [47.201.241.198]) by linux.microsoft.com (Postfix) with ESMTPSA id 732E020B74C0; Fri, 17 Nov 2023 08:04:27 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 732E020B74C0 Message-ID: Date: Fri, 17 Nov 2023 11:04:26 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [edk2-devel] question about PrmPkg To: devel@edk2.groups.io, lersek@redhat.com, yoshinoyatoko@163.com References: <74c5f6c4.3480.18b656cafb8.Coremail.yoshinoyatoko@163.com> <7b44b9bc.15c1.18bdb0f694f.Coremail.yoshinoyatoko@163.com> From: "Michael Kubacki" In-Reply-To: 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 Reply-To: devel@edk2.groups.io,mikuback@linux.microsoft.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: ccRSzonRI4Fab3WUHCfRdsDFx7686176AA= Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=F9SnuW8L; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=linux.microsoft.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io On 11/17/2023 3:42 AM, Laszlo Ersek wrote: > On 11/17/23 03:15, Yoshinoya wrote: >> Hi, >> I find there is a PrmPkg in udk source code. >> Based on its Readme.md, its goal is to offload smm code to sci os >> mechanisms. >> >> So, is there any actual use case on real platform now? >> >> It seems it's just a conceptional prototype. >=20 > It's way too big for it to be unused. >=20 > The original BZ was . >=20 > I'm sure Microsoft uses it in production. Client code for this > infrastructure may be present in Project Mu (I didn't try to check), or > in proprietary repositories. Perhaps Michael (CC'd) can share some detail= s. >=20 I can't speak to how it is being used everywhere but it is used in=20 production. Other vendors have been involved (at least at various points=20 in time). The ACPI 6.4 spec reserved the PRMT table signature. The ACPI 6.5 spec=20 defined the _SB._OSC bit for an OS to declare PRM compatibility and=20 define a PRM OpRegion identifier. Support has been in iasl since 20200528. The PRM spec is on uefi.org. I believe this was ultimately pushed there=20 by Intel. https://uefi.org/sites/default/files/resources/Platform%20Runtime%20Mechani= sm%20-%20with%20legal%20notice.pdf It was added to edk2 to provide code for specifications on uefi.org,=20 make it available to vendors that do not use Mu but use it, and=20 similarly, in response to interest from others. The Code in PrmPkg is infrastructure to support loading custom handlers=20 so it is not expected to receive a large amount of churn. > Laszlo >=20 >=20 >=20 >=20 >=20 -=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 (#111401): https://edk2.groups.io/g/devel/message/111401 Mute This Topic: https://groups.io/mt/102640402/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-