From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BCB3F25D55E for ; Thu, 6 Mar 2025 18:06:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741284409; cv=none; b=J4GABs7a5Qp5kusldKBqvHRMBGXwQhFVLpl9O215xgeaHrS3vM1Ed/mmO81J5vQM01fsW+4X60xxqqTKfESXmz+uw9mn7kWHh5mEGUnYjqIQex1oTiYiqxr5O+R3jmXpy0rUQMG5bmVdkBRRl61AthIcOvbBxTyvY73gsgKUHlg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741284409; c=relaxed/simple; bh=Begl+fe1gAwLPm7HwS17V/btmIoLsvailaiqC0QREYg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=OZT3Ks4WalfcJKk0VHmGeh1KxoFLaqSrcjrCF5GJcUrwQ1fUeFWvMZblEbHJ1rwFUI/2wxXFIjD66NdnPBtr3pE7xTS2IP/+K1eo1JmNh2u7+y2EBnbAXSknH3iDuaP/cMpsKu5YXDlD3wE3AIc9Lg1HgunhJxPucvcKyGhnG9c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 51837C4CEE0; Thu, 6 Mar 2025 18:06:47 +0000 (UTC) Date: Thu, 6 Mar 2025 18:06:44 +0000 From: Catalin Marinas To: Suzuki K Poulose Cc: Marek Szyprowski , linux-kernel@vger.kernel.org, Will Deacon , 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: 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7ad365f0-d335-4da1-845a-8fe3bc5eb055@arm.com> 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). -- Catalin