|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH v6 00/15] xen: Centralise byteswap infrastructure
The diffstat speaks for itself.
Compared to v6, one patch (TMEM) committed, one new patch (drivers/smmu-v3) to
fix a MISRA regression, and the __{BIG,LITTLE}_ENDIAN_BITFIELD logic is
retained. See individual patches for details.
https://gitlab.com/xen-project/hardware/xen-staging/-/pipelines/1771377732
Andrew Cooper (7):
drivers/smmu-v3: Fix impending MISRA R20.6 violation
xsm/flask: Switch {asm -> xen}/byteorder.h
xen/common: Switch {asm -> xen}/byteorder.h
arm: Remove asm/byteorder.h
ppc: Drop asm/byteorder.h
riscv: Remove asm/byteorder.h
x86: Drop asm/byteorder.h
Lin Liu (8):
xen: Implement common byte{order,swap}.h
xen/lib: Switch to xen/byteorder.h
xen/device-tree: Remove use of *_to_cpup() helpers
xen/decompressors: Remove use of *_to_cpup() helpers
xen/arch: Switch to new byteorder infrastructure
xen/decompressors: Use new byteorder infrastructure
xen: Remove old byteorder infrastructure
crypto/vmac: Switch to xen/byteswap.h
tools/libs/guest/xg_dom_decompress_lz4.c | 10 +-
.../guest/xg_dom_decompress_unsafe_lzo1x.c | 14 +-
.../libs/guest/xg_dom_decompress_unsafe_xz.c | 13 +-
.../guest/xg_dom_decompress_unsafe_zstd.c | 3 +-
xen/arch/arm/alternative.c | 6 +-
xen/arch/arm/arm64/livepatch.c | 2 +-
xen/arch/arm/include/asm/arm32/io.h | 3 +-
xen/arch/arm/include/asm/arm64/io.h | 3 +-
xen/arch/arm/include/asm/byteorder.h | 16 --
xen/arch/arm/kernel.c | 2 +-
xen/arch/arm/vgic/vgic-mmio.c | 3 +-
xen/arch/ppc/include/asm/byteorder.h | 12 --
xen/arch/ppc/include/asm/page.h | 4 +-
xen/arch/ppc/mm-radix.c | 2 +-
xen/arch/riscv/include/asm/byteorder.h | 16 --
xen/arch/riscv/include/asm/io.h | 3 +-
xen/arch/x86/include/asm/byteorder.h | 29 ---
xen/arch/x86/include/asm/msi.h | 1 -
xen/common/bitmap.c | 5 +-
xen/common/device-tree/device-tree.c | 44 ++---
xen/common/libelf/libelf-private.h | 9 +-
xen/common/lz4/defs.h | 7 +-
xen/common/lzo.c | 1 -
xen/common/unlzo.c | 13 +-
xen/common/xz/private.h | 13 +-
xen/crypto/vmac.c | 76 +-------
xen/drivers/char/ehci-dbgp.c | 4 +-
xen/drivers/passthrough/arm/smmu-v3.c | 8 +-
xen/include/xen/bitmap.h | 2 +-
xen/include/xen/byteorder.h | 44 +++++
xen/include/xen/byteorder/big_endian.h | 102 ----------
xen/include/xen/byteorder/generic.h | 68 -------
xen/include/xen/byteorder/little_endian.h | 102 ----------
xen/include/xen/byteorder/swab.h | 179 ------------------
xen/include/xen/byteswap.h | 15 ++
xen/include/xen/config.h | 8 +
xen/include/xen/device_tree.h | 3 +-
xen/include/xen/libfdt/libfdt_env.h | 3 +-
xen/include/xen/unaligned.h | 3 +-
xen/lib/divmod.c | 5 +-
xen/lib/find-next-bit.c | 39 +---
xen/xsm/flask/ss/avtab.c | 4 +-
xen/xsm/flask/ss/conditional.c | 9 +-
xen/xsm/flask/ss/ebitmap.c | 9 +-
xen/xsm/flask/ss/policydb.c | 7 +-
45 files changed, 193 insertions(+), 731 deletions(-)
delete mode 100644 xen/arch/arm/include/asm/byteorder.h
delete mode 100644 xen/arch/ppc/include/asm/byteorder.h
delete mode 100644 xen/arch/riscv/include/asm/byteorder.h
delete mode 100644 xen/arch/x86/include/asm/byteorder.h
create mode 100644 xen/include/xen/byteorder.h
delete mode 100644 xen/include/xen/byteorder/big_endian.h
delete mode 100644 xen/include/xen/byteorder/generic.h
delete mode 100644 xen/include/xen/byteorder/little_endian.h
delete mode 100644 xen/include/xen/byteorder/swab.h
create mode 100644 xen/include/xen/byteswap.h
base-commit: 7f8c2dd829358406dc9e50d5e386e4d2b20b4303
--
2.39.5
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |