Skip to content

RFC try another approach for uapi headers

Andrew Jones kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2lib: link in linux kernel headers (uapi).gitignore Makefile configure +6 more+17 -180 replies
2/2Revert "arm/arm64: import include/uapi/linux/psci.h"lib/arm/asm/uapi-psci.h lib/arm64/asm/uapi-psci.h+0 -740 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [kvm-unit-tests RFC PATCH 0/2] try another approach for uapi headers

Rather than import uapi headers, just include them. I've put an RFC on this series because it will now require kernel headers to be installed on the build machine. I'm guessing that's not a big problem, but before we commit to it, it'd be good to hear opinions from others.

This change wouldn't be worth it just for psci.h, but we're looking at PCI support now, and thus we'll also want pci.h (and pci_regs.h). Although after pci.h I'm not sure what else we'll eventually want. If nothing, then maybe importing pci.h is also the right thing to do?

Thanks,
drew

Andrew Jones (2):
lib: link in linux kernel headers (uapi) Revert "arm/arm64: import include/uapi/linux/psci.h"

 .gitignore                |  1 +
 Makefile                  |  4 +--
 configure                 |  9 ++++++
 lib/arm/asm/page.h        |  2 +-
 lib/arm/asm/psci.h        |  2 +-
 lib/arm/asm/uapi-psci.h   | 73 -----------------------------------------------
 lib/arm64/asm/page.h      |  2 +-
 lib/arm64/asm/psci.h      |  2 +-
 lib/arm64/asm/uapi-psci.h |  1 -
 lib/asm-generic/page.h    |  2 +-
 lib/const.h               | 11 -------
 11 files changed, 17 insertions(+), 92 deletions(-)
 delete mode 100644 lib/arm/asm/uapi-psci.h
 delete mode 100644 lib/arm64/asm/uapi-psci.h
 delete mode 100644 lib/const.h
Signature · 1 line
2.4.3