Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp2865949rwb; Mon, 5 Sep 2022 02:50:26 -0700 (PDT) X-Google-Smtp-Source: AA6agR6mv2PQ1qvJMBy16W84vR9Jln9S9+cYc5yoKzlYc7VwiVnm4R4Mq1W0jupkZO+gCAoUoUoT X-Received: by 2002:a63:ef07:0:b0:42b:890d:acbe with SMTP id u7-20020a63ef07000000b0042b890dacbemr37983774pgh.425.1662371426098; Mon, 05 Sep 2022 02:50:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662371426; cv=none; d=google.com; s=arc-20160816; b=WTKW9OB9c6a1BZH911byzG4iTh+y7WL6WbXmTW1gzxaDdo1CVMHmxUOMxxDKdoDIMy ya21ms+nzjTzA5BMLfroJaTjTJD8vp7hPXuAjQRlTYTs50tmMCBgsr3n8c7OeEz46ibk ElFDMXag9rn9+ubBc4/LZv/fi7YW1UdJcejzp1QN1KBNxCJNHuh0togMTNKMf60OeP// EQHEp5d93WgRq0M3N104nBGr52E96oEPE3vSTPXZRF8fm2RC/e+7I45/MDeCRwtFXRDa KaRKzxQitKGdbKWE88UBUMwW+fskTwDomZPrpWTZCxhO3FoNhlkSvwfTD6vLxWL+0LVQ 2meQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=tOfmookCpJItxGQb0YAPBJwzvDVP0chq8a3JUrlLWXM=; b=DuxlKWCh/7UsJmbbj/i0geeYd4SzPe1DQiv2npseQaFH5caVxQpmo6VIasbuOFwLcp beu8Rbe932HwkIYl7RKwVedRkMiK1S10hJG7WTEIPCmgPUKNfjOnxlBtstH60qe/pngd XWU12kojDGSpi3XGfunqe9cq+0EzdwEu7oDK0oEjfZgyiOikuLh/Sd4NJEUT8MRsEuDJ NJMd23K+RHP9kHUpDF4Q0FucJtazqwY8y5VjhJ4C6fl9e83S3GE/MPP1sRZPlbxclkm0 nDBT6VC81wkVeLhsDuTNzVAXG4NiK2PyHbz5WqgbcRmm96na9XxFK5V4FVFeREmIJyy1 fm/A== 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x26-20020a056a00189a00b005385d37ab30si11460013pfh.10.2022.09.05.02.49.50; Mon, 05 Sep 2022 02:50:26 -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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236620AbiIEJRy (ORCPT + 99 others); Mon, 5 Sep 2022 05:17:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234831AbiIEJRw (ORCPT ); Mon, 5 Sep 2022 05:17:52 -0400 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 931E13C8DB for ; Mon, 5 Sep 2022 02:17:51 -0700 (PDT) Received: from fraeml711-chm.china.huawei.com (unknown [172.18.147.200]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4MLjZb5GRJz67KQt; Mon, 5 Sep 2022 17:16:55 +0800 (CST) Received: from lhrpeml500003.china.huawei.com (7.191.162.67) by fraeml711-chm.china.huawei.com (10.206.15.60) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Mon, 5 Sep 2022 11:17:49 +0200 Received: from localhost.localdomain (10.69.192.58) by lhrpeml500003.china.huawei.com (7.191.162.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Mon, 5 Sep 2022 10:17:46 +0100 From: John Garry To: , , CC: , , , John Garry Subject: [PATCH v2 0/2] iova: Some misc changes Date: Mon, 5 Sep 2022 17:11:21 +0800 Message-ID: <1662369083-238529-1-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.58] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To lhrpeml500003.china.huawei.com (7.191.162.67) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,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 This series removes some checks in the code which are not required. Differences to v1: - Drop re-org - Add RB/AB tags Based on v6.0-rc4 John Garry (2): iova: Remove some magazine pointer NULL checks iova: Remove magazine BUG_ON() checks drivers/iommu/iova.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) -- 2.35.3