From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E65B1C433F5 for ; Wed, 8 Sep 2021 09:52:03 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9A50A61158 for ; Wed, 8 Sep 2021 09:52:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9A50A61158 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=nongnu.org Received: from localhost ([::1]:54320 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mNuFO-0000Bz-QE for qemu-devel@archiver.kernel.org; Wed, 08 Sep 2021 05:52:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35552) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNuDq-0006mO-TS for qemu-devel@nongnu.org; Wed, 08 Sep 2021 05:50:26 -0400 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:40453) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mNuDp-0007aB-EH for qemu-devel@nongnu.org; Wed, 08 Sep 2021 05:50:26 -0400 Received: by mail-wr1-x42b.google.com with SMTP id q26so2320017wrc.7 for ; Wed, 08 Sep 2021 02:50:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=D+FZX8CNVhNycmY+o16ytQAsJXrJRfsi/TksasaSnvk=; b=mHGxnyr1ud84QG/7/DRqnmISjj1Y7Yc+K2cun4i8KZe1JaM6I3WslA2ftzMW5oOp9S YM5f636taQB1TAkMLTc28r+yTrgL9JvxgSht5F21Eq9X8aKR+onxAwT5mdL4IfpnWJgb K+LMuvmR39i2N8PZdsoNoi7rdh7FVbEW7Wyhi+eBstGXUFJMpAbQmGyjpaJSmp7z7Z0m KVf2cyUkm8iDpLauYZsyrEXQfXf7Zuxusr6qZ4uERD5a0DuPcUkig9BkPLma077Iu+aZ yPx+ShON1VlUGJj8eKS3NAqWzA6JxpbJLRVMt9Q3oeH3LnX1XMUiB9mqONval+VtBDzI yd9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=D+FZX8CNVhNycmY+o16ytQAsJXrJRfsi/TksasaSnvk=; b=whDYG7EsTejxrrB62TX/COAe6P0ecY7QbeyXX9TbxaDNJQzTPgfHqfo5aUR0uC5iMU Fb1PqNurXlEthjYJTBTCbwGZFo1IBb7k7WvwO1jHPxDKwJFVxmuC15ytUwxl7PXbqu8a 1BiweVwtcUhzw4FZ7x2vrKWrIiBHVi60ZsmOKXXLuVwPutSpRUrYFT/SNVSPYXIDF7ZH u0GVJDbwsPXz8YGAV5VdCHrgKE3etHWyw+A2UR5+lKbRJfxlh6Rzm2ptxgwDM5RhPoYY MzsohfYU2E0gPYS1+g146yBE9Bj+L8BXdyImkXxx4mMOhz08Q2+rzXIbKeTMxN9c4ZI2 nW0g== X-Gm-Message-State: AOAM533cHRLIPi7qC4Llyq9A97bMJ3E1sprmJaXoCpm3SEK/iI/IbIhD z7nzxPzprsS3oXOm3vOP3tjFxA== X-Google-Smtp-Source: ABdhPJzKpjrGw0pEpf5grjAdWhpGoJIvyylfo7TAkPHIN5y6a0ZcuoEBiAd8Tcb7KfQ4az3nUF/caw== X-Received: by 2002:adf:ebcd:: with SMTP id v13mr3036859wrn.400.1631094622942; Wed, 08 Sep 2021 02:50:22 -0700 (PDT) Received: from larix (cpc92880-cmbg19-2-0-cust679.5-4.cable.virginm.net. [82.27.106.168]) by smtp.gmail.com with ESMTPSA id a9sm1143063wru.27.2021.09.08.02.50.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Sep 2021 02:50:22 -0700 (PDT) Date: Wed, 8 Sep 2021 10:52:32 +0100 From: Jean-Philippe Brucker To: Eric Auger Subject: Re: [PATCH v2 6/8] pc: Add VIOT table for virtio-iommu Message-ID: References: <20210903143208.2434284-1-jean-philippe@linaro.org> <20210903143208.2434284-7-jean-philippe@linaro.org> <6b142f58-fa70-2ec9-0df5-9217fa275922@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6b142f58-fa70-2ec9-0df5-9217fa275922@redhat.com> Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=jean-philippe@linaro.org; helo=mail-wr1-x42b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, 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: peter.maydell@linaro.org, ehabkost@redhat.com, mst@redhat.com, richard.henderson@linaro.org, qemu-devel@nongnu.org, shannon.zhaosl@gmail.com, qemu-arm@nongnu.org, pbonzini@redhat.com, imammedo@redhat.com Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On Mon, Sep 06, 2021 at 05:02:05PM +0200, Eric Auger wrote: > Hi jean, > > On 9/3/21 4:32 PM, Jean-Philippe Brucker wrote: > > The ACPI Virtual I/O Translation table (VIOT) describes the relation > > between a virtio-iommu and the endpoints it manages. When a virtio-iommu > > device is instantiated, add a VIOT table. > > As there is no used of pcms->virtio_iommu and virtio_iommu_bdf yet, maybe squash this into next patch? Agreed Thanks, Jean