Received: by 2002:a05:6622:f08:0:0:0:0 with SMTP id l8csp4479515ivc; Tue, 3 Nov 2020 13:06:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJyVA9m/GcSSbJfHHT7DpHGjCriV/DXlDShJC+db4QbDNKVXH8PX6HP55QOLwz9Gf0uJYe0U X-Received: by 2002:a17:906:b104:: with SMTP id u4mr21358982ejy.121.1604437619613; Tue, 03 Nov 2020 13:06:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604437619; cv=none; d=google.com; s=arc-20160816; b=jmcuH4pE2enw4yevA4Px41o7cn+hC01bTh/YDWuPSL9lsSk5baUzATxbjUMOPiALtO 1dDkU5en3NOhbabdFaSM/eccXuKxWNnQ91QN1fiTqRn/ObkKlp7I3wXTyKg+WJTBNUO0 WlC98FvyIqO4P5qf5iZz7QLdfaV96jMHQxd8VxrCsKJK9jTLNcV3AJ/e4ytnzEL8P/MG So0vKRpwE4IRsuJahuZKBgnGAfMwtdsN+5uVPhQapycjAUdsBE0xYabrWBwFJiqFl+Cu d69Fche1LQPgHYquy6X8L+FeYjV4rd7B9EeeXCvbbGgg5ZeK1iG2zzz5uhcJ6jbGDRiv W/og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=nKiIIS+KNin/VPkkZ3LYj09y8GrKHmzmnrInen8LTLg=; b=iQr7B/argE2dvsK3cdC6CFlXKjUfk/1KvIT7koCIVwUN2c1qGSo47AzIcK0pnB+PFD mvdHFIf3Xa1XiD0SEDeM2FNRznMjoqtVK9H8F1WQ0XTMCzZvHM6nn233eNMDHrjoxsU+ MOBZZAATunldnVqKY8ELrK9qYeQUzC8qhqs+rzEs9c6MhFjJ0g+d1aYz/4+EzZ2y9xd9 z1Qi0jJHWWHbZBJZyzt98e37WaW2eHAhO8K7toYkMXVLIOaGk7ToDHZmkq0wYKC9Tgx+ hVIUrvMpHj4+Uz7gEhnNwllg8A4KyENPlq60hF2PQx4u/dzZCOewrC+5XHLz+uyLGxo2 aUkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Dgz9TTtl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m15si8663148edl.269.2020.11.03.13.06.36; Tue, 03 Nov 2020 13:06:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Dgz9TTtl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387939AbgKCVEG (ORCPT + 99 others); Tue, 3 Nov 2020 16:04:06 -0500 Received: from mail.kernel.org ([198.145.29.99]:41896 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387934AbgKCVEC (ORCPT ); Tue, 3 Nov 2020 16:04:02 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A332F20658; Tue, 3 Nov 2020 21:04:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604437442; bh=LND++4XR3EDR/llUZ/t8Jtx2aEsw7I0RX4Po+K4Hwq8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Dgz9TTtlB4KH2tc8LRm7uNoRuWi3PWGJ+YSkFqEoiTys8Yprp7Eolk88IVAQeBkWh UVQT/6sV5D+4lxxb+YkogYdmZqH+Hg5EP6j3iVGRELsrgn+G9VfkKoRqfN8EqaR7nF Mxp7hBKJ+HiDUSXaFg9Q3AAtxegk2m/r+pOWdhXs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kernel test robot , John Ogness , Sergey Senozhatsky , "Steven Rostedt (VMware)" , Petr Mladek , Sasha Levin Subject: [PATCH 4.19 077/191] printk: reduce LOG_BUF_SHIFT range for H8300 Date: Tue, 3 Nov 2020 21:36:09 +0100 Message-Id: <20201103203241.485937166@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201103203232.656475008@linuxfoundation.org> References: <20201103203232.656475008@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: John Ogness [ Upstream commit 550c10d28d21bd82a8bb48debbb27e6ed53262f6 ] The .bss section for the h8300 is relatively small. A value of CONFIG_LOG_BUF_SHIFT that is larger than 19 will create a static printk ringbuffer that is too large. Limit the range appropriately for the H8300. Reported-by: kernel test robot Signed-off-by: John Ogness Reviewed-by: Sergey Senozhatsky Acked-by: Steven Rostedt (VMware) Signed-off-by: Petr Mladek Link: https://lore.kernel.org/r/20200812073122.25412-1-john.ogness@linutronix.de Signed-off-by: Sasha Levin --- init/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init/Kconfig b/init/Kconfig index 47035b5a46f64..5eb91dde4018c 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -535,7 +535,8 @@ config IKCONFIG_PROC config LOG_BUF_SHIFT int "Kernel log buffer size (16 => 64KB, 17 => 128KB)" - range 12 25 + range 12 25 if !H8300 + range 12 19 if H8300 default 17 depends on PRINTK help -- 2.27.0