diff mbox series

arm64: virtconfig: Further shrink the config

Message ID 20230221-arm64-virtconfig-slim-v1-1-604b64be7ec3@kernel.org (mailing list archive)
State Accepted
Commit 7bf891434919ae1492bb583dba349e895c818255
Headers show
Series arm64: virtconfig: Further shrink the config | expand

Commit Message

Mark Brown March 6, 2023, 3:34 p.m. UTC
After disabling platform support there's still some more pruning we can
do to the virtconfig size, there are a number of drivers and subsystems
which are not likely to be useful on mach-virt and so can be disabled in
order to further improve build times. Let's do so, noting that having PCI
device assignment means that PCI devices might potentially appear.

This is just an initial manual passthrough, there will be further savings
available especially if we take a much more focused approach.

Signed-off-by: Mark Brown <broonie@kernel.org>
---
 arch/arm64/configs/virt.config | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)


---
base-commit: fe15c26ee26efa11741a7b632e9f23b01aca4cc6
change-id: 20230221-arm64-virtconfig-slim-2eb0dd0a66d6

Best regards,

Comments

patchwork-bot+linux-soc@kernel.org March 17, 2023, 3:52 p.m. UTC | #1
Hello:

This patch was applied to soc/soc.git (for-next)
by Arnd Bergmann <arnd@arndb.de>:

On Mon, 06 Mar 2023 15:34:21 +0000 you wrote:
> After disabling platform support there's still some more pruning we can
> do to the virtconfig size, there are a number of drivers and subsystems
> which are not likely to be useful on mach-virt and so can be disabled in
> order to further improve build times. Let's do so, noting that having PCI
> device assignment means that PCI devices might potentially appear.
> 
> This is just an initial manual passthrough, there will be further savings
> available especially if we take a much more focused approach.
> 
> [...]

Here is the summary with links:
  - arm64: virtconfig: Further shrink the config
    https://git.kernel.org/soc/soc/c/7bf891434919

You are awesome, thank you!
diff mbox series

Patch

diff --git a/arch/arm64/configs/virt.config b/arch/arm64/configs/virt.config
index 6ef0a739717f..6865d54e68f8 100644
--- a/arch/arm64/configs/virt.config
+++ b/arch/arm64/configs/virt.config
@@ -1,3 +1,7 @@ 
+#
+# Base options for platforms
+#
+
 # CONFIG_ARCH_ACTIONS is not set
 # CONFIG_ARCH_SUNXI is not set
 # CONFIG_ARCH_ALPINE is not set
@@ -37,3 +41,20 @@ 
 # CONFIG_ARCH_VISCONTI is not set
 # CONFIG_ARCH_XGENE is not set
 # CONFIG_ARCH_ZYNQMP is not set
+
+#
+# Subsystems which can't be used in mach-virt
+#
+# CONFIG_CHROME_PLATFORMS is not set
+# CONFIG_EXTCON is not set
+# CONFIG_IIO is not set
+# CONFIG_MTD is not set
+# CONFIG_NEW_LEDS is not set
+# CONFIG_PWM is not set
+# CONFIG_REGULATOR is not set
+# CONFIG_SLIMBUS is not set
+# CONFIG_SND_SOC is not set
+# CONFIG_SOUNDWIRE is not set
+# CONFIG_SPI is not set
+# CONFIG_SURFACE_PLATFORMS is not set
+# CONFIG_THERMAL is not set