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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 534F8C433EF for ; Wed, 20 Apr 2022 12:32:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=YQ3vhyGj4IDPk3S8a3WNPkI3iQeVVwHadBAlA02gKAs=; b=2N6DhWUaot2/kq OTFlzRCr9opRMQwLwg2eFMQgEnUfh1q95c0fQTMBdSPk3BuRrwabm7f1DXAmlpnXk6j1g8cgoj6vs YdBR46ylXNRbCC9uUi1pv7v4lm/jCDLnsijE8bcPzYv/S20Zh1F+qpYY6cPXYEHYRj3dr/kiMlqbI TNJrmUXGACCfpnct0R+BI4OLT6zZbVGxnebkxMBD6O1PjY60dFcCrgyX1Fb2AuIRfiTGMZu8oE9cj VBgofSBaI8MWWb/JHqIh9Fq9Xp5tqHJ9vfQINr7HWDew1BIlluHcAVRP9hqFo9wdr+jWSe4T/lEsD lO9OGhQ6ZHLDGZmnIveA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nh9Ua-008z6J-Ib; Wed, 20 Apr 2022 12:31:32 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nh9UX-008z5N-4G for linux-arm-kernel@lists.infradead.org; Wed, 20 Apr 2022 12:31:30 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A9636619A0; Wed, 20 Apr 2022 12:31:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 34703C385A1; Wed, 20 Apr 2022 12:31:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650457888; bh=xFBxXROoKf7u+JAvuiZg1qFNSkoOxNBQ8DLIUz0UXt0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VvD6eMwnKgud8prkIqkDyIzKkAwnMUG4UDyyfYe5GozZoG+JQD9ZC+MWEawYLhELH 0hs82Censkr6ZKriGuk5xCI8kZvqNjS2ShtpnewUZGs/rHnoy7JER51sXpcFOHyHJd 4w+zU+Ph3yxGaGChG7V0qCp4ZV33CvLWCyxvRqHGJgCMa3G6ckchns1V8GDedi7lls x9z5xtoClxAUKqZt9X+vrgmAIL0TCf+Td8S1Xd/FyCAytoUxrZ4tVXTsZaH6oZw9SI L7UBS0eW7oRNR9gmS8JUdYIodtOY26V6MAWwBDUsh1SnJ6sjmEgj/wBJ4T44IezRCD 6O7NfTrnHhCGg== From: Will Deacon To: joro@8bytes.org, jgg@ziepe.ca, robin.murphy@arm.com, Nicolin Chen , jean-philippe@linaro.org Cc: catalin.marinas@arm.com, kernel-team@android.com, Will Deacon , stable@vger.kernel.org, jacob.jun.pan@linux.intel.com, linux-arm-kernel@lists.infradead.org, fenghua.yu@intel.com, iommu@lists.linux-foundation.org, rikard.falkeborn@gmail.com, linux-kernel@vger.kernel.org, baolu.lu@linux.intel.com Subject: Re: [PATCH] iommu/arm-smmu-v3: Fix size calculation in arm_smmu_mm_invalidate_range() Date: Wed, 20 Apr 2022 13:31:21 +0100 Message-Id: <165044753398.180787.4069543281631212706.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220419210158.21320-1-nicolinc@nvidia.com> References: <20220419210158.21320-1-nicolinc@nvidia.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220420_053129_269319_8E544A7D X-CRM114-Status: GOOD ( 11.34 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, 19 Apr 2022 14:01:58 -0700, Nicolin Chen wrote: > The arm_smmu_mm_invalidate_range function is designed to be called > by mm core for Shared Virtual Addressing purpose between IOMMU and > CPU MMU. However, the ways of two subsystems defining their "end" > addresses are slightly different. IOMMU defines its "end" address > using the last address of an address range, while mm core defines > that using the following address of an address range: > > [...] Applied to will (for-joerg/arm-smmu/fixes), thanks! [1/1] iommu/arm-smmu-v3: Fix size calculation in arm_smmu_mm_invalidate_range() https://git.kernel.org/will/c/95d4782c34a6 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel