Skip to content

xen/lib: muldiv64() cleanup

Andrew Cooper xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5xen: Fix endian handling in muldiv64.cxen/lib/muldiv64.c+4 -21 reply
2/5arm/time: Sort headersxen/arch/arm/time.c+10 -91 reply
3/5x86/time: Sort headersxen/arch/x86/emul-i8254.c xen/arch/x86/time.c+28 -261 reply
4/5xen: Split muldiv64() out of lib.hxen/arch/arm/time.c xen/arch/riscv/include/asm/time.h xen/arch/x86/emul-i8254.c +5 more+37 -102 replies
5/5xen: Move x86-ism out of muldiv64.cxen/arch/x86/include/asm/muldiv.h xen/include/xen/muldiv.h xen/lib/muldiv64.c+28 -81 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchJan BeulichMichal Orzel
1/5R-b
2/5R-b
3/5A-b
4/5A-b A-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] xen/lib: muldiv64() cleanup

Split out of lib.h, remove x86-isms from the common library.

https://gitlab.com/xen-project/hardware/xen-staging/-/pipelines/2237126270

Andrew Cooper (5):
xen: Fix endian handling in muldiv64.c
arm/time: Sort headers
x86/time: Sort headers
xen: Split muldiv64() out of lib.h
xen: Move x86-ism out of muldiv64.c

 xen/arch/arm/time.c               | 21 ++++++++--------
 xen/arch/riscv/include/asm/time.h |  4 +--
 xen/arch/x86/emul-i8254.c         | 12 ++++-----
 xen/arch/x86/include/asm/muldiv.h | 20 +++++++++++++++
 xen/arch/x86/time.c               | 42 ++++++++++++++++---------------
 xen/common/bitops.c               | 12 +++++++++
 xen/include/xen/lib.h             |  2 --
 xen/include/xen/muldiv.h          | 26 +++++++++++++++++++
 xen/lib/muldiv64.c                | 19 +++++---------
 9 files changed, 105 insertions(+), 53 deletions(-)
 create mode 100644 xen/arch/x86/include/asm/muldiv.h
 create mode 100644 xen/include/xen/muldiv.h
Signature · 1 line
2.39.5