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 lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (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 70644F588DE for ; Mon, 20 Apr 2026 14:25:45 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.1286085.1567195 (Exim 4.92) (envelope-from ) id 1wEpZ9-0004DV-Qw; Mon, 20 Apr 2026 14:25:35 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 1286085.1567195; Mon, 20 Apr 2026 14:25:35 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1wEpZ9-0004DN-O0; Mon, 20 Apr 2026 14:25:35 +0000 Received: by outflank-mailman (input) for mailman id 1286085; Mon, 20 Apr 2026 14:25:34 +0000 Received: from mx.expurgate.net ([195.190.135.10]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1wEpZ8-0004DG-5Y for xen-devel@lists.xenproject.org; Mon, 20 Apr 2026 14:25:34 +0000 Received: from mx.expurgate.net (helo=localhost) by mx.expurgate.net with esmtp id 1wEpZ7-0049I1-Id for xen-devel@lists.xenproject.org; Mon, 20 Apr 2026 16:25:33 +0200 Received: from [10.42.69.4] (helo=localhost) by localhost with ESMTP (eXpurgate MTA 0.9.1) (envelope-from ) id 69e6375a-e002-0a2a0a5209dd-0a2a450481ee-10 for ; Mon, 20 Apr 2026 16:25:33 +0200 Received: from [217.140.110.172] (helo=foss.arm.com) by tlsNG-ebf023.mxtls.expurgate.net with ESMTP (eXpurgate 4.56.1) (envelope-from ) id 69e6375c-1dec-0a2a45040019-d98c6eacb83e-1 for ; Mon, 20 Apr 2026 16:25:33 +0200 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 9E7D61516; Mon, 20 Apr 2026 07:25:26 -0700 (PDT) Received: from e125770.cambridge.arm.com (e125770.arm.com [10.1.199.43]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 423B13F7B4; Mon, 20 Apr 2026 07:25:31 -0700 (PDT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" Authentication-Results: eu.smtp.expurgate.cloud; dkim=pass header.s=foss header.d=arm.com header.i="@arm.com" header.h="From:To:Cc:Subject:Date" DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1776695132; bh=msE5zKqdYroR2i7+BMMRv2AgU+EIZ5jE7RxEL1s5uwo=; h=From:To:Cc:Subject:Date:From; b=M0lqefgAbq4Tm7Sx10KJ8putI+ayHK52E6dS8/S7b0fHKcukS5YSj1VONT4hcFn5s qEvOiBh+R1yDiUCrd+pyyuGNyXRE4qUtI7bNdjwrM1/NP0XL49iBWRL7z4ip17KNoj +wDoVXoDcc16yXwCKndkwp11DWDZAwUHbz2pdc4M= From: Luca Fancellu To: xen-devel@lists.xenproject.org Cc: Stefano Stabellini , Julien Grall , Bertrand Marquis , Michal Orzel , Volodymyr Babchuk , "Oleksii Kurochko" Subject: [PATCH 0/8] Armv8-R AArch64 MPU support (single core) Date: Mon, 20 Apr 2026 15:25:16 +0100 Message-Id: <20260420142524.1804073-1-luca.fancellu@arm.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-purgate-ID: tlsNG-ebf023/1776695133-324733FF-C652B545/0/0 X-purgate-type: clean X-purgate-size: 2291 Hi, this serie complete the support for Armv8-R AArch64 MPU support for dom0less DomU boot on single core, it also build for Armv8-R AArch32 but the support is not complete. The serie is based on another serie in the mailing list: "Fifth MPU Series". I've spoken with Oleksii and the Arm maintainer to have the possibilty to have this on the Xen release, of course provided that maintainers have enough bandwidth and depending on the priority of the series to be in. Asking for Oleksii Ack for the release, the changes in this serie are mostly related to MPU apart from few patches that touches common Arm code. Luca Fancellu (2): arm/mpu: Save/restore guest EL1 MPU-related context arm/mpu: Save/restore VTCR_EL2 on vCPU context switch Penny Zheng (6): xen/arm: Implement p2m_set_entry for MPU systems xen/arm: Implement p2m_get_entry for MPU systems xen/mpu: enable device passthrough in MPU system arm/mpu: Support vCPU context switch on MPU systems xen/arm: enable MMIO region trap in MPU system xen/arm: dump debug message in MPU system xen/arch/arm/arm64/mpu/p2m.c | 17 ++ xen/arch/arm/domain.c | 51 +++- xen/arch/arm/include/asm/arm32/mpu.h | 3 +- xen/arch/arm/include/asm/arm64/mpu.h | 3 +- xen/arch/arm/include/asm/domain.h | 10 + xen/arch/arm/include/asm/mm.h | 3 + xen/arch/arm/include/asm/mmu/domain-build.h | 2 + xen/arch/arm/include/asm/mmu/mm.h | 12 + xen/arch/arm/include/asm/mpu.h | 3 + xen/arch/arm/include/asm/mpu/cpregs.h | 7 + xen/arch/arm/include/asm/mpu/domain-build.h | 6 + xen/arch/arm/include/asm/mpu/mm.h | 13 +- xen/arch/arm/include/asm/mpu/p2m.h | 25 ++ xen/arch/arm/include/asm/p2m.h | 3 + xen/arch/arm/mpu/arm32/mm.c | 10 + xen/arch/arm/mpu/arm64/mm.c | 136 +++++++++ xen/arch/arm/mpu/domain-build.c | 17 ++ xen/arch/arm/mpu/mm.c | 101 +++++-- xen/arch/arm/mpu/p2m.c | 295 +++++++++++++++++++- xen/arch/arm/traps.c | 91 ++++-- 20 files changed, 739 insertions(+), 69 deletions(-) -- 2.34.1