Message ID | 20230129160039.1598347-1-j.neuschaefer@gmx.net |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1796479wrn; Sun, 29 Jan 2023 08:04:06 -0800 (PST) X-Google-Smtp-Source: AK7set/pv7SUCCy6ozDJ1wsL0ROZzglNFh5EWBjWStmjRxYSMGfhF0RBNs3TOfqqhpEgS2vr3fh0 X-Received: by 2002:a05:6a20:3d19:b0:b8:841d:85bb with SMTP id y25-20020a056a203d1900b000b8841d85bbmr7468110pzi.0.1675008246184; Sun, 29 Jan 2023 08:04:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675008246; cv=none; d=google.com; s=arc-20160816; b=kN82j9EpnQ589au4YHU+xfdaH6DoSiRH20Yym849mbODdqi24ibkPF+fXUTx+JSwoP lHtNIPBVoH8Nhw+djVB2bz5WCOowyMdAXI6YOKqug982hAJlPyLKGBCxN5uzw6/zLm4u ND8lYy67+Ig/PuOHVdkjQ3sc/ag9Ij7N6sHr1ePr9dH2f7szHr24PaFKHj7MRfRuO6c4 jF0e1KVG0xLVNuPJF+9F/zIVHzbkvQhzsQqHMjkyMULP+fyko9SFurZO9Zf/uprj1whv rBas597nKcNRtODz+Aw4R9hEWNRSFxR+aM4/uLm9y8Un3IXGXBTijSaRBZL6ofnoBC6H nDNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:ui-outboundreport:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=fmAIoCNND9GcXTu4AWmHAti5R/lQwsc8XHPnZM/rVwY=; b=ULWF/5BjUZMSnNnJr74VotqckHYuYOh9B8OQPmYFP66Mazto5HRUUCdYurf3/pXf4Y Qyjfh+dZLS8OB87Vq/D7xQBjznyPKpiZ/ySUJZZioZkRFeQJER6wELIcolaj4KTEfvHO sR+3EfBJ4+zrz50ivrhAJ8on88pt+lkrSp/hQYa86WDV1JsP0ne6jiMNuaEdJsDt6Ul5 D16qqGbagKeJAobWNxg+iNZdfjqrwEyalAzupaZyDnUJv9YIfl3hDAeEPSS1NW11BNRZ M8/B3xuu8sszRmx5lb9HEEYqcOPbY/NogQxkz6oPowEkcB8LDf+XjCzUTw26m4RHEWXo AxXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=s31663417 header.b=ozbjeuxI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmx.net Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b73-20020a63344c000000b004da6950e1b1si12241106pga.59.2023.01.29.08.03.51; Sun, 29 Jan 2023 08:04:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=s31663417 header.b=ozbjeuxI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmx.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231648AbjA2QBP (ORCPT <rfc822;n2h9z4@gmail.com> + 99 others); Sun, 29 Jan 2023 11:01:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229673AbjA2QBO (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 29 Jan 2023 11:01:14 -0500 Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88F701C5BD for <linux-kernel@vger.kernel.org>; Sun, 29 Jan 2023 08:01:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1675008042; bh=ST8OOQg87jft8uBWiLegaKtj4NQH5sKdp3sJcQviw1s=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=ozbjeuxI+VbA6JOUUxFtJKOJpgwdtwT/hBzwmSJvShn0pMx/1NEU0lXrfKsa6bTwj VltGN7Sxao9X+6ZUV3Rom4eF19SCwqnEyCOD0OhW5wjkTztxXgxLJ6s8rXldJv76e1 ZcewKHazaAuPzQcrAM7/P47AYSDiwqgjUDxAHkSZrN5tcobl8lqwsY1Eeag2AqMuSc jiklzu4Ben9jjKkyVTL8/jsAGvNr0DtM0CGGHhr+kCkMkFV96fCzlGxZvCTstFAStH 0HjwVHAS9ghx5mHoe6WHmzLksE9DdS/MQVhrn7xeCfkY8GFYJoEEPcVpTmw1LILEI2 IjyvtHUD4fkQQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from probook ([95.223.44.193]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M3UUy-1pLc8u24jS-000dJC; Sun, 29 Jan 2023 17:00:42 +0100 From: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= <j.neuschaefer@gmx.net> To: linux-arm-kernel@lists.infradead.org Cc: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= <j.neuschaefer@gmx.net>, Russell King <linux@armlinux.org.uk>, Arnd Bergmann <arnd@arndb.de>, William Zhang <william.zhang@broadcom.com>, Michael Walle <michael@walle.cc>, Florian Fainelli <f.fainelli@gmail.com>, Tony Lindgren <tony@atomide.com>, Kavyasree Kotagiri <kavyasree.kotagiri@microchip.com>, Ard Biesheuvel <ardb@kernel.org>, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: Allow DEBUG_UNCOMPRESS on ARCH_MULTIPLATFORM Date: Sun, 29 Jan 2023 17:00:38 +0100 Message-Id: <20230129160039.1598347-1-j.neuschaefer@gmx.net> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:y0zPz2/jnU5cxEONk1thuk1kU48OxSyRLv3zPI9kf5biySYnbcD L6yPgyS1d/zwA2yyoLwQZnGq6+Bq+Z2m0a08gUGM/IQE3/B75IxMraejM9Yf7wdQetw9CD5 cEbIUaBWl9jPmNgd6CqcvOV2mFxMV2Q8N7oJAf7YEIy4hepoY/T0gqo7ragSWRtMbOA81WK PU5jgBlGozAGgDfNyR+8w== UI-OutboundReport: notjunk:1;M01:P0:N6GIuGLhNBA=;PeIzAQ+tA8Qcn2no/E33dZNUyVr A/TdGiBCVPbXXR3RyTKzjq8lIbSzyIZ6PdQZMGKvL3wLgjZRrOfGl7VB+ZxNSeHSh2UXkuwAs YdPEFr8TbIUixWYvthJw8oiKpEI+5ewznagHNJk3+k/kN+cy8mD4SUvSFyZ27yUHByxdf14Cd 9TKpsfiEhDpyRGTy/JCjRvWD6gymquIT2DZxI9DiQm1p2be+RSdldEGHeaOjlJUOu3aTF84MJ MxsIj9xtpCo2UqcDq3QoTEDRIEkAYCM345JbYt7GyqnczAmGz2RPw8SoLl0ksEUW19Okxn47W 8cgdXBVkRi60Il5lTAMEE9xqmBLd76PPEQ5G/W6/9qkNdSSUL54X3zjFFLikTpkLGgfPtUoYb qC/+EaYJkFBZbpBsJqrDF0YROLBDCrMphUaje/4oD30DQYn9P5qCP49kK82BfMF7rjmxsOSgR lg0kGIJlJ1AhusTju3x6KhCHBSAK8rwAAjOMGxKm9yKa9td9zPB8k1YmVNIiOEmKSFrqzlME8 jXr9mz752BbDp4JnRviNyo3gdfjwe304kK5A1eSbDCbLESMHqhfNW/rTULT98dAIdEYpe6D6P vvPyNPpO5chMa4vw5JfEDRP/nMkfJsC2wVONe4ggVYuzpzInPmz0F2gT/OpCv5ry47JR4Ot/S qn5LdTxVLo8jxVrJAdEdpV0iPenIuu1UAkIVZAFtVmUbUam/3hapVoPR3pBsgZnF2lpuE91Mn QnA96dUMUbV60vn+dxBZyelvo4FXtV+NX/foi1RWDh+WVDP+TNg1c7Jf1zk70Qc1qLI8+oDTN 1N01zg3CCs6Wx2HoRvdAOCGftcTORA1OgHXOwnEbXuvaLh757q5pDenDZnOj7qgY+34cuZVLi El2tTgjMJxdwxzG4xDDhp/pI8/yEDkghopbgdjRbiMtabv46U31j6NiGnAl070YCVoRM4nb0p iVytDIzIUGlHtQNtEHI6w/wPsVE= X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756373446336093914?= X-GMAIL-MSGID: =?utf-8?q?1756373446336093914?= |
Series |
ARM: Allow DEBUG_UNCOMPRESS on ARCH_MULTIPLATFORM
|
|
Commit Message
Jonathan Neuschäfer
Jan. 29, 2023, 4 p.m. UTC
A kernel with DEBUG_UNCOMPRESS=y will only work on one platform, but
that is already the case with DEBUG_LL=y (and documented in its help
text), and DEBUG_UNCOMPRESS depends on DEBUG_LL. Therefore, I don't
think users need to be prevented from enabling DEBUG_UNCOMPRESS on
ARCH_MULTIPLATFORM kernels.
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
---
arch/arm/Kconfig.debug | 1 -
1 file changed, 1 deletion(-)
--
2.39.0
Comments
On Sun, Jan 29, 2023, at 17:00, Jonathan Neuschäfer wrote: > A kernel with DEBUG_UNCOMPRESS=y will only work on one platform, but > that is already the case with DEBUG_LL=y (and documented in its help > text), and DEBUG_UNCOMPRESS depends on DEBUG_LL. Therefore, I don't > think users need to be prevented from enabling DEBUG_UNCOMPRESS on > ARCH_MULTIPLATFORM kernels. > > Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> I think we should instead change the help text for CONFIG_DEBUG_LL. There is a very significant difference between the requirements of DEBUG_LL compared to DEBUG_UNCOMPRESS. The former only provides the platform specific functions but does not call them unless a user explicitly passes the "earlyprintk" command line argument or adds explicit function calls to printascii(), while the latter makes the kernel immediately unbootable. Arnd
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index c345775f035bc..655f84ada30f4 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -1904,7 +1904,6 @@ config DEBUG_UART_8250_PALMCHIP config DEBUG_UNCOMPRESS bool "Enable decompressor debugging via DEBUG_LL output" - depends on !ARCH_MULTIPLATFORM depends on !(ARCH_FOOTBRIDGE || ARCH_RPC || ARCH_SA1100) depends on DEBUG_LL && !DEBUG_OMAP2PLUS_UART && \ (!DEBUG_TEGRA_UART || !ZBOOT_ROM) && \