From: Anders Roxell <anders.roxell@linaro.org>
To: linux-kernel@vger.kernel.org
Cc: catalin.marinas@arm.com, will.deacon@arm.com, arnd@arndb.de,
mingo@redhat.com, rostedt@goodmis.org, akpm@linux-foundation.org,
broonie@kernel.org, Anders Roxell <anders.roxell@linaro.org>
Subject: [RFC PATCH 0/3] Make allmodconfig boot in qemu-arm64
Date: Thu, 13 Dec 2018 13:29:07 +0100 [thread overview]
Message-ID: <20181213122910.24193-1-anders.roxell@linaro.org> (raw)
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
--
2.19.2
next reply other threads:[~2018-12-13 12:29 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-13 12:29 Anders Roxell [this message]
2018-12-13 12:29 ` [RFC PATCH 1/3] config: provide a fragment to enable gdb for qemu Anders Roxell
2018-12-13 12:40 ` Mark Brown
2018-12-18 8:45 ` Anders Roxell
2018-12-18 9:07 ` Arnd Bergmann
2018-12-18 13:29 ` Mark Brown
2018-12-13 12:29 ` [RFC PATCH 2/3] lib/ubsan: default UBSAN_ALIGNMENT to not set Anders Roxell
2018-12-13 12:29 ` [RFC PATCH 3/3] arm64: add a new config option KTEST_RUNNABLE Anders Roxell
2018-12-13 15:18 ` Mark Brown
2019-01-07 14:39 ` Mark Rutland
2019-01-07 14:43 ` Mark Rutland
2019-01-07 17:55 ` Mark Brown
2019-01-07 17:59 ` Mark Rutland
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181213122910.24193-1-anders.roxell@linaro.org \
--to=anders.roxell@linaro.org \
--cc=akpm@linux-foundation.org \
--cc=arnd@arndb.de \
--cc=broonie@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=rostedt@goodmis.org \
--cc=will.deacon@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®