mbox series

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

Message ID 20231211131616.1839-1-jgross@suse.com (mailing list archive)
Headers show
Series xen: have a more generic unaligned.h header | expand

Message

Jürgen Groß Dec. 11, 2023, 1:16 p.m. UTC
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

Comments

Julien Grall Dec. 12, 2023, 11:44 a.m. UTC | #1
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 Dec. 12, 2023, 3:45 p.m. UTC | #2
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,