Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D5F5BC6FD1F for ; Thu, 16 Mar 2023 16:34:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Ol1a8kK5inyXyZ9uaw48M8SdLgyx8q4zu8WHQkAt8qA=; b=detaQCzJdugq3w nWbeLTB1jaFvniJVqGxL+S3VXShS5oyuMDrtMFBT7C8LzW5nLBAgtBYC4axfH8P3dKbq/VjEKBHmJ 80FJZgXj0MZ6sy+SEnCodV9Xc2aQvIpDRgmp8ufd5yFEL6TFdOWJNE/p42Qt0j4tCUKA3aDelxtwz S6uvNO7Y907huwSP3ZrjYFvb/fqX+VY+Y9wmQIwcJGCHDsoLs8X473xJfUQHXpWgXzrzgfr80m/B7 gmptIJSUHWURVk4Sl3lbDxA+EhyKrC6bVEUEzJPdDBq3+aRuxa4q0sG1be8DjLq7NCjE2b6iYJ0zm Y9bJPhtuN+C3hhxNN84w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pcqYd-00H18x-28; Thu, 16 Mar 2023 16:34:27 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pcqYb-00H17F-2K for linux-riscv@lists.infradead.org; Thu, 16 Mar 2023 16:34:27 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 05957620B8; Thu, 16 Mar 2023 16:34:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E05F5C4339B; Thu, 16 Mar 2023 16:34:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678984464; bh=mjOBt0hwl4VEkVOuBgR29W11lOITYRPWxwYwBi1U/4k=; h=From:To:Cc:Subject:Date:From; b=cVj2GxtjLQTTYFo543sjVm7xxVL4nXaEFA/LJqycpAeAQQq6KTGQi9xpCTqeNdxeC TV6Tj6lJteEQROJC1H+OsM+JAcBskEjbZxa9kPygEMcnJ1aGCrLe/YCMDV69l7HhZX Hg0zsmCAGygYi30cfP/oKIQ179pgdX5BqAGkbqZGe7UGpxVMd+9G3H3lXEtsGMB4DE 5JBING3F/g25M/sfMzTbLjdYKOpqdNPS0tNzLgpBgswruZ7JG2jP/1hkxa4tXolyNI 5OGu8WF02MlK9gwsFy5nOTZMc864/Xnz6J0XmAgEs6tQNkbgaLhEr4+PFhto6BWWfX 6Xf70d0TufMYg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Alexandre Ghiti , Dmitry Vyukov , Palmer Dabbelt , Sasha Levin , paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, linux-riscv@lists.infradead.org Subject: [PATCH AUTOSEL 4.14] riscv: Bump COMMAND_LINE_SIZE value to 1024 Date: Thu, 16 Mar 2023 12:34:18 -0400 Message-Id: <20230316163422.709087-1-sashal@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230316_093425_795696_AFF7C3BC X-CRM114-Status: GOOD ( 13.24 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org From: Alexandre Ghiti [ Upstream commit 61fc1ee8be26bc192d691932b0a67eabee45d12f ] Increase COMMAND_LINE_SIZE as the current default value is too low for syzbot kernel command line. There has been considerable discussion on this patch that has led to a larger patch set removing COMMAND_LINE_SIZE from the uapi headers on all ports. That's not quite done yet, but it's gotten far enough we're confident this is not a uABI change so this is safe. Reported-by: Dmitry Vyukov Signed-off-by: Alexandre Ghiti Link: https://lore.kernel.org/r/20210316193420.904-1-alex@ghiti.fr [Palmer: it's not uabi] Link: https://lore.kernel.org/linux-riscv/874b8076-b0d1-4aaa-bcd8-05d523060152@app.fastmail.com/#t Signed-off-by: Palmer Dabbelt Signed-off-by: Sasha Levin --- arch/riscv/include/uapi/asm/setup.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 arch/riscv/include/uapi/asm/setup.h diff --git a/arch/riscv/include/uapi/asm/setup.h b/arch/riscv/include/uapi/asm/setup.h new file mode 100644 index 0000000000000..66b13a5228808 --- /dev/null +++ b/arch/riscv/include/uapi/asm/setup.h @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */ + +#ifndef _UAPI_ASM_RISCV_SETUP_H +#define _UAPI_ASM_RISCV_SETUP_H + +#define COMMAND_LINE_SIZE 1024 + +#endif /* _UAPI_ASM_RISCV_SETUP_H */ -- 2.39.2 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv