RFC Make allmodconfig boot in qemu-arm64
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | config: provide a fragment to enable gdb for qemukernel/ | +7 | 4 replies | |
| 2/3 | lib/ubsan: default UBSAN_ALIGNMENT to not setlib/ | +9 | 0 replies | |
| 3/3 | arm64: add a new config option KTEST_RUNNABLEarch/ drivers/ init/ | +10 | 5 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/3] Make allmodconfig boot in qemu-arm64
Hi,
With this patch set I've been able to get a allmodconfig kernel to boot under qemu-system-aarch64.
The patch "config: provide a fragment to enable gdb for qemu" I found useful when trying to figure out how it fall over. So when I have to debug a kernel with gdb I just ran this:
$ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -skj$(getconf _NPROCESSORS_ONLN) O=obj-arm64-next-20181213 allmodconfig kvm_guest.config qemu-gdb.config $ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -skj$(getconf _NPROCESSORS_ONLN) O=obj-arm64-next-20181213 Image
Before we do the same job on other architectures we wanted to reach out and ask to see if this seams a reasonable way forward ?
The end goal would be to be able to run test suites on a allmodconfig kernel. We may end up with another fragment that turn off/on a lot of debug options and selftests during boot up since that may cause issues for other test suites like kseftest, LTP and so on.
Cheers,
Anders
Anders Roxell (3):
config: provide a fragment to enable gdb for qemu lib/ubsan: default UBSAN_ALIGNMENT to not set
arm64: add a new config option KTEST_RUNNABLE
arch/arm64/Kconfig | 8 ++++++++ drivers/tty/hvc/Kconfig | 1 + init/Kconfig | 1 + kernel/configs/qemu-gdb.config | 7 +++++++ lib/Kconfig.ubsan | 14 +++++++++----- 5 files changed, 26 insertions(+), 5 deletions(-) create mode 100644 kernel/configs/qemu-gdb.config
Signature · 1 line
2.19.2