DistroKit Mailinglist
 help / color / mirror / Atom feed
* [DistroKit] [PATCH v1 0/9] address CI warnings for the MIPS platform
@ 2024-08-21  9:51 Oleksij Rempel
  2024-08-21  9:51 ` [DistroKit] [PATCH v1 1/9] mips: kernel-malta: set page size to 4k Oleksij Rempel
                   ` (8 more replies)
  0 siblings, 9 replies; 12+ messages in thread
From: Oleksij Rempel @ 2024-08-21  9:51 UTC (permalink / raw)
  To: distrokit; +Cc: Oleksij Rempel

This series of patches is address different CI warnings for the MIPS and
MIPSEL platforms.

Oleksij Rempel (9):
  mips: kernel-malta: set page size to 4k
  mips: barebox-malta: disable FS_CRAMFS
  mips: barebox-malta: enable MMU
  mips: barebox-malta: use MALLOC_TLSF
  mips/mipsel: barebox: use CONSOLE_ACTIVATE_NONE
  mips: kernel-malta: enable UBIFS
  mips: kernel-malta: enable SQUASHFS
  mipsel: kernel: enable PCI by default and sync it with malta config
  reason: MIPS: add PCI exception for ATH79 arch

 configs/bsp.ref                               |   2 +-
 configs/platform-mips/barebox-ar9331.config   |   4 +-
 .../platform-mips/barebox-ar9331.config.diff  |   2 +-
 configs/platform-mips/barebox-malta.config    |  12 +-
 .../platform-mips/barebox-malta.config.diff   |   6 +-
 configs/platform-mips/barebox.config          |   4 +-
 configs/platform-mips/kernelconfig-malta      | 108 ++++---
 configs/platform-mips/kernelconfig-malta.diff |  91 +-----
 .../platform-mipsel/barebox-malta.config.diff |   4 +-
 configs/platform-mipsel/barebox.config        |   4 +-
 configs/platform-mipsel/kernelconfig          | 263 +++++++++++++++++-
 .../platform-mipsel/kernelconfig-malta.diff   | 208 ++------------
 12 files changed, 371 insertions(+), 337 deletions(-)

--
2.39.2




^ permalink raw reply	[flat|nested] 12+ messages in thread

* [DistroKit] [PATCH v1 1/9] mips: kernel-malta: set page size to 4k
  2024-08-21  9:51 [DistroKit] [PATCH v1 0/9] address CI warnings for the MIPS platform Oleksij Rempel
@ 2024-08-21  9:51 ` Oleksij Rempel
  2024-08-21  9:51 ` [DistroKit] [PATCH v1 2/9] mips: barebox-malta: disable FS_CRAMFS Oleksij Rempel
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: Oleksij Rempel @ 2024-08-21  9:51 UTC (permalink / raw)
  To: distrokit; +Cc: Oleksij Rempel

QA tool complains:
4KiB page size is the most common supported page size across
architecture with best software compatibility and least internal
fragmentation.  This comes at the cost of increased TLB usage and page
table size.

For more server-like workloads (more processes, larger executables), a
bigger page size can be a better trade-off, but the rationale should be
explicitly documented by overriding this check.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 configs/platform-mips/kernelconfig-malta      | 4 ++--
 configs/platform-mips/kernelconfig-malta.diff | 2 --
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/configs/platform-mips/kernelconfig-malta b/configs/platform-mips/kernelconfig-malta
index b5bd750e..41f77b74 100644
--- a/configs/platform-mips/kernelconfig-malta
+++ b/configs/platform-mips/kernelconfig-malta
@@ -349,8 +349,8 @@ CONFIG_HARDWARE_WATCHPOINTS=y
 #
 CONFIG_32BIT=y
 CONFIG_ZBOOT_LOAD_ADDRESS=0x0
-# CONFIG_PAGE_SIZE_4KB is not set
-CONFIG_PAGE_SIZE_16KB=y
+CONFIG_PAGE_SIZE_4KB=y
+# CONFIG_PAGE_SIZE_16KB is not set
 # CONFIG_PAGE_SIZE_64KB is not set
 CONFIG_ARCH_FORCE_MAX_ORDER=11
 CONFIG_BOARD_SCACHE=y
diff --git a/configs/platform-mips/kernelconfig-malta.diff b/configs/platform-mips/kernelconfig-malta.diff
index 679bf625..7c0ceeb2 100644
--- a/configs/platform-mips/kernelconfig-malta.diff
+++ b/configs/platform-mips/kernelconfig-malta.diff
@@ -1172,8 +1172,6 @@ CONFIG_OF_MDIO=m
 # CONFIG_OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW is undefined
 # CONFIG_OVERLAY_FS_REDIRECT_DIR is undefined
 CONFIG_PAGE_POOL_STATS=y
-CONFIG_PAGE_SIZE_16KB=y
-# CONFIG_PAGE_SIZE_4KB is not set
 # CONFIG_PANIC_ON_OOPS is not set
 CONFIG_PANIC_ON_OOPS_VALUE=0
 CONFIG_PANIC_TIMEOUT=0
-- 
2.39.2




^ permalink raw reply	[flat|nested] 12+ messages in thread

