From nobody Fri Apr 26 13:41:25 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1634139045; cv=none; d=zohomail.com; s=zohoarc; b=lH5TOnMP8KQr1AzgkYl3vNKiPljOnCkZacYVkqTy9/y/KzIR6TMwzlhBEYFgTe2rzEM3v7iQsTmyntqcCXhOf43Cg8mb3yCzR2JcpLyEftYsf2wSHg6N2Xg/MLq4np3+5o8D8uOmODrgVBnla4RNkbGGCMht7+dQzVJ95R495DI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1634139045; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=SwHV/2QtY80q2FxsMoExm6f2RxPEuHBvYB2jja5QAbQ=; b=NN9Tw7tKnyV4OlvLJ53ke7shIgNFuwgCAdwMGtTjMWTmv6iJlNPn/86GgtHBYoAhIVssgZ8XVadVWlYzr5A+4aoq+nTbpsYa/yzookERplS1yJcSZ0Dkq3Zhcu4neLW17bOPjZ7pXZ5voMqtmLywZwM2o/bOEpFep3WMVEJVC40= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1634139045062664.8234291266969; Wed, 13 Oct 2021 08:30:45 -0700 (PDT) Received: from localhost ([::1]:58684 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1magDL-00026n-U0 for importer@patchew.org; Wed, 13 Oct 2021 11:30:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59164) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1magBX-000090-3t for qemu-devel@nongnu.org; Wed, 13 Oct 2021 11:28:51 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:51656) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1magBS-0001it-K6 for qemu-devel@nongnu.org; Wed, 13 Oct 2021 11:28:50 -0400 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-332-Mbh4lYOZOcCCSavDHNo9aA-1; Wed, 13 Oct 2021 11:28:42 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C59E379EDF; Wed, 13 Oct 2021 15:28:41 +0000 (UTC) Received: from virtlab-arm04.virt.lab.eng.bos.redhat.com (virtlab-arm04.virt.lab.eng.bos.redhat.com [10.19.152.244]) by smtp.corp.redhat.com (Postfix) with ESMTP id E37D55BAE2; Wed, 13 Oct 2021 15:28:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1634138925; 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: in-reply-to:in-reply-to:references:references; bh=SwHV/2QtY80q2FxsMoExm6f2RxPEuHBvYB2jja5QAbQ=; b=DLlTJuu2H8EGMPIuj9PADHvu4Nxjx1OpvwLcxK6ZzdN7f8Sc4qg11BPKWHeHrLGFOtp5zg pTfden7ZnMiVNAiFKr3iqG2aGlS0457uSJrgmHtdD1Aul2mCG+gOPY7ce8cESnyqS0Fjfi 8BGHx0B85qgvfGmvZOFk3jhoUUFX0Ok= X-MC-Unique: Mbh4lYOZOcCCSavDHNo9aA-1 From: Eric Auger To: eric.auger.pro@gmail.com, eric.auger@redhat.com, qemu-arm@nongnu.org, qemu-devel@nongnu.org, mst@redhat.com, cohuck@redhat.com, peter.maydell@linaro.org Subject: [PATCH v2 1/2] virtio-iommu: Remove the non transitional name Date: Wed, 13 Oct 2021 11:28:26 -0400 Message-Id: <20211013152827.764566-2-eric.auger@redhat.com> In-Reply-To: <20211013152827.764566-1-eric.auger@redhat.com> References: <20211013152827.764566-1-eric.auger@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=eric.auger@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=eric.auger@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) DKIMWL_WL_HIGH=-0.049, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jean-philippe@linaro.org, abologna@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1634139046394100001 Content-Type: text/plain; charset="utf-8" Remove the non transitional name for virtio iommu. Like other devices introduced after 1.0 spec, the virtio-iommu does not need it. Signed-off-by: Eric Auger Reported-by: Andrea Bolognani Reviewed-by: Cornelia Huck --- hw/virtio/virtio-iommu-pci.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/virtio/virtio-iommu-pci.c b/hw/virtio/virtio-iommu-pci.c index 770c286be7..86fa4e6c28 100644 --- a/hw/virtio/virtio-iommu-pci.c +++ b/hw/virtio/virtio-iommu-pci.c @@ -100,7 +100,6 @@ static void virtio_iommu_pci_instance_init(Object *obj) static const VirtioPCIDeviceTypeInfo virtio_iommu_pci_info =3D { .base_name =3D TYPE_VIRTIO_IOMMU_PCI, .generic_name =3D "virtio-iommu-pci", - .non_transitional_name =3D "virtio-iommu-pci-non-transitional", .instance_size =3D sizeof(VirtIOIOMMUPCI), .instance_init =3D virtio_iommu_pci_instance_init, .class_init =3D virtio_iommu_pci_class_init, --=20 2.27.0 From nobody Fri Apr 26 13:41:25 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1634139308; cv=none; d=zohomail.com; s=zohoarc; b=eGdWoajW2Vb8RRy8rn7AeiC3Jn9lsEsBVRWQQ+bu0mBDfh9rwhDYi8ALE+fNLqtn+j57Uc0IacxOnKy+++NouB9YlcTDGtZzCKke67BBZLxIKRiMN9BWKGKtWWSiucNlKIRKqdeoQBXzEMjWuyk0b6lFYXxCtOWLDZDa2JNyOMg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1634139308; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=FJj4hZqs7ZNoMqLNjCSOLcXzKLpyBHofExq68SiNQmU=; b=K9bhlgxGQyUhIafCaAlG6+q0OzVC1rzsaudCovoWyoV2Yyw0MuXtoEYgcFonwsK1MtBpUrLLxc1g2+4Zd4cv5HOWIPp3dD5KgwmpgSLimduZzbGOltjiS+NL5imjaxEVhwA+bHwXSjqRI9kT9cG6EwVAHmoKpabUTRNYUPOEoUQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1634139308880580.5934747789122; Wed, 13 Oct 2021 08:35:08 -0700 (PDT) Received: from localhost ([::1]:37944 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1magHb-0007GN-UE for importer@patchew.org; Wed, 13 Oct 2021 11:35:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59178) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1magBY-0000CO-AI for qemu-devel@nongnu.org; Wed, 13 Oct 2021 11:28:52 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:38888) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1magBT-0001jh-8P for qemu-devel@nongnu.org; Wed, 13 Oct 2021 11:28:52 -0400 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-146-JHTaq9HHPGq_qpuZ94izLg-1; Wed, 13 Oct 2021 11:28:43 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 72DC78015C7; Wed, 13 Oct 2021 15:28:42 +0000 (UTC) Received: from virtlab-arm04.virt.lab.eng.bos.redhat.com (virtlab-arm04.virt.lab.eng.bos.redhat.com [10.19.152.244]) by smtp.corp.redhat.com (Postfix) with ESMTP id BB311694B7; Wed, 13 Oct 2021 15:28:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1634138926; 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: in-reply-to:in-reply-to:references:references; bh=FJj4hZqs7ZNoMqLNjCSOLcXzKLpyBHofExq68SiNQmU=; b=XtiUZ8BFg6qXh8FvLI4gies4RSGvIWBZI2y6Cn2fQBnukxVMyQ/1r9DbSF8A5VBs+6ucFn RPKz0uw9bT5FE/MtcR35/Gm9vifAfWdp0hdHJro+zAXsgz/leohyKFbt2132DXw9NlA4Fp uOYaYCL/ZxbGDlcgPMoToHks1FVpCXk= X-MC-Unique: JHTaq9HHPGq_qpuZ94izLg-1 From: Eric Auger To: eric.auger.pro@gmail.com, eric.auger@redhat.com, qemu-arm@nongnu.org, qemu-devel@nongnu.org, mst@redhat.com, cohuck@redhat.com, peter.maydell@linaro.org Subject: [PATCH v2 2/2] virtio-iommu: Drop base_name and change generic_name Date: Wed, 13 Oct 2021 11:28:27 -0400 Message-Id: <20211013152827.764566-3-eric.auger@redhat.com> In-Reply-To: <20211013152827.764566-1-eric.auger@redhat.com> References: <20211013152827.764566-1-eric.auger@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=eric.auger@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=eric.auger@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) DKIMWL_WL_HIGH=-0.049, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jean-philippe@linaro.org, abologna@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1634139310434100001 Content-Type: text/plain; charset="utf-8" Drop base_name and turn generic_name into "virtio-iommu-pci". This is more in line with more in line with other modern-only devices Signed-off-by: Eric Auger Suggested-by: Cornelia Huck Reviewed-by: Cornelia Huck --- hw/virtio/virtio-iommu-pci.c | 3 +-- include/hw/virtio/virtio-iommu.h | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/hw/virtio/virtio-iommu-pci.c b/hw/virtio/virtio-iommu-pci.c index 86fa4e6c28..a160ae6b41 100644 --- a/hw/virtio/virtio-iommu-pci.c +++ b/hw/virtio/virtio-iommu-pci.c @@ -98,8 +98,7 @@ static void virtio_iommu_pci_instance_init(Object *obj) } =20 static const VirtioPCIDeviceTypeInfo virtio_iommu_pci_info =3D { - .base_name =3D TYPE_VIRTIO_IOMMU_PCI, - .generic_name =3D "virtio-iommu-pci", + .generic_name =3D TYPE_VIRTIO_IOMMU_PCI, .instance_size =3D sizeof(VirtIOIOMMUPCI), .instance_init =3D virtio_iommu_pci_instance_init, .class_init =3D virtio_iommu_pci_class_init, diff --git a/include/hw/virtio/virtio-iommu.h b/include/hw/virtio/virtio-io= mmu.h index 273e35c04b..e2339e5b72 100644 --- a/include/hw/virtio/virtio-iommu.h +++ b/include/hw/virtio/virtio-iommu.h @@ -26,7 +26,7 @@ #include "qom/object.h" =20 #define TYPE_VIRTIO_IOMMU "virtio-iommu-device" -#define TYPE_VIRTIO_IOMMU_PCI "virtio-iommu-device-base" +#define TYPE_VIRTIO_IOMMU_PCI "virtio-iommu-pci" OBJECT_DECLARE_SIMPLE_TYPE(VirtIOIOMMU, VIRTIO_IOMMU) =20 #define TYPE_VIRTIO_IOMMU_MEMORY_REGION "virtio-iommu-memory-region" --=20 2.27.0