Received: by 2002:a17:906:3588:b0:a45:b507:d90a with SMTP id o8csp983600ejb; Wed, 6 Mar 2024 23:41:31 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCV4h+aonVqPeLowLTuJfBbRv2F5a2vYc9VwhxuD1t71WIFnHqn+n/S4dHyDIKdJ2l0A/nMJyWngZIjUiok3H5ik/YdtM2Xy X-Google-Smtp-Source: AGHT+IHi5OZ66LtevX+FIx44UsHqdwEAOGx1FGwb+0EsOQEO2ffMdYU+uWCh2eih7KExbIL+jEPl X-Received: by 2002:a0c:e189:0:b0:690:650e:f6b with SMTP id p9-20020a0ce189000000b00690650e0f6bmr7305529qvl.27.1709797291488; Wed, 06 Mar 2024 23:41:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709797291; cv=none; d=google.com; s=arc-20160816; b=Jn7DH3HSjCPVNDcQtVgkqM2v90d8RQ2NkKZD67J6i1ej5XkSbDegv9laMIR9I9faYW IwmU5NBh/M08jZwyywfWMvXhvD9tZ3A73J0yg6FKrh+uuKNx0ZU+3koUd2FnqMDObTFs eh4/ANl7U5PLAciYaQStEoIabMvuRjZD2/ucUF5polokLaQ4g3zCp3EDR0Qghg6ItGx2 i0oN3Y/VRfJePjv7FaymBeDplpPebrJ5o6x2PWo+gVZmhyH3BDKjLMMyivmFNYvY0DwU TltV36FjOceg8vENPhoBQlsqNSe1k+DaAembWi/tRPEcSALJCP8pl7QVzZsPzYS7+nVT ZgeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:content-language:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=TGeULhLH7J0MoPiH3k1U9ee8OhSUjcW+ZX4V3ZKxu7Y=; fh=J/uhXFT1zb+aieEaxkgaB2zMeMzH8//hS2HV5lFnMm8=; b=uEP05fpkQy4XfrTP6OzpudlMGoaqb3DTyoR2+nAXlM8beHfN83ANV4lOmVOHSn7Isc OF8mVHpleBnXb2uU67rNkprQRazdA3tX/OO4jsUsPBqkONOdWxIBYzPKQMmolQILQM8o quYdtYM1H1zFbm6KmEvY0bCLSGQSvAdDrWmkkoaXW5aPgddIAsbbRZOcmyplg6MzPhM2 +E8e+cr1+ZI5k0D/kBp/FuwAdRwPqTuknEB0vKqJs25BRzjk35RfbTcR+Jbx/9ywdmKx 6HJxCgDvOemXI+jfznC7umeof1hRmhfSFqH+EhpunlukvnapXO6sPGT3hl8XotQbtGC/ HO0A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=I07CX8aq; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id e4-20020a0562141d0400b0068d148b4a64si16520390qvd.419.2024.03.06.23.41.31 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Mar 2024 23:41:31 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=I07CX8aq; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ri8NG-0000vA-17; Thu, 07 Mar 2024 02:41:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ri8NB-0000uj-LI for qemu-arm@nongnu.org; Thu, 07 Mar 2024 02:41:01 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ri8N9-0006Dn-8u for qemu-arm@nongnu.org; Thu, 07 Mar 2024 02:41:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1709797258; h=from:from:reply-to: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=TGeULhLH7J0MoPiH3k1U9ee8OhSUjcW+ZX4V3ZKxu7Y=; b=I07CX8aqeZDSD9bnnOyksjjwZgs4iq2xk86IcJUWRTUOJjw4xHoZBlyccp7CIDvBPBvG5K LaWoKmkD/I5Qk1wFKKhxCqs0+2JxKUMxyhoEvSzWhONY9skpUKWi4JFpx/oDHEQK7pTSof x1NpoO5Sa3BsDZxiqdVpjT2oPyeg1us= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-140-U6Eqpf4nP42utDWjaMHVIg-1; Thu, 07 Mar 2024 02:40:57 -0500 X-MC-Unique: U6Eqpf4nP42utDWjaMHVIg-1 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-33d1d766f83so227961f8f.3 for ; Wed, 06 Mar 2024 23:40:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709797256; x=1710402056; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:reply-to:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=TGeULhLH7J0MoPiH3k1U9ee8OhSUjcW+ZX4V3ZKxu7Y=; b=PCYG51vwnBiodf3WD4En0+eZnjCqsFvf7otv9MtZxkMIx98TbFnwTpaok9Fs9fhots +6qWTxemxXuP2/LVhbrN4/ZXNfO2ly6zvOGQO3pmTIyofPdKTfW70EtE2jdnpenFr6VA WYTmu/UQwLZ5yaO5SVKydUr+oy3hjZNZ89CyXQv63+gzPvYhpcTPm/dPnfRZBAhKnax5 RlAtqqx1RmomA+QA1+PILlaImz9qtuYnvt5mwE8yWf235kXGbNbk4j1pVhWi73devBTK GfNA4aIwg6HCOc8hKcBGYw5F2rLecBrqsZkUPMtZIZh/As3fjoxL2OUyAKkiloSQ4n+u cCfA== X-Forwarded-Encrypted: i=1; AJvYcCWN85U53kypbMS87pwoKVktRoElixvS9z1ulFu0m756ziZ/R6OQx58lWaGh2G4lg9eYovx8p4kkZAi7S1dQ6YGP02ZG X-Gm-Message-State: AOJu0YyQ7whxPLHBpKQKsYL5kvrjQ2McjZxt/LW7+1afl0ne22g6BzEc MxigEIROREwfmmy8kkwVfom9ICcb04kRJpPhXIERD/3P3JmTFM7/KoyPhpUWCTQ5WkvXjiO0QdL PP80gRqHc69ah+7K9nIhqNMhuGBtfkRS6pHDKXc3jJ2gxfG1hfA== X-Received: by 2002:a5d:4445:0:b0:33e:10be:29cc with SMTP id x5-20020a5d4445000000b0033e10be29ccmr10716669wrr.28.1709797256201; Wed, 06 Mar 2024 23:40:56 -0800 (PST) X-Received: by 2002:a5d:4445:0:b0:33e:10be:29cc with SMTP id x5-20020a5d4445000000b0033e10be29ccmr10716647wrr.28.1709797255844; Wed, 06 Mar 2024 23:40:55 -0800 (PST) Received: from ?IPV6:2a01:e0a:59e:9d80:527b:9dff:feef:3874? ([2a01:e0a:59e:9d80:527b:9dff:feef:3874]) by smtp.gmail.com with ESMTPSA id n18-20020adffe12000000b0033d67791dc0sm19523743wrr.43.2024.03.06.23.40.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Mar 2024 23:40:55 -0800 (PST) Message-ID: Date: Thu, 7 Mar 2024 08:40:53 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v7 9/9] qemu-options.hx: Document the virtio-iommu-pci aw-bits option To: =?UTF-8?Q?Philippe_Mathieu-Daud=C3=A9?= , eric.auger.pro@gmail.com, qemu-devel@nongnu.org, qemu-arm@nongnu.org, mst@redhat.com, jean-philippe@linaro.org, imammedo@redhat.com, peter.maydell@linaro.org, clg@redhat.com, yanghliu@redhat.com, zhenzhong.duan@intel.com Cc: alex.williamson@redhat.com, jasowang@redhat.com, pbonzini@redhat.com, berrange@redhat.com References: <20240306203348.65776-1-eric.auger@redhat.com> <20240306203348.65776-10-eric.auger@redhat.com> <359b4559-0ba1-42b9-8292-c90d65043898@linaro.org> From: Eric Auger In-Reply-To: <359b4559-0ba1-42b9-8292-c90d65043898@linaro.org> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: -24 X-Spam_score: -2.5 X-Spam_bar: -- X-Spam_report: (-2.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.365, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-arm@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: eric.auger@redhat.com Errors-To: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org X-TUID: r+tx1XIzL/cV On 3/6/24 21:48, Philippe Mathieu-Daudé wrote: > On 6/3/24 21:32, Eric Auger wrote: >> Document the new aw-bits option. >> >> Signed-off-by: Eric Auger >> Reviewed-by: Cédric Le Goater >> >> --- >> >> v4 -> v5 >> - tweek the aw-bits option description according to Cédric's >>    suggestion >> --- >>   qemu-options.hx | 3 +++ >>   1 file changed, 3 insertions(+) >> >> diff --git a/qemu-options.hx b/qemu-options.hx >> index 757df3eac0..87959ede08 100644 >> --- a/qemu-options.hx >> +++ b/qemu-options.hx >> @@ -1180,6 +1180,9 @@ SRST >>           This decides the default granule to be be exposed by the >>           virtio-iommu. If host, the granule matches the host page size. >>   +    ``aw-bits=val`` (val between 32 and 64, default depends on >> machine) >> +        This decides the address width of IOVA address space. It >> defaults > > "It defaults"? Yes needs to be removed. > > IMO this should be squashed in patch 6/9 "virtio-iommu: Add an option > to define the input range width". in [6/9] the default does not yet depend on machine, hence my choice to keep it separate and after 8/9 Eric > >>   ERST >>     DEF("name", HAS_ARG, QEMU_OPTION_name, >