From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 0BC0BD81113 for ; Fri, 10 May 2024 15:03:36 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=RtbzWOI/OkX/OIEffXAKPuO1lfjc/birwS2PzoDPz94=; c=relaxed/simple; d=groups.io; h=Subject:To:From:User-Agent:MIME-Version:Date:References:In-Reply-To:Message-ID:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20240206; t=1715353415; v=1; b=lXgE5Ye82YJb7c9saEm8tZakIxlR3mlQE6qGSnFbmqLBTVw0Blwx43EBM+cal2P1Sk1VAErK CyWMOTNU0OlOXg0wroxK9tnA1P8BQlEAyZyD+RKY+3d9KjFQGN7ZVzJb0TNd+c5YVxd/M+y8ve5 QUNXZlpvyNLVzeTqhefaQVnlll+srAyo49eHKDt4I8UkO+zwYb9opt53xDhT7QWt5PpfLTs1Ene J0bcCZi/5O3rr0ytGNQA8ZrRsYYdRfo6cGNAyhQ7jxfXOPGOgNy99inaQ/5JTkVbYQcti4Fs7Tk NjzHKjyTGnKOezBIz+0NFt9Fxdrp5vfm1YC8wxEap9D3w== X-Received: by 127.0.0.2 with SMTP id NEiEYY7687511xRXtJSmi9Zk; Fri, 10 May 2024 08:03:35 -0700 Subject: Re: [edk2-devel] [PATCH 1/1] MdeModulePkg: Load Serial driver in early DXE To: "Ni, Ray" , devel@edk2.groups.io From: "Borzeszkowski, Alan" X-Originating-Location: Jerusalem, IL (134.191.196.171) X-Originating-Platform: Windows Chrome 124 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Fri, 10 May 2024 08:03:34 -0700 References: In-Reply-To: Message-ID: <32021.1715353414607689205@groups.io> 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,alan.borzeszkowski@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: a3j3mNxWFndGcUgPfgAlUJk1x7686176AA= Content-Type: multipart/alternative; boundary="ppJrMybgf5wLSfmz3qYR" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=lXgE5Ye8; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none) --ppJrMybgf5wLSfmz3qYR Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Sorry, I did not provide full picture. After this discussion on devel I've = linked, I spoke to Michael what changes would be in compliance with EDK2 dr= iver model guidelines. An agreement was reached: Root Bridge driver that im= plements SIO Protocol and Serial I/O driver (with new entrypoint) that depe= nds on SIO by DEPEX. This way, driver would be a DXE Driver that runs new entrypoint only when S= IO Protocol is present. I believe this approach doesn't violate UEFI Driver= model rules since it uses standard DXE methods. Also, the approach of modifying driver's entrypoint was suggested by Zhicha= o Gao. -=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 (#118822): https://edk2.groups.io/g/devel/message/118822 Mute This Topic: https://groups.io/mt/105959587/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- --ppJrMybgf5wLSfmz3qYR Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

Sorry, I did not provide full picture. After this discussion o= n devel I've linked, I spoke to Michael what changes would be in compliance= with EDK2 driver model guidelines. An agreement w= as reached: Root Bridge driver that implements SIO Protocol and Serial I/O = driver (with new entrypoint) that depends on SIO by DEPEX.

This way, driver would be a DXE Driver that runs new entrypoint only wh= en SIO Protocol is present. I believe this approach doesn't violate UEFI Dr= iver model rules since it uses standard DXE methods.

 

Also, the approach of modifying driver's entrypoint was suggested by Zh= ichao Gao.

_._,_._,_

Groups.io Links:

=20 You receive all messages sent to this group. =20 =20

View/Reply Online (#118822) | =20 | Mute= This Topic | New Topic
Your Subscriptio= n | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_
--ppJrMybgf5wLSfmz3qYR--