From 7c4789e52dea20defabf06170a17002c7b232eb3 Mon Sep 17 00:00:00 2001 From: Thomas Stokes Date: Sun, 20 Apr 2025 17:12:25 +0800 Subject: [PATCH 1/2] enable devtmpfs, procfs, and sysfs --- arch/wasm/Kconfig | 1 + arch/wasm/configs/defconfig | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/wasm/Kconfig b/arch/wasm/Kconfig index 827f7574609f6a..b7c1109900da4e 100644 --- a/arch/wasm/Kconfig +++ b/arch/wasm/Kconfig @@ -13,6 +13,7 @@ config WASM select GENERIC_HWEIGHT select GENERIC_IRQ_MIGRATION select GENERIC_IRQ_PROBE + select GENERIC_IRQ_SHOW select GENERIC_SMP_IDLE_THREAD select IRQ_DOMAIN select OF diff --git a/arch/wasm/configs/defconfig b/arch/wasm/configs/defconfig index 2f438ab0d72d54..d641084eef4786 100644 --- a/arch/wasm/configs/defconfig +++ b/arch/wasm/configs/defconfig @@ -32,6 +32,7 @@ CONFIG_VIRTIO_WASM=y CONFIG_SLOB=y # CONFIG_COMPAT_BRK is not set # CONFIG_VM_EVENT_COUNTERS is not set +CONFIG_DEVTMPFS=y # CONFIG_STANDALONE is not set # CONFIG_PREVENT_FIRMWARE_BUILD is not set # CONFIG_FW_LOADER is not set @@ -50,8 +51,6 @@ CONFIG_EXT2_FS=y # CONFIG_FILE_LOCKING is not set # CONFIG_DNOTIFY is not set # CONFIG_INOTIFY_USER is not set -# CONFIG_PROC_FS is not set -# CONFIG_SYSFS is not set # CONFIG_DEBUG_MISC is not set # CONFIG_RCU_TRACE is not set # CONFIG_RUNTIME_TESTING_MENU is not set From bb08b9388b4ec987fa806958ecf30d1e7dc440d9 Mon Sep 17 00:00:00 2001 From: Thomas Stokes Date: Sun, 20 Apr 2025 19:57:16 +0800 Subject: [PATCH 2/2] enable binfmt_script --- arch/wasm/configs/defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/wasm/configs/defconfig b/arch/wasm/configs/defconfig index d641084eef4786..f72d8d549b34f1 100644 --- a/arch/wasm/configs/defconfig +++ b/arch/wasm/configs/defconfig @@ -27,7 +27,6 @@ CONFIG_CC_OPTIMIZE_FOR_SIZE=y CONFIG_EMBEDDED=y CONFIG_VIRTIO_WASM=y # CONFIG_COMPAT_32BIT_TIME is not set -# CONFIG_BINFMT_SCRIPT is not set # CONFIG_COREDUMP is not set CONFIG_SLOB=y # CONFIG_COMPAT_BRK is not set