* [PATCH 0/7] ARM: config: stm32: Disable useless flags
@ 2024-12-19 17:29 patrice.chotard
2024-12-19 17:29 ` [PATCH 1/7] ARM: configs: stm32: run savedefconfig for STM32 defconfig patrice.chotard
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: patrice.chotard @ 2024-12-19 17:29 UTC (permalink / raw)
To: Arnd Bergmann, Olof Johansson, Alexandre Torgue, Russell King,
Maxime Coquelin, Petr Mladek, Yoann Congal
Cc: linux-arm-kernel, linux-kernel, linux-stm32, soc, Patrice Chotard
From: Patrice Chotard <patrice.chotard@foss.st.com>
*** BLURB HERE ***
Patrice Chotard (7):
ARM: configs: stm32: run savedefconfig for STM32 defconfig
ARM: configs: stm32: Disable CONFIG_COMMON_CLK_STM32MP in STM32
defconfig
ARM: configs: stm32: Disable CONFIG_SUSPEND in STM32 defconfig
ARM: configs: stm32: Disable CONFIG_ADVISE_SYSCALLS in STM32 defconfig
ARM: configs: stm32: Disable CONFIG_IO_URING in STM32 defconfig
ARM: configs: stm32: Disable CONFIG_POSIX_TIMERS in STM32 defconfig
ARM: configs: stm32: Disable CONFIG_GCC_PLUGINS in STM32 defconfig
arch/arm/configs/stm32_defconfig | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
--
2.25.1
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 1/7] ARM: configs: stm32: run savedefconfig for STM32 defconfig
2024-12-19 17:29 [PATCH 0/7] ARM: config: stm32: Disable useless flags patrice.chotard
@ 2024-12-19 17:29 ` patrice.chotard
2024-12-19 17:29 ` [PATCH 2/7] ARM: configs: stm32: Disable CONFIG_COMMON_CLK_STM32MP in " patrice.chotard
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: patrice.chotard @ 2024-12-19 17:29 UTC (permalink / raw)
To: Arnd Bergmann, Olof Johansson, Alexandre Torgue, Russell King,
Maxime Coquelin, Petr Mladek, Yoann Congal
Cc: linux-arm-kernel, linux-kernel, linux-stm32, soc, Patrice Chotard
From: Patrice Chotard <patrice.chotard@foss.st.com>
Run 'make savedefconfig' in order to clean stm32_defconfig.
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---
arch/arm/configs/stm32_defconfig | 6 ------
1 file changed, 6 deletions(-)
diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig
index 3baec075d1ef..d62a0c0b7ce5 100644
--- a/arch/arm/configs/stm32_defconfig
+++ b/arch/arm/configs/stm32_defconfig
@@ -12,14 +12,11 @@ CONFIG_BASE_SMALL=y
# CONFIG_SIGNALFD is not set
# CONFIG_EVENTFD is not set
# CONFIG_AIO is not set
-# CONFIG_BLK_DEV_BSG is not set
# CONFIG_MMU is not set
CONFIG_ARCH_STM32=y
CONFIG_CPU_V7M_NUM_IRQ=240
CONFIG_SET_MEM_PARAM=y
CONFIG_DRAM_BASE=0x90000000
-CONFIG_FLASH_MEM_BASE=0x08000000
-CONFIG_FLASH_SIZE=0x00200000
# CONFIG_ATAGS is not set
CONFIG_XIP_KERNEL=y
CONFIG_XIP_PHYS_ADDR=0x08008000
@@ -74,10 +71,7 @@ CONFIG_NLS=y
CONFIG_CRC_ITU_T=y
CONFIG_CRC7=y
CONFIG_PRINTK_TIME=y
-# CONFIG_ENABLE_MUST_CHECK is not set
# CONFIG_DEBUG_BUGVERBOSE is not set
CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y
CONFIG_MAGIC_SYSRQ=y
# CONFIG_SLUB_DEBUG is not set
-# CONFIG_SCHED_DEBUG is not set
-CONFIG_CRYPTO=y
--
2.25.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 2/7] ARM: configs: stm32: Disable CONFIG_COMMON_CLK_STM32MP in STM32 defconfig
2024-12-19 17:29 [PATCH 0/7] ARM: config: stm32: Disable useless flags patrice.chotard
2024-12-19 17:29 ` [PATCH 1/7] ARM: configs: stm32: run savedefconfig for STM32 defconfig patrice.chotard
@ 2024-12-19 17:29 ` patrice.chotard
2024-12-19 17:29 ` [PATCH 3/7] ARM: configs: stm32: Disable CONFIG_SUSPEND " patrice.chotard
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: patrice.chotard @ 2024-12-19 17:29 UTC (permalink / raw)
To: Arnd Bergmann, Olof Johansson, Alexandre Torgue, Russell King,
Maxime Coquelin, Petr Mladek, Yoann Congal
Cc: linux-arm-kernel, linux-kernel, linux-stm32, soc, Patrice Chotard
From: Patrice Chotard <patrice.chotard@foss.st.com>
As stm32_defconfig is dedicated to STM32 MCUs, disable
CONFIG_COMMON_CLK_STM32MP flag which is only used by STM32 MPUs.
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---
arch/arm/configs/stm32_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig
index d62a0c0b7ce5..9262be1e7cf6 100644
--- a/arch/arm/configs/stm32_defconfig
+++ b/arch/arm/configs/stm32_defconfig
@@ -60,6 +60,7 @@ CONFIG_DMADEVICES=y
CONFIG_STM32_DMA=y
CONFIG_STM32_DMAMUX=y
CONFIG_STM32_MDMA=y
+# CONFIG_COMMON_CLK_STM32MP is not set
CONFIG_IIO=y
CONFIG_STM32_ADC_CORE=y
CONFIG_STM32_ADC=y
--
2.25.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 3/7] ARM: configs: stm32: Disable CONFIG_SUSPEND in STM32 defconfig
2024-12-19 17:29 [PATCH 0/7] ARM: config: stm32: Disable useless flags patrice.chotard
2024-12-19 17:29 ` [PATCH 1/7] ARM: configs: stm32: run savedefconfig for STM32 defconfig patrice.chotard
2024-12-19 17:29 ` [PATCH 2/7] ARM: configs: stm32: Disable CONFIG_COMMON_CLK_STM32MP in " patrice.chotard
@ 2024-12-19 17:29 ` patrice.chotard
2024-12-19 17:29 ` [PATCH 4/7] ARM: configs: stm32: Disable CONFIG_ADVISE_SYSCALLS " patrice.chotard
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: patrice.chotard @ 2024-12-19 17:29 UTC (permalink / raw)
To: Arnd Bergmann, Olof Johansson, Alexandre Torgue, Russell King,
Maxime Coquelin, Petr Mladek, Yoann Congal
Cc: linux-arm-kernel, linux-kernel, linux-stm32, soc, Patrice Chotard
From: Patrice Chotard <patrice.chotard@foss.st.com>
Disable CONFIG_SUSPEND in stm32_defconfig as there is no power
management on these platforms.
It will reduce the kernel image size for these platform which
embeds a low amount of memory.
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---
arch/arm/configs/stm32_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig
index 9262be1e7cf6..0fc411e7d87c 100644
--- a/arch/arm/configs/stm32_defconfig
+++ b/arch/arm/configs/stm32_defconfig
@@ -20,6 +20,7 @@ CONFIG_DRAM_BASE=0x90000000
# CONFIG_ATAGS is not set
CONFIG_XIP_KERNEL=y
CONFIG_XIP_PHYS_ADDR=0x08008000
+# CONFIG_SUSPEND is not set
CONFIG_BINFMT_FLAT=y
# CONFIG_COREDUMP is not set
# CONFIG_VM_EVENT_COUNTERS is not set
--
2.25.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 4/7] ARM: configs: stm32: Disable CONFIG_ADVISE_SYSCALLS in STM32 defconfig
2024-12-19 17:29 [PATCH 0/7] ARM: config: stm32: Disable useless flags patrice.chotard
` (2 preceding siblings ...)
2024-12-19 17:29 ` [PATCH 3/7] ARM: configs: stm32: Disable CONFIG_SUSPEND " patrice.chotard
@ 2024-12-19 17:29 ` patrice.chotard
2024-12-19 17:29 ` [PATCH 5/7] ARM: configs: stm32: Disable CONFIG_IO_URING " patrice.chotard
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: patrice.chotard @ 2024-12-19 17:29 UTC (permalink / raw)
To: Arnd Bergmann, Olof Johansson, Alexandre Torgue, Russell King,
Maxime Coquelin, Petr Mladek, Yoann Congal
Cc: linux-arm-kernel, linux-kernel, linux-stm32, soc, Patrice Chotard,
Patrice Chotard
From: Patrice Chotard <patrice.chotard@foss.st.com>
Disable CONFIG_ADVISE_SYSCALLS in stm32_defconfig.
It will reduce the kernel image size for these platform which
embeds a low amount of memory.
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
---
arch/arm/configs/stm32_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig
index 0fc411e7d87c..20fa929e2f9b 100644
--- a/arch/arm/configs/stm32_defconfig
+++ b/arch/arm/configs/stm32_defconfig
@@ -12,6 +12,7 @@ CONFIG_BASE_SMALL=y
# CONFIG_SIGNALFD is not set
# CONFIG_EVENTFD is not set
# CONFIG_AIO is not set
+# CONFIG_ADVISE_SYSCALLS is not set
# CONFIG_MMU is not set
CONFIG_ARCH_STM32=y
CONFIG_CPU_V7M_NUM_IRQ=240
--
2.25.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 5/7] ARM: configs: stm32: Disable CONFIG_IO_URING in STM32 defconfig
2024-12-19 17:29 [PATCH 0/7] ARM: config: stm32: Disable useless flags patrice.chotard
` (3 preceding siblings ...)
2024-12-19 17:29 ` [PATCH 4/7] ARM: configs: stm32: Disable CONFIG_ADVISE_SYSCALLS " patrice.chotard
@ 2024-12-19 17:29 ` patrice.chotard
2024-12-19 17:29 ` [PATCH 6/7] ARM: configs: stm32: Disable CONFIG_POSIX_TIMERS " patrice.chotard
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: patrice.chotard @ 2024-12-19 17:29 UTC (permalink / raw)
To: Arnd Bergmann, Olof Johansson, Alexandre Torgue, Russell King,
Maxime Coquelin, Petr Mladek, Yoann Congal
Cc: linux-arm-kernel, linux-kernel, linux-stm32, soc, Patrice Chotard
From: Patrice Chotard <patrice.chotard@foss.st.com>
Disable CONFIG_IO_URING in stm32_defconfig.
It will reduce the kernel image size for these platform which
embeds a low amount of memory.
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---
arch/arm/configs/stm32_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig
index 20fa929e2f9b..3a9bffa06d6d 100644
--- a/arch/arm/configs/stm32_defconfig
+++ b/arch/arm/configs/stm32_defconfig
@@ -12,6 +12,7 @@ CONFIG_BASE_SMALL=y
# CONFIG_SIGNALFD is not set
# CONFIG_EVENTFD is not set
# CONFIG_AIO is not set
+# CONFIG_IO_URING is not set
# CONFIG_ADVISE_SYSCALLS is not set
# CONFIG_MMU is not set
CONFIG_ARCH_STM32=y
--
2.25.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 6/7] ARM: configs: stm32: Disable CONFIG_POSIX_TIMERS in STM32 defconfig
2024-12-19 17:29 [PATCH 0/7] ARM: config: stm32: Disable useless flags patrice.chotard
` (4 preceding siblings ...)
2024-12-19 17:29 ` [PATCH 5/7] ARM: configs: stm32: Disable CONFIG_IO_URING " patrice.chotard
@ 2024-12-19 17:29 ` patrice.chotard
2024-12-19 17:29 ` [PATCH 7/7] ARM: configs: stm32: Disable CONFIG_GCC_PLUGINS " patrice.chotard
2024-12-19 17:35 ` [PATCH 0/7] ARM: config: stm32: Disable useless flags Arnd Bergmann
7 siblings, 0 replies; 9+ messages in thread
From: patrice.chotard @ 2024-12-19 17:29 UTC (permalink / raw)
To: Arnd Bergmann, Olof Johansson, Alexandre Torgue, Russell King,
Maxime Coquelin, Petr Mladek, Yoann Congal
Cc: linux-arm-kernel, linux-kernel, linux-stm32, soc, Patrice Chotard
From: Patrice Chotard <patrice.chotard@foss.st.com>
Disable CONFIG_POSIX_TIMERS in stm32_defconfig.
It will reduce the kernel image size for these platform which
embeds a low amount of memory.
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---
arch/arm/configs/stm32_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig
index 3a9bffa06d6d..dbe36a59a796 100644
--- a/arch/arm/configs/stm32_defconfig
+++ b/arch/arm/configs/stm32_defconfig
@@ -6,6 +6,7 @@ CONFIG_BLK_DEV_INITRD=y
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_EXPERT=y
# CONFIG_UID16 is not set
+# CONFIG_POSIX_TIMERS is not set
CONFIG_BASE_SMALL=y
# CONFIG_FUTEX is not set
# CONFIG_EPOLL is not set
--
2.25.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 7/7] ARM: configs: stm32: Disable CONFIG_GCC_PLUGINS in STM32 defconfig
2024-12-19 17:29 [PATCH 0/7] ARM: config: stm32: Disable useless flags patrice.chotard
` (5 preceding siblings ...)
2024-12-19 17:29 ` [PATCH 6/7] ARM: configs: stm32: Disable CONFIG_POSIX_TIMERS " patrice.chotard
@ 2024-12-19 17:29 ` patrice.chotard
2024-12-19 17:35 ` [PATCH 0/7] ARM: config: stm32: Disable useless flags Arnd Bergmann
7 siblings, 0 replies; 9+ messages in thread
From: patrice.chotard @ 2024-12-19 17:29 UTC (permalink / raw)
To: Arnd Bergmann, Olof Johansson, Alexandre Torgue, Russell King,
Maxime Coquelin, Petr Mladek, Yoann Congal
Cc: linux-arm-kernel, linux-kernel, linux-stm32, soc, Patrice Chotard
From: Patrice Chotard <patrice.chotard@foss.st.com>
Disable CONFIG_GCC_PLUGINS in stm32_defconfig.
It will reduce the kernel image size for these platform which
embeds a low amount of memory.
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---
arch/arm/configs/stm32_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig
index dbe36a59a796..77048b5e1ec4 100644
--- a/arch/arm/configs/stm32_defconfig
+++ b/arch/arm/configs/stm32_defconfig
@@ -24,6 +24,7 @@ CONFIG_DRAM_BASE=0x90000000
CONFIG_XIP_KERNEL=y
CONFIG_XIP_PHYS_ADDR=0x08008000
# CONFIG_SUSPEND is not set
+# CONFIG_GCC_PLUGINS is not set
CONFIG_BINFMT_FLAT=y
# CONFIG_COREDUMP is not set
# CONFIG_VM_EVENT_COUNTERS is not set
--
2.25.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH 0/7] ARM: config: stm32: Disable useless flags
2024-12-19 17:29 [PATCH 0/7] ARM: config: stm32: Disable useless flags patrice.chotard
` (6 preceding siblings ...)
2024-12-19 17:29 ` [PATCH 7/7] ARM: configs: stm32: Disable CONFIG_GCC_PLUGINS " patrice.chotard
@ 2024-12-19 17:35 ` Arnd Bergmann
7 siblings, 0 replies; 9+ messages in thread
From: Arnd Bergmann @ 2024-12-19 17:35 UTC (permalink / raw)
To: Patrice Chotard, Olof Johansson, Alexandre Torgue, Russell King,
Maxime Coquelin, Petr Mladek, Yoann Congal
Cc: linux-arm-kernel, linux-kernel, linux-stm32, soc
On Thu, Dec 19, 2024, at 18:29, patrice.chotard@foss.st.com wrote:
> From: Patrice Chotard <patrice.chotard@foss.st.com>
>
> *** BLURB HERE ***
>
> Patrice Chotard (7):
> ARM: configs: stm32: run savedefconfig for STM32 defconfig
> ARM: configs: stm32: Disable CONFIG_COMMON_CLK_STM32MP in STM32
> defconfig
> ARM: configs: stm32: Disable CONFIG_SUSPEND in STM32 defconfig
> ARM: configs: stm32: Disable CONFIG_ADVISE_SYSCALLS in STM32 defconfig
I would structure these the other way round: you can combine patches
2-7 and just explain why you do those changes in one commit.
For the things that have changed by themselves, you do need a lot
more explanation, so we can see that you have checked that these
don't accidentally break stuff. You can probably still do them
in a single patch, but it would be nicer to have one patch
per option that has become unavailable, changing all defconfig
files that need the same change.
Arnd
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2024-12-19 17:50 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-19 17:29 [PATCH 0/7] ARM: config: stm32: Disable useless flags patrice.chotard
2024-12-19 17:29 ` [PATCH 1/7] ARM: configs: stm32: run savedefconfig for STM32 defconfig patrice.chotard
2024-12-19 17:29 ` [PATCH 2/7] ARM: configs: stm32: Disable CONFIG_COMMON_CLK_STM32MP in " patrice.chotard
2024-12-19 17:29 ` [PATCH 3/7] ARM: configs: stm32: Disable CONFIG_SUSPEND " patrice.chotard
2024-12-19 17:29 ` [PATCH 4/7] ARM: configs: stm32: Disable CONFIG_ADVISE_SYSCALLS " patrice.chotard
2024-12-19 17:29 ` [PATCH 5/7] ARM: configs: stm32: Disable CONFIG_IO_URING " patrice.chotard
2024-12-19 17:29 ` [PATCH 6/7] ARM: configs: stm32: Disable CONFIG_POSIX_TIMERS " patrice.chotard
2024-12-19 17:29 ` [PATCH 7/7] ARM: configs: stm32: Disable CONFIG_GCC_PLUGINS " patrice.chotard
2024-12-19 17:35 ` [PATCH 0/7] ARM: config: stm32: Disable useless flags Arnd Bergmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).