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 0C6F7C433F5 for ; Wed, 24 Nov 2021 16:36:20 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=noJ8FvOCfk96ekfdeReqPk3WS5bZSnA8XK2k+6UJkwM=; b=fjQbsXUJNVtpcb dxr+EoapqPFnpXCs8Bp+L2H2YqP/vaDUgjEUb7R0RdS2go5z2rLl1LezGDQjm7BCGRIyKTSurU9QO VjDbhqGpJoDFW/NSKEElTZz9X7IQBsApZYalvMwiod2I6LSpEyxpxfOaCaiNkRpKT4zr9t+maLSYf B8XQVYWTg6JUSFhaI8P7SkkkG4/e3dec50eqGGEo+lavwSRjrnfxxnOZDjHwFuwUd8Pwo/Jk1Xu9B FPMrCHwYoJUDP7wK0jVoTw9muhE4SfhpKB8YS9p3sXJEQbIyMMq6goL1oaXmpbqVvD2rYdvAyHj6j EVujwJvyHQBarxjH2Pzw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mpvET-005GoR-S3; Wed, 24 Nov 2021 16:34:53 +0000 Received: from 8bytes.org ([2a01:238:4383:600:38bc:a715:4b6d:a889] helo=theia.8bytes.org) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mpvEP-005Gm2-Mg; Wed, 24 Nov 2021 16:34:51 +0000 Received: by theia.8bytes.org (Postfix, from userid 1000) id 6B7A9341; Wed, 24 Nov 2021 17:34:44 +0100 (CET) Date: Wed, 24 Nov 2021 17:34:35 +0100 From: Joerg Roedel To: Alex Bee Cc: Will Deacon , Heiko Stuebner , Benjamin Gaignard , iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] iommu/rockchip: Fix PAGE_DESC_HI_MASKs for RK3568 Message-ID: References: <20211124021325.858139-1-knaerzche@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211124021325.858139-1-knaerzche@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211124_083449_932259_332E7571 X-CRM114-Status: GOOD ( 12.29 ) 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 Wed, Nov 24, 2021 at 03:13:25AM +0100, Alex Bee wrote: > With the submission of iommu driver for RK3568 a subtle bug was > introduced: PAGE_DESC_HI_MASK1 and PAGE_DESC_HI_MASK2 have to be > the other way arround - that leads to random errors, especially when > addresses beyond 32 bit are used. > > Fix it. > > Fixes: c55356c534aa ("iommu: rockchip: Add support for iommu v2") > Signed-off-by: Alex Bee Applied for v5.16, thanks. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel