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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 067C7C6FD1C for ; Wed, 22 Mar 2023 15:45:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Reply-To:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References: Cc:To:Subject:MIME-Version:Date:Message-ID:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=H8GVeZ7GZodg5zzoxX/zbgmk1uFrRYIZ2dgFsfuMwXk=; b=aSdbFCC4kXpwuA N7QsgOMzXL+oj7LjWF9zEv/ZQ7ZVYQdffIvtbg9hj6uaeM8cqWWWIChDpDgWSGkdW3gaMU4OTn3IX i2gseAylpgc8AArYG6kDm4bH+S8DRikAxOPmRJ3PexLkeSWyXE5P+3v3yYC66Np2oSHvt3Ksu6Nnz icERtGer0sdwtReLJJO/aC8qsPK3EmHgkL9Ajc/VBN4AbC10/iWgrJ+O+2ZvV8wmdhGrzMNxF7gv/ 4Xez/Lfb8vy4u5Uw7E8HUd5mkQrYs6KqWmHFvz8WB7T6EzlPkPgWfHL1Z3aF00OwxSDlu2wNY1SEM GS6tA9GZAv6CVgClmi+g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pf0dZ-00GXsb-0l; Wed, 22 Mar 2023 15:44:29 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pf0dV-00GXrE-2q for linux-arm-kernel@lists.infradead.org; Wed, 22 Mar 2023 15:44:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1679499863; 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=GZIHbC1jKIv3NYKUx6Nn7yCA5ucJgii75H8IU1+fvP0=; b=Wc//+DkRrjOkdqQHz4AtLasC/kzRffDKwvTrGt5YOnaLm0q+iB1PSXRQnEmXh8wq4iXYay tuUUq4mwpu7ei7GEtN4ID5W+JnDS6bKhi7UUFLyY97CIwM0kx2sI8KZw5HCpsGuKHzJy81 MrEsOiba7Yx7vf0Uoy8FXc0lPD5B9vI= Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-517-liIpVej_ObuIhm3pu2OlkQ-1; Wed, 22 Mar 2023 11:44:22 -0400 X-MC-Unique: liIpVej_ObuIhm3pu2OlkQ-1 Received: by mail-qt1-f199.google.com with SMTP id t22-20020ac86a16000000b003bd1c0f74cfso11093824qtr.20 for ; Wed, 22 Mar 2023 08:44:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679499862; 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=GZIHbC1jKIv3NYKUx6Nn7yCA5ucJgii75H8IU1+fvP0=; b=ZlP8E1x/HxQVtRR/HTnfA5Ur88X9Zt/wt1jfMQO4EzZsRu2fN5PlBvYkGEp+9HEOG2 PHQ+AJR7+KjP8mCJfDgVcPK7jO9mXPBLqjGj8dlRTwSSgr0pZ6fuVl0LAxtcVy5HHMwn 9XuwcYt3Yjk0w7g3BFpSNbC+AuRJmFWyXg1i5cGZaauGTEswqYtmDfLQREm+CtifOaYr CLhROZxcwm0r+hkf7p+pirPFnZaxXyN8TNHERhSq61LrgFjVwx/5z3j8wFYVq/v8eRkQ pA0z2JcqFZCLKADkkFzvR8twlxIHaixV+vnGsSUk6nLJuGGJfa/Mhc0URNpyMN5i2ekC Z1GQ== X-Gm-Message-State: AO0yUKUunUDHUsGtYQDvL2hcoEsvOjI+W5OiR53KJ70iKf906sE4jCcZ xjk4bgdf4IeIoaVPVkHdll2u21FssnT23zzKifEdxUAIVEpNW0UeWBAs1fxuEotmtEOWpDHFN5y 2Cyf+0wusbQe0NxFp+IbUzCkO991m6Wwr66w= X-Received: by 2002:ac8:5bcc:0:b0:3e1:65f5:4a85 with SMTP id b12-20020ac85bcc000000b003e165f54a85mr6941530qtb.58.1679499861967; Wed, 22 Mar 2023 08:44:21 -0700 (PDT) X-Google-Smtp-Source: AK7set+RH2BMItYbAt2KqAiNRrua7O4bQqwB0gh9+pYTDfQ8E/VuxgTCp94Ekrs3nTeE9zMxbpgelg== X-Received: by 2002:ac8:5bcc:0:b0:3e1:65f5:4a85 with SMTP id b12-20020ac85bcc000000b003e165f54a85mr6941492qtb.58.1679499861710; Wed, 22 Mar 2023 08:44:21 -0700 (PDT) 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 t21-20020ac87615000000b003e0945575dasm6282416qtq.1.2023.03.22.08.44.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 Mar 2023 08:44:21 -0700 (PDT) Message-ID: <799e9f32-8102-649c-bb79-c8582d070f96@redhat.com> Date: Wed, 22 Mar 2023 16:44:17 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH v1 01/14] iommu: Add iommu_get_unmanaged_domain helper To: Shameerali Kolothum Thodi , Nicolin Chen , "lpieralisi@kernel.org" Cc: Jason Gunthorpe , "robin.murphy@arm.com" , "will@kernel.org" , "kevin.tian@intel.com" , "baolu.lu@linux.intel.com" , "joro@8bytes.org" , "jean-philippe@linaro.org" , "linux-arm-kernel@lists.infradead.org" , "iommu@lists.linux.dev" , "linux-kernel@vger.kernel.org" References: <9b1077601cace998533129327f5e7ad946752d29.1678348754.git.nicolinc@nvidia.com> <7726b990f7c4486d9f3597979ebc4e7e@huawei.com> From: Eric Auger In-Reply-To: <7726b990f7c4486d9f3597979ebc4e7e@huawei.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230322_084426_012960_8D55E54F X-CRM114-Status: GOOD ( 15.92 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: eric.auger@redhat.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, On 3/16/23 20:56, Shameerali Kolothum Thodi wrote: > >> -----Original Message----- >> From: Nicolin Chen [mailto:nicolinc@nvidia.com] >> Sent: 16 March 2023 19:51 >> To: Shameerali Kolothum Thodi ; >> Eric Auger >> Cc: Jason Gunthorpe ; robin.murphy@arm.com; >> will@kernel.org; kevin.tian@intel.com; baolu.lu@linux.intel.com; >> joro@8bytes.org; jean-philippe@linaro.org; >> linux-arm-kernel@lists.infradead.org; iommu@lists.linux.dev; >> linux-kernel@vger.kernel.org >> Subject: Re: [PATCH v1 01/14] iommu: Add iommu_get_unmanaged_domain >> helper >> >> Hi Shameer/Eric, >> >> On Fri, Mar 10, 2023 at 04:30:03PM +0000, Shameerali Kolothum Thodi >> wrote: >>> External email: Use caution opening links or attachments >>> >>> >>>> -----Original Message----- >>>> From: Jason Gunthorpe [mailto:jgg@nvidia.com] >>>> Sent: 10 March 2023 16:21 >>>> To: Shameerali Kolothum Thodi >> >>>> Cc: Eric Auger ; Nicolin Chen >>>> ; robin.murphy@arm.com; will@kernel.org; >>>> kevin.tian@intel.com; baolu.lu@linux.intel.com; joro@8bytes.org; >>>> jean-philippe@linaro.org; linux-arm-kernel@lists.infradead.org; >>>> iommu@lists.linux.dev; linux-kernel@vger.kernel.org >>>> Subject: Re: [PATCH v1 01/14] iommu: Add >> iommu_get_unmanaged_domain >>>> helper >>>> >>>> On Fri, Mar 10, 2023 at 04:07:38PM +0000, Shameerali Kolothum Thodi >>>> wrote: >> https://lore.kernel.org/linux-arm-kernel/20220420164836.1181-5-shame >>>> er >>>>>>> ali.kolothum.thodi@huawei.com/ >>>>>> So "boot configration" is more like "don't change the RIDs"? Ie >>>>>> don't >>>> enable >>>>>> SRIOV? >>>>> Yes. Don't think it will work with SR-IOV if you can't guarantee >>>>> the RMR >>>> specified >>>>> SID. >>>> So I think we are probably good them because vSR-IOV is already not >>>> supported by qemu, so it impossible for a VM to change the PCI >>>> configuration in a way that would alter the RID to SID mapping? >>>> >>> Provided we fix the issue mentioned by Eric. This was discussed here >>> previously, >>> >>> https://lore.kernel.org/linux-arm-kernel/bb3688c7-8f42-039e-e22f-65290 >>> 78da97d@redhat.com/ >> Have we fixed the issue? I saw Lorenzo replying in that thread: >> https://lore.kernel.org/linux-arm-kernel/Yi8nV8H4Jjlpadmk@lpieralisi/ >> >> Or, what's remaining here regarding this topic? Is it a blocker? > [+Lorenzo] I am not aware of any change in the situation. Thanks Eric > > Not sure it is fixed yet. Also, assuming we take RMR path, do we plan to support > DT base Guests at all? > > Thanks, > Shameer > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel