Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp7311010ybp; Wed, 16 Oct 2019 07:01:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqz+HDv7boDwunSNCBAXTbYmWFoAeKLY0p2jikhzyFLEcnv93eaxw6Q1LfvOW//IQZGhuzTx X-Received: by 2002:aa7:c38f:: with SMTP id k15mr40391038edq.100.1571234469318; Wed, 16 Oct 2019 07:01:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571234469; cv=none; d=google.com; s=arc-20160816; b=EuUelp9vUqNQvK/yX4Anvui0NH2OLv/Ik4VgIyZ0POjdo6rCtf5NNR8O1n2ElIRxm9 50HrzTI9L1O5UqZ2s82tHNAFHZU9hvxcITNVeuSwPuxcfU7S27xgRFlFWlkWQte8JcR0 bvkkB9LwdAoM5huwb6JNSZA/ngZG1tJQ5qRwW//0JWksekBGPDfzsSW9GqpkiQvkJgia d6M/exANuobhqGM5bp/WmHXv03vzZ3T28KjFFjHfWZZZYx1JaL7aFezB/tf7+vHtGpOE 0NaXeFGYaRepxunl3wP5zaninVrDPi0B1rtWib2pb8VLhPQWFe7GuRqYZGQxTNITEDue LGcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=KPPIfsJ6HGvVdUqXWH6apiPNYmNqpIkYGE0afv8z16c=; b=mqgHaGoHfHBJ3t5UqPkHthxqtGtKvpSJ1nRuqLY1O5qovpjlsaIIW6gXFVK8qrG9Cx 3Bm9RaoSLEZkpbS7Ay5pK0vRhfdkwhRYJRQkJkDaQonSpDMlilrdkx7drnitX7sVMg0t zyTKLLiJgtFmmH7UnU469MMMk4UXaUcZkfPuGB9j6+b9s0H2qv4dDxSDc+g6yfyoJ6DS B8uEmsbkJL6ckgOx9JR/GZrql6KuMg0DgclUKkNYNGnqrjUTrHT7wSzqDwC0tPdXuhvr Qa1MjI7nN9X100zn5g8mgh4Q39tQS9qixv205MqvsLWAPMrMBIsjZnGXod4RYXu5jMS+ odZA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q46si17477991eda.44.2019.10.16.07.00.43; Wed, 16 Oct 2019 07:01:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404485AbfJPKDR (ORCPT + 99 others); Wed, 16 Oct 2019 06:03:17 -0400 Received: from mail.loongson.cn ([114.242.206.163]:48799 "EHLO mail.loongson.cn" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404289AbfJPKDR (ORCPT ); Wed, 16 Oct 2019 06:03:17 -0400 Received: from linux.loongson.cn (unknown [10.20.41.27]) by mail (Coremail) with SMTP id QMiowPDxb2Ld6qZdxwQSAA--.75S2; Wed, 16 Oct 2019 18:03:09 +0800 (CST) From: Tiezhu Yang To: paul.burton@mips.com, ralf@linux-mips.org, jhogan@kernel.org, chenhc@lemote.com Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3] MIPS: Loongson: Make default kernel log buffer size as 128KB for Loongson3 Date: Wed, 16 Oct 2019 18:03:00 +0800 Message-Id: <1571220180-5478-1-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 X-CM-TRANSID: QMiowPDxb2Ld6qZdxwQSAA--.75S2 X-Coremail-Antispam: 1UD129KBjvdXoWrZr1rXF45Ar4rtr1kXw4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kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When I update kernel with loongson3_defconfig based on the Loongson 3A3000 platform, then using dmesg command to show kernel ring buffer, the initial kernel messages have disappeared due to the log buffer is too small, it is better to change the kernel log buffer size from 16KB to 128KB which is enough to save the boot messages. Since the default LOG_BUF_SHIFT value is 17, the default kernel log buffer size is 128KB, just delete the CONFIG_LOG_BUF_SHIFT line. Signed-off-by: Tiezhu Yang --- v3: use the default LOG_BUF_SHIFT value 17 and update the commit message arch/mips/configs/loongson3_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/mips/configs/loongson3_defconfig b/arch/mips/configs/loongson3_defconfig index 90ee008..25e1179 100644 --- a/arch/mips/configs/loongson3_defconfig +++ b/arch/mips/configs/loongson3_defconfig @@ -12,7 +12,6 @@ CONFIG_TASKSTATS=y CONFIG_TASK_DELAY_ACCT=y CONFIG_TASK_XACCT=y CONFIG_TASK_IO_ACCOUNTING=y -CONFIG_LOG_BUF_SHIFT=14 CONFIG_MEMCG=y CONFIG_MEMCG_SWAP=y CONFIG_BLK_CGROUP=y -- 2.1.0