[v2 0/4] xen/arm: Enable USBAN support

Julien Grall posted 4 patches 10 months, 1 week ago
Failed in applying to current master (apply log)
xen/arch/arm/Kconfig              |  1 +
xen/arch/arm/arm32/head.S         | 79 ++++++++++++++++++++++++-------
xen/arch/arm/arm64/head.S         | 69 ++++++++++++++++++++++-----
xen/arch/arm/include/asm/config.h | 23 +++++----
xen/arch/arm/include/asm/lpae.h   | 10 ++--
xen/arch/arm/mm.c                 | 24 ++++++----
xen/arch/arm/xen.lds.S            |  9 ++++
7 files changed, 161 insertions(+), 54 deletions(-)
[v2 0/4] xen/arm: Enable USBAN support
Posted by Julien Grall 10 months, 1 week ago
From: Julien Grall <jgrall@amazon.com>

Hi all,

At the moment, we are not able to enable UBSAN on Arm because the
final binary will be over the maximum size of Xen we currently support
(i.e. 2MB).

This patch series aim to lift the restrictions and also
enable UBSAN.

Cheers,

Julien Grall (4):
  xen/arm64: head: Don't map too much in boot_third
  xen/arm32: head: Don't map too much in boot_third
  xen/arm: Rework the code mapping Xen to avoid relying on the size of
    Xen
  xen/arm: Allow the user to build Xen with UBSAN

 xen/arch/arm/Kconfig              |  1 +
 xen/arch/arm/arm32/head.S         | 79 ++++++++++++++++++++++++-------
 xen/arch/arm/arm64/head.S         | 69 ++++++++++++++++++++++-----
 xen/arch/arm/include/asm/config.h | 23 +++++----
 xen/arch/arm/include/asm/lpae.h   | 10 ++--
 xen/arch/arm/mm.c                 | 24 ++++++----
 xen/arch/arm/xen.lds.S            |  9 ++++
 7 files changed, 161 insertions(+), 54 deletions(-)

-- 
2.40.1
Re: [v2 0/4] xen/arm: Enable USBAN support
Posted by Julien Grall 10 months ago
Hi all,

On 29/06/2023 21:11, Julien Grall wrote:
> From: Julien Grall <jgrall@amazon.com>
> 
> Hi all,
> 
> At the moment, we are not able to enable UBSAN on Arm because the
> final binary will be over the maximum size of Xen we currently support
> (i.e. 2MB).
> 
> This patch series aim to lift the restrictions and also
> enable UBSAN.
> 
> Cheers,
> 
> Julien Grall (4):
>    xen/arm64: head: Don't map too much in boot_third
>    xen/arm32: head: Don't map too much in boot_third
>    xen/arm: Rework the code mapping Xen to avoid relying on the size of
>      Xen
>    xen/arm: Allow the user to build Xen with UBSAN

This is now committed.

Cheers,

-- 
Julien Grall