From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail04.groups.io (mail04.groups.io [45.79.224.9]) by spool.mail.gandi.net (Postfix) with ESMTPS id AC47F740067 for ; Tue, 16 Apr 2024 09:22:05 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=stRxpxOxDov56TXWRrydXp6ak82PPlZdThQXfJTEU+8=; c=relaxed/simple; d=groups.io; h=From:To:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20240206; t=1713259324; v=1; b=GgGyqZRgoVAQlOoRFYSqoGiud87LAKoAJW9DrMUbfYXMGYna61QBg9o1NzK6uAXk3Xwa+G1/ NlNfouWLKYOFE8yE+mlzIaw87t2pO5LAzThCIBe7joHkE8gD62Kn7OhNjLDV60GkprvnS/qTPqT w4y50/XfSa+kzwlqcp7636RT99KoyA333BbQvzuAgt3VDw34Me//ROy3Zgz1cOb+LLuCgBBiGTR dkYkcEpg+zDfQkCN8jHOWeq2gvoVXjh9369GVD6w6XUsGdPeoRdsAAGnmaYA9Cwmf01VZof3HUS iZ0cGNLx8XSY1mRTsMIgfKnW8PiBkqnnbRWrStDUC5W7w== X-Received: by 127.0.0.2 with SMTP id 7CnOYY7687511xcTwO7861Ye; Tue, 16 Apr 2024 02:22:04 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by mx.groups.io with SMTP id smtpd.web11.15842.1713259322925253386 for ; Tue, 16 Apr 2024 02:22:03 -0700 X-CSE-ConnectionGUID: 47EUQEqoToCHzwExbQ618A== X-CSE-MsgGUID: BOpjl/ooThaZ4lf2ZoLOew== X-IronPort-AV: E=McAfee;i="6600,9927,11045"; a="26140908" X-IronPort-AV: E=Sophos;i="6.07,205,1708416000"; d="scan'208";a="26140908" X-Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2024 02:22:03 -0700 X-CSE-ConnectionGUID: 4fLH7kTERzG+sihjlGlrew== X-CSE-MsgGUID: dk1VcZLCRj+wVfDH8i3ysg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,205,1708416000"; d="scan'208";a="22273909" X-Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmviesa009.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 16 Apr 2024 02:22:02 -0700 X-Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 16 Apr 2024 02:22:01 -0700 X-Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Tue, 16 Apr 2024 02:22:01 -0700 X-Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.100) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Tue, 16 Apr 2024 02:22:01 -0700 X-Received: from MW4PR11MB5872.namprd11.prod.outlook.com (2603:10b6:303:169::14) by DM4PR11MB7397.namprd11.prod.outlook.com (2603:10b6:8:103::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.27; Tue, 16 Apr 2024 09:21:59 +0000 X-Received: from MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::be3f:5a4f:5180:2ba9]) by MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::be3f:5a4f:5180:2ba9%4]) with mapi id 15.20.7472.027; Tue, 16 Apr 2024 09:21:59 +0000 From: "Yao, Jiewen" To: "devel@edk2.groups.io" , "Kuo, CindyX" Subject: Re: [edk2-devel] [PATCH v5 0/2] SecurityPkg/OpalPasswordDxe: Update according to UEFI spec Thread-Topic: [edk2-devel] [PATCH v5 0/2] SecurityPkg/OpalPasswordDxe: Update according to UEFI spec Thread-Index: AQHaj7vjPhH4UBcWPEKv+RqSTNNVy7Fqnt/A Date: Tue, 16 Apr 2024 09:21:59 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MW4PR11MB5872:EE_|DM4PR11MB7397:EE_ x-ms-office365-filtering-correlation-id: b4cef9c3-ea6f-432f-ef8c-08dc5df6ab54 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: CFMUWZc3yW8mY5RTpD0Z/gsvn/gJxjWCTl6qUFqY7ip10k+plx3CA37wkyolk2271YDsIYdipgBdNdOVNfDpa7V/VTucZa7Dd8uKojEG2Dmd+kA5c6Vj7kK+iCtVM8ycu83yu8XpYRfTJs9xrayXlGRkkJCgWUZR4+Rkv9rTi+y4TXiWA1/jJE1tnReTzPz0E9VO5iOi29vcqrFGoXNz67p/rFYbLNiiV2XKTJ3cCIR2uunvenOKge/W8j2uiPGRwE79hAoAlyXgpAj86z1eVvRiKPwRfSscE/NVlYLSVGeTbaWe7tTeHOIo/Cx1gR8x2VgEOvvaD317sw3GyQL8R5LPp7wavxbi5k99tMguOSB2KhEeVq1emwhxAFSJvE9FWnibd87hsB0Q1ThXLVIVdjXxi8HEJBdM0q36cCE9fVMKq+r0gioKu3oSYIP48MghIzYFSEoSRdQ6c7nLZyZiQhtpKJA9kHnX0yVTPR5ycaiW+XdueE3VmfKVtNgQCNz8XknHxqKOfTMJmNGO1FsGsdg5+JQrGxjozn45Y1wyY41YnqjryjFvUCPIpjJVj/EpYcNVl9xmaBPTFd0bVPCUm88z+ECD78dkrg4jb85u/o2ifKJtt0rcg5q2Ifs5PLGB+doElNO8dv8xEq7YoAM/RvZ/jrq996XjiKvv9yp1jfi0Zy7bLAn8dRN83OoN1TlEWLFH+X7mEVcTLYuwIruKMtEJl8XU21TlsDLbGReBxww= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?/aA968ftONDV1vuPl6Kf794sX1/8hTg1qG/38vcgAY+XE3GYMXjglJ52pNUq?= =?us-ascii?Q?7h7k4TuOYf2bArT0txDhY+w8gimlytJA6YDptHtay19VrImueSJLR9mDrSik?= =?us-ascii?Q?jde2xL4j0wutzGktaRnrVt5awuSAlyLe+U9rXntJRIKSB2mAd3qauGHubbz9?= =?us-ascii?Q?26XnclbgxCrtBjzhP0r8MruEA9WsIA7GifORYb7I9XgjTCPAxQbYI3DY3Yvm?= =?us-ascii?Q?lJ1qy9t9KcIjrcq6RDASceKGb9kKkVRH4979j7i2cMmjATTq5oyU8YHQcOS2?= =?us-ascii?Q?F1doI/GuW6ZEWlVSLPEew0bWylzAO8jovizefMjVfqWuHyLu5lXWlk5zRASw?= =?us-ascii?Q?tnU0rIEO50Ei8/kAIrT5IIpuX7P+MLPgBdEEXOkdGTNCxbtAsz/7+kkifsFC?= =?us-ascii?Q?9hraN5mwEItelbCZIvnqIshabAo1J8Uqf2msgKhfhcgujPZXkSwnQCinhHrX?= =?us-ascii?Q?gMPaajzZoly91DRyhb21O+U6f2vMvwycOROUnJIqS0DAQe5IGOcUNYLDldBU?= =?us-ascii?Q?o4Y47WGK70BztxsC9D8LCTrtVRV3I08qS2p+6ICOjum7TrnwCtKqXhL01Y3r?= =?us-ascii?Q?PWI6jloNOWrAwfiJmLHlGB6PxD5LuV4FdChFIjdQ63zquX1KM5wrH0Xmrj3v?= =?us-ascii?Q?f97HCU6fR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ygINFy?= =?us-ascii?Q?9ArTGCgcoB4Nt23T8fSinR9kmBj5Q57A/U09xPA6?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW4PR11MB5872.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b4cef9c3-ea6f-432f-ef8c-08dc5df6ab54 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Apr 2024 09:21:59.7025 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: D7Xw0xY/31zGzyrJDQwPb7i8ZA1cnqLC1Hqmh05PPkv5mvcU3JN/F8hXMVIzIG+/GR0DL4V6IXI7YCi7aJXDbw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB7397 X-OriginatorOrg: intel.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 Resent-Date: Tue, 16 Apr 2024 02:22:03 -0700 Resent-From: jiewen.yao@intel.com Reply-To: devel@edk2.groups.io,jiewen.yao@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: gl9SKvfF8hc3lQ6PAOfYVI6Bx7686176AA= Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=GgGyqZRg; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.9 as permitted sender) smtp.mailfrom=bounce@groups.io Merged https://github.com/tianocore/edk2/pull/5563 > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Cindy Kuo > Sent: Tuesday, April 16, 2024 1:03 PM > To: devel@edk2.groups.io > Cc: Kuo, CindyX > Subject: [edk2-devel] [PATCH v5 0/2] SecurityPkg/OpalPasswordDxe: Update > according to UEFI spec >=20 > For opalHii current design, it will display all NVME disks when the user = enters TCG > Drive Management dynamically. > Also, the related disk info form will be created along with the disks. > These actions will call get/set browser to refresh the display, which is = not allowed > in ACTION_FORM_OPEN callback function. >=20 > To meet UEFI 2.9 spec, a latency issue will be observed if the browser ca= llback > action changes from ACTION_FORM_OPEN to ACTION_RETRIEVE. > The NVNE disks will not be displayed when the user enters the formset at = the first > time. Revisit the formset can see the update. > So need to force reparsing the IFR binary when RETRIEVE. >=20 > v2: > Format code with Uncrustify. >=20 > v3: > Code refine based on comments from Dandan and Tina. >=20 > v4: > Split solution into two patches as different purpose. >=20 > v5: > Update commit message. >=20 > Cindy Kuo (2): > SecurityPkg/OpalPasswordDxe: Change callback action to meet UEFI spec > SecurityPkg/OpalPasswordDxe: Force reparsing IFR binary when RETRIEVE >=20 > .../Tcg/Opal/OpalPassword/OpalDriver.h | 1 + > SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.c | 84 ++++++++++++++++--- > .../Tcg/Opal/OpalPassword/OpalHiiFormValues.h | 6 ++ > .../Tcg/Opal/OpalPassword/OpalPasswordDxe.inf | 1 + > .../Opal/OpalPassword/OpalPasswordForm.vfr | 8 +- > 5 files changed, 87 insertions(+), 13 deletions(-) >=20 > -- > 2.44.0.windows.1 >=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 (#117869): https://edk2.groups.io/g/devel/message/117869 Mute This Topic: https://groups.io/mt/105551557/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-