From: "Michael Kubacki" <mikuback@linux.microsoft.com>
To: devel@edk2.groups.io, yoshinoyatoko@163.com
Cc: lersek@redhat.com
Subject: Re: [edk2-devel] question about PrmPkg
Date: Mon, 20 Nov 2023 08:58:13 -0500 [thread overview]
Message-ID: <32e0b4a3-0377-4486-aa09-508ad44e4594@linux.microsoft.com> (raw)
In-Reply-To: <46443c5b.1563.18bea7cfcbb.Coremail.yoshinoyatoko@163.com>
On 11/19/2023 9:09 PM, Yoshinoya wrote:
> Hi, Michael:
> Got it.
>
> It seems linux kernel has introduced PRMT support default.
> And ARM vendors usually use this PRMT mechnism.
>
> So how aout x86 platform?
> Does Win11 have supported PRMT on any X86 platform?
>
Yes, support is available in Windows 11 and Windows Server 2022.
I requested open source Windows driver sample code to be made available
here https://github.com/microsoft/Windows-driver-samples/issues/921.
>
> best wishes,
>
>
>
>
>
> At 2023-11-18 00:04:26, "Michael Kubacki" <mikuback@linux.microsoft.com> wrote:
>>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.
>>>
>>> It's way too big for it to be unused.
>>>
>>> The original BZ was <https://bugzilla.tianocore.org/show_bug.cgi?id=3812>.
>>>
>>> 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 details.
>>>
>>I can't speak to how it is being used everywhere but it is used in
>>production. Other vendors have been involved (at least at various points
>>in time).
>>
>>The ACPI 6.4 spec reserved the PRMT table signature. The ACPI 6.5 spec
>>defined the _SB._OSC bit for an OS to declare PRM compatibility and
>>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
>>by Intel.
>>
>>https://uefi.org/sites/default/files/resources/Platform%20Runtime%20Mechanism%20-%20with%20legal%20notice.pdf
>>
>>It was added to edk2 to provide code for specifications on uefi.org,
>>make it available to vendors that do not use Mu but use it, and
>>similarly, in response to interest from others.
>>
>>The Code in PrmPkg is infrastructure to support loading custom handlers
>>so it is not expected to receive a large amount of churn.
>>
>>> Laszlo
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#111481): https://edk2.groups.io/g/devel/message/111481
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]
-=-=-=-=-=-=-=-=-=-=-=-
next prev parent reply other threads:[~2023-11-20 13:58 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-25 6:01 [edk2-devel] question about cxl device enumeration in pci bus driver Yoshinoya
2023-10-25 10:13 ` Ni, Ray
2023-10-26 2:36 ` Yoshinoya
2023-10-26 8:33 ` Gerd Hoffmann
2023-10-26 9:49 ` Laszlo Ersek
2023-10-26 13:35 ` Jonathan Cameron via groups.io
2023-10-27 1:26 ` Yoshinoya
[not found] ` <1791D2898E0C74CA.20272@groups.io>
2023-10-27 1:29 ` Yoshinoya
2023-10-27 5:49 ` Ni, Ray
2023-11-06 11:20 ` Yoshinoya
2023-11-07 21:54 ` Brian J. Johnson
2023-11-17 1:41 ` Yoshinoya
2023-11-07 11:31 ` [edk2-devel] Use dynamic pcd in smm mode Yoshinoya
2023-11-07 12:45 ` Laszlo Ersek
2023-11-09 6:03 ` Yoshinoya
2023-11-17 2:15 ` [edk2-devel] question about PrmPkg Yoshinoya
2023-11-17 8:42 ` Laszlo Ersek
2023-11-17 16:04 ` Michael Kubacki
2023-11-20 2:09 ` Yoshinoya
2023-11-20 13:58 ` Michael Kubacki [this message]
2024-02-27 10:06 ` [edk2-devel] Question about SMM code privilege switch Yoshinoya
2024-03-04 1:20 ` Yoshinoya
2024-05-23 2:07 ` [edk2-devel] What PTSS abbreviation means Yoshinoya
2024-02-05 9:49 ` [edk2-devel] sctpackage failed to be compile with new udk codebase Yoshinoya
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=32e0b4a3-0377-4486-aa09-508ad44e4594@linux.microsoft.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox