arm64: configs: Add virtconfig
authorMark Brown <broonie@kernel.org>
Fri, 10 Feb 2023 19:52:49 +0000 (19:52 +0000)
committerArnd Bergmann <arnd@arndb.de>
Mon, 13 Feb 2023 19:18:29 +0000 (20:18 +0100)
commitc6cd63f5af3921c484be5789cf23e0f276de3a2f
treec24523df9ef392811d8cd325c82ad831fb9a994d
parenta63971257e66bbf354e8801623caffa965e9ba5c
arm64: configs: Add virtconfig

Provide a slimline configuration intended to be booted on virtual
machines, with the goal of providing a light configuration which will
boot on and enable features available in mach-virt.  This is defined in
terms of the standard defconfig, with an additional virt.config fragment
which disables options unneeded in a virtual configuration.

As a first step we just disable all the ARCH_ configuration options,
disabling the build of all the SoC specific drivers.  This results in a
kernel that builds about 25% faster in my testing, if this approach
works for people we can add further options.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230203-arm64-defconfigs-v1-3-cd0694a05f13@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm64/Makefile
arch/arm64/configs/virt.config [new file with mode: 0644]