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 A02097803D8 for ; Mon, 22 Jan 2024 19:04:53 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=tmWigGwrmOd3VtHK7h/RNTHB9aTl33P8kOP2eTA3jdo=; c=relaxed/simple; d=groups.io; h=Feedback-ID:Message-ID:Date:MIME-Version:User-Agent:To:Cc:From:Subject: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=1705950292; v=1; b=gQYtNtOdq5DEVZ7wMgyVzPVWGSkbFlfMGUNiQd/hYeL+4E4J1/6mE89MPRoFB4sEL55fhBRP UpanYSTxz0yxX2qLP5jqqWNj4hka4z6A0MtyGVX8vEqnf7dKIbRgDPbUjlayn0ul//I7AG45z+E txod3KmlOX8RFOeKxiP30PBc= X-Received: by 127.0.0.2 with SMTP id 7xFSYY7687511xJY7P2GjOQ7; Mon, 22 Jan 2024 11:04:52 -0800 X-Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by mx.groups.io with SMTP id smtpd.web10.779.1705950291581117907 for ; Mon, 22 Jan 2024 11:04:51 -0800 X-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 8DB8A3200A4F; Mon, 22 Jan 2024 14:04:50 -0500 (EST) X-Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 22 Jan 2024 14:04:50 -0500 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdekiedguddukecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecuogfuuhhsphgvtghtffhomhgrihhnucdlgeelmd enucfjughrpefkffggfgfvvefhufgtgfesthekredttddvjeenucfhrhhomheptfgvsggv tggtrgcuvehrrghnuceorhgvsggvtggtrgessghsughiohdrtghomheqnecuggftrfgrth htvghrnhepleeltdejkedvhfetleetueeftddukeevudeileeggfdtvdejvdeiieekvdej tdeunecuffhomhgrihhnpehtfihithhtvghrrdgtohhmpdhgohhoghhlvgdrtghomhenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehrvggsvggt tggrsegsshguihhordgtohhm X-ME-Proxy: Feedback-ID: i5b994698:Fastmail X-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 22 Jan 2024 14:04:49 -0500 (EST) Message-ID: <53d076f2-50a5-47d1-8df7-c0e3dace99ee@bsdio.com> Date: Mon, 22 Jan 2024 12:04:45 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: "devel@edk2.groups.io" Cc: discuss@edk2.groups.io, "rfc@edk2.groups.io" From: "Rebecca Cran" Subject: [edk2-devel] Multi-ISA Driver Compatibility Survey 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,rebecca@bsdio.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: jfol8OmQjKooUw3foPxDUkbzx7686176AA= Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=gQYtNtOd; 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 Originally posted at https://twitter.com/UEFIForum/status/1745518769232077208 The Multi-ISA Driver Compatibility Survey is at https://docs.google.com/forms/d/e/1FAIpQLScXjwaSBgLeqB1coEDxCPxho5JWF3AMqshOTJ2wd6Tf0He4LA/viewform From that page: Did you know Tiano today supports four 64-bit architectures, yet plug-in device OpRoms are still mostly limited to x64 and CSM? While binary-translation approaches are a useful stop-gap solution for both AArch64 and RV64 ecosystems, we need a common approach that is not a technical debt nightmare and that will be adopted by IHVs and endorsed by OSVs. TheĀ  Multi-ISA Driver Compatibility talk went over some of the possible approaches, as a lead-in for an open discussion, and raised the long-term importance of solving cross-architecture compatibility issues for OpRom drivers. This survey is an opportunity provide feedback to guide further exploration in this space. The discussed options were: - Do nothing. This is an IHV problem. IHV should continue shipping support for whatever architectures they deem necessary. - Resurrect EFI Byte Code. Invest in compilers and tooling (e.g. addr2line, JIT, etc) to get parity with existing native drivers. - Look at WASM, and solve tooling constraints (around sandboxing) that prevent adoption. - eBPF, and solve tooling constraints (around sandboxing) that prevent adoption. - Constrained, well-defined subset of x64. This meets IHVs half-way by avoiding significant perturbations to existing driver development and release processes, and achieves compatibility with existing x64 systems in the market "for free", while addressing most of the concerns around binary translation of x64 code. Note: the last three options (WASM, eBPF and constrained x64) are not neutral with respect to host natural register width, which will mean a break in compatibility with future TBD 128-bit environments, unless a TBD OpRom sandboxing technology is invented. Note 2: emails and names/sign-ins are not collected, this is an anonymous response. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#114144): https://edk2.groups.io/g/devel/message/114144 Mute This Topic: https://groups.io/mt/103893425/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-