[PATCH 3/3] arm64: configs: Add virtconfig

Mark Brown broonie at kernel.org
Sat Feb 11 15:10:22 PST 2023


On Sat, Feb 11, 2023 at 04:37:02PM +0900, Masahiro Yamada wrote:

> Yeah, I have a _local_ script to apply
> a similar config fragragment.

> When I run QEMU, I disable unneeded CONFIG_ARCH_*,
> and also disable unneeded sub-systems.

> Not only me, many people are doing similar in their local env,
> I guess.

Me too - I've got a config I actually use when doing development
that's slimmed down a lot (it's a bit bigger due to me using the
Arm FVPs for some things).  I suspect you're right that many
people who do this stuff regularly have one, it's mostly when
someone is doing cross architecture work rather than specifically
targetting arm64 that it'd make an immediate difference though
it's possible some of us will decide we can stop bothering
maintianing our own configs.

> Of course, I will not upstream my set of CONFIG options
> since it is just my preference.
> After all, this depends on people in my opinion.

There's definitely room for opinion with this, for example with
some of the virtio devices which are less frequently used in
development.

> BTW, the minimal set for booting + minimal features
> might be similar to what Buildroot provides?
> I do not know... It booted at least when I tried some years ago.

> https://github.com/buildroot/buildroot/blob/master/board/qemu/aarch64-virt/linux.config

It does look pluasible - it looks like it might be slightly
bigger than just mach-virt since it's got ARCH_VEXPRESS and thing
slike the SMMU and PL320 turned on which I suspect means it's
intended to support the Arm models too.  There might be some
other stuff needed for common test programs or systemd though.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20230211/b4992e9e/attachment.sig>


More information about the linux-arm-kernel mailing list