xen: Centralise byteswap infrastructure
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest15 patches 8 repliesIn review
- v516 patches 13 repliesSuperseded
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | xen: Implement common byte{order,swap}.hxen/ xen/ xen/ +2 more | +67 | 0 replies | |
| 2/15 | drivers/smmu-v3: Fix impending MISRA R20.6 violationxen/ | +5 | 3 replies | |
| 3/15 | xen/lib: Switch to xen/byteorder.hxen/ xen/ | +9 | 0 replies | |
| 4/15 | xen/device-tree: Remove use of *_to_cpup() helpersxen/ | +22 | 1 reply | |
| 5/15 | xen/decompressors: Remove use of *_to_cpup() helperstools/ tools/ tools/ +3 more | +43 | 1 reply | |
| 6/15 | xen/arch: Switch to new byteorder infrastructurexen/ xen/ xen/ +2 more | +7 | 0 replies | |
| 7/15 | xen/decompressors: Use new byteorder infrastructuretools/ xen/ xen/ +2 more | +1 | 0 replies | |
| 8/15 | xen: Remove old byteorder infrastructurexen/ xen/ xen/ +1 more | +0 | 0 replies | |
| 9/15 | crypto/vmac: Switch to xen/byteswap.hxen/ | +3 | 0 replies | |
| 10/15 | xsm/flask: Switch {asm -> xen}/byteorder.hxen/ xen/ xen/ +1 more | +13 | 1 reply | |
| 11/15 | xen/common: Switch {asm -> xen}/byteorder.hxen/ xen/ xen/ +4 more | +12 | 0 replies | |
| 12/15 | arm: Remove asm/byteorder.hxen/ xen/ xen/ +4 more | +11 | 1 reply | |
| 13/15 | ppc: Drop asm/byteorder.hxen/ xen/ xen/ | +2 | 1 reply | |
| 14/15 | riscv: Remove asm/byteorder.hxen/ xen/ | +2 | 0 replies | |
| 15/15 | x86: Drop asm/byteorder.hxen/ xen/ | +0 | 0 replies |
Reviews trailers per patch
All 15 patches have a Reviewed-by or Acked-by.
| Patch | Jan Beulich | Andrew Cooper | Oleksii Kurochko | Daniel P. Smith | Nicola Vetrini | Stefano Stabellini | Shawn Anastasio | Bertrand Marquis |
|---|---|---|---|---|---|---|---|---|
| 1/15 | R-b | |||||||
| 2/15 | R-b | R-b | ||||||
| 3/15 | R-b | |||||||
| 4/15 | A-b | |||||||
| 5/15 | R-b | |||||||
| 6/15 | R-b | |||||||
| 7/15 | A-b | |||||||
| 8/15 | R-b | |||||||
| 9/15 | A-b | R-b | ||||||
| 10/15 | A-b | |||||||
| 11/15 | A-b | |||||||
| 12/15 | A-b | |||||||
| 13/15 | R-b | |||||||
| 14/15 | R-b | |||||||
| 15/15 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 8 reviewers.
Cover letter [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
Signature · 1 line
2.39.5