Hi Julien,

> -----Original Message-----
> Subject: [PATCH for-4.17] xen/arm: Support properly __ro_after_init on Arm
> 
> From: Julien Grall <jgr...@amazon.com>
> 
> __ro_after_init was introduced recently to prevent modifying
> some variables after init.
> 
> At the moment, on Arm, the variables will still be accessible
> because the region permission is not updated.
> 
> Address that, but moving the sections .data.ro_after_init
> out of .data and then mark the region read-only once we finish
> to boot.
> 
> Signed-off-by: Julien Grall <jgr...@amazon.com>

Tested-by: Henry Wang <henry.w...@arm.com>

Kind regards,
Henry

Reply via email to