* [DistroKit] [PATCH v1 2/9] mips: barebox-malta: disable FS_CRAMFS
  2024-08-21  9:51 [DistroKit] [PATCH v1 0/9] address CI warnings for the MIPS platform Oleksij Rempel
  2024-08-21  9:51 ` [DistroKit] [PATCH v1 1/9] mips: kernel-malta: set page size to 4k Oleksij Rempel
@ 2024-08-21  9:51 ` Oleksij Rempel
  2024-08-21  9:51 ` [DistroKit] [PATCH v1 3/9] mips: barebox-malta: enable MMU Oleksij Rempel
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: Oleksij Rempel @ 2024-08-21  9:51 UTC (permalink / raw)
  To: distrokit; +Cc: Oleksij Rempel

Cramfs is not used

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 configs/platform-mips/barebox-malta.config      | 2 +-
 configs/platform-mips/barebox-malta.config.diff | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/configs/platform-mips/barebox-malta.config b/configs/platform-mips/barebox-malta.config
index 9433c0ab..991902c0 100644
--- a/configs/platform-mips/barebox-malta.config
+++ b/configs/platform-mips/barebox-malta.config
@@ -650,7 +650,7 @@ CONFIG_FS_LEGACY=y
 # Consider updating them.
 #
 CONFIG_FS_AUTOMOUNT=y
-CONFIG_FS_CRAMFS=y
+# CONFIG_FS_CRAMFS is not set
 # CONFIG_FS_EXT4 is not set
 CONFIG_FS_RAMFS=y
 CONFIG_FS_DEVFS=y
diff --git a/configs/platform-mips/barebox-malta.config.diff b/configs/platform-mips/barebox-malta.config.diff
index 596f1786..c7e48a9e 100644
--- a/configs/platform-mips/barebox-malta.config.diff
+++ b/configs/platform-mips/barebox-malta.config.diff
@@ -72,7 +72,6 @@ CONFIG_DRIVER_SERIAL_NS16550_PCI=y
 # CONFIG_EEPROM_AT25 is undefined
 CONFIG_EXPERIMENTAL=y
 # CONFIG_FIRMWARE_ALTERA_SERIAL is undefined
-CONFIG_FS_CRAMFS=y
 CONFIG_FS_FAT=y
 CONFIG_FS_FAT_LFN=y
 CONFIG_FS_FAT_WRITE=y
-- 
2.39.2




^ permalink raw reply	[flat|nested] 12+ messages in thread

* [DistroKit] [PATCH v1 3/9] mips: barebox-malta: enable MMU
  2024-08-21  9:51 [DistroKit] [PATCH v1 0/9] address CI warnings for the MIPS platform Oleksij Rempel
  2024-08-21  9:51 ` [DistroKit] [PATCH v1 1/9] mips: kernel-malta: set page size to 4k Oleksij Rempel
  2024-08-21  9:51 ` [DistroKit] [PATCH v1 2/9] mips: barebox-malta: disable FS_CRAMFS Oleksij Rempel
@ 2024-08-21  9:51 ` Oleksij Rempel
  2024-08-21  9:51 ` [DistroKit] [PATCH v1 4/9] mips: barebox-malta: use MALLOC_TLSF Oleksij Rempel
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: Oleksij Rempel @ 2024-08-21  9:51 UTC (permalink / raw)
  To: distrokit; +Cc: Oleksij Rempel

The MMU should be enabled for performance reasons

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 configs/platform-mips/barebox-malta.config      | 2 +-
 configs/platform-mips/barebox-malta.config.diff | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/configs/platform-mips/barebox-malta.config b/configs/platform-mips/barebox-malta.config
index 991902c0..773ac092 100644
--- a/configs/platform-mips/barebox-malta.config
+++ b/configs/platform-mips/barebox-malta.config
@@ -90,7 +90,7 @@ CONFIG_IMAGE_COMPRESSION=y
 # CONFIG_IMAGE_COMPRESSION_GZIP is not set
 CONFIG_IMAGE_COMPRESSION_XZKERN=y
 # CONFIG_IMAGE_COMPRESSION_NONE is not set
-# CONFIG_MMU is not set
+CONFIG_MMU=y
 CONFIG_HAVE_CONFIGURABLE_TEXT_BASE=y
 CONFIG_TEXT_BASE=0xa0800000
 CONFIG_BAREBOX_MAX_IMAGE_SIZE=0x400000
diff --git a/configs/platform-mips/barebox-malta.config.diff b/configs/platform-mips/barebox-malta.config.diff
index c7e48a9e..313cc926 100644
--- a/configs/platform-mips/barebox-malta.config.diff
+++ b/configs/platform-mips/barebox-malta.config.diff
@@ -115,7 +115,6 @@ CONFIG_MENU=y
 # CONFIG_MFD_STPMIC1 is not set
 # CONFIG_MFD_TWL4030 is not set
 # CONFIG_MFD_TWL6030 is not set
-# CONFIG_MMU is not set
 # CONFIG_MTD_DATAFLASH is undefined
 # CONFIG_MTD_M25P80 is undefined
 CONFIG_MTD_OOB_DEVICE=y
-- 
2.39.2




^ permalink raw reply	[flat|nested] 12+ messages in thread

* [DistroKit] [PATCH v1 4/9] mips: barebox-malta: use MALLOC_TLSF
  2024-08-21  9:51 [DistroKit] [PATCH v1 0/9] address CI warnings for the MIPS platform Oleksij Rempel
                   ` (2 preceding siblings ...)
  2024-08-21  9:51 ` [DistroKit] [PATCH v1 3/9] mips: barebox-malta: enable MMU Oleksij Rempel
@ 2024-08-21  9:51 ` Oleksij Rempel
  2024-08-21  9:51 ` [DistroKit] [PATCH v1 5/9] mips/mipsel: barebox: use CONSOLE_ACTIVATE_NONE Oleksij Rempel
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: Oleksij Rempel @ 2024-08-21  9:51 UTC (permalink / raw)
  To: distrokit; +Cc: Oleksij Rempel

Malloc TLSF should better than DLMALLOC

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 configs/platform-mips/barebox-malta.config      | 4 ++--
 configs/platform-mips/barebox-malta.config.diff | 2 --
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/configs/platform-mips/barebox-malta.config b/configs/platform-mips/barebox-malta.config
index 773ac092..094b8dc3 100644
--- a/configs/platform-mips/barebox-malta.config
+++ b/configs/platform-mips/barebox-malta.config
@@ -101,8 +101,8 @@ CONFIG_MALLOC_SIZE=0x400000
 # end of memory layout
 
 CONFIG_EXPERIMENTAL=y
-CONFIG_MALLOC_DLMALLOC=y
-# CONFIG_MALLOC_TLSF is not set
+# CONFIG_MALLOC_DLMALLOC is not set
+CONFIG_MALLOC_TLSF=y
 # CONFIG_KALLSYMS is not set
 # CONFIG_PANIC_HANG is not set
 CONFIG_PROMPT="barebox:"
diff --git a/configs/platform-mips/barebox-malta.config.diff b/configs/platform-mips/barebox-malta.config.diff
index 313cc926..6e5ee679 100644
--- a/configs/platform-mips/barebox-malta.config.diff
+++ b/configs/platform-mips/barebox-malta.config.diff
@@ -98,9 +98,7 @@ CONFIG_I2C_GPIO=y
 # CONFIG_LED_TRIGGERS is undefined
 # CONFIG_MACH_MIPS_ATH79 is not set
 CONFIG_MACH_MIPS_MALTA=y
-CONFIG_MALLOC_DLMALLOC=y
 CONFIG_MALLOC_SIZE=0x400000
-# CONFIG_MALLOC_TLSF is not set
 CONFIG_MD5=y
 # CONFIG_MDIO_BITBANG is not set
 # CONFIG_MDIO_GPIO is undefined
-- 
2.39.2




^ permalink raw reply	[flat|nested] 12+ messages in thread

* [DistroKit] [PATCH v1 5/9] mips/mipsel: barebox: use CONSOLE_ACTIVATE_NONE
  2024-08-21  9:51 [DistroKit] [PATCH v1 0/9] address CI warnings for the MIPS platform Oleksij Rempel
                   ` (3 preceding siblings ...)
  2024-08-21  9:51 ` [DistroKit] [PATCH v1 4/9] mips: barebox-malta: use MALLOC_TLSF Oleksij Rempel
@ 2024-08-21  9:51 ` Oleksij Rempel
  2024-08-21 10:07   ` Ahmad Fatoum
  2024-08-21  9:51 ` [DistroKit] [PATCH v1 6/9] mips: kernel-malta: enable UBIFS Oleksij Rempel
                   ` (3 subsequent siblings)
  8 siblings, 1 reply; 12+ messages in thread
From: Oleksij Rempel @ 2024-08-21  9:51 UTC (permalink / raw)
  To: distrokit; +Cc: Oleksij Rempel

For system booting with device tree, the default console should be
specifie via /chosen/stdout-path and barebox should not unconditionally
enable any consoles. This avoids issues with probe order
(CONFIG_CONSOLE_ACTIVATE_FIRST) and crosstalk with serial devices that
don't expect console output (CONFIG_CONSOLE_ACTIVATE_ALL).

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 configs/platform-mips/barebox-ar9331.config       | 4 ++--
 configs/platform-mips/barebox-ar9331.config.diff  | 2 +-
 configs/platform-mips/barebox-malta.config        | 4 ++--
 configs/platform-mips/barebox-malta.config.diff   | 2 +-
 configs/platform-mips/barebox.config              | 4 ++--
 configs/platform-mipsel/barebox-malta.config.diff | 4 +---
 configs/platform-mipsel/barebox.config            | 4 ++--
 7 files changed, 11 insertions(+), 13 deletions(-)

diff --git a/configs/platform-mips/barebox-ar9331.config b/configs/platform-mips/barebox-ar9331.config
index 2e72041e..4e888630 100644
--- a/configs/platform-mips/barebox-ar9331.config
+++ b/configs/platform-mips/barebox-ar9331.config
@@ -140,9 +140,9 @@ CONFIG_IMD=y
 CONFIG_CONSOLE_FULL=y
 # CONFIG_CONSOLE_SIMPLE is not set
 # CONFIG_CONSOLE_NONE is not set
-CONFIG_CONSOLE_ACTIVATE_FIRST=y
+# CONFIG_CONSOLE_ACTIVATE_FIRST is not set
 # CONFIG_CONSOLE_ACTIVATE_ALL is not set
-# CONFIG_CONSOLE_ACTIVATE_NONE is not set
+CONFIG_CONSOLE_ACTIVATE_NONE=y
 # CONFIG_CONSOLE_ALLOW_COLOR is not set
 # CONFIG_PBL_CONSOLE is not set
 # CONFIG_CONSOLE_RATP is not set
diff --git a/configs/platform-mips/barebox-ar9331.config.diff b/configs/platform-mips/barebox-ar9331.config.diff
index 524a3ccb..ef219ed5 100644
--- a/configs/platform-mips/barebox-ar9331.config.diff
+++ b/configs/platform-mips/barebox-ar9331.config.diff
@@ -1,4 +1,4 @@
-969c2d8bca570a40257c2a71b4e37c8d
+56c8bdde9f772e6da0ade7950dae7293
 # CONFIG_BOARD_8DEVICES_LIMA is not set
 # CONFIG_BOARD_TPLINK_WDR4300 is not set
 # CONFIG_SOC_QCA_AR9344 is undefined
diff --git a/configs/platform-mips/barebox-malta.config b/configs/platform-mips/barebox-malta.config
index 094b8dc3..4ce1c407 100644
--- a/configs/platform-mips/barebox-malta.config
+++ b/configs/platform-mips/barebox-malta.config
@@ -143,9 +143,9 @@ CONFIG_IMD=y
 CONFIG_CONSOLE_FULL=y
 # CONFIG_CONSOLE_SIMPLE is not set
 # CONFIG_CONSOLE_NONE is not set
-CONFIG_CONSOLE_ACTIVATE_FIRST=y
+# CONFIG_CONSOLE_ACTIVATE_FIRST is not set
 # CONFIG_CONSOLE_ACTIVATE_ALL is not set
-# CONFIG_CONSOLE_ACTIVATE_NONE is not set
+CONFIG_CONSOLE_ACTIVATE_NONE=y
 CONFIG_CONSOLE_ALLOW_COLOR=y
 # CONFIG_PBL_CONSOLE is not set
 # CONFIG_CONSOLE_RATP is not set
diff --git a/configs/platform-mips/barebox-malta.config.diff b/configs/platform-mips/barebox-malta.config.diff
index 6e5ee679..687dbaf0 100644
--- a/configs/platform-mips/barebox-malta.config.diff
+++ b/configs/platform-mips/barebox-malta.config.diff
@@ -1,4 +1,4 @@
-969c2d8bca570a40257c2a71b4e37c8d
+56c8bdde9f772e6da0ade7950dae7293
 # CONFIG_AT803X_PHY is not set
 CONFIG_BAREBOX_MAX_IMAGE_SIZE=0x400000
 CONFIG_BAUDRATE=38400
diff --git a/configs/platform-mips/barebox.config b/configs/platform-mips/barebox.config
index 689e6bc8..d16a97f3 100644
--- a/configs/platform-mips/barebox.config
+++ b/configs/platform-mips/barebox.config
@@ -142,9 +142,9 @@ CONFIG_IMD=y
 CONFIG_CONSOLE_FULL=y
 # CONFIG_CONSOLE_SIMPLE is not set
 # CONFIG_CONSOLE_NONE is not set
-CONFIG_CONSOLE_ACTIVATE_FIRST=y
+# CONFIG_CONSOLE_ACTIVATE_FIRST is not set
 # CONFIG_CONSOLE_ACTIVATE_ALL is not set
-# CONFIG_CONSOLE_ACTIVATE_NONE is not set
+CONFIG_CONSOLE_ACTIVATE_NONE=y
 # CONFIG_CONSOLE_ALLOW_COLOR is not set
 # CONFIG_PBL_CONSOLE is not set
 # CONFIG_CONSOLE_RATP is not set
diff --git a/configs/platform-mipsel/barebox-malta.config.diff b/configs/platform-mipsel/barebox-malta.config.diff
index a305a002..8102eff0 100644
--- a/configs/platform-mipsel/barebox-malta.config.diff
+++ b/configs/platform-mipsel/barebox-malta.config.diff
@@ -1,4 +1,4 @@
-fd8ab64711e3c2bc4d260765405fff76
+384c9ac30abd9c9b72e1ea5249e85625
 # CONFIG_AT803X_PHY is not set
 CONFIG_BAREBOX_MAX_IMAGE_SIZE=0x400000
 CONFIG_BAUDRATE=38400
@@ -42,8 +42,6 @@ CONFIG_CMD_SHA256SUM=y
 CONFIG_CMD_TFTP=y
 # CONFIG_COMMON_CLK is undefined
 # CONFIG_COMMON_CLK_OF_PROVIDER is undefined
-# CONFIG_CONSOLE_ACTIVATE_FIRST is not set
-CONFIG_CONSOLE_ACTIVATE_NONE=y
 CONFIG_CONSOLE_ALLOW_COLOR=y
 # CONFIG_CPU_BIG_ENDIAN is not set
 CONFIG_CPU_LITTLE_ENDIAN=y
diff --git a/configs/platform-mipsel/barebox.config b/configs/platform-mipsel/barebox.config
index 55495686..560bc9ec 100644
--- a/configs/platform-mipsel/barebox.config
+++ b/configs/platform-mipsel/barebox.config
@@ -141,9 +141,9 @@ CONFIG_IMD=y
 CONFIG_CONSOLE_FULL=y
 # CONFIG_CONSOLE_SIMPLE is not set
 # CONFIG_CONSOLE_NONE is not set
-CONFIG_CONSOLE_ACTIVATE_FIRST=y
+# CONFIG_CONSOLE_ACTIVATE_FIRST is not set
 # CONFIG_CONSOLE_ACTIVATE_ALL is not set
-# CONFIG_CONSOLE_ACTIVATE_NONE is not set
+CONFIG_CONSOLE_ACTIVATE_NONE=y
 # CONFIG_CONSOLE_ALLOW_COLOR is not set
 # CONFIG_PBL_CONSOLE is not set
 # CONFIG_CONSOLE_RATP is not set
-- 
2.39.2




^ permalink raw reply	[flat|nested] 12+ messages in thread

* [DistroKit] [PATCH v1 6/9] mips: kernel-malta: enable UBIFS
  2024-08-21  9:51 [DistroKit] [PATCH v1 0/9] address CI warnings for the MIPS platform Oleksij Rempel
                   ` (4 preceding siblings ...)
  2024-08-21  9:51 ` [DistroKit] [PATCH v1 5/9] mips/mipsel: barebox: use CONSOLE_ACTIVATE_NONE Oleksij Rempel
@ 2024-08-21  9:51 ` Oleksij Rempel
  2024-08-21  9:51 ` [DistroKit] [PATCH v1 7/9] mips: kernel-malta: enable SQUASHFS Oleksij Rempel
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: Oleksij Rempel @ 2024-08-21  9:51 UTC (permalink / raw)
  To: distrokit; +Cc: Oleksij Rempel

Other platform are enabling UBIFS now. Enable it for MIPS malta too.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 configs/platform-mips/kernelconfig-malta      | 42 ++++++++++++++++---
 configs/platform-mips/kernelconfig-malta.diff | 38 +----------------
 2 files changed, 38 insertions(+), 42 deletions(-)

diff --git a/configs/platform-mips/kernelconfig-malta b/configs/platform-mips/kernelconfig-malta
index 41f77b74..d21db8c6 100644
--- a/configs/platform-mips/kernelconfig-malta
+++ b/configs/platform-mips/kernelconfig-malta
@@ -1452,7 +1452,7 @@ CONFIG_MTD_CFI_UTIL=y
 # CONFIG_MTD_LPDDR is not set
 # end of LPDDR & LPDDR2 PCM memory drivers
 
-CONFIG_MTD_UBI=m
+CONFIG_MTD_UBI=y
 CONFIG_MTD_UBI_WL_THRESHOLD=4096
 CONFIG_MTD_UBI_BEB_LIMIT=20
 # CONFIG_MTD_UBI_FASTMAP is not set
@@ -3258,7 +3258,39 @@ CONFIG_TMPFS=y
 # CONFIG_CONFIGFS_FS is not set
 # end of Pseudo filesystems
 
-# CONFIG_MISC_FILESYSTEMS is not set
+CONFIG_MISC_FILESYSTEMS=y
+# CONFIG_ORANGEFS_FS is not set
+# CONFIG_ADFS_FS is not set
+# CONFIG_AFFS_FS is not set
+# CONFIG_ECRYPT_FS is not set
+# CONFIG_HFS_FS is not set
+# CONFIG_HFSPLUS_FS is not set
+# CONFIG_BEFS_FS is not set
+# CONFIG_BFS_FS is not set
+# CONFIG_EFS_FS is not set
+# CONFIG_JFFS2_FS is not set
+CONFIG_UBIFS_FS=y
+# CONFIG_UBIFS_FS_ADVANCED_COMPR is not set
+CONFIG_UBIFS_FS_LZO=y
+CONFIG_UBIFS_FS_ZLIB=y
+CONFIG_UBIFS_FS_ZSTD=y
+# CONFIG_UBIFS_ATIME_SUPPORT is not set
+CONFIG_UBIFS_FS_XATTR=y
+CONFIG_UBIFS_FS_SECURITY=y
+# CONFIG_UBIFS_FS_AUTHENTICATION is not set
+# CONFIG_CRAMFS is not set
+# CONFIG_SQUASHFS is not set
+# CONFIG_VXFS_FS is not set
+# CONFIG_MINIX_FS is not set
+# CONFIG_OMFS_FS is not set
+# CONFIG_HPFS_FS is not set
+# CONFIG_QNX4FS_FS is not set
+# CONFIG_QNX6FS_FS is not set
+# CONFIG_ROMFS_FS is not set
+# CONFIG_PSTORE is not set
+# CONFIG_SYSV_FS is not set
+# CONFIG_UFS_FS is not set
+# CONFIG_EROFS_FS is not set
 CONFIG_NETWORK_FILESYSTEMS=y
 CONFIG_NFS_FS=y
 CONFIG_NFS_V2=y
@@ -3525,7 +3557,7 @@ CONFIG_CRYPTO_CRC32C=y
 #
 # Compression
 #
-CONFIG_CRYPTO_DEFLATE=m
+CONFIG_CRYPTO_DEFLATE=y
 CONFIG_CRYPTO_LZO=y
 # CONFIG_CRYPTO_842 is not set
 # CONFIG_CRYPTO_LZ4 is not set
@@ -3644,8 +3676,8 @@ CONFIG_LIBCRC32C=m
 # CONFIG_CRC8 is not set
 CONFIG_XXHASH=y
 # CONFIG_RANDOM32_SELFTEST is not set
-CONFIG_ZLIB_INFLATE=m
-CONFIG_ZLIB_DEFLATE=m
+CONFIG_ZLIB_INFLATE=y
+CONFIG_ZLIB_DEFLATE=y
 CONFIG_LZO_COMPRESS=y
 CONFIG_LZO_DECOMPRESS=y
 CONFIG_ZSTD_COMMON=y
diff --git a/configs/platform-mips/kernelconfig-malta.diff b/configs/platform-mips/kernelconfig-malta.diff
index 7c0ceeb2..5fa2c0c0 100644
--- a/configs/platform-mips/kernelconfig-malta.diff
+++ b/configs/platform-mips/kernelconfig-malta.diff
@@ -4,8 +4,6 @@ ea4829d5ac8a0aa3ee33fc132702ae88
 # CONFIG_ACENIC is not set
 # CONFIG_ACORN_PARTITION is undefined
 # CONFIG_ADAPTEC_STARFIRE is not set
-# CONFIG_ADFS_FS is undefined
-# CONFIG_AFFS_FS is undefined
 # CONFIG_AG71XX is undefined
 # CONFIG_AHCI_CEVA is not set
 # CONFIG_AHCI_DWC is not set
@@ -82,8 +80,6 @@ CONFIG_AX88796=m
 CONFIG_BCM_NET_PHYLIB=m
 # CONFIG_BE2ISCSI is not set
 # CONFIG_BE2NET is not set
-# CONFIG_BEFS_FS is undefined
-# CONFIG_BFS_FS is undefined
 CONFIG_BLK_DEBUG_FS=y
 CONFIG_BLK_DEV_3W_XXXX_RAID=m
 CONFIG_BLK_DEV_BSG=y
@@ -180,7 +176,6 @@ CONFIG_CPU_MIPSR2_IRQ_VI=y
 # CONFIG_CPU_NEVADA is not set
 # CONFIG_CPU_RM7000 is not set
 CONFIG_CPU_RMAP=y
-# CONFIG_CRAMFS is undefined
 CONFIG_CRASH_CORE=y
 # CONFIG_CRC32_SARWATE is not set
 CONFIG_CRC32_SLICEBY8=y
@@ -204,7 +199,6 @@ CONFIG_CRYPTO_CCM=m
 CONFIG_CRYPTO_CMAC=m
 CONFIG_CRYPTO_CRYPTD=m
 CONFIG_CRYPTO_CTR=m
-CONFIG_CRYPTO_DEFLATE=m
 CONFIG_CRYPTO_DES=m
 # CONFIG_CRYPTO_DEV_AMLOGIC_GXL is not set
 # CONFIG_CRYPTO_DEV_ATMEL_ECC is not set
@@ -293,13 +287,10 @@ CONFIG_DNOTIFY=y
 # CONFIG_E1000E is not set
 # CONFIG_E100 is not set
 # CONFIG_EARLY_PRINTK is undefined
-# CONFIG_ECRYPT_FS is undefined
-# CONFIG_EFS_FS is undefined
 CONFIG_ELF_CORE=y
 # CONFIG_ENIC is not set
 # CONFIG_EPIC100 is not set
 CONFIG_EQUALIZER=m
-# CONFIG_EROFS_FS is undefined
 # CONFIG_ET131X is not set
 CONFIG_FB=y
 # CONFIG_FB_3DFX is not set
@@ -418,8 +409,6 @@ CONFIG_HAVE_HARDLOCKUP_DETECTOR_BUDDY=y
 CONFIG_HAVE_PCI=y
 CONFIG_HAVE_PCSPKR_PLATFORM=y
 # CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN is undefined
-# CONFIG_HFSPLUS_FS is undefined
-# CONFIG_HFS_FS is undefined
 CONFIG_HID=m
 # CONFIG_HIDRAW is not set
 # CONFIG_HID_A4TECH is not set
@@ -520,7 +509,6 @@ CONFIG_HOSTAP_FIRMWARE_NVRAM=y
 CONFIG_HOSTAP_PCI=m
 CONFIG_HOSTAP_PLX=m
 # CONFIG_HOTPLUG_PCI is not set
-# CONFIG_HPFS_FS is undefined
 # CONFIG_HP_ILO is not set
 CONFIG_HW_RANDOM=m
 # CONFIG_HW_RANDOM_BA431 is not set
@@ -674,7 +662,6 @@ CONFIG_ISA_DMA_API=y
 CONFIG_ISCSI_TCP=m
 # CONFIG_ISDN is not set
 # CONFIG_IXGBE is not set
-# CONFIG_JFFS2_FS is undefined
 # CONFIG_JME is not set
 # CONFIG_JZ4740_WDT is undefined
 # CONFIG_KARMA_PARTITION is undefined
@@ -807,7 +794,6 @@ CONFIG_MD_RAID456=m
 # CONFIG_MFD_RDC321X is not set
 # CONFIG_MFD_VX855 is not set
 CONFIG_MII=y
-# CONFIG_MINIX_FS is undefined
 # CONFIG_MINIX_SUBPARTITION is undefined
 CONFIG_MIPS_BONITO64=y
 CONFIG_MIPS_CM=y
@@ -832,7 +818,6 @@ CONFIG_MIPS_PLATFORM_DEVICES=y
 # CONFIG_MIPS_RAW_APPENDED_DTB is not set
 # CONFIG_MIPS_VPE_LOADER is not set
 # CONFIG_MISC_ALCOR_PCI is not set
-# CONFIG_MISC_FILESYSTEMS is not set
 # CONFIG_MISC_RTSX_PCI is not set
 # CONFIG_MISDN is undefined
 CONFIG_MODULE_SRCVERSION_ALL=y
@@ -889,7 +874,6 @@ CONFIG_MTD_OOPS=m
 # CONFIG_MTD_PHYSMAP_OF is undefined
 # CONFIG_MTD_PHYSMAP_VERSATILE is undefined
 # CONFIG_MTD_PMC551 is not set
-CONFIG_MTD_UBI=m
 CONFIG_MTD_UBI_GLUEBI=m
 CONFIG_MULTIPLEXER=y
 # CONFIG_MUX_ADG792A is not set
@@ -1162,8 +1146,6 @@ CONFIG_NVMEM_SYSFS=y
 # CONFIG_NVMEM_U_BOOT_ENV is not set
 # CONFIG_OF_GPIO is undefined
 CONFIG_OF_MDIO=m
-# CONFIG_OMFS_FS is undefined
-# CONFIG_ORANGEFS_FS is undefined
 # CONFIG_OSF_PARTITION is undefined
 # CONFIG_OVERLAY_FS is not set
 # CONFIG_OVERLAY_FS_DEBUG is undefined
@@ -1301,12 +1283,9 @@ CONFIG_POWER_RESET_SYSCON=y
 # CONFIG_PRESTERA is undefined
 CONFIG_PROC_KCORE=y
 CONFIG_PROC_PAGE_MONITOR=y
-# CONFIG_PSTORE is undefined
 # CONFIG_QED is not set
 # CONFIG_QLA3XXX is not set
 # CONFIG_QLCNIC is not set
-# CONFIG_QNX4FS_FS is undefined
-# CONFIG_QNX6FS_FS is undefined
 CONFIG_QSEMI_PHY=m
 CONFIG_QUEUED_RWLOCKS=y
 CONFIG_QUEUED_SPINLOCKS=y
@@ -1409,7 +1388,6 @@ CONFIG_RFKILL=m
 # CONFIG_RFKILL_LEDS is undefined
 CONFIG_RFS_ACCEL=y
 # CONFIG_RMI4_CORE is not set
-# CONFIG_ROMFS_FS is undefined
 CONFIG_RPS=y
 CONFIG_RTC_CLASS=y
 # CONFIG_RTC_DEBUG is not set
@@ -1619,7 +1597,7 @@ CONFIG_SMSC_PHY=m
 CONFIG_SOCK_RX_QUEUE_MAPPING=y
 # CONFIG_SOFT_WATCHDOG is undefined
 # CONFIG_SOLARIS_X86_PARTITION is undefined
-# CONFIG_SQUASHFS is undefined
+# CONFIG_SQUASHFS is not set
 # CONFIG_SQUASHFS_4K_DEVBLK_SIZE is undefined
 # CONFIG_SQUASHFS_CHOICE_DECOMP_BY_MOUNT is undefined
 # CONFIG_SQUASHFS_COMPILE_DECOMP_MULTI is undefined
@@ -1652,7 +1630,6 @@ CONFIG_SYNC_R4K=y
 CONFIG_SYSFS_SYSCALL=y
 # CONFIG_SYSTEM_TRUSTED_KEYRING is not set
 # CONFIG_SYSV68_PARTITION is undefined
-# CONFIG_SYSV_FS is undefined
 CONFIG_SYS_HAS_CPU_MIPS32_R1=y
 CONFIG_SYS_HAS_CPU_MIPS32_R3_5=y
 CONFIG_SYS_HAS_CPU_MIPS32_R5=y
@@ -1711,18 +1688,8 @@ CONFIG_TIMER_PROBE=y
 # CONFIG_TPS65010 is undefined
 CONFIG_TUN=m
 # CONFIG_TXGBE is not set
-# CONFIG_UBIFS_ATIME_SUPPORT is undefined
-# CONFIG_UBIFS_FS is undefined
-# CONFIG_UBIFS_FS_ADVANCED_COMPR is undefined
-# CONFIG_UBIFS_FS_AUTHENTICATION is undefined
-# CONFIG_UBIFS_FS_LZO is undefined
-# CONFIG_UBIFS_FS_SECURITY is undefined
-# CONFIG_UBIFS_FS_XATTR is undefined
-# CONFIG_UBIFS_FS_ZLIB is undefined
-# CONFIG_UBIFS_FS_ZSTD is undefined
 # CONFIG_UEVENT_HELPER is not set
 # CONFIG_UEVENT_HELPER_PATH is undefined
-# CONFIG_UFS_FS is undefined
 # CONFIG_UHID is not set
 CONFIG_UIO=m
 # CONFIG_UIO_AEC is not set
@@ -1771,7 +1738,6 @@ CONFIG_VLAN_8021Q=m
 CONFIG_VLAN_8021Q_GVRP=y
 # CONFIG_VMXNET3 is not set
 CONFIG_VM_EVENT_COUNTERS=y
-# CONFIG_VXFS_FS is undefined
 CONFIG_WAR_ICACHE_REFILLS=y
 # CONFIG_WATCHDOG is not set
 # CONFIG_WATCHDOG_CORE is undefined
@@ -1828,6 +1794,4 @@ CONFIG_XPS=y
 # CONFIG_XZ_DEC_X86 is undefined
 # CONFIG_YELLOWFIN is not set
 # CONFIG_ZIIRAVE_WATCHDOG is undefined
-CONFIG_ZLIB_DEFLATE=m
-CONFIG_ZLIB_INFLATE=m
 CONFIG_ZONE_DMA=y
-- 
2.39.2




^ permalink raw reply	[flat|nested] 12+ messages in thread

* [DistroKit] [PATCH v1 7/9] mips: kernel-malta: enable SQUASHFS
  2024-08-21  9:51 [DistroKit] [PATCH v1 0/9] address CI warnings for the MIPS platform Oleksij Rempel
                   ` (5 preceding siblings ...)
  2024-08-21  9:51 ` [DistroKit] [PATCH v1 6/9] mips: kernel-malta: enable UBIFS Oleksij Rempel
@ 2024-08-21  9:51 ` Oleksij Rempel
  2024-08-21  9:51 ` [DistroKit] [PATCH v1 8/9] mipsel: kernel: enable PCI by default and sync it with malta config Oleksij Rempel
  2024-08-21  9:51 ` [DistroKit] [PATCH v1 9/9] reason: MIPS: add PCI exception for ATH79 arch Oleksij Rempel
  8 siblings, 0 replies; 12+ messages in thread
From: Oleksij Rempel @ 2024-08-21  9:51 UTC (permalink / raw)
  To: distrokit; +Cc: Oleksij Rempel

squashfs, dm-verity and loop support is needed to mount rauc bundles.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 configs/platform-mips/kernelconfig-malta      | 64 +++++++++----------
 configs/platform-mips/kernelconfig-malta.diff | 53 ++-------------
 2 files changed, 36 insertions(+), 81 deletions(-)

diff --git a/configs/platform-mips/kernelconfig-malta b/configs/platform-mips/kernelconfig-malta
index d21db8c6..0ff86c40 100644
--- a/configs/platform-mips/kernelconfig-malta
+++ b/configs/platform-mips/kernelconfig-malta
@@ -563,7 +563,7 @@ CONFIG_MODPROBE_PATH="/sbin/modprobe"
 # CONFIG_TRIM_UNUSED_KSYMS is not set
 CONFIG_MODULES_TREE_LOOKUP=y
 CONFIG_BLOCK=y
-CONFIG_BLOCK_LEGACY_AUTOLOAD=y
+# CONFIG_BLOCK_LEGACY_AUTOLOAD is not set
 CONFIG_BLK_DEV_BSG_COMMON=y
 CONFIG_BLK_DEV_BSGLIB=y
 # CONFIG_BLK_DEV_INTEGRITY is not set
@@ -1743,44 +1743,35 @@ CONFIG_ATA_PIIX=y
 # CONFIG_ATA_GENERIC is not set
 CONFIG_PATA_LEGACY=y
 CONFIG_MD=y
-CONFIG_BLK_DEV_MD=m
-# CONFIG_MD_BITMAP_FILE is not set
-CONFIG_MD_LINEAR=m
-CONFIG_MD_RAID0=m
-CONFIG_MD_RAID1=m
-CONFIG_MD_RAID10=m
-CONFIG_MD_RAID456=m
-CONFIG_MD_MULTIPATH=m
-CONFIG_MD_FAULTY=m
+# CONFIG_BLK_DEV_MD is not set
+CONFIG_MD_BITMAP_FILE=y
 # CONFIG_BCACHE is not set
 CONFIG_BLK_DEV_DM_BUILTIN=y
-CONFIG_BLK_DEV_DM=m
+CONFIG_BLK_DEV_DM=y
 # CONFIG_DM_DEBUG is not set
-CONFIG_DM_BUFIO=m
+CONFIG_DM_BUFIO=y
 # CONFIG_DM_DEBUG_BLOCK_MANAGER_LOCKING is not set
 # CONFIG_DM_UNSTRIPED is not set
-CONFIG_DM_CRYPT=m
-CONFIG_DM_SNAPSHOT=m
+# CONFIG_DM_CRYPT is not set
+# CONFIG_DM_SNAPSHOT is not set
 # CONFIG_DM_THIN_PROVISIONING is not set
 # CONFIG_DM_CACHE is not set
 # CONFIG_DM_WRITECACHE is not set
 # CONFIG_DM_EBS is not set
 # CONFIG_DM_ERA is not set
 # CONFIG_DM_CLONE is not set
-CONFIG_DM_MIRROR=m
-# CONFIG_DM_LOG_USERSPACE is not set
+# CONFIG_DM_MIRROR is not set
 # CONFIG_DM_RAID is not set
-CONFIG_DM_ZERO=m
-CONFIG_DM_MULTIPATH=m
-# CONFIG_DM_MULTIPATH_QL is not set
-# CONFIG_DM_MULTIPATH_ST is not set
-# CONFIG_DM_MULTIPATH_HST is not set
-# CONFIG_DM_MULTIPATH_IOA is not set
+# CONFIG_DM_ZERO is not set
+# CONFIG_DM_MULTIPATH is not set
 # CONFIG_DM_DELAY is not set
 # CONFIG_DM_DUST is not set
+# CONFIG_DM_INIT is not set
 # CONFIG_DM_UEVENT is not set
 # CONFIG_DM_FLAKEY is not set
-# CONFIG_DM_VERITY is not set
+CONFIG_DM_VERITY=y
+# CONFIG_DM_VERITY_VERIFY_ROOTHASH_SIG is not set
+# CONFIG_DM_VERITY_FEC is not set
 # CONFIG_DM_SWITCH is not set
 # CONFIG_DM_LOG_WRITES is not set
 # CONFIG_DM_INTEGRITY is not set
@@ -3279,7 +3270,23 @@ CONFIG_UBIFS_FS_XATTR=y
 CONFIG_UBIFS_FS_SECURITY=y
 # CONFIG_UBIFS_FS_AUTHENTICATION is not set
 # CONFIG_CRAMFS is not set
-# CONFIG_SQUASHFS is not set
+CONFIG_SQUASHFS=y
+# CONFIG_SQUASHFS_FILE_CACHE is not set
+CONFIG_SQUASHFS_FILE_DIRECT=y
+CONFIG_SQUASHFS_DECOMP_SINGLE=y
+CONFIG_SQUASHFS_DECOMP_MULTI=y
+CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU=y
+CONFIG_SQUASHFS_CHOICE_DECOMP_BY_MOUNT=y
+CONFIG_SQUASHFS_MOUNT_DECOMP_THREADS=y
+# CONFIG_SQUASHFS_XATTR is not set
+CONFIG_SQUASHFS_ZLIB=y
+# CONFIG_SQUASHFS_LZ4 is not set
+# CONFIG_SQUASHFS_LZO is not set
+# CONFIG_SQUASHFS_XZ is not set
+# CONFIG_SQUASHFS_ZSTD is not set
+# CONFIG_SQUASHFS_4K_DEVBLK_SIZE is not set
+# CONFIG_SQUASHFS_EMBEDDED is not set
+CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3
 # CONFIG_VXFS_FS is not set
 # CONFIG_MINIX_FS is not set
 # CONFIG_OMFS_FS is not set
@@ -3420,12 +3427,6 @@ CONFIG_RANDSTRUCT_NONE=y
 # end of Kernel hardening options
 # end of Security options
 
-CONFIG_XOR_BLOCKS=m
-CONFIG_ASYNC_CORE=m
-CONFIG_ASYNC_MEMCPY=m
-CONFIG_ASYNC_XOR=m
-CONFIG_ASYNC_PQ=m
-CONFIG_ASYNC_RAID6_RECOV=m
 CONFIG_CRYPTO=y
 
 #
@@ -3623,8 +3624,6 @@ CONFIG_BINARY_PRINTF=y
 #
 # Library routines
 #
-CONFIG_RAID6_PQ=m
-CONFIG_RAID6_PQ_BENCHMARK=y
 # CONFIG_PACKING is not set
 CONFIG_BITREVERSE=y
 CONFIG_ARCH_HAS_STRNCPY_FROM_USER=y
@@ -3989,7 +3988,6 @@ CONFIG_RUNTIME_TESTING_MENU=y
 # CONFIG_INTERVAL_TREE_TEST is not set
 # CONFIG_PERCPU_TEST is not set
 # CONFIG_ATOMIC64_SELFTEST is not set
-# CONFIG_ASYNC_RAID6_TEST is not set
 # CONFIG_TEST_HEXDUMP is not set
 # CONFIG_STRING_SELFTEST is not set
 # CONFIG_TEST_STRING_HELPERS is not set
diff --git a/configs/platform-mips/kernelconfig-malta.diff b/configs/platform-mips/kernelconfig-malta.diff
index 5fa2c0c0..c9c590c2 100644
--- a/configs/platform-mips/kernelconfig-malta.diff
+++ b/configs/platform-mips/kernelconfig-malta.diff
@@ -30,12 +30,6 @@ CONFIG_ASM_MODVERSIONS=y
 CONFIG_ASN1=y
 CONFIG_ASYMMETRIC_KEY_TYPE=y
 CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE=y
-CONFIG_ASYNC_CORE=m
-CONFIG_ASYNC_MEMCPY=m
-CONFIG_ASYNC_PQ=m
-CONFIG_ASYNC_RAID6_RECOV=m
-# CONFIG_ASYNC_RAID6_TEST is not set
-CONFIG_ASYNC_XOR=m
 # CONFIG_AT803X_PHY is undefined
 CONFIG_ATA=y
 CONFIG_ATALK=m
@@ -85,16 +79,13 @@ CONFIG_BLK_DEV_3W_XXXX_RAID=m
 CONFIG_BLK_DEV_BSG=y
 CONFIG_BLK_DEV_BSGLIB=y
 CONFIG_BLK_DEV_BSG_COMMON=y
-CONFIG_BLK_DEV_DM=m
 # CONFIG_BLK_DEV_FD is not set
 CONFIG_BLK_DEV_LOOP=m
-CONFIG_BLK_DEV_MD=m
 # CONFIG_BLK_DEV_NVME is not set
 # CONFIG_BLK_DEV_PCIESSD_MTIP32XX is not set
 CONFIG_BLK_DEV_SD=y
 # CONFIG_BLK_DEV_SR is not set
 CONFIG_BLK_MQ_PCI=y
-CONFIG_BLOCK_LEGACY_AUTOLOAD=y
 # CONFIG_BNA is not set
 # CONFIG_BNX2 is not set
 # CONFIG_BNX2X is not set
@@ -264,21 +255,6 @@ CONFIG_DAVICOM_PHY=m
 # CONFIG_DEVTMPFS_MOUNT is not set
 CONFIG_DEV_APPLETALK=m
 # CONFIG_DL2K is not set
-CONFIG_DM_BUFIO=m
-CONFIG_DM_CRYPT=m
-# CONFIG_DM_INIT is undefined
-# CONFIG_DM_LOG_USERSPACE is not set
-CONFIG_DM_MIRROR=m
-CONFIG_DM_MULTIPATH=m
-# CONFIG_DM_MULTIPATH_HST is not set
-# CONFIG_DM_MULTIPATH_IOA is not set
-# CONFIG_DM_MULTIPATH_QL is not set
-# CONFIG_DM_MULTIPATH_ST is not set
-CONFIG_DM_SNAPSHOT=m
-# CONFIG_DM_VERITY is not set
-# CONFIG_DM_VERITY_FEC is undefined
-# CONFIG_DM_VERITY_VERIFY_ROOTHASH_SIG is undefined
-CONFIG_DM_ZERO=m
 CONFIG_DNOTIFY=y
 # CONFIG_DNS_RESOLVER is not set
 # CONFIG_DW_WATCHDOG is undefined
