[PATCH v3 0/3] xen: have a more generic unaligned.h header

Juergen Gross posted 3 patches 4 months, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20231211131616.1839-1-jgross@suse.com
xen/arch/arm/arch.mk                 |  1 +
xen/arch/x86/include/asm/unaligned.h |  6 ----
xen/common/lz4/defs.h                |  2 +-
xen/common/lzo.c                     |  2 +-
xen/common/unlzo.c                   |  2 +-
xen/common/xz/private.h              |  2 +-
xen/common/zstd/mem.h                |  2 +-
xen/include/xen/unaligned.h          | 53 ++++++++++++++++------------
xen/lib/xxhash32.c                   |  2 +-
xen/lib/xxhash64.c                   |  2 +-
10 files changed, 38 insertions(+), 36 deletions(-)
delete mode 100644 xen/arch/x86/include/asm/unaligned.h
[PATCH v3 0/3] xen: have a more generic unaligned.h header
Posted by Juergen Gross 4 months, 2 weeks ago
Update Xen's unaligned.h header to support all architectures, allowing
to remove the architecture specific variants (x86 only until now).

Changes in V2:
- new patch 1 (Julien Grall)
- adjusted patch 2 (Jan Beulich)

Changes in V3:
- adjusted patch 2 (Andrew Cooper)

Juergen Gross (3):
  xen/arm: set -mno-unaligned-access compiler option for Arm32
  xen: make include/xen/unaligned.h usable on all architectures
  xen: remove asm/unaligned.h

 xen/arch/arm/arch.mk                 |  1 +
 xen/arch/x86/include/asm/unaligned.h |  6 ----
 xen/common/lz4/defs.h                |  2 +-
 xen/common/lzo.c                     |  2 +-
 xen/common/unlzo.c                   |  2 +-
 xen/common/xz/private.h              |  2 +-
 xen/common/zstd/mem.h                |  2 +-
 xen/include/xen/unaligned.h          | 53 ++++++++++++++++------------
 xen/lib/xxhash32.c                   |  2 +-
 xen/lib/xxhash64.c                   |  2 +-
 10 files changed, 38 insertions(+), 36 deletions(-)
 delete mode 100644 xen/arch/x86/include/asm/unaligned.h

-- 
2.35.3
Re: [PATCH v3 0/3] xen: have a more generic unaligned.h header
Posted by Julien Grall 4 months, 2 weeks ago
Hi Juergen,

On 11/12/2023 13:16, Juergen Gross wrote:
> Update Xen's unaligned.h header to support all architectures, allowing
> to remove the architecture specific variants (x86 only until now).
> 
> Changes in V2:
> - new patch 1 (Julien Grall)
> - adjusted patch 2 (Jan Beulich)
> 
> Changes in V3:
> - adjusted patch 2 (Andrew Cooper)
> 
> Juergen Gross (3):
>    xen/arm: set -mno-unaligned-access compiler option for Arm32
>    xen: make include/xen/unaligned.h usable on all architectures
>    xen: remove asm/unaligned.h

The series is now committed.

Cheers,

-- 
Julien Grall
Re: [PATCH v3 0/3] xen: have a more generic unaligned.h header
Posted by Julien Grall 4 months, 2 weeks ago

On 12/12/2023 11:44, Julien Grall wrote:
> Hi Juergen,
> 
> On 11/12/2023 13:16, Juergen Gross wrote:
>> Update Xen's unaligned.h header to support all architectures, allowing
>> to remove the architecture specific variants (x86 only until now).
>>
>> Changes in V2:
>> - new patch 1 (Julien Grall)
>> - adjusted patch 2 (Jan Beulich)
>>
>> Changes in V3:
>> - adjusted patch 2 (Andrew Cooper)
>>
>> Juergen Gross (3):
>>    xen/arm: set -mno-unaligned-access compiler option for Arm32
>>    xen: make include/xen/unaligned.h usable on all architectures
>>    xen: remove asm/unaligned.h
> 
> The series is now committed.

Either patches #2 or #3 broke gitlab CI:

https://gitlab.com/xen-project/hardware/xen/-/jobs/5733143618

I have reverted both of them to unblock it.

Cheers,

-- 
Julien Grall