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 09CBD7803CC for ; Thu, 11 Jan 2024 02:20:45 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=W3FLaWnPYZWLr7lKa20CkfPFAhrmVZg9dPlu0llgm7M=; c=relaxed/simple; d=groups.io; h=From:To:Cc:References:In-Reply-To:Subject:Date:Message-ID:MIME-Version:Thread-Index:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Transfer-Encoding:Content-Language; s=20140610; t=1704939644; v=1; b=wN0nE6XQ0LA9dgnGFzWdWj6/ih4wTzrjykMQIrARW86A5WT7xfOY82/DLQmQyoxMcNGyMizg zlIgOHy/4SiYXK8A3yTtztafkXuqGk4W14Wcm7qCaPIb6gzzWpNHI3Px1xFs6sdtn3IwkOE09pN +5wJfXyg9snX92msVN51i6YU= X-Received: by 127.0.0.2 with SMTP id ablSYY7687511xpIVencwhcG; Wed, 10 Jan 2024 18:20:44 -0800 X-Received: from cxsh.intel-email.com (cxsh.intel-email.com [121.46.250.151]) by mx.groups.io with SMTP id smtpd.web10.2835.1704939643543715272 for ; Wed, 10 Jan 2024 18:20:44 -0800 X-Received: from cxsh.intel-email.com (localhost [127.0.0.1]) by cxsh.intel-email.com (Postfix) with ESMTP id 05449DDA7DD for ; Thu, 11 Jan 2024 10:20:41 +0800 (CST) X-Received: from localhost (localhost [127.0.0.1]) by cxsh.intel-email.com (Postfix) with ESMTP id 00BF9DDA7A9 for ; Thu, 11 Jan 2024 10:20:40 +0800 (CST) X-Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by cxsh.intel-email.com (Postfix) with SMTP id 51535DDA7EC for ; Thu, 11 Jan 2024 10:20:38 +0800 (CST) X-Received: from DESKTOPS6D0PVI ([58.41.105.18]) (envelope-sender ) by 192.168.6.13 with ESMTP(SSL) for ; Thu, 11 Jan 2024 10:20:34 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 58.41.105.18 X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming via groups.io" To: , Cc: "'Kinney, Michael D'" , "'Liu, Zhiguang'" , "'Li, Yi1'" References: <798578429cd1a0f5fa8b9ede43fc6b3a7e1684ce.1703749992.git.junfengx.guan@intel.com> <021101da438c$e48eb0d0$adac1270$@byosoft.com.cn> In-Reply-To: Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BBVENIIDEvMV0gTWRlUGtnOiBVcGRhdGUgR2V0SGVhbHRoU3RhdHVzIGZ1bmN0aW9uIGRlc2NyaXB0aW9u?= Date: Thu, 11 Jan 2024 10:20:35 +0800 Message-ID: <02ee01da4434$c35ab1e0$4a1015a0$@byosoft.com.cn> MIME-Version: 1.0 Thread-Index: AQLSW2JC4IIdlk5Ck7FVJfiwFdEvrQIyoFX8AWigJT4DArbUcK6uwuVQ 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,gaoliming@byosoft.com.cn List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 2WyczqgR10gXjhheGGIDSxfYx7686176AA= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=wN0nE6XQ; dmarc=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 Junfeng: I add push label for this PR. Thanks Liming > -----=E9=82=AE=E4=BB=B6=E5=8E=9F=E4=BB=B6----- > =E5=8F=91=E4=BB=B6=E4=BA=BA: devel@edk2.groups.io = =E4=BB=A3=E8=A1=A8 Junfeng Guan > =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2024=E5=B9=B41=E6=9C=8811=E6=97=A5 = 9:14 > =E6=94=B6=E4=BB=B6=E4=BA=BA: Gao, Liming ; deve= l@edk2.groups.io > =E6=8A=84=E9=80=81: Kinney, Michael D ; Liu, = Zhiguang > ; Li, Yi1 > =E4=B8=BB=E9=A2=98: Re: [edk2-devel] [PATCH 1/1] MdePkg: Update GetHealth= Status > function description >=20 > Hi Liming, > Thanks! I created a PR: https://github.com/tianocore/edk2/pull/5248 > Could you help push it? >=20 > B.R. > Junfeng > -----Original Message----- > From: gaoliming > Sent: Wednesday, January 10, 2024 2:19 PM > To: devel@edk2.groups.io; Guan, JunfengX > Cc: Kinney, Michael D ; Liu, Zhiguang > ; Li, Yi1 > Subject: =E5=9B=9E=E5=A4=8D: [edk2-devel] [PATCH 1/1] MdePkg: Update GetH= ealthStatus > function description >=20 > Reviewed-by: Liming Gao >=20 > > -----=E9=82=AE=E4=BB=B6=E5=8E=9F=E4=BB=B6----- > > =E5=8F=91=E4=BB=B6=E4=BA=BA: devel@edk2.groups.io =E4=BB=A3=E8=A1=A8 Junfeng > Guan > > =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2023=E5=B9=B412=E6=9C=8828=E6=97= =A5 15:54 > > =E6=94=B6=E4=BB=B6=E4=BA=BA: devel@edk2.groups.io > > =E6=8A=84=E9=80=81: Michael D Kinney ; Limi= ng Gao > > ; Zhiguang Liu ; Yi > > Li > > =E4=B8=BB=E9=A2=98: [edk2-devel] [PATCH 1/1] MdePkg: Update GetHealthSt= atus function > > description > > > > Refer to Uefi spec 2.10 section 11.10.2, update the return value for > > EFI_DRIVER_HEALTH_PROTOCOL.GetHealthStatus. > > > > Signed-off-by: Junfeng Guan > > Cc: Michael D Kinney > > Cc: Liming Gao > > Cc: Zhiguang Liu > > Cc: Yi Li > > --- > > MdePkg/Include/Protocol/DriverHealth.h | 32 > > +++++++------------------- > > 1 file changed, 8 insertions(+), 24 deletions(-) > > > > diff --git a/MdePkg/Include/Protocol/DriverHealth.h > > b/MdePkg/Include/Protocol/DriverHealth.h > > index 9de025434ef3..9e1bd903f4be 100644 > > --- a/MdePkg/Include/Protocol/DriverHealth.h > > +++ b/MdePkg/Include/Protocol/DriverHealth.h > > @@ -137,35 +137,19 @@ EFI_STATUS > > will only be returned with a > > HealthStatus value of > > > > EfiDriverHealthStatusConfigurationRequired. > > > > - @retval EFI_SUCCESS ControllerHandle is NULL, and all the > > controllers > > - managed by this driver specified by > > This have a health > > - status of > > EfiDriverHealthStatusHealthy with no warning > > - messages to be returned. The > > ChildHandle, HealthStatus, > > - MessageList, and FormList > > parameters are ignored. > > - > > - @retval EFI_DEVICE_ERROR ControllerHandle is NULL, and one > or > > more of the > > - controllers managed by this driver > > specified by This > > - do not have a health status of > > EfiDriverHealthStatusHealthy. > > - The ChildHandle, HealthStatus, > > MessageList, and > > - FormList parameters are ignored. > > - > > - @retval EFI_DEVICE_ERROR ControllerHandle is NULL, and one > or > > more of the > > - controllers managed by this driver > > specified by This > > - have one or more warning and/or > > error messages. > > - The ChildHandle, HealthStatus, > > MessageList, and > > - FormList parameters are ignored. > > - > > - @retval EFI_SUCCESS ControllerHandle is not NULL and > the > > health status > > - of the controller specified by > > ControllerHandle and > > - ChildHandle was returned in > > HealthStatus. A list > > - of warning and error messages > may > > be optionally > > - returned in MessageList, and a list > of > > HII Forms > > - may be optionally returned in > > FormList. > > + @retval EFI_SUCCESS The health status of the controller > > specified by > > + ControllerHandle and ChildHandle > > was returned in HealthStatus. > > + A list of warning and error > messages > > may be optionally > > + returned in MessageList, and an > HII > > Form may be optionally > > + specified by FormHiiHandle. > > > > @retval EFI_UNSUPPORTED ControllerHandle is not NULL, and > > the controller > > specified by ControllerHandle and > > ChildHandle is not > > currently being managed by the > driver > > specified by This. > > > > + @retval EFI_UNSUPPORTED ControllerHandle is NULL and > there > > are no devices being > > + managed by the driver. > > + > > @retval EFI_INVALID_PARAMETER HealthStatus is NULL. > > > > @retval EFI_OUT_OF_RESOURCES MessageList is not NULL, and > there > > are not enough > > -- > > 2.26.2.windows.1 > > > > > > > > > > >=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 (#113573): https://edk2.groups.io/g/devel/message/113573 Mute This Topic: https://groups.io/mt/103655535/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-