@@ -779,13 +755,7 @@ CONFIG_MDIO_BUS=m
 # CONFIG_MDIO_BUS_MUX_GPIO is undefined
 CONFIG_MDIO_DEVICE=m
 CONFIG_MDIO_DEVRES=m
-CONFIG_MD_FAULTY=m
-CONFIG_MD_LINEAR=m
-CONFIG_MD_MULTIPATH=m
-CONFIG_MD_RAID0=m
-CONFIG_MD_RAID10=m
-CONFIG_MD_RAID1=m
-CONFIG_MD_RAID456=m
+CONFIG_MD_BITMAP_FILE=y
 # CONFIG_MEGARAID_LEGACY is not set
 # CONFIG_MEGARAID_NEWGEN is not set
 # CONFIG_MEGARAID_SAS is not set
@@ -1291,8 +1261,6 @@ CONFIG_QUEUED_RWLOCKS=y
 CONFIG_QUEUED_SPINLOCKS=y
 # CONFIG_R6040 is not set
 # CONFIG_R8169 is not set
-CONFIG_RAID6_PQ=m
-CONFIG_RAID6_PQ_BENCHMARK=y
 CONFIG_RAID_ATTRS=m
 # CONFIG_RAPIDIO is not set
 # CONFIG_RCU_BOOST is undefined
@@ -1597,23 +1565,13 @@ CONFIG_SMSC_PHY=m
 CONFIG_SOCK_RX_QUEUE_MAPPING=y
 # CONFIG_SOFT_WATCHDOG is undefined
 # CONFIG_SOLARIS_X86_PARTITION is undefined
-# CONFIG_SQUASHFS is not set
-# CONFIG_SQUASHFS_4K_DEVBLK_SIZE is undefined
-# CONFIG_SQUASHFS_CHOICE_DECOMP_BY_MOUNT is undefined
+CONFIG_SQUASHFS_CHOICE_DECOMP_BY_MOUNT=y
 # CONFIG_SQUASHFS_COMPILE_DECOMP_MULTI is undefined
 # CONFIG_SQUASHFS_COMPILE_DECOMP_MULTI_PERCPU is undefined
 # CONFIG_SQUASHFS_COMPILE_DECOMP_SINGLE is undefined
-# CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU is undefined
-# CONFIG_SQUASHFS_EMBEDDED is undefined
-# CONFIG_SQUASHFS_FILE_CACHE is undefined
-# CONFIG_SQUASHFS_FILE_DIRECT is undefined
-# CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE is undefined
-# CONFIG_SQUASHFS_LZ4 is undefined
-# CONFIG_SQUASHFS_LZO is undefined
-# CONFIG_SQUASHFS_XATTR is undefined
-# CONFIG_SQUASHFS_XZ is undefined
-# CONFIG_SQUASHFS_ZLIB is undefined
-# CONFIG_SQUASHFS_ZSTD is undefined
+CONFIG_SQUASHFS_DECOMP_MULTI=y
+CONFIG_SQUASHFS_DECOMP_SINGLE=y
+CONFIG_SQUASHFS_MOUNT_DECOMP_THREADS=y
 # CONFIG_STAGING is not set
 # CONFIG_STAGING_BOARD is undefined
 # CONFIG_STAGING_MEDIA is undefined
@@ -1781,7 +1739,6 @@ CONFIG_XFRM_MIGRATE=y
 CONFIG_XFRM_USER=m
 # CONFIG_XILINX_WATCHDOG is undefined
 # CONFIG_XIL_AXIS_FIFO is undefined
-CONFIG_XOR_BLOCKS=m
 CONFIG_XPS=y
 # CONFIG_XZ_DEC is not set
 # CONFIG_XZ_DEC_ARM is undefined
-- 
2.39.2




^ permalink raw reply	[flat|nested] 12+ messages in thread

* [DistroKit] [PATCH v1 8/9] mipsel: kernel: enable PCI by default and sync it with malta config
  2024-08-21  9:51 [DistroKit] [PATCH v1 0/9] address CI warnings for the MIPS platform Oleksij Rempel
                   ` (6 preceding siblings ...)
  2024-08-21  9:51 ` [DistroKit] [PATCH v1 7/9] mips: kernel-malta: enable SQUASHFS Oleksij Rempel
@ 2024-08-21  9:51 ` Oleksij Rempel
  2024-08-21  9:51 ` [DistroKit] [PATCH v1 9/9] reason: MIPS: add PCI exception for ATH79 arch Oleksij Rempel
  8 siblings, 0 replies; 12+ messages in thread
From: Oleksij Rempel @ 2024-08-21  9:51 UTC (permalink / raw)
  To: distrokit; +Cc: Oleksij Rempel

The kernel and kernel-malta configs are both based on malta platform.
Enable PCI support for base kernel config to simplify testing.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 configs/platform-mipsel/kernelconfig          | 263 +++++++++++++++++-
 .../platform-mipsel/kernelconfig-malta.diff   | 208 ++------------
 2 files changed, 281 insertions(+), 190 deletions(-)

diff --git a/configs/platform-mipsel/kernelconfig b/configs/platform-mipsel/kernelconfig
index 1f9edd76..dbe4575b 100644
--- a/configs/platform-mipsel/kernelconfig
+++ b/configs/platform-mipsel/kernelconfig
@@ -593,6 +593,7 @@ CONFIG_EFI_PARTITION=y
 # CONFIG_CMDLINE_PARTITION is not set
 # end of Partition Types
 
+CONFIG_BLK_MQ_PCI=y
 CONFIG_BLK_PM=y
 CONFIG_BLOCK_HOLDER_DEPRECATED=y
 CONFIG_BLK_MQ_STACKING=y
@@ -1126,8 +1127,70 @@ CONFIG_ETHTOOL_NETLINK=y
 # Device Drivers
 #
 CONFIG_HAVE_PCI=y
-# CONFIG_PCI is not set
+CONFIG_PCI=y
+CONFIG_PCI_DOMAINS=y
+# CONFIG_PCIEPORTBUS is not set
+CONFIG_PCIEASPM=y
+CONFIG_PCIEASPM_DEFAULT=y
+# CONFIG_PCIEASPM_POWERSAVE is not set
+# CONFIG_PCIEASPM_POWER_SUPERSAVE is not set
+# CONFIG_PCIEASPM_PERFORMANCE is not set
+# CONFIG_PCIE_PTM is not set
+# CONFIG_PCI_MSI is not set
+CONFIG_PCI_QUIRKS=y
+# CONFIG_PCI_DEBUG is not set
+# CONFIG_PCI_STUB is not set
+# CONFIG_PCI_IOV is not set
+# CONFIG_PCI_PRI is not set
+# CONFIG_PCI_PASID is not set
+# CONFIG_PCIE_BUS_TUNE_OFF is not set
+CONFIG_PCIE_BUS_DEFAULT=y
+# CONFIG_PCIE_BUS_SAFE is not set
+# CONFIG_PCIE_BUS_PERFORMANCE is not set
+# CONFIG_PCIE_BUS_PEER2PEER is not set
+CONFIG_VGA_ARB=y
+CONFIG_VGA_ARB_MAX_GPUS=16
+# CONFIG_HOTPLUG_PCI is not set
+
+#
+# PCI controller drivers
+#
+# CONFIG_PCI_FTPCI100 is not set
+# CONFIG_PCI_HOST_GENERIC is not set
+
+#
+# Cadence-based PCIe controllers
+#
+# CONFIG_PCIE_CADENCE_PLAT_HOST is not set
+# CONFIG_PCI_J721E_HOST is not set
+# end of Cadence-based PCIe controllers
+
+#
+# DesignWare-based PCIe controllers
+#
+# end of DesignWare-based PCIe controllers
+
+#
+# Mobiveil-based PCIe controllers
+#
+# end of Mobiveil-based PCIe controllers
+# end of PCI controller drivers
+
+#
+# PCI Endpoint
+#
+# CONFIG_PCI_ENDPOINT is not set
+# end of PCI Endpoint
+
+#
+# PCI switch controller drivers
+#
+# CONFIG_PCI_SW_SWITCHTEC is not set
+# end of PCI switch controller drivers
+
+# CONFIG_CXL_BUS is not set
 # CONFIG_PCCARD is not set
+# CONFIG_RAPIDIO is not set
 
 #
 # Generic Driver Options
@@ -1263,12 +1326,15 @@ CONFIG_MTD_PHYSMAP_OF=y
 # CONFIG_MTD_PHYSMAP_VERSATILE is not set
 # CONFIG_MTD_PHYSMAP_GEMINI is not set
 # CONFIG_MTD_PHYSMAP_GPIO_ADDR is not set
+# CONFIG_MTD_PCI is not set
+# CONFIG_MTD_INTEL_VR_NOR is not set
 # CONFIG_MTD_PLATRAM is not set
 # end of Mapping drivers for chip access
 
 #
 # Self-contained MTD device drivers
 #
+# CONFIG_MTD_PMC551 is not set
 # CONFIG_MTD_SLRAM is not set
 # CONFIG_MTD_PHRAM is not set
 # CONFIG_MTD_MTDRAM is not set
@@ -1323,6 +1389,7 @@ CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y
 CONFIG_BLK_DEV=y
 # CONFIG_BLK_DEV_NULL_BLK is not set
 # CONFIG_BLK_DEV_FD is not set
+# CONFIG_BLK_DEV_PCIESSD_MTIP32XX is not set
 # CONFIG_ZRAM is not set
 CONFIG_BLK_DEV_LOOP=y
 CONFIG_BLK_DEV_LOOP_MIN_COUNT=8
@@ -1336,6 +1403,7 @@ CONFIG_BLK_DEV_LOOP_MIN_COUNT=8
 #
 # NVME Support
 #
+# CONFIG_BLK_DEV_NVME is not set
 # CONFIG_NVME_FC is not set
 # CONFIG_NVME_TCP is not set
 # end of NVME Support
@@ -1345,8 +1413,11 @@ CONFIG_BLK_DEV_LOOP_MIN_COUNT=8
 #
 # CONFIG_AD525X_DPOT is not set
 # CONFIG_DUMMY_IRQ is not set
+# CONFIG_PHANTOM is not set
+# CONFIG_TIFM_CORE is not set
 # CONFIG_ICS932S401 is not set
 # CONFIG_ENCLOSURE_SERVICES is not set
+# CONFIG_HP_ILO is not set
 # CONFIG_APDS9802ALS is not set
 # CONFIG_ISL29003 is not set
 # CONFIG_ISL29020 is not set
@@ -1355,7 +1426,10 @@ CONFIG_BLK_DEV_LOOP_MIN_COUNT=8
 # CONFIG_SENSORS_APDS990X is not set
 # CONFIG_HMC6352 is not set
 # CONFIG_DS1682 is not set
+# CONFIG_PCH_PHUB is not set
 # CONFIG_SRAM is not set
+# CONFIG_DW_XDATA_PCIE is not set
+# CONFIG_PCI_ENDPOINT_TEST is not set
 # CONFIG_XILINX_SDFEC is not set
 # CONFIG_OPEN_DICE is not set
 # CONFIG_VCPU_STALL_DETECTOR is not set
@@ -1372,6 +1446,8 @@ CONFIG_BLK_DEV_LOOP_MIN_COUNT=8
 # CONFIG_EEPROM_EE1004 is not set
 # end of EEPROM support
 
+# CONFIG_CB710_CORE is not set
+
 #
 # Texas Instruments shared transport line discipline
 #
@@ -1383,8 +1459,11 @@ CONFIG_BLK_DEV_LOOP_MIN_COUNT=8
 #
 # CONFIG_ALTERA_STAPL is not set
 # CONFIG_ECHO is not set
+# CONFIG_MISC_ALCOR_PCI is not set
+# CONFIG_MISC_RTSX_PCI is not set
 # CONFIG_MISC_RTSX_USB is not set
 # CONFIG_PVPANIC is not set
+# CONFIG_GP_PCI1XXXX is not set
 # end of Misc devices
 
 #
@@ -1430,6 +1509,15 @@ CONFIG_DM_VERITY=y
 # CONFIG_DM_LOG_WRITES is not set
 # CONFIG_DM_INTEGRITY is not set
 # CONFIG_TARGET_CORE is not set
+# CONFIG_FUSION is not set
+
+#
+# IEEE 1394 (FireWire) support
+#
+# CONFIG_FIREWIRE is not set
+# CONFIG_FIREWIRE_NOSY is not set
+# end of IEEE 1394 (FireWire) support
+
 CONFIG_NETDEVICES=y
 CONFIG_NET_CORE=y
 # CONFIG_BONDING is not set
@@ -1451,6 +1539,7 @@ CONFIG_WIREGUARD=y
 # CONFIG_TUN_VNET_CROSS_LE is not set
 # CONFIG_VETH is not set
 # CONFIG_NLMON is not set
+# CONFIG_ARCNET is not set
 
 #
 # Distributed Switch Architecture drivers
@@ -1475,24 +1564,63 @@ CONFIG_NET_DSA_AR9331=y
 # end of Distributed Switch Architecture drivers
 
 CONFIG_ETHERNET=y
+CONFIG_NET_VENDOR_3COM=y
+# CONFIG_VORTEX is not set
+# CONFIG_TYPHOON is not set
+CONFIG_NET_VENDOR_ADAPTEC=y
+# CONFIG_ADAPTEC_STARFIRE is not set
+CONFIG_NET_VENDOR_AGERE=y
+# CONFIG_ET131X is not set
 CONFIG_NET_VENDOR_ALACRITECH=y
+# CONFIG_SLICOSS is not set
+CONFIG_NET_VENDOR_ALTEON=y
+# CONFIG_ACENIC is not set
 # CONFIG_ALTERA_TSE is not set
 CONFIG_NET_VENDOR_AMAZON=y
+CONFIG_NET_VENDOR_AMD=y
+# CONFIG_AMD8111_ETH is not set
+# CONFIG_PCNET32 is not set
 CONFIG_NET_VENDOR_AQUANTIA=y
+# CONFIG_AQTION is not set
 CONFIG_NET_VENDOR_ARC=y
 CONFIG_NET_VENDOR_ASIX=y
+CONFIG_NET_VENDOR_ATHEROS=y
+# CONFIG_ATL2 is not set
+# CONFIG_ATL1 is not set
+# CONFIG_ATL1E is not set
+# CONFIG_ATL1C is not set
+# CONFIG_ALX is not set
 CONFIG_NET_VENDOR_BROADCOM=y
 # CONFIG_B44 is not set
 # CONFIG_BCMGENET is not set
+# CONFIG_BNX2 is not set
+# CONFIG_CNIC is not set
+# CONFIG_TIGON3 is not set
+# CONFIG_BNX2X is not set
 # CONFIG_SYSTEMPORT is not set
+# CONFIG_BNXT is not set
 CONFIG_NET_VENDOR_CADENCE=y
 # CONFIG_MACB is not set
 CONFIG_NET_VENDOR_CAVIUM=y
+CONFIG_NET_VENDOR_CHELSIO=y
+# CONFIG_CHELSIO_T1 is not set
+# CONFIG_CHELSIO_T3 is not set
+# CONFIG_CHELSIO_T4 is not set
+# CONFIG_CHELSIO_T4VF is not set
+CONFIG_NET_VENDOR_CISCO=y
+# CONFIG_ENIC is not set
 CONFIG_NET_VENDOR_CORTINA=y
 # CONFIG_GEMINI_ETHERNET is not set
 CONFIG_NET_VENDOR_DAVICOM=y
 # CONFIG_DM9000 is not set
 # CONFIG_DNET is not set
+CONFIG_NET_VENDOR_DEC=y
+# CONFIG_NET_TULIP is not set
+CONFIG_NET_VENDOR_DLINK=y
+# CONFIG_DL2K is not set
+# CONFIG_SUNDANCE is not set
+CONFIG_NET_VENDOR_EMULEX=y
+# CONFIG_BE2NET is not set
 CONFIG_NET_VENDOR_ENGLEDER=y
 # CONFIG_TSNEP is not set
 CONFIG_NET_VENDOR_EZCHIP=y
