Skip to content

linux-headers: arch fixups

Michael S. Tsirkin qemu-devel 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest3 patches 5 repliesIn review
  2. v53 patches 3 repliesSuperseded
  3. v43 patches 2 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v32 patches3 repliesSuperseded
v23 patches6 repliesSuperseded

Changes in v6 from the cover letter

rebase to master

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3update-linux-headers.sh: unistd.h, kvm consistencyscripts/update-linux-headers.sh+12 -60 replies
2/3linux-headers: add unistd.h on all archeslinux-headers/asm-arm/bitsperlong.h linux-headers/asm-arm64/bitsperlong.h linux-headers/asm-generic/bitsperlong.h +9 more+957 -60 replies
3/3linux-headers: add kvm header for mipslinux-headers/asm-mips/kvm.h+22 -30 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-Daudé
1/3R-b
2/3
3/3

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

Read the v6 thread

Cover letter [Qemu-devel] [PATCH v6 0/3] linux-headers: arch fixups

It turns out that we have unistd.h and kvm headers for some architectures but not others. We are thus unable to use e.g. usefaultfd on these systems unless system headers have been updated.

Fix up update-linux-headers.sh to make sure we auto-updates all architectures which have linux-headers/ (unfortunately this still does not mean "all linux systems").

Tested on x86 only.

Pls consider merging this through the ARM tree.

Changes from v5:
rebase to master

Michael S. Tsirkin (3):
update-linux-headers.sh: unistd.h, kvm consistency
linux-headers: add unistd.h on all arches
linux-headers: add kvm header for mips

 linux-headers/asm-arm/bitsperlong.h     |   1 +
 linux-headers/asm-arm64/bitsperlong.h   |  24 +
 linux-headers/asm-generic/bitsperlong.h |  16 +
 linux-headers/asm-generic/unistd.h      | 781 ++++++++++++++++++++++++++++++++
 linux-headers/asm-mips/bitsperlong.h    |   9 +
 linux-headers/asm-mips/kvm.h            |  25 +-
 linux-headers/asm-mips/sgidefs.h        |  45 ++
 linux-headers/asm-mips/unistd.h         |  44 +-
 linux-headers/asm-powerpc/bitsperlong.h |  13 +
 linux-headers/asm-s390/bitsperlong.h    |  14 +
 linux-headers/asm-s390/unistd_32.h      |   1 +
 linux-headers/asm-s390/unistd_64.h      |   1 +
 linux-headers/asm-x86/bitsperlong.h     |  14 +
 scripts/update-linux-headers.sh         |  18 +-
 14 files changed, 991 insertions(+), 15 deletions(-)
 create mode 100644 linux-headers/asm-arm/bitsperlong.h
 create mode 100644 linux-headers/asm-arm64/bitsperlong.h
 create mode 100644 linux-headers/asm-generic/bitsperlong.h
 create mode 100644 linux-headers/asm-generic/unistd.h
 create mode 100644 linux-headers/asm-mips/bitsperlong.h
 create mode 100644 linux-headers/asm-mips/sgidefs.h
 create mode 100644 linux-headers/asm-powerpc/bitsperlong.h
 create mode 100644 linux-headers/asm-s390/bitsperlong.h
 create mode 100644 linux-headers/asm-x86/bitsperlong.h
Signature · 1 line
MST