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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 7C5AEC61DA4 for ; Thu, 9 Feb 2023 22:19:21 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pQFFq-0006d7-CN; Thu, 09 Feb 2023 17:18:58 -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 1pQFFo-0006cv-6P for qemu-devel@nongnu.org; Thu, 09 Feb 2023 17:18:56 -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 1pQFFm-0006Nh-RY for qemu-devel@nongnu.org; Thu, 09 Feb 2023 17:18:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1675981134; 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: in-reply-to:in-reply-to:references:references; bh=vmeenTb8qAgKXuWlLRy1gOuoBM8SegN6R3C6m5/+Nu8=; b=Nj6NW+YC18CPhungvz+BJAOJ7aJG/H1GY0WjD5utDEj1ttYqX8Gk565fH872WcB7S20lWd 1tsFE8PoKKsUaIrsbncQVqAPmhkfWGFTAS/WDkawpriv2ZdT2Kd9ifcMk2Fb2GXFDxmB2e iNnfuV/uHFx06zz0SvCunS3HjK4qZl4= Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-528-vPN9nrIuMpmuTG9B2u_anQ-1; Thu, 09 Feb 2023 17:18:53 -0500 X-MC-Unique: vPN9nrIuMpmuTG9B2u_anQ-1 Received: by mail-qk1-f197.google.com with SMTP id x14-20020a05620a14ae00b0072f7f0f356bso2178729qkj.1 for ; Thu, 09 Feb 2023 14:18:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=vmeenTb8qAgKXuWlLRy1gOuoBM8SegN6R3C6m5/+Nu8=; b=cJHH4h/BslsKBQW5TfunP8ZsV8mRiXP+UgCkHJC7ZkRQKRPVpUHenVs1ukpIMvflOl V0gDNa+5Cra1XmpCZwFQ66cdNzhovvjeZHCRZ+tzf2oJ2vbQ5nn5mciCO/gK89W2Ih5U TPSvhgyuRKe3V1IUXaWSPy6RzpmU8eyLBAM4rFmj2zcqdR3Gt8DMxDDolqgfge84cvyo adlIKMmaB9lCXp25bH9VHArZYb85eyMK2wDLBY7jmiHIrDglYyunV2gZ8rHtRVYmsKuH 9G3l5Bs9Qq8H95/3C6QWHcivtv3ZdbBpabRxV9R/l4bESCiwVBUiGmkUM3QSc0alKPt3 iZRg== X-Gm-Message-State: AO0yUKXh8FA8340cUJzjvgTjZGLxx3yX6UMe9Sg2FBk+WXYJlg/fuiHo UNsszPse/smD0C/zrqRFIWfP6kkdjuilB25HRp4K2F3K+OdbuVtxaMMU4tX0qZLi6LiDr0tpdf1 KNS52X0hrjOuzEC2laxTY X-Received: by 2002:ac8:4e8d:0:b0:3ba:1ace:8bae with SMTP id 13-20020ac84e8d000000b003ba1ace8baemr23175422qtp.0.1675981132337; Thu, 09 Feb 2023 14:18:52 -0800 (PST) X-Google-Smtp-Source: AK7set/jkMpzNWOGmm7dRU1qp1StAiJ1ti33nZiRdVh32P9yGmZcULOX6pa7iovvllhHZ07glShZwg== X-Received: by 2002:ac8:4e8d:0:b0:3ba:1ace:8bae with SMTP id 13-20020ac84e8d000000b003ba1ace8baemr23175399qtp.0.1675981131994; Thu, 09 Feb 2023 14:18:51 -0800 (PST) Received: from x1n (bras-base-aurron9127w-grc-56-70-30-145-63.dsl.bell.ca. [70.30.145.63]) by smtp.gmail.com with ESMTPSA id 74-20020a37044d000000b007343fceee5fsm2279506qke.8.2023.02.09.14.18.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Feb 2023 14:18:51 -0800 (PST) Date: Thu, 9 Feb 2023 17:18:49 -0500 From: Peter Xu To: Avihai Horon Cc: qemu-devel@nongnu.org, Alex Williamson , "Michael S. Tsirkin" , Jason Wang , Marcel Apfelbaum , Paolo Bonzini , Richard Henderson , Eduardo Habkost , David Hildenbrand , Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= , Yishai Hadas , Jason Gunthorpe , Maor Gottlieb , Kirti Wankhede , Tarun Gupta , Joao Martins Subject: Re: [PATCH 14/18] intel-iommu: Implement get_attr() method Message-ID: References: <20230126184948.10478-1-avihaih@nvidia.com> <20230126184948.10478-15-avihaih@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230126184948.10478-15-avihaih@nvidia.com> Received-SPF: pass client-ip=170.10.133.124; envelope-from=peterx@redhat.com; helo=us-smtp-delivery-124.mimecast.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, DKIMWL_WL_HIGH=-0.001, 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_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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org On Thu, Jan 26, 2023 at 08:49:44PM +0200, Avihai Horon wrote: > Implement get_attr() method and use the address width property to report > the IOMMU_ATTR_MAX_IOVA attribute. > > Signed-off-by: Avihai Horon Acked-by: Peter Xu -- Peter Xu