@@ -1502,48 +1630,113 @@ CONFIG_NET_VENDOR_GOOGLE=y
 CONFIG_NET_VENDOR_HUAWEI=y
 CONFIG_NET_VENDOR_I825XX=y
 CONFIG_NET_VENDOR_INTEL=y
+# CONFIG_E100 is not set
+# CONFIG_E1000 is not set
+# CONFIG_E1000E is not set
+# CONFIG_IGB is not set
+# CONFIG_IGBVF is not set
+# CONFIG_IXGBE is not set
+# CONFIG_I40E is not set
+# CONFIG_IGC is not set
+# CONFIG_JME is not set
 # CONFIG_NET_VENDOR_LITEX is not set
 CONFIG_NET_VENDOR_MARVELL=y
 # CONFIG_MVMDIO is not set
+# CONFIG_SKGE is not set
+# CONFIG_SKY2 is not set
 # CONFIG_PRESTERA is not set
 # CONFIG_NET_VENDOR_MELLANOX is not set
 CONFIG_NET_VENDOR_MICREL=y
 # CONFIG_KS8851_MLL is not set
+# CONFIG_KSZ884X_PCI is not set
 CONFIG_NET_VENDOR_MICROCHIP=y
+# CONFIG_LAN743X is not set
 # CONFIG_LAN966X_SWITCH is not set
 # CONFIG_VCAP is not set
 CONFIG_NET_VENDOR_MICROSEMI=y
 # CONFIG_MSCC_OCELOT_SWITCH is not set
 CONFIG_NET_VENDOR_MICROSOFT=y
+CONFIG_NET_VENDOR_MYRI=y
+# CONFIG_MYRI10GE is not set
+# CONFIG_FEALNX is not set
 CONFIG_NET_VENDOR_NI=y
 # CONFIG_NI_XGE_MANAGEMENT_ENET is not set
 CONFIG_NET_VENDOR_NATSEMI=y
+# CONFIG_NATSEMI is not set
+# CONFIG_NS83820 is not set
+CONFIG_NET_VENDOR_NETERION=y
+# CONFIG_S2IO is not set
 CONFIG_NET_VENDOR_NETRONOME=y
 CONFIG_NET_VENDOR_8390=y
 # CONFIG_AX88796 is not set
+# CONFIG_NE2K_PCI is not set
+CONFIG_NET_VENDOR_NVIDIA=y
+# CONFIG_FORCEDETH is not set
+CONFIG_NET_VENDOR_OKI=y
 # CONFIG_ETHOC is not set
+CONFIG_NET_VENDOR_PACKET_ENGINES=y
+# CONFIG_HAMACHI is not set
+# CONFIG_YELLOWFIN is not set
 CONFIG_NET_VENDOR_PENSANDO=y
+CONFIG_NET_VENDOR_QLOGIC=y
+# CONFIG_QLA3XXX is not set
+# CONFIG_QLCNIC is not set
+# CONFIG_NETXEN_NIC is not set
+# CONFIG_QED is not set
+CONFIG_NET_VENDOR_BROCADE=y
+# CONFIG_BNA is not set
 CONFIG_NET_VENDOR_QUALCOMM=y
 # CONFIG_QCOM_EMAC is not set
 # CONFIG_RMNET is not set
+CONFIG_NET_VENDOR_RDC=y
+# CONFIG_R6040 is not set
+CONFIG_NET_VENDOR_REALTEK=y
+# CONFIG_8139CP is not set
+# CONFIG_8139TOO is not set
+# CONFIG_R8169 is not set
 CONFIG_NET_VENDOR_RENESAS=y
 CONFIG_NET_VENDOR_ROCKER=y
+# CONFIG_ROCKER is not set
 CONFIG_NET_VENDOR_SAMSUNG=y
 # CONFIG_SXGBE_ETH is not set
 CONFIG_NET_VENDOR_SEEQ=y
+CONFIG_NET_VENDOR_SILAN=y
+# CONFIG_SC92031 is not set
+CONFIG_NET_VENDOR_SIS=y
+# CONFIG_SIS900 is not set
+# CONFIG_SIS190 is not set
 CONFIG_NET_VENDOR_SOLARFLARE=y
+# CONFIG_SFC is not set
+# CONFIG_SFC_FALCON is not set
 CONFIG_NET_VENDOR_SMSC=y
 # CONFIG_SMC91X is not set
+# CONFIG_EPIC100 is not set
 # CONFIG_SMSC911X is not set
+# CONFIG_SMSC9420 is not set
 CONFIG_NET_VENDOR_SOCIONEXT=y
 CONFIG_NET_VENDOR_STMICRO=y
 # CONFIG_STMMAC_ETH is not set
+CONFIG_NET_VENDOR_SUN=y
+# CONFIG_HAPPYMEAL is not set
+# CONFIG_SUNGEM is not set
+# CONFIG_CASSINI is not set
+# CONFIG_NIU is not set
 CONFIG_NET_VENDOR_SYNOPSYS=y
 # CONFIG_DWC_XLGMAC is not set
+CONFIG_NET_VENDOR_TEHUTI=y
+# CONFIG_TEHUTI is not set
+CONFIG_NET_VENDOR_TI=y
+# CONFIG_TI_CPSW_PHY_SEL is not set
+# CONFIG_TLAN is not set
+CONFIG_NET_VENDOR_TOSHIBA=y
+# CONFIG_TC35815 is not set
 CONFIG_NET_VENDOR_VERTEXCOM=y
 CONFIG_NET_VENDOR_VIA=y
+# CONFIG_VIA_RHINE is not set
 # CONFIG_VIA_VELOCITY is not set
 CONFIG_NET_VENDOR_WANGXUN=y
+# CONFIG_NGBE is not set
+# CONFIG_TXGBE is not set
 CONFIG_NET_VENDOR_WIZNET=y
 # CONFIG_WIZNET_W5100 is not set
 # CONFIG_WIZNET_W5300 is not set
@@ -1551,6 +1744,8 @@ CONFIG_NET_VENDOR_XILINX=y
 # CONFIG_XILINX_EMACLITE is not set
 # CONFIG_XILINX_AXI_EMAC is not set
 # CONFIG_XILINX_LL_TEMAC is not set
+# CONFIG_FDDI is not set
+# CONFIG_HIPPI is not set
 CONFIG_PHYLINK=y
 CONFIG_PHYLIB=y
 CONFIG_SWPHY=y
@@ -1689,6 +1884,7 @@ CONFIG_WLAN_VENDOR_SILABS=y
 # CONFIG_WWAN is not set
 # end of Wireless WAN
 
+# CONFIG_VMXNET3 is not set
 # CONFIG_NETDEVSIM is not set
 # CONFIG_NET_FAILOVER is not set
 CONFIG_ISDN=y
@@ -1727,12 +1923,17 @@ CONFIG_SERIAL_8250=y
 # CONFIG_SERIAL_8250_16550A_VARIANTS is not set
 # CONFIG_SERIAL_8250_FINTEK is not set
 CONFIG_SERIAL_8250_CONSOLE=y
+CONFIG_SERIAL_8250_PCILIB=y
+CONFIG_SERIAL_8250_PCI=y
+CONFIG_SERIAL_8250_EXAR=y
 CONFIG_SERIAL_8250_NR_UARTS=1
 CONFIG_SERIAL_8250_RUNTIME_UARTS=1
 # CONFIG_SERIAL_8250_EXTENDED is not set
+# CONFIG_SERIAL_8250_PCI1XXXX is not set
 # CONFIG_SERIAL_8250_DW is not set
 # CONFIG_SERIAL_8250_RT288X is not set
 # CONFIG_SERIAL_8250_INGENIC is not set
+CONFIG_SERIAL_8250_PERICOM=y
 CONFIG_SERIAL_OF_PLATFORM=y
 
 #
@@ -1741,13 +1942,16 @@ CONFIG_SERIAL_OF_PLATFORM=y
 # CONFIG_SERIAL_UARTLITE is not set
 CONFIG_SERIAL_CORE=y
 CONFIG_SERIAL_CORE_CONSOLE=y
+# CONFIG_SERIAL_JSM is not set
 # CONFIG_SERIAL_SIFIVE is not set
 # CONFIG_SERIAL_SCCNXP is not set
 # CONFIG_SERIAL_SC16IS7XX is not set
 # CONFIG_SERIAL_ALTERA_JTAGUART is not set
 # CONFIG_SERIAL_ALTERA_UART is not set
+# CONFIG_SERIAL_PCH_UART is not set
 # CONFIG_SERIAL_XILINX_PS_UART is not set
 # CONFIG_SERIAL_ARC is not set
+# CONFIG_SERIAL_RP2 is not set
 # CONFIG_SERIAL_FSL_LPUART is not set
 # CONFIG_SERIAL_FSL_LINFLEXUART is not set
 # CONFIG_SERIAL_CONEXANT_DIGICOLOR is not set
@@ -1757,13 +1961,16 @@ CONFIG_SERIAL_CORE_CONSOLE=y
 CONFIG_SERIAL_MCTRL_GPIO=y
 # CONFIG_SERIAL_NONSTANDARD is not set
 # CONFIG_N_GSM is not set
+# CONFIG_NOZOMI is not set
 # CONFIG_NULL_TTY is not set
 # CONFIG_SERIAL_DEV_BUS is not set
 # CONFIG_TTY_PRINTK is not set
 # CONFIG_VIRTIO_CONSOLE is not set
 # CONFIG_IPMI_HANDLER is not set
 # CONFIG_HW_RANDOM is not set
+# CONFIG_APPLICOM is not set
 # CONFIG_DEVMEM is not set
+CONFIG_DEVPORT=y
 # CONFIG_TCG_TPM is not set
 # CONFIG_XILLYBUS is not set
 # CONFIG_XILLYUSB is not set
@@ -1783,11 +1990,32 @@ CONFIG_I2C_HELPER_AUTO=y
 # I2C Hardware Bus support
 #
 
+#
+# PC SMBus host controller drivers
+#
+# CONFIG_I2C_ALI1535 is not set
+# CONFIG_I2C_ALI1563 is not set
+# CONFIG_I2C_ALI15X3 is not set
+# CONFIG_I2C_AMD756 is not set
+# CONFIG_I2C_AMD8111 is not set
+# CONFIG_I2C_I801 is not set
+# CONFIG_I2C_ISCH is not set
+# CONFIG_I2C_PIIX4 is not set
+# CONFIG_I2C_NFORCE2 is not set
+# CONFIG_I2C_NVIDIA_GPU is not set
+# CONFIG_I2C_SIS5595 is not set
+# CONFIG_I2C_SIS630 is not set
+# CONFIG_I2C_SIS96X is not set
+# CONFIG_I2C_VIA is not set
+# CONFIG_I2C_VIAPRO is not set
+
 #
 # I2C system bus drivers (mostly embedded / system-on-chip)
 #
 # CONFIG_I2C_CBUS_GPIO is not set
 # CONFIG_I2C_DESIGNWARE_PLATFORM is not set
+# CONFIG_I2C_DESIGNWARE_PCI is not set
+# CONFIG_I2C_EG20T is not set
 # CONFIG_I2C_EMEV2 is not set
 # CONFIG_I2C_GPIO is not set
 # CONFIG_I2C_IMG is not set
@@ -1803,6 +2031,7 @@ CONFIG_I2C_HELPER_AUTO=y
 #
 # CONFIG_I2C_DIOLAN_U2C is not set
 # CONFIG_I2C_CP2615 is not set
+# CONFIG_I2C_PCI1XXXX is not set
 # CONFIG_I2C_ROBOTFUZZ_OSIF is not set
 # CONFIG_I2C_TAOS_EVM is not set
 # CONFIG_I2C_TINY_USB is not set
@@ -1873,6 +2102,7 @@ CONFIG_GPIO_CDEV_V1=y
 # CONFIG_GPIO_ALTERA is not set
 # CONFIG_GPIO_CADENCE is not set
 # CONFIG_GPIO_DWAPB is not set
+# CONFIG_GPIO_EXAR is not set
 # CONFIG_GPIO_FTGPIO010 is not set
 # CONFIG_GPIO_GENERIC_PLATFORM is not set
 # CONFIG_GPIO_GRGPIO is not set
@@ -1904,6 +2134,16 @@ CONFIG_GPIO_CDEV_V1=y
 #
 # end of MFD GPIO expanders
 
+#
+# PCI GPIO expanders
+#
+# CONFIG_GPIO_BT8XX is not set
+# CONFIG_GPIO_PCH is not set
+# CONFIG_GPIO_PCI_IDIO_16 is not set
+# CONFIG_GPIO_PCIE_IDIO_24 is not set
+# CONFIG_GPIO_RDC321X is not set
+# end of PCI GPIO expanders
+
 #
 # USB GPIO expanders
 #
@@ -1945,10 +2185,18 @@ CONFIG_WATCHDOG_OPEN_TIMEOUT=0
 # CONFIG_CADENCE_WATCHDOG is not set
 # CONFIG_DW_WATCHDOG is not set
 # CONFIG_MAX63XX_WATCHDOG is not set
+# CONFIG_ALIM7101_WDT is not set
+# CONFIG_I6300ESB_WDT is not set
 # CONFIG_JZ4740_WDT is not set
 # CONFIG_IMGPDC_WDT is not set
 # CONFIG_MEN_A21_WDT is not set
 
+#
+# PCI-based Watchdog Cards
+#
+# CONFIG_PCIPCWATCHDOG is not set
+# CONFIG_WDTPCI is not set
+
 #
 # USB-based Watchdog Cards
 #
@@ -1978,7 +2226,10 @@ CONFIG_BCMA_POSSIBLE=y
 # CONFIG_MFD_MC13XXX_I2C is not set
 # CONFIG_MFD_MP2629 is not set
 # CONFIG_MFD_HI6421_PMIC is not set
+# CONFIG_LPC_ICH is not set
+# CONFIG_LPC_SCH is not set
 # CONFIG_MFD_IQS62X is not set
+# CONFIG_MFD_JANZ_CMODIO is not set
 # CONFIG_MFD_KEMPLD is not set
 # CONFIG_MFD_88PM800 is not set
 # CONFIG_MFD_88PM805 is not set
@@ -1997,6 +2248,7 @@ CONFIG_BCMA_POSSIBLE=y
 # CONFIG_MFD_RETU is not set
 # CONFIG_MFD_PCF50633 is not set
 # CONFIG_MFD_SY7636A is not set
+# CONFIG_MFD_RDC321X is not set
 # CONFIG_MFD_RT4831 is not set
 # CONFIG_MFD_RT5033 is not set
 # CONFIG_MFD_RT5120 is not set
@@ -2022,6 +2274,7 @@ CONFIG_MFD_SYSCON=y
 # CONFIG_MFD_WL1273_CORE is not set
 # CONFIG_MFD_LM3533 is not set
 # CONFIG_MFD_TQMX86 is not set
+# CONFIG_MFD_VX855 is not set
 # CONFIG_MFD_ARIZONA_I2C is not set
 # CONFIG_MFD_WM8994 is not set
 # CONFIG_MFD_STMFX is not set
@@ -2149,6 +2402,7 @@ CONFIG_USB_COMMON=m
 # CONFIG_USB_CONN_GPIO is not set
 CONFIG_USB_ARCH_HAS_HCD=y
 CONFIG_USB=m
+CONFIG_USB_PCI=y
 # CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set
 
 #
@@ -2173,6 +2427,7 @@ CONFIG_USB_AUTOSUSPEND_DELAY=2
 # CONFIG_USB_OXU210HP_HCD is not set
 # CONFIG_USB_ISP116X_HCD is not set
 # CONFIG_USB_OHCI_HCD is not set
+# CONFIG_USB_UHCI_HCD is not set
 # CONFIG_USB_SL811_HCD is not set
 # CONFIG_USB_R8A66597_HCD is not set
 # CONFIG_USB_HCD_TEST_MODE is not set
