From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by mx.groups.io with SMTP id smtpd.web10.13183.1681832810317908497 for ; Tue, 18 Apr 2023 08:46:50 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gXdPE7f4; spf=pass (domain: kernel.org, ip: 139.178.84.217, mailfrom: ardb@kernel.org) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id CB9F861202 for ; Tue, 18 Apr 2023 15:46:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2EB32C4339C for ; Tue, 18 Apr 2023 15:46:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681832809; bh=X1TFK99qC0vWyfYWo3yl+w/uv4aQGIlGsM/Qv9tJMHs=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=gXdPE7f4ZBuZHFMX70RLpzSMjtf+SbjRvmA02sIVLdlmaMoInlH2ZFE8WMIVI8gD6 EQAURtZdP60sP7fipS46N9dRSp6vpd7XBM9zmqq1Y0viQN2fDypWKLD5F2cDVvlWR2 zA+QlFTEZfRwfy08knUK+ASmJYZZ4jCnsPyJ2UOu1YAfoCIP61e7nrDBVP1oJ2YEle Q3M63xGxy3x/51sdgb1G7RQTqgQ3g7s0EHBgfQrF6LZto3FYWLQZHGRXM76xE9+82N lctV+UdCPGRHAfGZmKAHUmZ1XvIy0j1BG63F09THsPfmhJeQeXjTVJ3jZDAwbqVkjS SY3a60t13aBZw== Received: by mail-lj1-f178.google.com with SMTP id c3so7568928ljf.7 for ; Tue, 18 Apr 2023 08:46:49 -0700 (PDT) X-Gm-Message-State: AAQBX9dFbYOD6yeSKl3iN/q1EHEEMHFjqW1SWZRULMrZXrgMTP+SaPfg bYCA6lR+AhJ53BsI9hxRqzV4O722UmRZaZiXFpI= X-Google-Smtp-Source: AKy350YlXhs1gO+DBePrQe9EtA4yB24WCjg/X6JF01VjYLKSzEe3MM0WUHqZOkyz4zp1KthiUpOleT/FY2quhg+Sfps= X-Received: by 2002:a2e:7810:0:b0:2a8:b8a6:157f with SMTP id t16-20020a2e7810000000b002a8b8a6157fmr830418ljc.33.1681832807109; Tue, 18 Apr 2023 08:46:47 -0700 (PDT) MIME-Version: 1.0 References: <20230417090320.225046-1-kraxel@redhat.com> In-Reply-To: <20230417090320.225046-1-kraxel@redhat.com> From: "Ard Biesheuvel" Date: Tue, 18 Apr 2023 17:46:35 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 0/4] OvmfPkg: add virtio serial driver To: Gerd Hoffmann Cc: devel@edk2.groups.io, Stefan Berger , Julien Grall , Anthony Perard , Ard Biesheuvel , Jordan Justen , Pawel Polawski , Oliver Steffen , =?UTF-8?B?TWFyYy1BbmRyw6kgTHVyZWF1?= , Jiewen Yao Content-Type: text/plain; charset="UTF-8" On Mon, 17 Apr 2023 at 11:03, Gerd Hoffmann wrote: > This seems useful - how do I use it? > > > Gerd Hoffmann (4): > OvmfPkg: add IndustryStandard/VirtioSerial.h > OvmfPkg/VirtioSerialDxe: add driver > OvmfPkg/VirtioSerialDxe: wire up in OvmfPkg* > OvmfPkg/PlatformBootManagerLib: setup virtio serial console > > OvmfPkg/Microvm/MicrovmX64.dsc | 1 + > OvmfPkg/OvmfPkgIa32.dsc | 1 + > OvmfPkg/OvmfPkgIa32X64.dsc | 1 + > OvmfPkg/OvmfPkgX64.dsc | 1 + > OvmfPkg/Microvm/MicrovmX64.fdf | 1 + > OvmfPkg/OvmfPkgIa32.fdf | 1 + > OvmfPkg/OvmfPkgIa32X64.fdf | 1 + > OvmfPkg/OvmfPkgX64.fdf | 1 + > OvmfPkg/VirtioSerialDxe/VirtioSerial.inf | 40 + > .../Include/IndustryStandard/VirtioSerial.h | 64 ++ > OvmfPkg/VirtioSerialDxe/VirtioSerial.h | 226 +++++ > .../PlatformBootManagerLib/BdsPlatform.c | 47 ++ > OvmfPkg/VirtioSerialDxe/VirtioSerial.c | 789 ++++++++++++++++++ > OvmfPkg/VirtioSerialDxe/VirtioSerialPort.c | 443 ++++++++++ > OvmfPkg/VirtioSerialDxe/VirtioSerialRing.c | 345 ++++++++ > 15 files changed, 1962 insertions(+) > create mode 100644 OvmfPkg/VirtioSerialDxe/VirtioSerial.inf > create mode 100644 OvmfPkg/Include/IndustryStandard/VirtioSerial.h > create mode 100644 OvmfPkg/VirtioSerialDxe/VirtioSerial.h > create mode 100644 OvmfPkg/VirtioSerialDxe/VirtioSerial.c > create mode 100644 OvmfPkg/VirtioSerialDxe/VirtioSerialPort.c > create mode 100644 OvmfPkg/VirtioSerialDxe/VirtioSerialRing.c > > -- > 2.39.2 >