From: "Arnd Bergmann" <arnd@arndb.de>
To: "Patrice Chotard" <patrice.chotard@foss.st.com>,
"Olof Johansson" <olof@lixom.net>,
"Alexandre Torgue" <alexandre.torgue@foss.st.com>,
"Russell King" <linux@armlinux.org.uk>,
"Maxime Coquelin" <mcoquelin.stm32@gmail.com>,
"Petr Mladek" <pmladek@suse.com>,
"Yoann Congal" <yoann.congal@smile.fr>
Cc: linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org,
linux-stm32@st-md-mailman.stormreply.com, soc@kernel.org
Subject: Re: [PATCH v2 4/4] ARM: configs: stm32: Remove useless flags in STM32 defconfig
Date: Fri, 20 Dec 2024 18:06:44 +0100 [thread overview]
Message-ID: <c48b7e84-5287-4da0-84a0-7747581f49d0@app.fastmail.com> (raw)
In-Reply-To: <20241220125506.3157268-5-patrice.chotard@foss.st.com>
On Fri, Dec 20, 2024, at 13:55, patrice.chotard@foss.st.com wrote:
> 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.
>
> Disable CONFIG_SUSPEND, CONFIG_ADVISE_SYSCALLS, CONFIG_IO_URING
> CONFIG_POSIX_TIMERS, CONFIG_GCC_PLUGINS, it will reduce the kernel
> image size for these platforms which embed a low amount of memory.
>
> Tested on STM32F746-DISCO board which embeds 8MB of memory.
Out of curiosity, what is the smallest memory configuration that
you see people using on stm32f7/h7 these days? I know we had
configs that kind-of worked on 2MB in the past, but I assume there
has been a lot of bloat since.
Arnd
next prev parent reply other threads:[~2024-12-20 17:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-20 12:55 [PATCH v2 0/4] ARM: config: stm32: Remove useless flags patrice.chotard
2024-12-20 12:55 ` [PATCH v2 1/4] ARM: configs: stm32: Remove FLASH_MEM_BASE and FLASH_SIZE in STM32 defconfig patrice.chotard
2024-12-20 12:55 ` [PATCH v2 2/4] ARM: configs: stm32: Clean " patrice.chotard
2024-12-20 12:55 ` [PATCH v2 3/4] ARM: configs: stm32: Remove CRYPTO in " patrice.chotard
2024-12-20 12:55 ` [PATCH v2 4/4] ARM: configs: stm32: Remove useless flags " patrice.chotard
2024-12-20 17:06 ` Arnd Bergmann [this message]
2025-01-06 13:52 ` Patrice CHOTARD
2024-12-20 16:47 ` [PATCH v2 0/4] ARM: config: stm32: Remove useless flags Arnd Bergmann
2024-12-20 19:27 ` Olof Johansson
2025-01-06 13:58 ` Alexandre TORGUE
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c48b7e84-5287-4da0-84a0-7747581f49d0@app.fastmail.com \
--to=arnd@arndb.de \
--cc=alexandre.torgue@foss.st.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=linux@armlinux.org.uk \
--cc=mcoquelin.stm32@gmail.com \
--cc=olof@lixom.net \
--cc=patrice.chotard@foss.st.com \
--cc=pmladek@suse.com \
--cc=soc@kernel.org \
--cc=yoann.congal@smile.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®