[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v7 2/3] arm/mpu: Introduce `v8r_el1_msa` device tree property for domains
- To: Luca Fancellu <luca.fancellu@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: "Orzel, Michal" <michal.orzel@xxxxxxx>
- Date: Wed, 13 May 2026 14:44:26 +0200
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=arm.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
- 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=xy5TRS+D5s54Wr780fF87hz1xDyTSeCMmrSyRjQnrxY=; b=eFOc/voTWdRH/4eJrVXwZjXKgwys7QY6t+36ho2BnpZbH8WwwRngJ7pWvydp/MdWndfNdxM2QDb7SbC/QDFd9FOet3PIPQZGoinfvtf9O0+D+GRZUg439aYGSxnLgUv1QtLRWwLKoz91a6Yc6tbJvgNSx5+g+BjyRSoS78LlXRS/HZ7q57B6NxQ75MuosAu5Q9AWh1dAxYkOBW98kNAlR7ATyz9FAtmKETiz8AUfcUBsaViYeZNWEMTKZTFFfmiReBjWsbVjWtp/2FGuCKJl4CI9FzzSreu/EsMDNzWG/c7FG2TGggvIC8LLHVjr9oWsx2jWaObvW76XFo/ZCzsghQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=dcYCbzrigERLMJ5codk/tBuyv1Tv6DSZesWj5i0+JiWMq3KTjWHjBUmlATkHrid4ugXP5QEdxWq2gajF344VLJbKyY247daHRJ4OBlKpCkbKfZGL7aVk6MgoLPy0+qSF4ntrDxGryIKK2QgXCd4gUum/t1wCBp/lfPteikPl11ZoMM+df6sVDUA17VxWM27taqyrDYeJsdCJHxKMG4KbtiYatXQpp9dCJl4Gn8at5/d6LusCIsox7ClRrpfp+xCbcOBfZO3WaV8WpWWr1E4cNkG9WK3qjX6HeFOImZtiCwqpW81i9atCHei6pKlxB9pGVTYKIecx4JSq1rrb7xgJfw==
- Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=selector1 header.d=amd.com header.i="@amd.com" header.h="From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck"
- Cc: Harry Ramsey <harry.ramsey@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>
- Delivery-date: Wed, 13 May 2026 12:44:50 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 13-May-26 14:41, Luca Fancellu wrote:
> From: Harry Ramsey <harry.ramsey@xxxxxxx>
>
> Add a new device tree property `v8r_el1_msa` to select the MSA (memory
> system architecture) at EL1 for Armv8-R architecture: MPU or MMU, the
> former is the default if the property is not passed.
>
> Implement the dom0less path to parse the new device tree property, add
> a new domctl hypercall input parameter `v8r_el1_msa` for arm and
> add the sanitisation in arch_sanitise_domain_config(), the parameter
> is intended to be used on CONFIG_MPU systems and returns an error if
> selected for MMU.
>
> While there, add explicit padding and check that it's zero during
> arch domain config sanitisation, given the breaking change, bump the
> XEN_DOMCTL_INTERFACE_VERSION.
>
> Signed-off-by: Harry Ramsey <harry.ramsey@xxxxxxx>
> Signed-off-by: Luca Fancellu <luca.fancellu@xxxxxxx>
Reviewed-by: Michal Orzel <michal.orzel@xxxxxxx>
~Michal
|