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 24932C282EC for ; Tue, 11 Mar 2025 11:47:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=epApqSBe/WGzVFneGS99CcGWuYjaH8P1owo3Y5YauhI=; b=IIipQwuZ6wG15XoFUlGCi8Ou9T DFUlM4zBygklab8knNY8Lw6073UmOfnYNFIjqXw7814ZzQlPVbcPKefC+rGFe+ZIDUJ9y2DEf3D/n 53ArkLR6Z4eAqPBb6WMg1MMa10H1nqOdOahh0B9EhNibq+C9A8SP+HUBf0WkyWgo8YqIGl3mEG5mG 6b+eINLJl+pOCQBJmiulbvvrwqXjM9WeYfA0YokY6z9tgYU9GU4pPeI2U5kzqvehfZ60bJtZlF8RI wMVZ4+kpGW+4A6aTdMI5aZi3k2I8KY7v380S88vdoaSYjLLCdR0/j/9uazLvdYDYyjBwM352YN2GX sGFj3t2g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1try5A-00000005WhL-31u9; Tue, 11 Mar 2025 11:47:36 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1try36-00000005WBP-0WBH for linux-arm-kernel@lists.infradead.org; Tue, 11 Mar 2025 11:45:29 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 2D9CD5C5FEA; Tue, 11 Mar 2025 11:43:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 417C6C4CEED; Tue, 11 Mar 2025 11:45:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1741693526; bh=sWXHX5t+Kv3NfKtUWpDt2obvOSg0nfLxfHwkoaJD4eQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HcvlaCQoOWK3y/xnozjIw1SR5DfQnX10Z2/5uZ5PG+a65Ol9rjkQNEKBsXLZU9biO PYszIP0v12V9LBP8N1Iu43VTUlL+ywVZ0VIgiFQUXyNvGgvfFzsUUYYNRXhUmouUPG v0j5iT50gZYswdu0yeQv7z0Cnr+xFWboY83eHJ04ukLwDgaUa3G/I/xMWK0QFDNCVW 2ysVy3w8ogTiHuZKeP9brmgpxXfyZOlsA+T7WKGY8Tr50OIbqWs6wV1A3LesUO/Uzs F8ARf4lNqdHgbnWwNu1Ljxj8tffudbC9PNId5Lbs/lCBZBUfpnMWOj/DleGAY9Nd2W s6yezugEFkzCQ== Date: Tue, 11 Mar 2025 11:45:20 +0000 From: Will Deacon To: Catalin Marinas Cc: Suzuki K Poulose , Marek Szyprowski , linux-kernel@vger.kernel.org, maz@kernel.org, steven.price@arm.com, aneesh.kumar@kernel.org, gshan@redhat.com, robin.murphy@arm.com, linux-arm-kernel@lists.infradead.org, Jean-Philippe Brucker , Christoph Hellwig , Tom Lendacky Subject: Re: [PATCH v3 0/3] arm64: realm: Fix DMA address for devices Message-ID: <20250311114519.GA4202@willie-the-truck> References: <20250227144150.1667735-1-suzuki.poulose@arm.com> <2b6d5287-bdea-4ec3-a07f-986bd3c3b285@arm.com> <7b5c90cf-00e4-4684-8719-f380badab064@samsung.com> <7ad365f0-d335-4da1-845a-8fe3bc5eb055@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250311_044528_216926_018BA33A X-CRM114-Status: GOOD ( 23.78 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Mar 06, 2025 at 06:06:44PM +0000, Catalin Marinas wrote: > On Thu, Mar 06, 2025 at 11:39:14AM +0000, Suzuki K Poulose wrote: > > On 04/03/2025 13:40, Marek Szyprowski wrote: > > > > On 27/02/2025 14:41, Suzuki K Poulose wrote: > > > > > Linux can be run as a Confidential Guest in Arm CCA from Linux v6.13. The address > > > > > space (GPA or IPA) of a Realm VM is split into two halves, with private bottom > > > > > half and shared top half. In Linux we treat the "top" bit of the IPA space as > > > > > an attribute, to indicate whether it is shared or not (MSB == 1 implies shared). > > > > > Stage2 (GPA to PA) translations used by the CPU accesses, cover the full IPA space, > > > > > and are managed by RMM. The "top" bit as attribute is only a software construct. > [...] > > > The changes look fine. However I won't be able to setup new dma-mapping > > > git tree this week because I got really sick has to stay in bed. :/ If > > > You don't want such delay, please merge it via ARM64 tree. Here is my: > > > > Sorry to hear that. Hope you feel better soon. > > > > > Acked-by: Marek Szyprowski > > > > Thanks Marek. > > > > Btw, this series fixes the "Realm Guest" support for Linux, which was merged > > in v6.13. To be precise, this should have : > > > > Fixes: 42be24a4178f ("arm64: Enable memory encrypt for Realms") > > > > Will/Catalin, > > > > Please let me know if you would like me to send the series with > > all the Acks, Reviews and mainly the Fixes tag added ? > > We can add the acks and fixes tag, no worries. I can queue them for 6.15 > unless Will takes them as fixes for 6.14 (I'll wait for a bit). For the series: Acked-by: Will Deacon but I'd prefer this to land in 6.15 at this stage given that (a) it's always been broken and (b) we're not exactly tripping over CCA-capable hardware. Cheers, Will