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.web12.66763.1629357926947461070 for ; Thu, 19 Aug 2021 00:25:27 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=M/Z07MWs; 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=1629357926; 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=imXNMQxxlBaBTnfQscQmyxmlHGP8XNub4FhwaLSepo4=; b=M/Z07MWsTE+iURbeb+6rMS+X7Thw6G7hv+VZKsinuUw8Ay3r1EwetgNfRrSQ2E1iW+POZu g+oCErzep96jFfZhOZttK1r8w8nlcv7Wh6WsybCYsGg9x9zIvurcQvsRSdInCEVU+44CQw WAJ3K/QubM8qSQ1l6KIojAKJFdo3UI4= 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-299-GdvUb6bcM26OhNckOXaBYg-1; Thu, 19 Aug 2021 03:25:24 -0400 X-MC-Unique: GdvUb6bcM26OhNckOXaBYg-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id D18E73E753 for ; Thu, 19 Aug 2021 07:25:23 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.193.216]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 796D95D9DE; Thu, 19 Aug 2021 07:25:19 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id A59F31800385; Thu, 19 Aug 2021 09:25:17 +0200 (CEST) From: "Gerd Hoffmann" To: devel@edk2.groups.io Cc: Gerd Hoffmann Subject: [PATCH v4 0/7] add support for virtio-mmio 1.0 Date: Thu, 19 Aug 2021 09:25:10 +0200 Message-Id: <20210819072517.1565797-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 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. v4 changes: - split patches into smaller ones. - enable virtio 1.0 at the end when everything is in place. take care, Gerd Gerd Hoffmann (7): OvmfPkg/Virtio10: Add virtio-mmio 1.0 defines OvmfPkg/VirtioMmioDeviceLib: Add virtio 1.0 detection. OvmfPkg/VirtioMmioDeviceLib: virtio 1.0: Fix SetPageSize. OvmfPkg/VirtioMmioDeviceLib: virtio 1.0: Fix SetQueueAddress OvmfPkg/VirtioMmioDeviceLib: virtio 1.0: Add default QueueNum OvmfPkg/VirtioMmioDeviceLib: virtio 1.0: Adapt feature bit handling OvmfPkg/VirtioMmioDeviceLib: enable virtio 1.0 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