@@ -2350,6 +2605,7 @@ CONFIG_RTC_LIB=y
 # CONFIG_VFIO is not set
 # CONFIG_VIRT_DRIVERS is not set
 CONFIG_VIRTIO_MENU=y
+# CONFIG_VIRTIO_PCI is not set
 # CONFIG_VIRTIO_MMIO is not set
 # CONFIG_VDPA is not set
 # CONFIG_VHOST_MENU is not set
@@ -2362,12 +2618,15 @@ CONFIG_VIRTIO_MENU=y
 # CONFIG_GREYBUS is not set
 # CONFIG_COMEDI is not set
 CONFIG_STAGING=y
+# CONFIG_RTL8192U is not set
 # CONFIG_RTLLIB is not set
 # CONFIG_STAGING_MEDIA is not set
 # CONFIG_STAGING_BOARD is not set
 # CONFIG_LTE_GDM724X is not set
 # CONFIG_XIL_AXIS_FIFO is not set
 # CONFIG_FIELDBUS_DEV is not set
+# CONFIG_QLGE is not set
+# CONFIG_VME_BUS is not set
 # CONFIG_MIPS_PLATFORM_DEVICES is not set
 # CONFIG_GOLDFISH is not set
 CONFIG_HAVE_CLK=y
@@ -2496,6 +2755,7 @@ CONFIG_CLKSRC_MIPS_GIC=y
 # CONFIG_EXTCON is not set
 # CONFIG_MEMORY is not set
 # CONFIG_IIO is not set
+# CONFIG_NTB is not set
 # CONFIG_PWM is not set
 
 #
@@ -2546,6 +2806,7 @@ CONFIG_GENERIC_PHY=y
 # CONFIG_POWERCAP is not set
 # CONFIG_MCB is not set
 # CONFIG_RAS is not set
+# CONFIG_USB4 is not set
 
 #
 # Android
diff --git a/configs/platform-mipsel/kernelconfig-malta.diff b/configs/platform-mipsel/kernelconfig-malta.diff
index 0ad1470d..3cb623cc 100644
--- a/configs/platform-mipsel/kernelconfig-malta.diff
+++ b/configs/platform-mipsel/kernelconfig-malta.diff
@@ -1,9 +1,5 @@
-17fe512614955c6a3a288ec4e2d08bc8
-# CONFIG_8139CP is not set
-# CONFIG_8139TOO is not set
-# CONFIG_ACENIC is not set
+cd23350593e3e06a524069f6394f74d2
 # CONFIG_ACORN_PARTITION is undefined
-# CONFIG_ADAPTEC_STARFIRE is not set
 # CONFIG_AHCI_CEVA is not set
 # CONFIG_AHCI_DWC is not set
 CONFIG_AIC7XXX_CMDS_PER_DEVICE=32
@@ -13,14 +9,10 @@ CONFIG_AIC7XXX_REG_PRETTY_PRINT=y
 CONFIG_AIC7XXX_RESET_DELAY_MS=15000
 CONFIG_AIO=y
 # CONFIG_AIX_PARTITION is undefined
-# CONFIG_ALX is not set
-# CONFIG_AMD8111_ETH is not set
+# CONFIG_ALIM7101_WDT is undefined
 # CONFIG_AMIGA_PARTITION is undefined
-# CONFIG_APPLICOM is not set
-# CONFIG_AQTION is not set
 CONFIG_ARCH_HAS_PTE_SPECIAL=y
 CONFIG_ARCH_MMAP_RND_BITS=12
-# CONFIG_ARCNET is not set
 CONFIG_ASM_MODVERSIONS=y
 CONFIG_ASN1=y
 CONFIG_ASYMMETRIC_KEY_TYPE=y
@@ -37,10 +29,6 @@ CONFIG_ATA_SFF=y
 CONFIG_ATA_VERBOSE_ERROR=y
 # CONFIG_ATH5K_PCI is not set
 # CONFIG_ATH_DEBUG is not set
-# CONFIG_ATL1 is not set
-# CONFIG_ATL1C is not set
-# CONFIG_ATL1E is not set
-# CONFIG_ATL2 is not set
 # CONFIG_AUTOFS4_FS is not set
 CONFIG_AX88796=m
 # CONFIG_AX88796_93CX6 is not set
@@ -67,7 +55,6 @@ CONFIG_AX88796=m
 # CONFIG_BATMAN_ADV_TRACING is undefined
 CONFIG_BCM_NET_PHYLIB=m
 # CONFIG_BE2ISCSI is not set
-# CONFIG_BE2NET is not set
 CONFIG_BLK_DEBUG_FS=y
 CONFIG_BLK_DEV_3W_XXXX_RAID=m
 CONFIG_BLK_DEV_BSG=y
@@ -75,15 +62,8 @@ CONFIG_BLK_DEV_BSGLIB=y
 CONFIG_BLK_DEV_BSG_COMMON=y
 CONFIG_BLK_DEV_DM=m
 CONFIG_BLK_DEV_LOOP=m
-# CONFIG_BLK_DEV_NVME is not set
-# CONFIG_BLK_DEV_PCIESSD_MTIP32XX is not set
 CONFIG_BLK_DEV_SD=y
 # CONFIG_BLK_DEV_SR is not set
-CONFIG_BLK_MQ_PCI=y
-# CONFIG_BNA is not set
-# CONFIG_BNX2 is not set
-# CONFIG_BNX2X is not set
-# CONFIG_BNXT is not set
 CONFIG_BONDING=m
 CONFIG_BRIDGE=m
 CONFIG_BRIDGE_EBT_802_3=m
@@ -112,15 +92,10 @@ CONFIG_BRIDGE_NF_EBTABLES=m
 CONFIG_BROADCOM_PHY=m
 # CONFIG_BSD_DISKLABEL is undefined
 # CONFIG_CADENCE_WATCHDOG is undefined
-# CONFIG_CASSINI is not set
-# CONFIG_CB710_CORE is not set
 CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y
 # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
 # CONFIG_CDROM_PKTCDVD is not set
-# CONFIG_CHELSIO_T1 is not set
 CONFIG_CHELSIO_T3=m
-# CONFIG_CHELSIO_T4 is not set
-# CONFIG_CHELSIO_T4VF is not set
 # CONFIG_CHR_DEV_SCH is not set
 CONFIG_CHR_DEV_SG=m
 # CONFIG_CHR_DEV_ST is not set
@@ -129,7 +104,6 @@ CONFIG_CICADA_PHY=m
 # CONFIG_CLS_U32_PERF is not set
 CONFIG_CLZ_TAB=y
 # CONFIG_CMDLINE_PARTITION is undefined
-# CONFIG_CNIC is not set
 CONFIG_COREDUMP=y
 CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
 # CONFIG_CPU_HAS_DIEI is undefined
@@ -222,33 +196,23 @@ CONFIG_CRYPTO_TWOFISH_COMMON=m
 CONFIG_CRYPTO_WP512=m
 CONFIG_CRYPTO_XCBC=m
 # CONFIG_CUSE is not set
-# CONFIG_CXL_BUS is not set
 CONFIG_DAVICOM_PHY=m
 # CONFIG_DEBUG_GPIO is undefined
 # CONFIG_DEBUG_PINCTRL is undefined
 # CONFIG_DEFAULT_CUBIC is undefined
 # CONFIG_DEFAULT_RENO is undefined
 # CONFIG_DEFAULT_SFQ is not set
-CONFIG_DEVPORT=y
 # CONFIG_DEVTMPFS_MOUNT is not set
 CONFIG_DEV_APPLETALK=m
-# CONFIG_DL2K is not set
 CONFIG_DM_BUFIO=m
 # CONFIG_DM_INIT is undefined
 CONFIG_DM_VERITY=m
 CONFIG_DNOTIFY=y
 # CONFIG_DNS_RESOLVER is not set
 # CONFIG_DW_WATCHDOG is undefined
-# CONFIG_DW_XDATA_PCIE is not set
-# CONFIG_E1000 is not set
-# CONFIG_E1000E is not set
-# CONFIG_E100 is not set
 CONFIG_ELF_CORE=y
 # CONFIG_EMBEDDED is not set
-# CONFIG_ENIC is not set
-# CONFIG_EPIC100 is not set
 CONFIG_EQUALIZER=m
-# CONFIG_ET131X is not set
 CONFIG_FB=y
 # CONFIG_FB_3DFX is not set
 # CONFIG_FB_ARK is not set
@@ -291,21 +255,15 @@ CONFIG_FB_NOTIFY=y
 # CONFIG_FB_VIRTUAL is not set
 # CONFIG_FB_VOODOO1 is not set
 # CONFIG_FB_VT8623 is not set
-# CONFIG_FDDI is not set
-# CONFIG_FEALNX is not set
 # CONFIG_FIELDBUS_DEV is undefined
 # CONFIG_FIPS_SIGNATURE_SELFTEST is not set
-# CONFIG_FIREWIRE is not set
-# CONFIG_FIREWIRE_NOSY is not set
 # CONFIG_FIRMWARE_EDID is not set
 CONFIG_FIXED_PHY=m
-# CONFIG_FORCEDETH is not set
 # CONFIG_FORCE_TASKS_RCU is undefined
 # CONFIG_FORCE_TASKS_RUDE_RCU is undefined
 # CONFIG_FORCE_TASKS_TRACE_RCU is undefined
 CONFIG_FS_POSIX_ACL=y
 CONFIG_FUSE_FS=m
-# CONFIG_FUSION is not set
 CONFIG_FWNODE_MDIO=m
 CONFIG_GACT_PROB=y
 CONFIG_GARP=m
@@ -319,10 +277,12 @@ CONFIG_GARP=m
 # CONFIG_GPIO_AGGREGATOR is undefined
 # CONFIG_GPIO_ALTERA is undefined
 # CONFIG_GPIO_AMD_FCH is undefined
+# CONFIG_GPIO_BT8XX is undefined
 # CONFIG_GPIO_CADENCE is undefined
 # CONFIG_GPIO_CDEV is undefined
 # CONFIG_GPIO_CDEV_V1 is undefined
 # CONFIG_GPIO_DWAPB is undefined
+# CONFIG_GPIO_EXAR is undefined
 # CONFIG_GPIO_FTGPIO010 is undefined
 # CONFIG_GPIO_FXL6408 is undefined
 # CONFIG_GPIO_GENERIC_PLATFORM is undefined
@@ -338,6 +298,10 @@ CONFIG_GARP=m
 # CONFIG_GPIO_PCA953X is undefined
 # CONFIG_GPIO_PCA9570 is undefined
 # CONFIG_GPIO_PCF857X is undefined
+# CONFIG_GPIO_PCH is undefined
+# CONFIG_GPIO_PCIE_IDIO_24 is undefined
+# CONFIG_GPIO_PCI_IDIO_16 is undefined
+# CONFIG_GPIO_RDC321X is undefined
 # CONFIG_GPIO_SIFIVE is undefined
 # CONFIG_GPIO_SIM is undefined
 # CONFIG_GPIO_SYSCON is undefined
@@ -345,8 +309,7 @@ CONFIG_GARP=m
 # CONFIG_GPIO_TPIC2810 is undefined
 # CONFIG_GPIO_WATCHDOG is undefined
 # CONFIG_GPIO_XILINX is undefined
-# CONFIG_HAMACHI is not set
-# CONFIG_HAPPYMEAL is not set
+# CONFIG_GP_PCI1XXXX is undefined
 # CONFIG_HAVE_KVM is undefined
 CONFIG_HID=m
 # CONFIG_HIDRAW is not set
@@ -439,50 +402,26 @@ CONFIG_HID_SUPPORT=y
 # CONFIG_HID_XINMO is not set
 # CONFIG_HID_ZEROPLUS is not set
 # CONFIG_HID_ZYDACRON is not set
-# CONFIG_HIPPI is not set
 CONFIG_HOSTAP=m
 CONFIG_HOSTAP_FIRMWARE=y
 CONFIG_HOSTAP_FIRMWARE_NVRAM=y
 CONFIG_HOSTAP_PCI=m
 CONFIG_HOSTAP_PLX=m
-# CONFIG_HOTPLUG_PCI is not set
-# CONFIG_HP_ILO is not set
 CONFIG_HW_RANDOM=m
 # CONFIG_HW_RANDOM_BA431 is not set
 # CONFIG_HW_RANDOM_CCTRNG is not set
 # CONFIG_HW_RANDOM_TIMERIOMEM is not set
 # CONFIG_HW_RANDOM_XIPHERA is not set
 # CONFIG_HZ_PERIODIC is not set
-# CONFIG_I2C_ALI1535 is not set
-# CONFIG_I2C_ALI1563 is not set
-# CONFIG_I2C_ALI15X3 is not set
-# CONFIG_I2C_AMD756 is not set
-# CONFIG_I2C_AMD8111 is not set
 # CONFIG_I2C_CBUS_GPIO is undefined
-# CONFIG_I2C_DESIGNWARE_PCI is not set
-# CONFIG_I2C_EG20T is not set
 # CONFIG_I2C_GPIO is undefined
 CONFIG_I2C_HID=m
 # CONFIG_I2C_HID_OF is not set
 # CONFIG_I2C_HID_OF_ELAN is not set
 # CONFIG_I2C_HID_OF_GOODIX is not set
-# CONFIG_I2C_I801 is not set
-# CONFIG_I2C_ISCH is not set
-# CONFIG_I2C_NFORCE2 is not set
-# CONFIG_I2C_NVIDIA_GPU is not set
-# CONFIG_I2C_PCI1XXXX is not set
-# CONFIG_I2C_PIIX4 is not set
-# CONFIG_I2C_SIS5595 is not set
-# CONFIG_I2C_SIS630 is not set
-# CONFIG_I2C_SIS96X is not set
-# CONFIG_I2C_VIA is not set
-# CONFIG_I2C_VIAPRO is not set
-# CONFIG_I40E is not set
+# CONFIG_I6300ESB_WDT is undefined
 CONFIG_ICPLUS_PHY=m
 CONFIG_IFB=m
-# CONFIG_IGB is not set
-# CONFIG_IGBVF is not set
-# CONFIG_IGC is not set
 # CONFIG_IMGPDC_WDT is undefined
 CONFIG_INET6_AH=m
 CONFIG_INET6_ESP=m
@@ -596,8 +535,6 @@ CONFIG_IP_VS_WRR=m
 # CONFIG_ISCSI_BOOT_SYSFS is not set
 CONFIG_ISCSI_TCP=m
 # CONFIG_ISDN is not set
-# CONFIG_IXGBE is not set
-# CONFIG_JME is not set
 # CONFIG_JZ4740_WDT is undefined
 # CONFIG_KARMA_PARTITION is undefined
 # CONFIG_KEYBOARD_ADP5588 is not set
@@ -624,8 +561,6 @@ CONFIG_KEYBOARD_ATKBD=y
 # CONFIG_KEYBOARD_TCA6416 is not set
 # CONFIG_KEYBOARD_TCA8418 is not set
 # CONFIG_KEYBOARD_XTKBD is not set
-# CONFIG_KSZ884X_PCI is not set
-# CONFIG_LAN743X is not set
 # CONFIG_LAN966X_SWITCH is undefined
 # CONFIG_LCD_CLASS_DEVICE is not set
 # CONFIG_LCD_PLATFORM is undefined
@@ -693,8 +628,6 @@ CONFIG_LLC=m
 CONFIG_LOCALVERSION="-malta"
 # CONFIG_LOGO is not set
 CONFIG_LOG_BUF_SHIFT=15
-# CONFIG_LPC_ICH is not set
-# CONFIG_LPC_SCH is not set
 CONFIG_LSM="lockdown,yama,loadpin,safesetid,integrity"
 # CONFIG_LTE_GDM724X is undefined
 CONFIG_LXT_PHY=m
@@ -715,9 +648,6 @@ CONFIG_MDIO_DEVRES=m
 # CONFIG_MEGARAID_NEWGEN is not set
 # CONFIG_MEGARAID_SAS is not set
 # CONFIG_MEN_A21_WDT is undefined
