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 35791C6FD1F for ; Thu, 16 Mar 2023 19:57:43 +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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=psaRQS48PYKA694hZifR8pp6BII3M2aKOBeIHYE0xo4=; b=FjKR26j3se9VHR Eg0do/AEuYU5Jb/wQ1i1qZLhYGINPhxPLVaSRdB/vQ8vqtHRMYhjCN1UYnL6RbrVbnuzvvKF34g9S mgfCDktFVUKON/W/8Z3CZrFDZ9R+wJGg64E1KeihglrAVrpU2CjSFGNNcwTLWLPDjzIgOpn4EdIeH bhJ1zHH4iJJaeFohWAW59o/xrRPLzUtlP/vVhfTlYxKwdzenJVnW2l3jjkZZ/If+x5xtDseyvESuT kuXklpx29GzsbuQWujRtMshnB+BxK58mN7NzjFW+YXRjJQuLtEvvu2jNNwmdOV2O3Wrbt2kM5gM4N Xsr+fif275XhkVMcBNsQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pctiW-00HRMf-0D; Thu, 16 Mar 2023 19:56:52 +0000 Received: from frasgout.his.huawei.com ([185.176.79.56]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pctiO-00HRHk-3D for linux-arm-kernel@lists.infradead.org; Thu, 16 Mar 2023 19:56:47 +0000 Received: from lhrpeml500002.china.huawei.com (unknown [172.18.147.201]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4PcycS5638z67PTQ; Fri, 17 Mar 2023 03:53:28 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (7.191.163.240) by lhrpeml500002.china.huawei.com (7.191.160.78) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Thu, 16 Mar 2023 19:56:34 +0000 Received: from lhrpeml500005.china.huawei.com ([7.191.163.240]) by lhrpeml500005.china.huawei.com ([7.191.163.240]) with mapi id 15.01.2507.021; Thu, 16 Mar 2023 19:56:34 +0000 From: Shameerali Kolothum Thodi To: Nicolin Chen , Eric Auger , "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" Subject: RE: [PATCH v1 01/14] iommu: Add iommu_get_unmanaged_domain helper Thread-Topic: [PATCH v1 01/14] iommu: Add iommu_get_unmanaged_domain helper Thread-Index: AQHZUnWRmBwtrmleCk69JH8tQLhaPq7zzWuAgABY2gCAAAIMsIAABIwAgAABG+CAAAW9gIAAAcuwgAmm7QCAAAB98A== Date: Thu, 16 Mar 2023 19:56:34 +0000 Message-ID: <7726b990f7c4486d9f3597979ebc4e7e@huawei.com> References: <9b1077601cace998533129327f5e7ad946752d29.1678348754.git.nicolinc@nvidia.com> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.195.246.25] MIME-Version: 1.0 X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230316_125645_340632_8264D731 X-CRM114-Status: GOOD ( 17.42 ) 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: , 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 > -----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] 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