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 5EF70C87FC8 for ; Mon, 21 Jul 2025 08:32:22 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.1051145.1419421 (Exim 4.92) (envelope-from ) id 1udlwO-0005OV-6g; Mon, 21 Jul 2025 08:32:08 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 1051145.1419421; Mon, 21 Jul 2025 08:32:08 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1udlwO-0005OO-40; Mon, 21 Jul 2025 08:32:08 +0000 Received: by outflank-mailman (input) for mailman id 1051145; Mon, 21 Jul 2025 08:32:06 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1udlwM-0005OI-QO for xen-devel@lists.xenproject.org; Mon, 21 Jul 2025 08:32:06 +0000 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by se1-gles-flk1.inumbo.com (Halon) with ESMTP id 2c2bf9ea-660d-11f0-b894-0df219b8e170; Mon, 21 Jul 2025 10:32:01 +0200 (CEST) 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 A77B1153B; Mon, 21 Jul 2025 01:31:54 -0700 (PDT) Received: from PWQ0QT7DJ1.arm.com (unknown [10.57.71.32]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 31A0C3F66E; Mon, 21 Jul 2025 01:31:59 -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" X-Inumbo-ID: 2c2bf9ea-660d-11f0-b894-0df219b8e170 From: Hari Limaye To: xen-devel@lists.xenproject.org Cc: luca.fancellu@arm.com, Stefano Stabellini , Julien Grall , Bertrand Marquis , Michal Orzel , Volodymyr Babchuk Subject: [PATCH v4 0/6] Second series for R82 MPU Support Date: Mon, 21 Jul 2025 09:31:41 +0100 Message-ID: X-Mailer: git-send-email 2.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi all, This series is the second set of patches in the ongoing work to introduce support for MPU systems and Cortex R82 in Xen. The patches in this series implement the necessary logic to map and unmap the Device Tree Blob in the early stages of the boot process. Changes from v3: - Changes mentioned in individual patches Cheers, Hari Luca Fancellu (4): arm/mpu: Find MPU region by range xen/arm: Introduce flags_has_rwx helper arm/mpu: Implement early_fdt_map support in MPU systems arm/mpu: Implement remove_early_mappings for MPU systems Penny Zheng (2): arm/mpu: Populate a new region in Xen MPU mapping table arm/mpu: Destroy an existing entry in Xen MPU memory mapping table xen/arch/arm/include/asm/mm.h | 2 + xen/arch/arm/include/asm/mpu.h | 2 + xen/arch/arm/include/asm/mpu/cpregs.h | 4 + xen/arch/arm/include/asm/mpu/mm.h | 41 +++++ xen/arch/arm/mm.c | 15 ++ xen/arch/arm/mmu/pt.c | 9 +- xen/arch/arm/mpu/mm.c | 235 ++++++++++++++++++++++++++ xen/arch/arm/mpu/setup.c | 79 ++++++++- 8 files changed, 376 insertions(+), 11 deletions(-) -- 2.34.1