From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Vitaly Chikunov To: devel-kernel@lists.altlinux.org Date: Sat, 29 Oct 2022 00:35:15 +0300 Message-Id: <20221028213515.1844006-1-vt@altlinux.org> X-Mailer: git-send-email 2.33.4 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [d-kernel] [PATCH] config: Disable DEBUG_INFO_BTF on aarch64 X-BeenThere: devel-kernel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux kernel packages development List-Id: ALT Linux kernel packages development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Oct 2022 21:35:25 -0000 Archived-At: List-Archive: List-Post: We have the same kernel for enterprise systems (like TaiShan) and toy computers (like Raspberry Pi). Raspberry Pi cannot boot newer kernels with U-Boot anymore[1] due to vmlinuz (that is uncompressed Image[2]) size approaching 40MB, (which is limited by fdt_addr_r=0x02600000 parameter specified in our U-Boot package). Obvious target to reduce size is removing .BTF section. As a downside this will reduce eBPF & tracing abilities on these platforms. Link: https://bugzilla.altlinux.org/41479 Link: https://www.kernel.org/doc/Documentation/arm64/booting.txt Signed-off-by: Vitaly Chikunov --- config-aarch64 | 1 + 1 file changed, 1 insertion(+) diff --git a/config-aarch64 b/config-aarch64 index a23500fdf356..7d70fcff9fa6 100644 --- a/config-aarch64 +++ b/config-aarch64 @@ -1597,3 +1597,4 @@ CONFIG_USB_SERIAL_CP210X=y CONFIG_USB_SERIAL_PL2303=y CONFIG_USB_SERIAL_FTDI_SIO=y CONFIG_USB_SISUSBVGA=y +# CONFIG_DEBUG_INFO_BTF is not set -- 2.33.4