From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by mx.groups.io with SMTP id smtpd.web10.119.1616115911079389398 for ; Thu, 18 Mar 2021 18:05:12 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: byosoft.com.cn, ip: 58.240.74.242, mailfrom: gaoliming@byosoft.com.cn) Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Fri, 19 Mar 2021 09:04:35 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 58.246.60.130 X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: , Cc: "'Michael D Kinney'" , "'Laszlo Ersek'" References: <20210318184504.2745112-1-ankur.a.arora@oracle.com> In-Reply-To: <20210318184504.2745112-1-ankur.a.arora@oracle.com> Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BBVENIIHYyXSBNZGVQa2c6IHVzZSBDcHVQYXVzZSgpIGluIENwdURlYWRMb29wKCk=?= Date: Fri, 19 Mar 2021 09:04:36 +0800 Message-ID: <009301d71c5b$d512a6d0$7f37f470$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQKE+EWW3EEI/2Ffc3r355X6QfOmOqkuxtng Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn Ankur: Seemly, the patch is missing in this mail.=20 Thanks Liming > -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: devel@edk2.groups.io = =B4=FA=B1=ED Ankur Arora > =B7=A2=CB=CD=CA=B1=BC=E4: 2021=C4=EA3=D4=C219=C8=D5 2:45 > =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io > =B3=AD=CB=CD: Ankur Arora ; Liming Gao > ; Michael D Kinney > ; Laszlo Ersek > =D6=F7=CC=E2: [edk2-devel] [PATCH v2] MdePkg: use CpuPause() in = CpuDeadLoop() >=20 > CpuPause() might allow the CPU to go into a lower power state > state while we spin. >=20 > On X86, CpuPause() executes a PAUSE instruction which the Intel > and AMD specs describe as follows: >=20 > Intel: > "PAUSE: An additional function of the PAUSE instruction is to reduce > the power consumed by a processor while executing a spin loop. A > processor can execute a spin-wait loop extremely quickly, causing = the > processor to consume a lot of power while it waits for the resource = it > is spinning on to become available. Inserting a pause instruction in = a > spin-wait loop greatly reduces the processorb