From patchwork Mon Feb 17 10:27:30 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Fancellu X-Patchwork-Id: 13977514 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 C0546C0219E for ; Mon, 17 Feb 2025 10:28:06 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.890177.1299204 (Exim 4.92) (envelope-from ) id 1tjyM4-0002eF-04; Mon, 17 Feb 2025 10:28:00 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 890177.1299204; Mon, 17 Feb 2025 10:27:59 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tjyM3-0002e7-Sw; Mon, 17 Feb 2025 10:27:59 +0000 Received: by outflank-mailman (input) for mailman id 890177; Mon, 17 Feb 2025 10:27:58 +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 1tjyM2-0001n7-TD for xen-devel@lists.xenproject.org; Mon, 17 Feb 2025 10:27:58 +0000 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by se1-gles-flk1.inumbo.com (Halon) with ESMTP id d4cc9c86-ed19-11ef-9896-31a8f345e629; Mon, 17 Feb 2025 11:27:47 +0100 (CET) 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 3046E175D; Mon, 17 Feb 2025 02:28:06 -0800 (PST) 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 A03A33F6A8; Mon, 17 Feb 2025 02:27:45 -0800 (PST) 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: d4cc9c86-ed19-11ef-9896-31a8f345e629 From: Luca Fancellu To: xen-devel@lists.xenproject.org Cc: Stefano Stabellini , Julien Grall , Bertrand Marquis , Michal Orzel , Volodymyr Babchuk , Jan Beulich , =?utf-8?q?Roger_Pau_Monn=C3=A9?= Subject: [PATCH v2 0/2] Prerequisite patches for Arm64 MPU build Date: Mon, 17 Feb 2025 10:27:30 +0000 Message-Id: <20250217102732.2343729-1-luca.fancellu@arm.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Hi all, in order to build Xen for Arm64 with MPU support, there are few changes to support the compilation of Arm code without HAS_PASSTHROUGH and some refactoring around the start_xen for Arm. Luca Fancellu (2): xen/passthrough: Provide stub functions when !HAS_PASSTHROUGH xen/arm: Restrict Kconfig configuration for LLC coloring xen/arch/arm/Kconfig | 2 +- xen/arch/arm/include/asm/grant_table.h | 5 +-- xen/arch/arm/setup.c | 1 + xen/include/xen/iommu.h | 48 ++++++++++++++++++++++++-- 4 files changed, 51 insertions(+), 5 deletions(-)