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 D4717C5321E for ; Mon, 26 Aug 2024 10:06:27 +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=phCdRRLzxUpWuslbto2MaBgKpH1QeWCJV1JPHawrtlY=; b=jP/t55svMAsyg3bmZsFqf7lyv/ ocpQWYJr5hSrPuCUhiQH/DKGI3Z2dHnaCTL/rKlr+otpxXXABvfsLojfysWcpmEIDG0arNCrnIsCL JC0maYALCK1d+w5OJ18XOlCbnlRc+I0iPUzd4eqQ4BhvVcZ/WOHyp/2EwE/QhUa7VUsVnrNlihG/J WjsdL0so/gcV85ZRgzPSslEVg27h8mMpMof/g+ut3mC8eOyA+o5jIkRdYXvI7CJKh7a4e6IhNoj/l ihr+lhDGNC0ssKGxHMbxutHkw1Ep9pfSAY79g/wKNSrY3xriCp7fikyIbUD+7EniYekW0dj3rNmok biDSviEA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1siWc5-00000006qOG-1n3h; Mon, 26 Aug 2024 10:06:17 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1siWa9-00000006pxk-3X5d for linux-arm-kernel@bombadil.infradead.org; Mon, 26 Aug 2024 10:04:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=phCdRRLzxUpWuslbto2MaBgKpH1QeWCJV1JPHawrtlY=; b=SKBar3sPZgx6O/E8XALg1UDNI7 eK9qycCBrwYfXwFMtYOvzRnCVjDBNNK0qvHA0S+Z0v63KG0QOBlnq2gcCBrsMZeKoSx/AU+B2Nllo g/YzYumvjRStuTn0GPYRnRz82XfAOg6MuzGRmiJP77WJMAJ/g/wHrgWbGoC4/vOSRfTxe4gZJmZCK qkGzCk8LVGhhpAFuoxieZX1uMGYKq0rsExpnFUVWXzupnMQsXJOaPEOhVSriEUH1Uqw3/f94BcBgp uAH903hA3TXWc5wqiItKwpYO7tY46lwy/Abw/pMNGVNYyGTUUwi02znfhxnCbrKv+PC5mLmKGBl2M i70yBIVw==; Received: from nyc.source.kernel.org ([2604:1380:45d1:ec00::3]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1siWa5-0000000Ad3i-16me for linux-arm-kernel@lists.infradead.org; Mon, 26 Aug 2024 10:04:15 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id CDEBEA42156; Mon, 26 Aug 2024 10:03:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 44513C51407; Mon, 26 Aug 2024 10:04:02 +0000 (UTC) Date: Mon, 26 Aug 2024 13:04:11 +0300 From: Catalin Marinas To: Steven Price Cc: kvm@vger.kernel.org, kvmarm@lists.linux.dev, Marc Zyngier , Will Deacon , James Morse , Oliver Upton , Suzuki K Poulose , Zenghui Yu , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Joey Gouly , Alexandru Elisei , Christoffer Dall , Fuad Tabba , linux-coco@lists.linux.dev, Ganapatrao Kulkarni , Gavin Shan , Shanker Donthineni , Alper Gun Subject: Re: [PATCH v5 06/19] arm64: realm: Query IPA size from the RMM Message-ID: References: <20240819131924.372366-1-steven.price@arm.com> <20240819131924.372366-7-steven.price@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240819131924.372366-7-steven.price@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240826_110413_575325_33EC08DD X-CRM114-Status: UNSURE ( 8.48 ) X-CRM114-Notice: Please train this message. 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 Mon, Aug 19, 2024 at 02:19:11PM +0100, Steven Price wrote: > The top bit of the configured IPA size is used as an attribute to > control whether the address is protected or shared. Query the > configuration from the RMM to assertain which bit this is. > > Co-developed-by: Suzuki K Poulose > Signed-off-by: Suzuki K Poulose > Signed-off-by: Steven Price Reviewed-by: Catalin Marinas