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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 42392C38145 for ; Wed, 7 Sep 2022 13:43:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229502AbiIGNnn (ORCPT ); Wed, 7 Sep 2022 09:43:43 -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 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