-# CONFIG_MFD_JANZ_CMODIO is not set
-# CONFIG_MFD_RDC321X is not set
-# CONFIG_MFD_VX855 is not set
 CONFIG_MII=y
 # CONFIG_MINIX_SUBPARTITION is undefined
 # CONFIG_MIPS_CDMM is undefined
@@ -728,8 +658,6 @@ CONFIG_MIPS_NR_CPU_NR_MAP=8
 CONFIG_MIPS_PLATFORM_DEVICES=y
 # CONFIG_MIPS_RAW_APPENDED_DTB is not set
 # CONFIG_MIPS_SPRAM is undefined
-# CONFIG_MISC_ALCOR_PCI is not set
-# CONFIG_MISC_RTSX_PCI is not set
 # CONFIG_MISDN is undefined
 CONFIG_MODULE_SRCVERSION_ALL=y
 CONFIG_MODVERSIONS=y
@@ -769,7 +697,6 @@ CONFIG_MTD_CFI_INTELEXT=y
 CONFIG_MTD_CFI_STAA=y
 # CONFIG_MTD_CMDLINE_PARTS is not set
 # CONFIG_MTD_COMPLEX_MAPPINGS is not set
-# CONFIG_MTD_INTEL_VR_NOR is not set
 # CONFIG_MTD_MAP_BANK_WIDTH_16 is undefined
 CONFIG_MTD_MAP_BANK_WIDTH_1=y
 # CONFIG_MTD_MAP_BANK_WIDTH_32 is undefined
@@ -777,20 +704,17 @@ CONFIG_MTD_MAP_BANK_WIDTH_4=y
 # CONFIG_MTD_MAP_BANK_WIDTH_8 is undefined
 CONFIG_MTD_OOPS=m
 # CONFIG_MTD_OTP is undefined
+# CONFIG_MTD_PCI is undefined
 # CONFIG_MTD_PHYSMAP is not set
 # CONFIG_MTD_PHYSMAP_COMPAT is undefined
 # CONFIG_MTD_PHYSMAP_GEMINI is undefined
 # CONFIG_MTD_PHYSMAP_GPIO_ADDR is undefined
 # CONFIG_MTD_PHYSMAP_OF is undefined
 # CONFIG_MTD_PHYSMAP_VERSATILE is undefined
-# CONFIG_MTD_PMC551 is not set
 CONFIG_MTD_UBI_GLUEBI=m
 CONFIG_MULTIPLEXER=y
 # CONFIG_MUX_ADG792A is not set
 # CONFIG_MUX_MMIO is not set
-# CONFIG_MYRI10GE is not set
-# CONFIG_NATSEMI is not set
-# CONFIG_NE2K_PCI is not set
 CONFIG_NETFILTER_CONNCOUNT=m
 CONFIG_NETFILTER_FAMILY_ARP=y
 CONFIG_NETFILTER_FAMILY_BRIDGE=y
@@ -933,33 +857,7 @@ CONFIG_NET_SCH_TEQL=m
 CONFIG_NET_SELFTESTS=m
 # CONFIG_NET_SWITCHDEV is not set
 # CONFIG_NET_TC_SKB_EXT is not set
-# CONFIG_NET_TULIP is not set
 # CONFIG_NET_VENDOR_3COM is not set
-CONFIG_NET_VENDOR_ADAPTEC=y
-CONFIG_NET_VENDOR_AGERE=y
-CONFIG_NET_VENDOR_ALTEON=y
-CONFIG_NET_VENDOR_AMD=y
-CONFIG_NET_VENDOR_ATHEROS=y
-CONFIG_NET_VENDOR_BROCADE=y
-CONFIG_NET_VENDOR_CHELSIO=y
-CONFIG_NET_VENDOR_CISCO=y
-CONFIG_NET_VENDOR_DEC=y
-CONFIG_NET_VENDOR_DLINK=y
-CONFIG_NET_VENDOR_EMULEX=y
-CONFIG_NET_VENDOR_MYRI=y
-CONFIG_NET_VENDOR_NETERION=y
-CONFIG_NET_VENDOR_NVIDIA=y
-CONFIG_NET_VENDOR_OKI=y
-CONFIG_NET_VENDOR_PACKET_ENGINES=y
-CONFIG_NET_VENDOR_QLOGIC=y
-CONFIG_NET_VENDOR_RDC=y
-CONFIG_NET_VENDOR_REALTEK=y
-CONFIG_NET_VENDOR_SILAN=y
-CONFIG_NET_VENDOR_SIS=y
-CONFIG_NET_VENDOR_SUN=y
-CONFIG_NET_VENDOR_TEHUTI=y
-CONFIG_NET_VENDOR_TI=y
-CONFIG_NET_VENDOR_TOSHIBA=y
 # CONFIG_NEW_LEDS is not set
 CONFIG_NFSD=y
 # CONFIG_NFSD_V2 is not set
@@ -999,8 +897,6 @@ CONFIG_NF_SOCKET_IPV4=m
 CONFIG_NF_SOCKET_IPV6=m
 CONFIG_NF_TPROXY_IPV4=m
 CONFIG_NF_TPROXY_IPV6=m
-# CONFIG_NGBE is not set
-# CONFIG_NIU is not set
 CONFIG_NLS_ASCII=m
 CONFIG_NLS_CODEPAGE_1250=m
 CONFIG_NLS_CODEPAGE_1251=m
@@ -1039,13 +935,10 @@ CONFIG_NLS_ISO8859_9=m
 CONFIG_NLS_KOI8_R=m
 CONFIG_NLS_KOI8_U=m
 CONFIG_NLS_UTF8=m
-# CONFIG_NOZOMI is not set
 CONFIG_NO_HZ=y
 CONFIG_NO_HZ_COMMON=y
 CONFIG_NO_HZ_IDLE=y
 CONFIG_NR_CPUS=8
-# CONFIG_NS83820 is not set
-# CONFIG_NTB is not set
 CONFIG_NVMEM=y
 # CONFIG_NVMEM_LAYOUT_ONIE_TLV is not set
 # CONFIG_NVMEM_LAYOUT_SL28_VPD is not set
@@ -1109,38 +1002,9 @@ CONFIG_PATA_TIMINGS=y
 # CONFIG_PATA_TRIFLEX is not set
 # CONFIG_PATA_VIA is not set
 # CONFIG_PATA_WINBOND is not set
-# CONFIG_PCH_PHUB is not set
-CONFIG_PCI=y
-CONFIG_PCIEASPM=y
-CONFIG_PCIEASPM_DEFAULT=y
-# CONFIG_PCIEASPM_PERFORMANCE is not set
-# CONFIG_PCIEASPM_POWERSAVE is not set
-# CONFIG_PCIEASPM_POWER_SUPERSAVE is not set
-# CONFIG_PCIEPORTBUS is not set
-CONFIG_PCIE_BUS_DEFAULT=y
-# CONFIG_PCIE_BUS_PEER2PEER is not set
-# CONFIG_PCIE_BUS_PERFORMANCE is not set
-# CONFIG_PCIE_BUS_SAFE is not set
-# CONFIG_PCIE_BUS_TUNE_OFF is not set
-# CONFIG_PCIE_CADENCE_PLAT_HOST is not set
-# CONFIG_PCIE_PTM is not set
-# CONFIG_PCI_DEBUG is not set
-CONFIG_PCI_DOMAINS=y
-# CONFIG_PCI_ENDPOINT is not set
-# CONFIG_PCI_ENDPOINT_TEST is not set
-# CONFIG_PCI_FTPCI100 is not set
-# CONFIG_PCI_HOST_GENERIC is not set
-# CONFIG_PCI_IOV is not set
-# CONFIG_PCI_J721E_HOST is not set
-# CONFIG_PCI_MSI is not set
-# CONFIG_PCI_PASID is not set
-# CONFIG_PCI_PRI is not set
-CONFIG_PCI_QUIRKS=y
-# CONFIG_PCI_STUB is not set
-# CONFIG_PCI_SW_SWITCHTEC is not set
+# CONFIG_PCIPCWATCHDOG is undefined
 CONFIG_PCNET32=y
 # CONFIG_PDC_ADMA is not set
-# CONFIG_PHANTOM is not set
 CONFIG_PHONET=m
 CONFIG_PHYLIB=m
 # CONFIG_PHYLIB_LEDS is undefined
@@ -1182,14 +1046,9 @@ CONFIG_POWER_RESET_SYSCON=y
 # CONFIG_PRESTERA is undefined
 CONFIG_PROC_KCORE=y
 CONFIG_PROC_PAGE_MONITOR=y
-# CONFIG_QED is not set
-# CONFIG_QLA3XXX is not set
-# CONFIG_QLCNIC is not set
+# CONFIG_QLGE is undefined
 CONFIG_QSEMI_PHY=m
-# CONFIG_R6040 is not set
-# CONFIG_R8169 is not set
 CONFIG_RAID_ATTRS=m
-# CONFIG_RAPIDIO is not set
 # CONFIG_RCU_BOOST is undefined
 # CONFIG_RCU_EXPERT is not set
 # CONFIG_RCU_FANOUT is undefined
@@ -1275,6 +1134,7 @@ CONFIG_RFKILL=m
 # CONFIG_RFKILL_INPUT is not set
 # CONFIG_RFKILL_LEDS is undefined
 # CONFIG_RMI4_CORE is not set
+# CONFIG_ROCKER is undefined
 CONFIG_RTC_CLASS=y
 # CONFIG_RTC_DEBUG is not set
 # CONFIG_RTC_DRV_ABB5ZES3 is not set
@@ -1344,8 +1204,8 @@ CONFIG_RTC_MC146818_LIB=y
 CONFIG_RTC_NVMEM=y
 CONFIG_RTC_SYSTOHC=y
 CONFIG_RTC_SYSTOHC_DEVICE="rtc0"
+# CONFIG_RTL8192U is undefined
 # CONFIG_RTLLIB is undefined
-# CONFIG_S2IO is not set
 # CONFIG_SATA_ACARD_AHCI is not set
 # CONFIG_SATA_AHCI is not set
 # CONFIG_SATA_AHCI_PLATFORM is not set
@@ -1364,7 +1224,6 @@ CONFIG_SATA_PMP=y
 # CONFIG_SATA_ULI is not set
 # CONFIG_SATA_VIA is not set
 # CONFIG_SATA_VITESSE is not set
-# CONFIG_SC92031 is not set
 CONFIG_SCHED_DEBUG=y
 CONFIG_SCSI=y
 CONFIG_SCSI_3W_9XXX=m
@@ -1436,18 +1295,10 @@ CONFIG_SCTP_DEFAULT_COOKIE_HMAC_MD5=y
 # CONFIG_SCTP_DEFAULT_COOKIE_HMAC_SHA1 is not set
 # CONFIG_SENSORS_LIS3_I2C is not set
 CONFIG_SERIAL_8250_DEPRECATED_OPTIONS=y
-CONFIG_SERIAL_8250_EXAR=y
 CONFIG_SERIAL_8250_NR_UARTS=4
-# CONFIG_SERIAL_8250_PCI1XXXX is not set
-CONFIG_SERIAL_8250_PCI=y
-CONFIG_SERIAL_8250_PCILIB=y
-CONFIG_SERIAL_8250_PERICOM=y
 CONFIG_SERIAL_8250_RUNTIME_UARTS=4
-# CONFIG_SERIAL_JSM is not set
 # CONFIG_SERIAL_MCTRL_GPIO is undefined
 # CONFIG_SERIAL_OF_PLATFORM is not set
-# CONFIG_SERIAL_PCH_UART is not set
-# CONFIG_SERIAL_RP2 is not set
 CONFIG_SERIO=y
 # CONFIG_SERIO_ALTERA_PS2 is not set
 # CONFIG_SERIO_APBPS2 is not set
@@ -1458,21 +1309,13 @@ CONFIG_SERIO_LIBPS2=y
 # CONFIG_SERIO_PS2MULT is not set
 # CONFIG_SERIO_RAW is not set
 CONFIG_SERIO_SERPORT=y
-# CONFIG_SFC is not set
-# CONFIG_SFC_FALCON is not set
 # CONFIG_SFP is undefined
 CONFIG_SGETMASK_SYSCALL=y
 # CONFIG_SGI_PARTITION is undefined
 CONFIG_SG_POOL=y
-# CONFIG_SIS190 is not set
-# CONFIG_SIS900 is not set
 CONFIG_SKB_EXTENSIONS=y
-# CONFIG_SKGE is not set
-# CONFIG_SKY2 is not set
 # CONFIG_SLHC is undefined
-# CONFIG_SLICOSS is not set
 # CONFIG_SMC91X is undefined
-# CONFIG_SMSC9420 is not set
 CONFIG_SMSC_PHY=m
 # CONFIG_SOFT_WATCHDOG is undefined
 # CONFIG_SOLARIS_X86_PARTITION is undefined
@@ -1488,8 +1331,6 @@ CONFIG_SQUASHFS_MOUNT_DECOMP_THREADS=y
 # CONFIG_STAGING_MEDIA is undefined
 CONFIG_STP=m
 # CONFIG_STRIP_ASM_SYMS is not set
-# CONFIG_SUNDANCE is not set
-# CONFIG_SUNGEM is not set
 # CONFIG_SUNRPC_BACKCHANNEL is undefined
 # CONFIG_SUN_PARTITION is undefined
 # CONFIG_SYSCON_REBOOT_MODE is not set
@@ -1516,20 +1357,15 @@ CONFIG_TC35815=m
 # CONFIG_TCP_CONG_WESTWOOD is undefined
 # CONFIG_TCP_CONG_YEAH is undefined
 CONFIG_TCP_MD5SIG=y
-# CONFIG_TEHUTI is not set
 CONFIG_TEXTSEARCH=y
 CONFIG_TEXTSEARCH_BM=m
 CONFIG_TEXTSEARCH_FSM=m
 CONFIG_TEXTSEARCH_KMP=m
-# CONFIG_TIFM_CORE is not set
-# CONFIG_TIGON3 is not set
-# CONFIG_TI_CPSW_PHY_SEL is not set
 # CONFIG_TI_ST is undefined
-# CONFIG_TLAN is not set
 # CONFIG_TMPFS_XATTR is not set
 # CONFIG_TPS65010 is undefined
 CONFIG_TUN=m
-# CONFIG_TXGBE is not set
+# CONFIG_TYPHOON is undefined
 # CONFIG_UEVENT_HELPER is not set
 # CONFIG_UEVENT_HELPER_PATH is undefined
 # CONFIG_UHID is not set
@@ -1545,7 +1381,6 @@ CONFIG_UIO_CIF=m
 # CONFIG_UIO_SERCOS3 is not set
 # CONFIG_ULTRIX_PARTITION is undefined
 # CONFIG_UNIXWARE_DISKLABEL is undefined
-# CONFIG_USB4 is not set
 # CONFIG_USBPCWATCHDOG is undefined
 # CONFIG_USB_CHAOSKEY is not set
 # CONFIG_USB_CONN_GPIO is undefined
@@ -1557,9 +1392,7 @@ CONFIG_USB_HID=m
 # CONFIG_USB_LED_TRIG is undefined
 # CONFIG_USB_MICROTEK is not set
 # CONFIG_USB_MOUSE is not set
-CONFIG_USB_PCI=y
 # CONFIG_USB_STORAGE is not set
-# CONFIG_USB_UHCI_HCD is not set
 # CONFIG_USB_XHCI_DBGCAP is not set
 CONFIG_USB_XHCI_HCD=m
 CONFIG_USB_XHCI_PCI=m
@@ -1567,18 +1400,15 @@ CONFIG_USB_XHCI_PCI=m
 # CONFIG_USB_XHCI_PLATFORM is not set
 # CONFIG_USERIO is not set
 CONFIG_VETH=m
-CONFIG_VGA_ARB=y
-CONFIG_VGA_ARB_MAX_GPUS=16
-# CONFIG_VIA_RHINE is not set
 CONFIG_VIDEO_CMDLINE=y
 CONFIG_VIDEO_NOMODESET=y
 # CONFIG_VIRTIO_FS is not set
