Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp88795pxb; Mon, 1 Feb 2021 23:22:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJwhKLm49nObCoSHxne8vdjLw7NGhUTSalXnJhmJyghLLBJ6FvcSG77vpAmNpFvSoI2kpgTG X-Received: by 2002:a17:906:ae81:: with SMTP id md1mr20579256ejb.222.1612250535689; Mon, 01 Feb 2021 23:22:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612250535; cv=none; d=google.com; s=arc-20160816; b=w1eJlMHKWu28xDZjn27eWFxLmXurjBVTgg6CcF5330rDhuaqah8IYEN+EUwZRS7gSn hN4jNVZMcJ+GToGGLkgWPvPQdl/dlLwTJ9JXlh3RaWrWn7/eDDQ9MaCYdv2sQzlErXra hk7iS4QmJfsTKQoSm8wedF3JMbLIrTPQN9do7StYpWLSEAsFXCfJ7OMM62JZRLiFspsL tc5mT1IY0gPsWBKtZZvEU4H2qMsMjVqltFNp/u3JGQ323NO8u32x/NEVO++WaCxneNQJ s5bUI8Hn2XK7mmM6gzxHG14HoxjjDLBzfODnvm9EqLxhv/ha8XrDgZX/BLkhC3To/C9O AQig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject; bh=+Udkg5SX6JtdHy9gKKNA8oCwML4Vfj0lV3qk3VvlQ+k=; b=vJUb96o9eqGR7YininrceslAeuMBanyXmFN82n+abiqfUWMAWs8rbcnFK7VoAmFQ7+ Ch/H9MeGrtHwZ1CvlL341l1kfu6RSIc6n57tBfxxg+pZEEMQcMenkFvqeW73kz1R6sUX xcBtnVbxBSySqLtCYLRGyfdi8ilbEwQ+7YkDmmZzJW/PHJO/AcoTZhXjPy9oBqzijisc hhvxTyNuupdUF3AmQydxvLipTeh0OjD47JoQjswRzj5sgJ9BOVjt4fXzPz8pRJNOMfHC m09t71Qlv7+n9JeTcdaIR9y90xCr7TN60qVIPB69ZngjB4lNtpqeeqCUL2nWRoh5E+pk XSjQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 16si11904682edw.253.2021.02.01.23.21.45; Mon, 01 Feb 2021 23:22:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231494AbhBBHVS (ORCPT + 99 others); Tue, 2 Feb 2021 02:21:18 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:12094 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229614AbhBBHVR (ORCPT ); Tue, 2 Feb 2021 02:21:17 -0500 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4DVGQW4F44z162wf; Tue, 2 Feb 2021 15:19:15 +0800 (CST) Received: from [10.174.184.42] (10.174.184.42) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.498.0; Tue, 2 Feb 2021 15:20:32 +0800 Subject: Re: [PATCH v13 03/15] iommu/arm-smmu-v3: Maintain a SID->device structure To: Auger Eric , , , , , , , , , , References: <20201118112151.25412-1-eric.auger@redhat.com> <20201118112151.25412-4-eric.auger@redhat.com> CC: , , , , , From: Keqian Zhu Message-ID: <04fb111d-304e-2707-e5bb-e77b5ae93ed5@huawei.com> Date: Tue, 2 Feb 2021 15:20:31 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.184.42] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Eric, On 2021/2/2 1:19, Auger Eric wrote: > Hi Keqian, > > On 2/1/21 1:26 PM, Keqian Zhu wrote: >> Hi Eric, >> >> On 2020/11/18 19:21, Eric Auger wrote: >>> From: Jean-Philippe Brucker >>> >>> When handling faults from the event or PRI queue, we need to find the >>> struct device associated to a SID. Add a rb_tree to keep track of SIDs. >>> >>> Signed-off-by: Jean-Philippe Brucker >> [...] >> >>> } >>> >>> +static int arm_smmu_insert_master(struct arm_smmu_device *smmu, >>> + struct arm_smmu_master *master) [...] >>> kfree(master); >> >> Thanks, >> Keqian >> > Thank you for the review. Jean will address this issues in his own > series and on my end I will rebase on this latter. > > Best Regards > > Eric > Yeah, and hope this series can be accepted earlier ;-) Thanks, Keqian