[PATCH 2/2] arm64: configs: Add virtconfig
Mark Brown
broonie at kernel.org
Mon Feb 6 08:26:34 PST 2023
Provide a slimline configuration intended to be booted on virtual
machines, providing a light configuration which will boot and
enable features available in mach-virt.
Signed-off-by: Mark Brown <broonie at kernel.org>
---
arch/arm64/Makefile | 4 ++++
arch/arm64/configs/virt.config | 43 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 47 insertions(+)
diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile
index 491ec81ae0b6..e86bf0ff5327 100644
--- a/arch/arm64/Makefile
+++ b/arch/arm64/Makefile
@@ -211,6 +211,10 @@ PHONY += defconfig
defconfig:
$(call merge_into_defconfig,base.config,platforms)
+PHONY += virtconfig
+virtconfig:
+ $(call merge_into_defconfig,base.config,virt)
+
define archhelp
echo '* Image.gz - Compressed kernel image (arch/$(ARCH)/boot/Image.gz)'
echo ' Image - Uncompressed kernel image (arch/$(ARCH)/boot/Image)'
diff --git a/arch/arm64/configs/virt.config b/arch/arm64/configs/virt.config
new file mode 100644
index 000000000000..a67903e15196
--- /dev/null
+++ b/arch/arm64/configs/virt.config
@@ -0,0 +1,43 @@
+CONFIG_ACPI=y
+CONFIG_ACPI_HOTPLUG_MEMORY=y
+CONFIG_ACPI_HMAT=y
+CONFIG_ACPI_APEI=y
+CONFIG_ACPI_APEI_GHES=y
+CONFIG_ACPI_APEI_PCIEAER=y
+CONFIG_ACPI_APEI_MEMORY_FAILURE=y
+CONFIG_ACPI_APEI_EINJ=y
+CONFIG_PCI=y
+CONFIG_PCIEPORTBUS=y
+CONFIG_PCIEAER=y
+CONFIG_PCI_IOV=y
+CONFIG_PCI_PASID=y
+CONFIG_HOTPLUG_PCI=y
+CONFIG_HOTPLUG_PCI_ACPI=y
+CONFIG_MHI_BUS_PCI_GENERIC=m
+CONFIG_VIRTIO_CONSOLE=y
+CONFIG_SERIAL_AMBA_PL011=y
+CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
+CONFIG_HW_RANDOM_VIRTIO=m
+CONFIG_DRM=m
+CONFIG_DRM_VIRTIO_GPU=m
+CONFIG_BLK_DEV_LOOP=y
+CONFIG_BLK_DEV_NBD=m
+CONFIG_VIRTIO_BLK=y
+CONFIG_MACVLAN=m
+CONFIG_MACVTAP=m
+CONFIG_TUN=y
+CONFIG_VETH=m
+CONFIG_VIRTIO_NET=m
+CONFIG_SOUND=m
+CONFIG_SND_VIRTIO=m
+CONFIG_VFIO=y
+CONFIG_VFIO_PCI=y
+CONFIG_VIRTIO_PCI=y
+CONFIG_VIRTIO_BALLOON=y
+CONFIG_VIRTIO_MEM=m
+CONFIG_VIRTIO_INPUT=m
+CONFIG_VIRTIO_MMIO=y
+CONFIG_VIRTIO_IOMMU=y
+CONFIG_XEN_GNTDEV=y
+CONFIG_XEN_GRANT_DEV_ALLOC=y
+CONFIG_EFIVAR_FS=y
--
2.30.2
More information about the linux-arm-kernel
mailing list