Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4796835iog; Wed, 22 Jun 2022 06:09:46 -0700 (PDT) X-Google-Smtp-Source: AGRyM1smSrzTS0sWUSd89TKqxd+zOmxYT4EhldZTgc3En4DFOKh1NfH5ABioRnaULvtx2Fgfh8kx X-Received: by 2002:a05:6402:34ce:b0:435:afb0:1d5a with SMTP id w14-20020a05640234ce00b00435afb01d5amr3021098edc.361.1655903386264; Wed, 22 Jun 2022 06:09:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655903386; cv=none; d=google.com; s=arc-20160816; b=V1Z9Dc3O7NbTWgvfyScyBFDad+YLpasuA489BqZusclH8jP+Fbg7L/V4RCjqX3dSrX iN+Z8JUjhSAdsRfblNr/8Lrc7MyIASw0n7z8SUa3V+nxMxQnvcRmu7+5EAOgfDvlXpKg +hYvpv/JhkuiqSBTrqzOhqvsWllHZKBgKjmTSWigNKLmIgwAypL9IH5ukmypzZFq4fwu 4xfIFUoVQb5Scj6OhMyM0J6Ia6BgueybOlBd0gDHs+wB+YhXGB14SlyM6Ukzo7Fz6rgU bYgjnXcxM2fM/hJhWd0T82QtU+kUBV7I/jEEVIJuOjtm/GdrJ212fy9Y3qGVcu34umFY AUzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=3f1D0MnFj/xOsJIfBAjgKWxR4qnJ2QTJW+uQ3XZRT3E=; b=sfm3JMe8+EcSHNCI06Vm1kkezirjo5vRDQIqF+ztMzccpr9t+JIEyKcm0TAYKrMl2W 2NBoqfAx0hSqhx9vh6m1kvkbf5wxex1EDLThbDmPOJ0SDuWMJudP5YNFWcDRpjQYLRdz B+ymMPxbhDvJNAHRsITdgIQNr7EJwzj6PSnebA5CR4sPHmbGd4/oy9Uog432BWJtymGc /lNW3H7LR3s2bmpwY4Ayitg9teI+DsXd3vfnzj1WEFWVNowLYVsHi8LwwWZsQaMI9OJM rvYHYIPqePbxd292fOdH1iTN87quWKkyrB0tMqtHdNHfJ+G5WRK9vthkXNngT2g0Z+Rz 89Yg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ds21-20020a170907725500b00715771cd3c1si1797064ejc.622.2022.06.22.06.09.19; Wed, 22 Jun 2022 06:09:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347121AbiFVMsP (ORCPT + 99 others); Wed, 22 Jun 2022 08:48:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243556AbiFVMsO (ORCPT ); Wed, 22 Jun 2022 08:48:14 -0400 Received: from theia.8bytes.org (8bytes.org [IPv6:2a01:238:4383:600:38bc:a715:4b6d:a889]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6EF6BB7D for ; Wed, 22 Jun 2022 05:48:13 -0700 (PDT) Received: by theia.8bytes.org (Postfix, from userid 1000) id 6412E2D0; Wed, 22 Jun 2022 14:48:11 +0200 (CEST) Date: Wed, 22 Jun 2022 14:48:10 +0200 From: Joerg Roedel To: Ke Liu Cc: will@kernel.org, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Jason Gunthorpe , "Michael S . Tsirkin" Subject: Re: [PATCH v2] iommu: Directly use ida_alloc()/free() Message-ID: References: <20220608021655.1538087-1-liuke94@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220608021655.1538087-1-liuke94@huawei.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 08, 2022 at 02:16:55AM +0000, Ke Liu wrote: > Use ida_alloc()/ida_free() instead of deprecated > ida_simple_get()/ida_simple_remove(). > > Signed-off-by: Ke Liu > Reviewed-by: Jason Gunthorpe > Signed-off-by: Michael S. Tsirkin > --- > v2 subject change to iommu > --- > drivers/iommu/iommu.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Applied, thanks.