[PATCH v2 0/2] Rename psr_mode_is_{32bit/user} to regs_mode_is_{32bit/user}

Michal Orzel posted 2 patches 2 years, 9 months ago
Test gitlab-ci failed
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20220222105613.20668-1-michal.orzel@arm.com
xen/arch/arm/arm64/vsysreg.c    |  4 ++--
xen/arch/arm/include/asm/regs.h |  6 ++---
xen/arch/arm/traps.c            | 42 ++++++++++++++++-----------------
xen/arch/arm/vcpreg.c           |  4 ++--
xen/arch/arm/vtimer.c           |  2 +-
5 files changed, 29 insertions(+), 29 deletions(-)
[PATCH v2 0/2] Rename psr_mode_is_{32bit/user} to regs_mode_is_{32bit/user}
Posted by Michal Orzel 2 years, 9 months ago
The request to rename psr_mode_is_32bit to regs_mode_is_32bit was make during
a discussion [1]. Because psr_mode_is_user shares the same prototype, we should
rename it as well to keep the naming consistent.

[1] https://marc.info/?l=xen-devel&m=156457538423787&w=2

Michal Orzel (2):
  xen/arm: Rename psr_mode_is_32bit to regs_mode_is_32bit
  xen/arm: Rename psr_mode_is_user to regs_mode_is_user

 xen/arch/arm/arm64/vsysreg.c    |  4 ++--
 xen/arch/arm/include/asm/regs.h |  6 ++---
 xen/arch/arm/traps.c            | 42 ++++++++++++++++-----------------
 xen/arch/arm/vcpreg.c           |  4 ++--
 xen/arch/arm/vtimer.c           |  2 +-
 5 files changed, 29 insertions(+), 29 deletions(-)

-- 
2.29.0


Re: [PATCH v2 0/2] Rename psr_mode_is_{32bit/user} to regs_mode_is_{32bit/user}
Posted by Julien Grall 2 years, 9 months ago
Hi Michal,

On 22/02/2022 10:56, Michal Orzel wrote:
> The request to rename psr_mode_is_32bit to regs_mode_is_32bit was make during
> a discussion [1]. Because psr_mode_is_user shares the same prototype, we should
> rename it as well to keep the naming consistent.
> 
> [1] https://marc.info/?l=xen-devel&m=156457538423787&w=2
> 
> Michal Orzel (2):
>    xen/arm: Rename psr_mode_is_32bit to regs_mode_is_32bit
>    xen/arm: Rename psr_mode_is_user to regs_mode_is_user

I have committed the two patches.

Thanks for the contribution!

Cheers,

> 
>   xen/arch/arm/arm64/vsysreg.c    |  4 ++--
>   xen/arch/arm/include/asm/regs.h |  6 ++---
>   xen/arch/arm/traps.c            | 42 ++++++++++++++++-----------------
>   xen/arch/arm/vcpreg.c           |  4 ++--
>   xen/arch/arm/vtimer.c           |  2 +-
>   5 files changed, 29 insertions(+), 29 deletions(-)
> 

-- 
Julien Grall