Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4103090pxf; Mon, 29 Mar 2021 22:12:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZT1Sop1TILg8ZtBRXkGCi+shyhPnZqopprZMnOwx3rN4k0ZpLH+DuIK/uKlY46hSCHcW9 X-Received: by 2002:aa7:ce16:: with SMTP id d22mr31576719edv.95.1617081142734; Mon, 29 Mar 2021 22:12:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617081142; cv=none; d=google.com; s=arc-20160816; b=YsKelYh2c2PbLZqWVC1cQEVPpjstgPzCs0Zbbohkf3iepfsSDTH8qU7d0KiwhBi/5t axtC/1zDmCH+KQnPQv3JhqkgTrBhiOc6n0gbTOImmG6ZBPq090zsZdleJ7CDYVSv9Wtj XJyFdRcOtu+f9oXmzNHEsIVUhiCq+U6WjLwsN+iTbH9ebBYgbBxL6IN1s8JP0XRyscmA WZdFy4FldJglRWmQrIeInh1IaTDYn1aX68JY+Agcz87izNbqOe6cLrrGvELUSqkJQ4pC 4AuyUY/vhWvmXYAoIZr0LoZxuNHBktxXkabV7jm8ntxalFTmXrXK/OesCWzK7XRjre3p Lk1Q== 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 :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=D6RX73L1stgYWvYfUjXfH9nUeLArVwqYEE8k8Kohk2o=; b=FPyw3GyklKDypLenlQCFhEyA6CSO/5EoA/oZ5Xv7BI9UGhYx8ZfwAP4+rgO6XNKpfj 7Wb04StBTsVhGsd6SePMC/y0k2obp0fvainavJT8VCW5RtDeB02/ogm5tkb2Zg2Iw+bN brGzOl/ZAspvEaIKWIjPrKHGyAr/Lx9U4o85FTRgfEyfk2jts1ICWfRo/VO/0dC2qaGm 2zFNqdLFGFrHLuPXVzP08vwup1By3hJJUpSUvLR7iMzmLx31Ez6BE18GADKi9HnMoubx BwqXqWl2FzWFfduY1R1Xj1lLhQZ2AGZzhJWApxnrBWClhya+GeDrhZvEtyb3+gU9LBPX yUkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dabbelt-com.20150623.gappssmtp.com header.s=20150623 header.b=vkS7yzx2; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m26si14498703edr.603.2021.03.29.22.12.00; Mon, 29 Mar 2021 22:12:22 -0700 (PDT) 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=@dabbelt-com.20150623.gappssmtp.com header.s=20150623 header.b=vkS7yzx2; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230307AbhC3FIW (ORCPT + 99 others); Tue, 30 Mar 2021 01:08:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230306AbhC3FHs (ORCPT ); Tue, 30 Mar 2021 01:07:48 -0400 Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2AF11C061762 for ; Mon, 29 Mar 2021 22:07:48 -0700 (PDT) Received: by mail-pj1-x102f.google.com with SMTP id w8so7116691pjf.4 for ; Mon, 29 Mar 2021 22:07:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt-com.20150623.gappssmtp.com; s=20150623; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=D6RX73L1stgYWvYfUjXfH9nUeLArVwqYEE8k8Kohk2o=; b=vkS7yzx2kUSiFhvokAA1TDF14aAab2V/mDJlC2TZsgk23EIfFsTIzjVcpgHXHqJCcG dDK6hxbEH0IstblMbaJlDhEmizAHw5+BWEDd1n5U9FItcfCa5IIvsEmtUJG7uBywpO6s pCpm8ZetvZeKBudaxEX/3IF5JJ35tDgDBrcbGsm4oD89xexggremJbrr7A2L77KD1dZf 17HhkWMFOGoR+QJz4FnhTClV+AlJePmMnzBsc1mP+z8HUW6jtjZbA6HIE1Asl4bn6ef2 B6re8AplkYunj6whhPQa3XKW5nzoYs1qPKQ8J6Y09sMdzlEaAfLPXhft+3pu3MwxUYTo 2sKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=D6RX73L1stgYWvYfUjXfH9nUeLArVwqYEE8k8Kohk2o=; b=ta0rKNvyyvTrSlYxSKCUHVZfvSeVibh69upD+GHubmyeV6mdP1sCSySZHOZyfl4eqx VyCj08uQ6YcUmLe40wyMiC/XfNOQ0JcJerhtF2ZqqOPFdkP5sgnz+QI23pEbqmHZ1j1b BXmLXeMsfiey2J9kF4DL4f4it+HpF8qhIELgatlo1Lh2C1/s7xJlRVDMZ4FzlrwHaMmH OVCUDEhxRMIIYDobwVYo29Vb/zz5u1DyTq54RlI8aURq6Y+CnQ8xwVuBO7hIMLDa5ACz PnwtcraAd+yjfxWwqUG7tHRsIokW/SQvnNKlyCO+1uVwdT3JwSUz0X+ni2dAM84rI3q0 EFdw== X-Gm-Message-State: AOAM5331+Bx7YyJSSPzLAxPv6OHpJb6HLcwr5ZRWAK525N/3cYp8Gp+f h7MgIXQEkC9D1ilPib9EsWTrhk3FToqosg== X-Received: by 2002:a17:90b:16cd:: with SMTP id iy13mr2675534pjb.46.1617080867717; Mon, 29 Mar 2021 22:07:47 -0700 (PDT) Received: from localhost (76-210-143-223.lightspeed.sntcca.sbcglobal.net. [76.210.143.223]) by smtp.gmail.com with ESMTPSA id 25sm19101666pfh.199.2021.03.29.22.07.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Mar 2021 22:07:47 -0700 (PDT) Date: Mon, 29 Mar 2021 22:07:47 -0700 (PDT) X-Google-Original-Date: Mon, 29 Mar 2021 22:07:38 PDT (-0700) Subject: Re: [PATCH] riscv: Bump COMMAND_LINE_SIZE value to 1024 In-Reply-To: <20210316193420.904-1-alex@ghiti.fr> CC: Paul Walmsley , dvyukov@google.com, linux-api@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, alex@ghiti.fr From: Palmer Dabbelt To: alex@ghiti.fr Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 16 Mar 2021 12:34:20 PDT (-0700), alex@ghiti.fr wrote: > Increase COMMAND_LINE_SIZE as the current default value is too low > for syzbot kernel command line. > > Reported-by: Dmitry Vyukov > Signed-off-by: Alexandre Ghiti > --- > 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 000000000000..66b13a522880 > --- /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 */ I put this on fixes, but it seemes like this should really be a Kconfig enttry. Either way, ours was quite a bit smaller than most architectures and it's great that syzbot has started to find bugs, so I'd rather get this in sooner.