Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp4661357rwb; Wed, 17 Aug 2022 04:09:17 -0700 (PDT) X-Google-Smtp-Source: AA6agR7Hc1axGZ1/nZJ+LPksmftJIL0kjpI9kZ2c2XDxjl6w7PqsnNiiTYqF4P4L62DNGnqT924e X-Received: by 2002:a17:903:11c7:b0:170:cde7:d24a with SMTP id q7-20020a17090311c700b00170cde7d24amr26367284plh.91.1660734557286; Wed, 17 Aug 2022 04:09:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660734557; cv=none; d=google.com; s=arc-20160816; b=OAhO0lTwOKjReHM747P3+m64saKGtK5Q93/EGTkyPRlnsizEzT4SbSecLJnAotP63C fRRPfg36bHcUDmno/2h2y9ils4dK2ZtFyGJAIsAMfdgGHHJzY9iQfcNhEfqKWuQpyGbE 8sloRS3QmaSAgEweL2Qus2rACidntnUgx1ndkyPSrkz0qB6zyJ3u8E+R5HDovCWjj7E7 FGuWbjKcNNl0PS8IpvljvtilC65X0TG6P/0SwRIFKRCkeOWOq9Wz0HYIopp+eWV++NAk 5XkaES9q6XDya+3fSkNFjQ1S5LajLZsHDn1Q1MG+5M5dPxy2oyJwTQSAApWs3YZzDNJd vtLw== 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=At0EzUf3X5MCd1CU35fthE/+mrZY9jdZfOKbIQgkt1g=; b=qtenMZ7TkK+2zmn3X2qNX+koD5brTGkUDds8BayXxICqtVaH5wzfPWYo1oTnm4zBIq AAvAQX+nSTx2rB4ucGnVMFzFNlYqVpuKLS4ftO0ADN3Gjf5jEBJ2NL330TVQl53oBumN 8cvH6fZeCPeM+6j2e9Ua029W8Fodul6EOsMOQJ16e9ZZBxwNilPxGkEHRdoyjWvcICdO SQkYNA6F2JhFP2Fdp0yonO7oUIkPe0x/5wwfz53sDdsC2NNm7YhP04GzJ+emOYvqnx/W Zdu8a3VMBgOd2rPo3aMr7QUWvIlB3gPGV3IBx9jSHMJ/lg/O7sTWpctvsI+rnzK1s1g8 GX6A== 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 f18-20020a056a00229200b0052543a673a0si18518262pfe.93.2022.08.17.04.09.05; Wed, 17 Aug 2022 04:09:17 -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 S231858AbiHQKQO (ORCPT + 99 others); Wed, 17 Aug 2022 06:16:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229627AbiHQKQN (ORCPT ); Wed, 17 Aug 2022 06:16:13 -0400 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 474CB2DF4 for ; Wed, 17 Aug 2022 03:16:12 -0700 (PDT) Received: from fraeml701-chm.china.huawei.com (unknown [172.18.147.207]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4M73nR5Qyrz685K1; Wed, 17 Aug 2022 18:15:55 +0800 (CST) Received: from lhrpeml500003.china.huawei.com (7.191.162.67) by fraeml701-chm.china.huawei.com (10.206.15.50) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2375.24; Wed, 17 Aug 2022 12:16:09 +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.24; Wed, 17 Aug 2022 11:16:07 +0100 From: John Garry To: , , CC: , , John Garry Subject: [PATCH 0/3] iova: Some misc changes Date: Wed, 17 Aug 2022 18:09:41 +0800 Message-ID: <1660730984-30333-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 includes: - remove checks in the code which are not required - the re-org, which I had originally posted separately Based on v6.0-rc1 John Garry (3): iova: Remove some magazine pointer NULL checks iova: Remove magazine BUG_ON() checks iova: Re-order code to remove forward declarations drivers/iommu/iova.c | 1074 +++++++++++++++++++++--------------------- include/linux/iova.h | 60 +-- 2 files changed, 559 insertions(+), 575 deletions(-) -- 2.35.3