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 X-Spam-Level: X-Spam-Status: No, score=-12.0 required=3.0 tests=BAYES_00,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AD41FC433FE for ; Tue, 8 Dec 2020 15:55:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7C00D23AC8 for ; Tue, 8 Dec 2020 15:55:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730184AbgLHPz1 (ORCPT ); Tue, 8 Dec 2020 10:55:27 -0500 Received: from mail.kernel.org ([198.145.29.99]:48816 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729817AbgLHPz1 (ORCPT ); Tue, 8 Dec 2020 10:55:27 -0500 From: Will Deacon Authentication-Results: mail.kernel.org; dkim=permerror (bad message/signature format) To: iommu@lists.linux-foundation.org, Keqian Zhu , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: catalin.marinas@arm.com, kernel-team@android.com, Will Deacon , Joerg Roedel , Suzuki K Poulose , jiangkunkun@huawei.com, wanghaibin.wang@huawei.com, Sean Christopherson , Robin Murphy , Andrew Morton , Mark Brown , Marc Zyngier , Thomas Gleixner , Julien Thierry , Alexios Zavras , James Morse Subject: Re: [PATCH v2] iommu: Defer the early return in arm_(v7s/lpae)_map Date: Tue, 8 Dec 2020 15:54:32 +0000 Message-Id: <160743579041.2814165.8711661573048681201.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201207115758.9400-1-zhukeqian1@huawei.com> References: <20201207115758.9400-1-zhukeqian1@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 7 Dec 2020 19:57:58 +0800, Keqian Zhu wrote: > Although handling a mapping request with no permissions is a > trivial no-op, defer the early return until after the size/range > checks so that we are consistent with other mapping requests. Applied to arm64 (for-next/iommu/misc), thanks! [1/1] iommu: Defer the early return in arm_(v7s/lpae)_map https://git.kernel.org/arm64/c/f12e0d22903e Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev