mbox series

[Xen-devel,for-4.12,0/2] xen/arm: mm: Boot fixes

Message ID 20181129113744.2797-1-julien.grall@arm.com
Headers show
Series xen/arm: mm: Boot fixes | expand

Message

Julien Grall Nov. 29, 2018, 11:37 a.m. UTC
Hi all,

This patch series fixes 2 bug in the boot code for the memory management.

The first patch should resolve Xen stall when setting SCTLR.XN on some
platforms.

The second patch should allow to boot Xen again the Hikey board.

Cheers,

Cc: Shameerali Kolothum Thodi <shameerali.kolothum.thodi@huawei.com>
Cc: Jan-Peter Larsson <Jan-Peter.Larsson@arm.com>
Cc: Matthew Daley <mattd@bugfuzz.com>

Julien Grall (2):
  xen/arm: mm: Set-up page permission for Xen mappings earlier on
  xen/arm: Stop relocating Xen

 xen/arch/arm/arm32/head.S | 54 +++-----------------------------------
 xen/arch/arm/arm64/head.S | 50 +++++------------------------------
 xen/arch/arm/mm.c         | 67 ++++++++++++++++++-----------------------------
 xen/arch/arm/setup.c      | 65 +++------------------------------------------
 xen/include/asm-arm/mm.h  |  2 +-
 5 files changed, 39 insertions(+), 199 deletions(-)

Comments

Matthew Daley Dec. 1, 2018, 1:27 a.m. UTC | #1
Hi Julien,

These patches fix my Hikey960 problems - I'm able to boot all expected
CPUs without trouble now.

Feel free to add
Tested-by: Matthew Daley <mattd@bugfuzz.com>
if you want.

Thanks for the good work!

- Matthew

On Fri, 30 Nov 2018 at 00:37, Julien Grall <julien.grall@arm.com> wrote:
>
> Hi all,
>
> This patch series fixes 2 bug in the boot code for the memory management.
>
> The first patch should resolve Xen stall when setting SCTLR.XN on some
> platforms.
>
> The second patch should allow to boot Xen again the Hikey board.
>
> Cheers,
>
> Cc: Shameerali Kolothum Thodi <shameerali.kolothum.thodi@huawei.com>
> Cc: Jan-Peter Larsson <Jan-Peter.Larsson@arm.com>
> Cc: Matthew Daley <mattd@bugfuzz.com>
>
> Julien Grall (2):
>   xen/arm: mm: Set-up page permission for Xen mappings earlier on
>   xen/arm: Stop relocating Xen
>
>  xen/arch/arm/arm32/head.S | 54 +++-----------------------------------
>  xen/arch/arm/arm64/head.S | 50 +++++------------------------------
>  xen/arch/arm/mm.c         | 67 ++++++++++++++++++-----------------------------
>  xen/arch/arm/setup.c      | 65 +++------------------------------------------
>  xen/include/asm-arm/mm.h  |  2 +-
>  5 files changed, 39 insertions(+), 199 deletions(-)
>
> --
> 2.11.0
>