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.web10.8175.1630071922399224366 for ; Fri, 27 Aug 2021 06:45:22 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=NYZcFIdZ; 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=1630071921; 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=6P4J+uw9S7f771z5UJ/jcuZvY8NwYjrdFL6lg+0Gpew=; b=NYZcFIdZyUTFv+FlL+4A1+ewlricHAiprYbDFWP0iwxDlhdbbkw8TYjRYy+o7aLag0vpxa 10vCw4gA668XG/IReF27Nv9k7Ta4Pncxi9CQOY+eF9YBYHRV+2MLc7qiYYvx4EQSJP3bHE E00PsjNFbul88jfO095lH/yKJE8CxHU= 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-583-umHTwR_NPAW1k3UdCGzhCQ-1; Fri, 27 Aug 2021 09:45:17 -0400 X-MC-Unique: umHTwR_NPAW1k3UdCGzhCQ-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 054A287D544; Fri, 27 Aug 2021 13:45:16 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.192.91]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6FBD860C81; Fri, 27 Aug 2021 13:45:01 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id C153B18000AE; Fri, 27 Aug 2021 15:44:59 +0200 (CEST) From: "Gerd Hoffmann" To: devel@edk2.groups.io Cc: Jiewen Yao , Gerd Hoffmann , Ard Biesheuvel , Jordan Justen Subject: [PATCH v5 0/7] add support for virtio-mmio 1.0 Date: Fri, 27 Aug 2021 15:44:52 +0200 Message-Id: <20210827134459.635098-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 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. v5 changes: - Added review tags. - Fixed 32bit arm build failure. 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