mbox series

[0/2] xen/arm: drop {boot_}phys_offset

Message ID 20240814094303.23611-1-michal.orzel@amd.com (mailing list archive)
Headers show
Series xen/arm: drop {boot_}phys_offset | expand

Message

Michal Orzel Aug. 14, 2024, 9:43 a.m. UTC
This has been on a TODO list for quite some time now. There is no real need
for these variables since we can ask the MMU to do the virt->maddr translation.

Michal Orzel (2):
  xen/arm: Drop {boot_}phys_offset usage
  xen/arm: head: Do not pass physical offset to start_xen

 xen/arch/arm/arm32/head.S     | 12 +++++-------
 xen/arch/arm/arm64/head.S     | 12 +++++-------
 xen/arch/arm/include/asm/mm.h |  2 +-
 xen/arch/arm/mmu/setup.c      | 16 ++++++----------
 xen/arch/arm/setup.c          |  5 ++---
 5 files changed, 19 insertions(+), 28 deletions(-)

Comments

Julien Grall Aug. 22, 2024, 10:36 a.m. UTC | #1
Hi Michal,

On 14/08/2024 10:43, Michal Orzel wrote:
> This has been on a TODO list for quite some time now. There is no real need
> for these variables since we can ask the MMU to do the virt->maddr translation.
> 
> Michal Orzel (2):
>    xen/arm: Drop {boot_}phys_offset usage
>    xen/arm: head: Do not pass physical offset to start_xen

I have committed the series.

Cheers,

> 
>   xen/arch/arm/arm32/head.S     | 12 +++++-------
>   xen/arch/arm/arm64/head.S     | 12 +++++-------
>   xen/arch/arm/include/asm/mm.h |  2 +-
>   xen/arch/arm/mmu/setup.c      | 16 ++++++----------
>   xen/arch/arm/setup.c          |  5 ++---
>   5 files changed, 19 insertions(+), 28 deletions(-)
 >