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 3E40FD80141 for ; Mon, 20 Nov 2023 13:58:18 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=iV3tbEqIlUYUsoer9RR9HuMKZfRb2/0Luvj6WaouCJQ=; c=relaxed/simple; d=groups.io; h=DKIM-Filter:Message-ID:Date:MIME-Version:User-Agent:Subject:To:Cc: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=1700488696; v=1; b=ZQynLTsbaURfYi4jssGGmooH0TmznC/sInPJykh8/T0f/mQB7fDDlv7YebTsV8T1lA+2KkDH 4VRNIppZ24xI2+wortQvnjL8k+qEjBiJx+rIE+OohDBJImUm++N59qbC7bBPH0GVnUzy9kgI5tn 1r3xjlKZWrVpztQRLB2myHyk= X-Received: by 127.0.0.2 with SMTP id KFObYY7687511xr8E7HJTyob; Mon, 20 Nov 2023 05:58:16 -0800 X-Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web10.50725.1700488696252284406 for ; Mon, 20 Nov 2023 05:58:16 -0800 X-Received: from [192.168.4.22] (unknown [47.201.241.198]) by linux.microsoft.com (Postfix) with ESMTPSA id 702B420B74C0; Mon, 20 Nov 2023 05:58:15 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 702B420B74C0 Message-ID: <32e0b4a3-0377-4486-aa09-508ad44e4594@linux.microsoft.com> Date: Mon, 20 Nov 2023 08:58:13 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [edk2-devel] question about PrmPkg To: devel@edk2.groups.io, yoshinoyatoko@163.com Cc: lersek@redhat.com References: <74c5f6c4.3480.18b656cafb8.Coremail.yoshinoyatoko@163.com> <7b44b9bc.15c1.18bdb0f694f.Coremail.yoshinoyatoko@163.com> <46443c5b.1563.18bea7cfcbb.Coremail.yoshinoyatoko@163.com> From: "Michael Kubacki" In-Reply-To: <46443c5b.1563.18bea7cfcbb.Coremail.yoshinoyatoko@163.com> 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: 7uKkQfwCq2oYIlUi9s8vBU4nx7686176AA= 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=ZQynLTsb; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=linux.microsoft.com (policy=none) On 11/19/2023 9:09 PM, Yoshinoya wrote: > Hi, Michael: > Got it. >=20 > It seems linux kernel has introduced PRMT support default. > And ARM vendors usually use this PRMT mechnism. >=20 > So how aout x86 platform? > Does Win11 have supported PRMT on any X86 platform? >=20 Yes, support is available in Windows 11 and Windows Server 2022. I requested open source Windows driver sample code to be made available=20 here https://github.com/microsoft/Windows-driver-samples/issues/921. >=20 > best wishes, >=20 >=20 >=20 >=20 >=20 > At 2023-11-18 00:04:26, "Michael Kubacki" = 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. >>>=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 deta= ils. >>>=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%20Mecha= nism%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 >> >> >> >> >=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 (#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] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-