From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.groups.io with SMTP id smtpd.web08.36838.1629192217846858618 for ; Tue, 17 Aug 2021 02:23:38 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ZjmR2Pv0; spf=pass (domain: redhat.com, ip: 216.205.24.124, mailfrom: kraxel@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1629192217; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DNDTTr4mnnF0mUpbH+b1pkbE9PKp5OFFR71jPgbDXl0=; b=ZjmR2Pv0mUJHOE5zNTObCk0fsNMroo87dyAv+3aEY6pzPrSkLTibsZpUo437hbHz3Nl5ay ndvn8wx/8eBqElsti5f17W5WgKPjz4JTZoSt8uGj/PpTlZvqrJs52m6VJMy83rAJnSNy7t t99idIv1Igu7HaJdJCly2CUDf9mcPsY= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-229-twopLtBLMvOED0rFnkH-tQ-1; Tue, 17 Aug 2021 05:23:35 -0400 X-MC-Unique: twopLtBLMvOED0rFnkH-tQ-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id BE51B107ACF5 for ; Tue, 17 Aug 2021 09:23:34 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.193.216]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 570FF19C79; Tue, 17 Aug 2021 09:23:30 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 565561800385; Tue, 17 Aug 2021 11:23:29 +0200 (CEST) From: "Gerd Hoffmann" To: devel@edk2.groups.io Cc: Gerd Hoffmann Subject: [PATCH v3 0/4] add support for virtio-mmio 1.0 Date: Tue, 17 Aug 2021 11:23:25 +0200 Message-Id: <20210817092329.808150-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=kraxel@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit This little series adds virtio 1.0 support for the virtio-mmio transport. For the mmio transport the difference between 0.9.5 and 1.0 is rather small (when compared to the pci transport), it is just a bunch of new registers for the changed virtio queue initialization. So the patch series is small too ... v2 changes: - Added review tags for patches #1 + #2. - Add a patch to make sure we have a valid QueueNum. - Add a patch to support all 64 virtio 1.0 feature bits. v3 changes: - Add #defines for virtio-mmio version field. take care, Gerd Gerd Hoffmann (4): OvmfPkg/Virtio10: Add virtio-mmio 1.0 defines OvmfPkg/VirtioMmioDeviceLib: Add virtio 1.0 support. OvmfPkg/VirtioMmioDeviceLib: Add default QueueNum for virtio 1.0 OvmfPkg/VirtioMmioDeviceLib: Add virtio 1.0 feature bit handling OvmfPkg/Include/IndustryStandard/Virtio10.h | 12 ++++ .../VirtioMmioDeviceLib/VirtioMmioDevice.h | 5 ++ .../VirtioMmioDeviceLib/VirtioMmioDevice.c | 17 +++-- .../VirtioMmioDeviceFunctions.c | 71 ++++++++++++++++--- 4 files changed, 92 insertions(+), 13 deletions(-) -- 2.31.1