[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v4 4/6] xen/arm: mpu: Create boot-time MPU protection regions


  • To: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
  • From: Luca Fancellu <Luca.Fancellu@xxxxxxx>
  • Date: Tue, 29 Oct 2024 16:25:51 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=arm.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com])
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
  • Arc-message-signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=djiuEJdKJF7GuC5T/AKPh6mAed8WLaSEiUcoRTYkkQE=; b=FpyrVX5x461PE3lRg1mVxvJEPPkx5gGtMVaw3BcuSZhK+HqG5MQv/OLAJq+U6PUbMe4NAmBpsXi5kI8RKm8BCY53ZQaYNZw4tKo1NsHZVZYfTPxLEOJ3lqrApskTlIenBT3kHbvi8ae9wv/l14YqgcXwW6yZuy64zM1RfBNXT0UdKHVppWYOdgEjFIdZCGaK7jr7oknrO5Y3nfMTTyU93kt2X45oW7AcYPfdFhHpMrwZGqxWs+vB1o2U+qCU/yqjlXyNj5LC62EAU4zpNV9E8wJndG+K6d/rBAAVbKomhASnEoK25CGjmLvmqWeYmhWDYlF17UB3oPH6I6A8XH4KuA==
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=djiuEJdKJF7GuC5T/AKPh6mAed8WLaSEiUcoRTYkkQE=; b=DQ6QFwgVbslqqC+ChuB7vNOfepiTTzr/Tx6k6h0AISdF7fHYaB8yJp63OFClGtAttAJ++D0wHrA6q4pargOUEccTk1vpXHhausWWISEZdtiWwoHTkjg4J2jE2hcG18pnoD3DSsm8z+WGYmmOR1w5OYnMT/WWcyGZk40YSXrlhwZdlsW2WqrYYwy/bTD8hBJZ/RP87WtFWDEwQgzl34tKpbM0BqHwayTBGorXfEdzj1kXzu1IedGpByLWfcPqm48XxYm9g9C6sVsGlb7cryJbNut1PiaxNVvmEPSuwhEPGd9fspfX2CDLOLJ28yAaurpb+ju/YOqCDhqPMgy0PInmvA==
  • Arc-seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass; b=M0NopqCqdoMZ7Lsu3MFrwnCr8xxHL0/TUjTrDWRCpTL9H90NYR4KOuoWAz0CiCryWPzi7WLgYaHoSru1TMZby5V+8pIHzNpnAS3scc6ShBq38oWy+3rI6HUNpBQZHWz0DhdOJVyzOIG9i337Ar5YumjmdH9zypmEAA+p/n3x8hZ8w9N2FhX7xvtsTtx1ekrnCh/LQvprFqXgXqWLeQMeeZR38dtwCtXBZbisp2L3Ge3XQ+qn4rf0G0sZHRmFov+HKRh9PTpUVhoD3a9pBx/KX0lx7TfOyVx7RJp/4Y2+9wUa0vI3O0RYQkKzwKy+Dm8vC5uuQtorNm5PVT4uXRc4+g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=yKU0XKzcGMMCMwIr5Kf4o5W74Yd2YiwdJeijNitSBFY0PuhMm5aTLFpJFdlLVG+0cKxo6HPpOXpas0z+TyPs8y6CvIlAZhQCmT0hy3YzZxNhEUmOd5gz6cM45m9wJK/0rlhaEk29jZ985fuD6qLOw46ihhDqeonhFNm9ZoUiuebd4f6TXjZnzc9FFTY7ihaaqueV4GtTVhswUFErMNQbWeQB6wLYmEDNkvDp9tsxkr0FjgKD/IyJGBf6oR21o+EyDAExBYOk6Ezol2G47ONp9WrFQDzvkB9cM81x7OfwheOU9+y8F4RACL20hhiDglNTqMCKLeKx9cqaiWug95qotg==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <Bertrand.Marquis@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
  • Delivery-date: Tue, 29 Oct 2024 16:26:21 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Thread-index: AQHbKTd3r9ds8GMpC0a1KoGz65CsELKd6/KA
  • Thread-topic: [PATCH v4 4/6] xen/arm: mpu: Create boot-time MPU protection regions

Hi Ayan,

I forgot another thing:


> diff --git a/xen/arch/arm/arm64/mpu/head.S b/xen/arch/arm/arm64/mpu/head.S
> new file mode 100644
> index 0000000000..9377ae778c
> --- /dev/null
> +++ b/xen/arch/arm/arm64/mpu/head.S
> @@ -0,0 +1,122 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
> +/*
> + * Start-of-day code for an Armv8-R MPU system.
> + */
> +
> +#include <asm/mm.h>
     ^— This feels suspicious, this header cannot be included by an assembly 
file

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.