Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp5752017rwb; Wed, 7 Sep 2022 07:31:52 -0700 (PDT) X-Google-Smtp-Source: AA6agR6dgrWQIXAEqIVccoCI2DhipdPhDOF/z8zK6wsgr4FgLhdzn3Llw8gpj0a9Exlvmg+EI0zv X-Received: by 2002:a17:902:ce11:b0:172:6f2c:a910 with SMTP id k17-20020a170902ce1100b001726f2ca910mr4020447plg.156.1662561111817; Wed, 07 Sep 2022 07:31:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662561111; cv=none; d=google.com; s=arc-20160816; b=CAhyeLvJrEFCisR47Jw9bdba42uSbuyUQN7c8XBFxvZ1mGP139/rC+MRuue9WTCt62 tXX9x80d+0TaT5g0NFFCYCA7OQ9dAVSUCg0ONmalCUdRXQ9w0I138pawCAPXTAQyHTqB oR6QmnYWHHB6EIIQnvwcPoz8ruelvhgG+RiY4wKkJllZrLcQSjoU931R659MwgGRj3bN Eox8GGhlecvEtdAi9+BTbgzmAE0rXaUYBawvbcuA5UsqEcI5s3+AhJLaBf7ROViy2P8n Ke/04lkILARLag7Re+JGyv1or7U1yCo99cHp8Yhij7EMXEVj/ojqZ+a7A4NjZT8wcOsr IpCg== 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=Sg0lyGuGhkyyVavgowyrqtVz/NXH/Nb06ryVul0Cdtg=; b=y4dwvbU5d3LpxzE8FbalEm3KKBT/LkUJ3jm90puxttSVtyitdhiRSqBaHUrzKrJO5J 7jUl6rbXXw48YIgK7RXIdZfbNDU1P5FxAYwsew+J9DSsGKTVcTu1vtYw2mQUdb86K4pb qQzN3yaOR/109B+ckpEyWNEOsheApwq9r3nyPDO/rtIYCg+j6IkdT78XcXzG3/bkoPoZ GtJ/RX9Ze0jBigPleZscyUH+QZyhlirGvJcf8BSoGp0mqJtXt1i+zvlZnp9o3Npmcjif 8UCpz6U6FOsHHyOcEkfeldyAqWbx4Bl44J2HKAR4JN/fP/ljKcGGFS8clM1vkVtlLmXH PUxA== 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 cm18-20020a056a00339200b0052e802c48c3si3336549pfb.107.2022.09.07.07.31.39; Wed, 07 Sep 2022 07:31:51 -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 S229480AbiIGNnl (ORCPT + 99 others); Wed, 7 Sep 2022 09:43:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229826AbiIGNnM (ORCPT ); Wed, 7 Sep 2022 09:43:12 -0400 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3BF0A0308 for ; Wed, 7 Sep 2022 06:41:56 -0700 (PDT) Received: from fraeml706-chm.china.huawei.com (unknown [172.18.147.201]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4MN3Kw65bsz687hH; Wed, 7 Sep 2022 21:40:36 +0800 (CST) Received: from lhrpeml500003.china.huawei.com (7.191.162.67) by fraeml706-chm.china.huawei.com (10.206.15.55) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2375.31; Wed, 7 Sep 2022 15:41:20 +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; Wed, 7 Sep 2022 14:41:18 +0100 From: John Garry To: , , CC: , , , , , John Garry Subject: [PATCH v4 0/3] iova: Some misc changes Date: Wed, 7 Sep 2022 21:34:38 +0800 Message-ID: <1662557681-145906-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: dggems701-chm.china.huawei.com (10.3.19.178) 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 or don't fulfil their purpose. Differences to v3: - fix typo - Add Robin's tag to 3/3 (thanks) Differences to v2: - Add more words in 1/3 commit log - Add Jerry's tags (thanks) - Add patch to drop iovad->rcaches check Differences to v1: - Drop re-org - Add RB/AB tags Based on v6.0-rc4 John Garry (3): iova: Remove some magazine pointer NULL checks iova: Remove magazine BUG_ON() checks iova: Remove iovad->rcaches check in iova_rcache_get() drivers/iommu/iova.c | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) -- 2.25.1