From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DC078606A323 for ; Wed, 2 Dec 2026 04:45:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=qN7873m7; dkim=pass (2048-bit key) header.d=fujitsu.com header.i=@fujitsu.com header.a=rsa-sha256 header.s=fj2 header.b=MirGLCR4 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-Unsubscribe-Post:List-Owner; bh=rCUsgw0n8r2jjnAi+qmNUE26vY0kHKW+BQybsuAMs+I=; b=qN7873m7lR9aZVTUlFjW4aDGPJ 22QAkUhBMDvfCqjD1Ft0pJT+1ELG9GZ23j+L/vE0OiDBBUDa3zWqF5u4Oe5l8VQ2+Y8JiHlLxZOvY 8VT8WdBkNcPXeGP6U1WjeRopdyj9Abi6MwQGXngwN795IIxARJYbiuc++cFQhvAuka88kCnDEsZrx FQCGC1JEaRZx6w10Nb7Ym5nj4tkMsqnQxiMLCApE7tIt45l1HtA6T7961HDlGqyNQKHj7Pd979VPs w5HwkGXwx+hlYLo2wGMO9CSXKtYPOEMJ84CqRJNmwqOMk0oH6MAXhjaT6ibzLCZyBjtVH16ITFDP3 V97OHyLQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYcDu-0000000ACs1-3diY; Wed, 02 Dec 2026 04:45:42 +0000 Received: from esa3.hc1455-7.c3s2.iphmx.com ([207.54.90.49]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYcDr-0000000ACr2-3dxB for linux-arm-kernel@lists.infradead.org; Wed, 02 Dec 2026 04:45:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fujitsu.com; i=@fujitsu.com; q=dns/txt; s=fj2; t=1796186740; x=1827722740; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=2CCLcXc+oc2RNp/jpz67z5fyOgoobi4Xf3mFHIFIKco=; b=MirGLCR45E08UMKHBlboQD1CV7666h6jbWLEuHriAtA0Xm/syu+cZjWY b/8+huZ1Yl8zwDLvgikGx6kpwX13hG2ATtrBX8hozENd76qPWCVdj0erR UucpMf5gNbq1nrYMmP69ykBtGpdLhu9cX9O6O2UFKpkIvnMldY971Embl XYLBqfSxSU45KuC8HCTOJbnomnAhtrSKpem6WjsVnJWKumFH/UKBMXg7S cvsr3v3WupsTd8REF1WwheVwB4coo2cpIY+hJf1OmHPgeUb0dIZczpg/o fM8N9L2exOZPjDJ4TefdP1ri6Kwd0xBA/PUvksn7nsYfNUxXHuW2T7O6I w==; X-CSE-ConnectionGUID: dPONn369Q0OcN6Y5K3V3sQ== X-CSE-MsgGUID: rDCMubTCRUSBEO8X5G0OBw== X-IronPort-AV: E=McAfee;i="6800,10657,11983"; a="263830520" X-IronPort-AV: E=Sophos;i="6.27,246,1786978800"; d="scan'208";a="263830520" Received: from gmgwuk01.global.fujitsu.com ([172.187.114.235]) by esa3.hc1455-7.c3s2.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Dec 2026 13:45:35 +0900 Received: from az2uksmgm3.o.css.fujitsu.com (unknown [10.151.22.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by gmgwuk01.global.fujitsu.com (Postfix) with ESMTPS id BED681C1C703 for ; Wed, 2 Dec 2026 04:45:34 +0000 (UTC) Received: from az2uksmom2.o.css.fujitsu.com (unknown [10.151.22.203]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by az2uksmgm3.o.css.fujitsu.com (Postfix) with ESMTPS id 8014CC00751 for ; Wed, 2 Dec 2026 04:45:34 +0000 (UTC) Received: from FCCLS0092175.localdomain (unknown [10.8.229.201]) by az2uksmom2.o.css.fujitsu.com (Postfix) with SMTP id 863191400F30; Wed, 2 Dec 2026 04:45:22 +0000 (UTC) Date: Wed, 2 Dec 2026 13:45:22 +0900 From: Kohei Enju To: Steven Price Cc: kvm@vger.kernel.org, kvmarm@lists.linux.dev, Catalin Marinas , 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 , "Aneesh Kumar K . V" , Emi Kisanuki , Vishal Annapurve , WeiLin.Chang@arm.com, Lorenzo Pieralisi Subject: Re: [PATCH v5 00/11] KVM: arm64: CCA: Prepare Realm memory management Message-ID: References: <20261130142534.219108-1-steven.price@arm.com> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20261130142534.219108-1-steven.price@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261201_204540_427484_D62442F6 X-CRM114-Status: GOOD ( 14.71 ) X-Spam-Score: -4.4 (----) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-10.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On 11/30 14:25, Steven Price wrote: > This series adds the memory management plumbing for CCA, building on the > basic RMM support [1]. Thanks to everyone who reviewed and tested the > earlier versions. > > The patches introduce internal Realm VM state, prepare Realm stage-2 > setup and teardown, and provide RTT mapping and invalidation helpers. > Realm memslots are restricted to the lower half of the IPA space because > the protected and shared halves alias each other. The final patch > connects the helpers to KVM's stage-2 MMU operations. > > This is the memory management portion of the larger Realm host series. > Realm descriptor creation, REC entry and exit, activation, and the new > uAPI follow in the integration stack. This series alone does not enable > Realm creation. > > The integration branch [2] includes Realm creation, REC entry and exit, > and the remaining host support on top of this series. The MM branch [3] > contains just this series. Hi Steve, I've tested the v5 integration branch on our real hardware, and I haven't seen any issues so far. For the series: Tested-by: Kohei Enju I'd also like to review the series if time permits, but unfortunately I've only had enough bandwidth for testing so far :D