From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web12.22396.1629110932833805197 for ; Mon, 16 Aug 2021 03:48:53 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=WTgsc3/I; spf=pass (domain: redhat.com, ip: 170.10.133.124, mailfrom: kraxel@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1629110932; 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=RSYn1Sn+m7u8gte6Iu4CbMVruaLcOAv9JaEYuCSLtMI=; b=WTgsc3/I0WfOnsWkdZMuurKjfP+21+P3k3gneAyJLyFDC59VaaypW1oCRYP9j/TPsXEnaK TSl3FhJ8bWnFyhQWTfYK0lhwZgIU39lIwCuubHAdduqDEKgJ4P7pWzCcviDeOdHWXzK4UD iquIdT25krNCGMLbYjTjymc7Y+d43No= 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-584-yLmYjLLoPhOUGRFJOsrFHQ-1; Mon, 16 Aug 2021 06:48:50 -0400 X-MC-Unique: yLmYjLLoPhOUGRFJOsrFHQ-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id CD6A5809CD4 for ; Mon, 16 Aug 2021 10:48:49 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.193.216]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 11DFD5D6D5; Mon, 16 Aug 2021 10:48:46 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 9F60A1800393; Mon, 16 Aug 2021 09:11:09 +0200 (CEST) From: "Gerd Hoffmann" To: devel@edk2.groups.io Cc: Gerd Hoffmann Subject: [PATCH v2 0/4] add support for virtio-mmio 1.0 Date: Mon, 16 Aug 2021 09:11:05 +0200 Message-Id: <20210816071109.101122-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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. 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 | 2 + .../VirtioMmioDeviceLib/VirtioMmioDevice.c | 17 +++-- .../VirtioMmioDeviceFunctions.c | 71 ++++++++++++++++--- 4 files changed, 89 insertions(+), 13 deletions(-) -- 2.31.1