From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BAABB1DDC2C for ; Mon, 6 Jan 2025 13:55:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.207.212.93 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736171743; cv=none; b=t6cWmJCTn9WhnPHgoCdMR7eYOaBn1eDIK1hIKdrAvvApj/Wholk86f4U3Mxl37HPBkP0mn81G1uIP4+zyb7i/w0SaNhMPfh9r+Irt3nB4sFmZdVB1rj3fCukWOGG/km9/k4SL3OtK3Uvxf4PSqMoz4PcMj2qCcOmQyYYkdRqyls= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736171743; c=relaxed/simple; bh=/Xs2ahiekQYHe/PbRg5cMSg+mbW3ENNKmFcKGoOOJRM=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=gp/gMiiwDPuAdJwogrqoFPlUVNwbYShLhi0FGG4pGwCSZldROm8wOyqEbJI6U18794Nyf8mSVT7Je/sEX2lyIBwHdIZ09PAOgV0FqdXpv9ns7lNXjA6kF+l1jRtNvEx07YOjhnYYhp0VQLuBt0S0DOPQaC4Sfzb2O9uI287tzXc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com; spf=pass smtp.mailfrom=foss.st.com; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b=i7QcQNqO; arc=none smtp.client-ip=91.207.212.93 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="i7QcQNqO" Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 506Aw0eo010310; Mon, 6 Jan 2025 14:55:04 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=selector1; bh= /WVn2MaI0Sf+kXloTCoRvABk6rQrChQx5pkM7ZFBsy8=; b=i7QcQNqO1ZBWfdw6 lJqeM7RuYQOYjT9aMGB9zWL4upwSOV3mCtAGWtiHl10LxEBt/zaag5/Ppqb+dzmk 4aZp3jH2az5HMXh7jaeFBhUtOl+l5YYf5rSGLLSvtzAgl3uNh/4ZSa8gLXSLRCYV bm9A6W+dnBS91P6c22P6cS6tpmjjB5ZDDn+s7VW9HjJB5lZRYZD48qoqgvKqc/2k 95yPMRaxO0MW9+HsV6eGdERBpI2kWSI7sFOVCvEZknfguUXlA8mxPTi5rtKzVrUA 5yB1neEFgiDSwNndb/9buUeYirCrO5WdZM6Luk5iOpC9TWCKZ0PywadcrgzRYSo4 OEUMcw== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 43xvrfpxb8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 06 Jan 2025 14:55:04 +0100 (CET) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id DE47F40050; Mon, 6 Jan 2025 14:53:59 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 5A09327BCF0; Mon, 6 Jan 2025 14:52:08 +0100 (CET) Received: from [10.48.87.62] (10.48.87.62) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.37; Mon, 6 Jan 2025 14:52:07 +0100 Message-ID: <11c927b6-ebf8-4c02-9fdf-86303144b4aa@foss.st.com> Date: Mon, 6 Jan 2025 14:52:06 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 4/4] ARM: configs: stm32: Remove useless flags in STM32 defconfig To: Arnd Bergmann , Alexandre Torgue , Russell King , Maxime Coquelin , Petr Mladek , Yoann Congal CC: , , , References: <20241220125506.3157268-1-patrice.chotard@foss.st.com> <20241220125506.3157268-5-patrice.chotard@foss.st.com> Content-Language: en-US From: Patrice CHOTARD In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SHFCAS1NODE2.st.com (10.75.129.73) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 On 12/20/24 18:06, Arnd Bergmann wrote: > On Fri, Dec 20, 2024, at 13:55, patrice.chotard@foss.st.com wrote: >> From: Patrice Chotard >> >> 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 Hi Arnd Currently, i have no idea about what is the smallest memory configuration on stm32f4/f7/h7 used by people using these SoCs. As you said, kernel Linux size is increasing version after version. My goal was just to ensure that official ST boards are still booting a kernel Linux. Patrice