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.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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 8E172C433DB for ; Fri, 12 Feb 2021 07:15:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5546364E56 for ; Fri, 12 Feb 2021 07:15:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229710AbhBLHPD convert rfc822-to-8bit (ORCPT ); Fri, 12 Feb 2021 02:15:03 -0500 Received: from foss.arm.com ([217.140.110.172]:33184 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229611AbhBLHPB (ORCPT ); Fri, 12 Feb 2021 02:15:01 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 188E3142F for ; Thu, 11 Feb 2021 23:14:16 -0800 (PST) Received: from mail-pf1-f178.google.com (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 033893FA45 for ; Thu, 11 Feb 2021 23:14:16 -0800 (PST) Received: by mail-pf1-f178.google.com with SMTP id k13so5263237pfh.13 for ; Thu, 11 Feb 2021 23:14:15 -0800 (PST) X-Gm-Message-State: AOAM532yf9ceAD/gfD1XYYO9yyV4JCYo99HTpfaOCtBdvpEbS60Grm7W QlfZDQZoBgaPU7yyhU8UJNABYgna4ynBiOlNahM= X-Google-Smtp-Source: ABdhPJwh4OqzK51l5+oCcpoe1lJtHP5iZhZK3MLekzZNtkSeLcPp/+/1EG+P0Mm/KZz1hThhfwoCC9mQkeT8tsLUBKQ= X-Received: by 2002:a63:1865:: with SMTP id 37mr1914822pgy.206.1613114055288; Thu, 11 Feb 2021 23:14:15 -0800 (PST) MIME-Version: 1.0 References: <1599734733-6431-1-git-send-email-yi.l.liu@intel.com> <1599734733-6431-3-git-send-email-yi.l.liu@intel.com> <6bcd5229-9cd3-a78c-ccb2-be92f2add373@redhat.com> In-Reply-To: From: Vivek Gautam Date: Fri, 12 Feb 2021 12:44:03 +0530 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v7 02/16] iommu/smmu: Report empty domain nesting info To: "Liu, Yi L" Cc: Auger Eric , Jean-Philippe Brucker , "Tian, Kevin" , "alex.williamson@redhat.com" , "Raj, Ashok" , "kvm@vger.kernel.org" , "stefanha@gmail.com" , "jasowang@redhat.com" , "iommu@lists.linux-foundation.org" , "Tian, Jun J" , "Sun, Yi Y" , Robin Murphy , Will Deacon , "Wu, Hao" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Hi Yi, On Sat, Jan 23, 2021 at 2:29 PM Liu, Yi L wrote: > > Hi Eric, > > > From: Auger Eric > > Sent: Tuesday, January 19, 2021 6:03 PM > > > > Hi Yi, Vivek, > > > [...] > > > I see. I think there needs a change in the code there. Should also expect > > > a nesting_info returned instead of an int anymore. @Eric, how about your > > > opinion? > > > > > > domain = iommu_get_domain_for_dev(&vdev->pdev->dev); > > > ret = iommu_domain_get_attr(domain, DOMAIN_ATTR_NESTING, > > &info); > > > if (ret || !(info.features & IOMMU_NESTING_FEAT_PAGE_RESP)) { > > > /* > > > * No need go futher as no page request service support. > > > */ > > > return 0; > > > } > > Sure I think it is "just" a matter of synchro between the 2 series. Yi, > > exactly. > > > do you have plans to respin part of > > [PATCH v7 00/16] vfio: expose virtual Shared Virtual Addressing to VMs > > or would you allow me to embed this patch in my series. > > My v7 hasn’t touch the prq change yet. So I think it's better for you to > embed it to your series. ^_^ > Can you please let me know if you have an updated series of these patches? It will help me to work with virtio-iommu/arm side changes. Thanks & regards Vivek