-# CONFIG_VIRTIO_PCI is not set
 CONFIG_VITESSE_PHY=m
 CONFIG_VLAN_8021Q=m
 CONFIG_VLAN_8021Q_GVRP=y
-# CONFIG_VMXNET3 is not set
+# CONFIG_VME_BUS is undefined
 CONFIG_VM_EVENT_COUNTERS=y
+# CONFIG_VORTEX is undefined
 # CONFIG_WATCHDOG is not set
 # CONFIG_WATCHDOG_CORE is undefined
 # CONFIG_WATCHDOG_HANDLE_BOOT_ENABLED is undefined
@@ -1586,6 +1416,7 @@ CONFIG_VM_EVENT_COUNTERS=y
 # CONFIG_WATCHDOG_NOWAYOUT is undefined
 # CONFIG_WATCHDOG_OPEN_TIMEOUT is undefined
 # CONFIG_WATCHDOG_SYSFS is undefined
+# CONFIG_WDTPCI is undefined
 CONFIG_WEXT_CORE=y
 CONFIG_WEXT_PRIV=y
 CONFIG_WEXT_PROC=y
@@ -1630,5 +1461,4 @@ CONFIG_XFRM_USER=m
 # CONFIG_XZ_DEC_SPARC is undefined
 # CONFIG_XZ_DEC_TEST is undefined
 # CONFIG_XZ_DEC_X86 is undefined
-# CONFIG_YELLOWFIN is not set
 # CONFIG_ZIIRAVE_WATCHDOG is undefined
-- 
2.39.2




^ permalink raw reply	[flat|nested] 12+ messages in thread

* [DistroKit] [PATCH v1 9/9] reason: MIPS: add PCI exception for ATH79 arch
  2024-08-21  9:51 [DistroKit] [PATCH v1 0/9] address CI warnings for the MIPS platform Oleksij Rempel
                   ` (7 preceding siblings ...)
  2024-08-21  9:51 ` [DistroKit] [PATCH v1 8/9] mipsel: kernel: enable PCI by default and sync it with malta config Oleksij Rempel
@ 2024-08-21  9:51 ` Oleksij Rempel
  8 siblings, 0 replies; 12+ messages in thread
From: Oleksij Rempel @ 2024-08-21  9:51 UTC (permalink / raw)
  To: distrokit; +Cc: Oleksij Rempel

The MIPS* platforms support multiple variants, for example ath79 and
malta. On one side malta require PCI support, on other side ath79 do not
have PCI support in upstream kernel.

To avoid CI warnings add exception for ath79 variant.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 configs/bsp.ref | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configs/bsp.ref b/configs/bsp.ref
index 6c8e8be0..7aba7355 100644
--- a/configs/bsp.ref
+++ b/configs/bsp.ref
@@ -13,7 +13,7 @@ ptxdist_debug_pci:
       value: False
     - condition: kconfig.PTXPlatformConfig()['ARCH_ARM64']
       value: False
-    - condition: kconfig.PTXPlatformConfig()['ARCH_MIPS']
+    - condition: kconfig.PTXPlatformConfig()['ARCH_MIPS'] and not kconfig.KernelConfig()['ATH79']
       value: False
     - value: True
 
-- 
2.39.2




^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [DistroKit] [PATCH v1 5/9] mips/mipsel: barebox: use CONSOLE_ACTIVATE_NONE
  2024-08-21  9:51 ` [DistroKit] [PATCH v1 5/9] mips/mipsel: barebox: use CONSOLE_ACTIVATE_NONE Oleksij Rempel
@ 2024-08-21 10:07   ` Ahmad Fatoum
  2024-08-21 12:40     ` Robert Schwebel
  0 siblings, 1 reply; 12+ messages in thread
From: Ahmad Fatoum @ 2024-08-21 10:07 UTC (permalink / raw)
  To: Oleksij Rempel, distrokit

Hello Oleksij,

On 21.08.24 11:51, Oleksij Rempel wrote:
> For system booting with device tree, the default console should be
> specifie via /chosen/stdout-path and barebox should not unconditionally
> enable any consoles. This avoids issues with probe order
> (CONFIG_CONSOLE_ACTIVATE_FIRST) and crosstalk with serial devices that
> don't expect console output (CONFIG_CONSOLE_ACTIVATE_ALL).

Did you test this?

arch/mips/dts/qemu-malta.dts doesn't have a chosen /chosen/stdout-path,
so this change would most likely render the console completely silent.

In general, we will want to use the new CONFIG_CONSOLE_ACTIVATE_ALL_FALLBACK
option[1]. It would enable all consoles as a fallback if none was activated
explicitly. It hasn't hit a barebox release yet though.

For Malta, barebox should probably get a /chosen/stdout-path if there's indeed
no board code or environment activating any consoles.

[1]: https://lore.barebox.org/barebox/20240730083451.2203330-1-a.fatoum@pengutronix.de/

Cheers,
Ahmad

> 
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> ---
>  configs/platform-mips/barebox-ar9331.config       | 4 ++--
>  configs/platform-mips/barebox-ar9331.config.diff  | 2 +-
>  configs/platform-mips/barebox-malta.config        | 4 ++--
>  configs/platform-mips/barebox-malta.config.diff   | 2 +-
>  configs/platform-mips/barebox.config              | 4 ++--
>  configs/platform-mipsel/barebox-malta.config.diff | 4 +---
>  configs/platform-mipsel/barebox.config            | 4 ++--
>  7 files changed, 11 insertions(+), 13 deletions(-)
> 
> diff --git a/configs/platform-mips/barebox-ar9331.config b/configs/platform-mips/barebox-ar9331.config
> index 2e72041e..4e888630 100644
> --- a/configs/platform-mips/barebox-ar9331.config
> +++ b/configs/platform-mips/barebox-ar9331.config
> @@ -140,9 +140,9 @@ CONFIG_IMD=y
>  CONFIG_CONSOLE_FULL=y
>  # CONFIG_CONSOLE_SIMPLE is not set
>  # CONFIG_CONSOLE_NONE is not set
> -CONFIG_CONSOLE_ACTIVATE_FIRST=y
> +# CONFIG_CONSOLE_ACTIVATE_FIRST is not set
>  # CONFIG_CONSOLE_ACTIVATE_ALL is not set
> -# CONFIG_CONSOLE_ACTIVATE_NONE is not set
> +CONFIG_CONSOLE_ACTIVATE_NONE=y
>  # CONFIG_CONSOLE_ALLOW_COLOR is not set
>  # CONFIG_PBL_CONSOLE is not set
>  # CONFIG_CONSOLE_RATP is not set
> diff --git a/configs/platform-mips/barebox-ar9331.config.diff b/configs/platform-mips/barebox-ar9331.config.diff
> index 524a3ccb..ef219ed5 100644
> --- a/configs/platform-mips/barebox-ar9331.config.diff
> +++ b/configs/platform-mips/barebox-ar9331.config.diff
> @@ -1,4 +1,4 @@
> -969c2d8bca570a40257c2a71b4e37c8d
> +56c8bdde9f772e6da0ade7950dae7293
>  # CONFIG_BOARD_8DEVICES_LIMA is not set
>  # CONFIG_BOARD_TPLINK_WDR4300 is not set
>  # CONFIG_SOC_QCA_AR9344 is undefined
> diff --git a/configs/platform-mips/barebox-malta.config b/configs/platform-mips/barebox-malta.config
> index 094b8dc3..4ce1c407 100644
> --- a/configs/platform-mips/barebox-malta.config
> +++ b/configs/platform-mips/barebox-malta.config
> @@ -143,9 +143,9 @@ CONFIG_IMD=y
>  CONFIG_CONSOLE_FULL=y
>  # CONFIG_CONSOLE_SIMPLE is not set
>  # CONFIG_CONSOLE_NONE is not set
> -CONFIG_CONSOLE_ACTIVATE_FIRST=y
> +# CONFIG_CONSOLE_ACTIVATE_FIRST is not set
>  # CONFIG_CONSOLE_ACTIVATE_ALL is not set
> -# CONFIG_CONSOLE_ACTIVATE_NONE is not set
> +CONFIG_CONSOLE_ACTIVATE_NONE=y
>  CONFIG_CONSOLE_ALLOW_COLOR=y
>  # CONFIG_PBL_CONSOLE is not set
>  # CONFIG_CONSOLE_RATP is not set
> diff --git a/configs/platform-mips/barebox-malta.config.diff b/configs/platform-mips/barebox-malta.config.diff
> index 6e5ee679..687dbaf0 100644
> --- a/configs/platform-mips/barebox-malta.config.diff
> +++ b/configs/platform-mips/barebox-malta.config.diff
> @@ -1,4 +1,4 @@
> -969c2d8bca570a40257c2a71b4e37c8d
> +56c8bdde9f772e6da0ade7950dae7293
>  # CONFIG_AT803X_PHY is not set
>  CONFIG_BAREBOX_MAX_IMAGE_SIZE=0x400000
>  CONFIG_BAUDRATE=38400
> diff --git a/configs/platform-mips/barebox.config b/configs/platform-mips/barebox.config
> index 689e6bc8..d16a97f3 100644
> --- a/configs/platform-mips/barebox.config
> +++ b/configs/platform-mips/barebox.config
> @@ -142,9 +142,9 @@ CONFIG_IMD=y
>  CONFIG_CONSOLE_FULL=y
>  # CONFIG_CONSOLE_SIMPLE is not set
>  # CONFIG_CONSOLE_NONE is not set
> -CONFIG_CONSOLE_ACTIVATE_FIRST=y
> +# CONFIG_CONSOLE_ACTIVATE_FIRST is not set
>  # CONFIG_CONSOLE_ACTIVATE_ALL is not set
> -# CONFIG_CONSOLE_ACTIVATE_NONE is not set
> +CONFIG_CONSOLE_ACTIVATE_NONE=y
>  # CONFIG_CONSOLE_ALLOW_COLOR is not set
>  # CONFIG_PBL_CONSOLE is not set
>  # CONFIG_CONSOLE_RATP is not set
> diff --git a/configs/platform-mipsel/barebox-malta.config.diff b/configs/platform-mipsel/barebox-malta.config.diff
> index a305a002..8102eff0 100644
> --- a/configs/platform-mipsel/barebox-malta.config.diff
> +++ b/configs/platform-mipsel/barebox-malta.config.diff
> @@ -1,4 +1,4 @@
> -fd8ab64711e3c2bc4d260765405fff76
> +384c9ac30abd9c9b72e1ea5249e85625
>  # CONFIG_AT803X_PHY is not set
>  CONFIG_BAREBOX_MAX_IMAGE_SIZE=0x400000
>  CONFIG_BAUDRATE=38400
> @@ -42,8 +42,6 @@ CONFIG_CMD_SHA256SUM=y
>  CONFIG_CMD_TFTP=y
>  # CONFIG_COMMON_CLK is undefined
>  # CONFIG_COMMON_CLK_OF_PROVIDER is undefined
> -# CONFIG_CONSOLE_ACTIVATE_FIRST is not set
> -CONFIG_CONSOLE_ACTIVATE_NONE=y
>  CONFIG_CONSOLE_ALLOW_COLOR=y
>  # CONFIG_CPU_BIG_ENDIAN is not set
>  CONFIG_CPU_LITTLE_ENDIAN=y
> diff --git a/configs/platform-mipsel/barebox.config b/configs/platform-mipsel/barebox.config
> index 55495686..560bc9ec 100644
> --- a/configs/platform-mipsel/barebox.config
> +++ b/configs/platform-mipsel/barebox.config
> @@ -141,9 +141,9 @@ CONFIG_IMD=y
>  CONFIG_CONSOLE_FULL=y
>  # CONFIG_CONSOLE_SIMPLE is not set
>  # CONFIG_CONSOLE_NONE is not set
> -CONFIG_CONSOLE_ACTIVATE_FIRST=y
> +# CONFIG_CONSOLE_ACTIVATE_FIRST is not set
>  # CONFIG_CONSOLE_ACTIVATE_ALL is not set
> -# CONFIG_CONSOLE_ACTIVATE_NONE is not set
> +CONFIG_CONSOLE_ACTIVATE_NONE=y
>  # CONFIG_CONSOLE_ALLOW_COLOR is not set
>  # CONFIG_PBL_CONSOLE is not set
>  # CONFIG_CONSOLE_RATP is not set


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [DistroKit] [PATCH v1 5/9] mips/mipsel: barebox: use CONSOLE_ACTIVATE_NONE
  2024-08-21 10:07   ` Ahmad Fatoum
@ 2024-08-21 12:40     ` Robert Schwebel
  0 siblings, 0 replies; 12+ messages in thread
From: Robert Schwebel @ 2024-08-21 12:40 UTC (permalink / raw)
  To: Ahmad Fatoum; +Cc: Oleksij Rempel, distrokit

Hi Ahmad,

On Wed, Aug 21, 2024 at 12:07:00PM +0200, Ahmad Fatoum wrote:
> On 21.08.24 11:51, Oleksij Rempel wrote:
> > For system booting with device tree, the default console should be
> > specifie via /chosen/stdout-path and barebox should not unconditionally
> > enable any consoles. This avoids issues with probe order
> > (CONFIG_CONSOLE_ACTIVATE_FIRST) and crosstalk with serial devices that
> > don't expect console output (CONFIG_CONSOLE_ACTIVATE_ALL).
>
> Did you test this?
>
> arch/mips/dts/qemu-malta.dts doesn't have a chosen /chosen/stdout-path,
> so this change would most likely render the console completely silent.
>
> In general, we will want to use the new CONFIG_CONSOLE_ACTIVATE_ALL_FALLBACK
> option[1]. It would enable all consoles as a fallback if none was activated
> explicitly. It hasn't hit a barebox release yet though.
>
> For Malta, barebox should probably get a /chosen/stdout-path if there's indeed
> no board code or environment activating any consoles.
>
> [1]: https://lore.barebox.org/barebox/20240730083451.2203330-1-a.fatoum@pengutronix.de/

Could you quickly add a patch on top of this series on top of next?

Genereally I don't care much about MIPS any more, and we even quickly
discussed about removing it from DistroKit in the near future. Currently
this is stopping me from merging next into master, and this is already
the case for several months - not because anything broke, but because
the tooling became more picky. Not satisfying.

rsc
-- 
Pengutronix e.K.                           | Dipl.-Ing. Robert Schwebel  |
Steuerwalder Str. 21                       | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-9    |



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-08-21 12:40 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-21  9:51 [DistroKit] [PATCH v1 0/9] address CI warnings for the MIPS platform Oleksij Rempel
2024-08-21  9:51 ` [DistroKit] [PATCH v1 1/9] mips: kernel-malta: set page size to 4k Oleksij Rempel
2024-08-21  9:51 ` [DistroKit] [PATCH v1 2/9] mips: barebox-malta: disable FS_CRAMFS Oleksij Rempel
2024-08-21  9:51 ` [DistroKit] [PATCH v1 3/9] mips: barebox-malta: enable MMU Oleksij Rempel
2024-08-21  9:51 ` [DistroKit] [PATCH v1 4/9] mips: barebox-malta: use MALLOC_TLSF Oleksij Rempel
2024-08-21  9:51 ` [DistroKit] [PATCH v1 5/9] mips/mipsel: barebox: use CONSOLE_ACTIVATE_NONE Oleksij Rempel
2024-08-21 10:07   ` Ahmad Fatoum
2024-08-21 12:40     ` Robert Schwebel
2024-08-21  9:51 ` [DistroKit] [PATCH v1 6/9] mips: kernel-malta: enable UBIFS Oleksij Rempel
2024-08-21  9:51 ` [DistroKit] [PATCH v1 7/9] mips: kernel-malta: enable SQUASHFS Oleksij Rempel
2024-08-21  9:51 ` [DistroKit] [PATCH v1 8/9] mipsel: kernel: enable PCI by default and sync it with malta config Oleksij Rempel
2024-08-21  9:51 ` [DistroKit] [PATCH v1 9/9] reason: MIPS: add PCI exception for ATH79 arch Oleksij Rempel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox