Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2060197rwb; Thu, 8 Dec 2022 19:41:22 -0800 (PST) X-Google-Smtp-Source: AA0mqf4YB8fxIj6zrG35diT5gAPmjOlqAbIQMCRNTTXlb8HirflIcFyxLKeSCieg2MoQiNaJ6Np2 X-Received: by 2002:a17:906:64e:b0:7ad:cf48:c38d with SMTP id t14-20020a170906064e00b007adcf48c38dmr3028039ejb.42.1670557281813; Thu, 08 Dec 2022 19:41:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670557281; cv=none; d=google.com; s=arc-20160816; b=tl7/V/zz23TfRjkrq8475j2/YX+wdr+gjE4J/Z5gy3Gi9KvyTiw1ZRFKdCBQxFusnO OdMihrHdUHMgr5Qy+IJsYlIimDBwXQtLug1405TS0bLNNNoJxRZCt+hFEi/T4nopcC6F /xKPdZoufcXK1WwKRBIy26vdU8xK3zun9CjEQAj5uty1rmQHDJsN/mgrDgiqR6jHLPc9 KtGBqxTAdTw6vh9aXx8+hXHx6E5IaLVO+WvQemz1gNMhib8t9LUPD6yZ0jTj6FDxmktz /iLC4QXZf2Xbwmmzfys+Rkx8E34enN+pXvMtHAVFIWJksd6tk9i/musTwUjaKngHube1 4oeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=rVgKlffiEF2OtdlS00jROW43FCHOBRtxFF76SiaLxlA=; b=MDyysf0MEz8a+E7O1CtWZ9d2Q+AU8AAwE426bFDOGUqWpXtWqzzmwVaVW49LIhrKo0 EOevOxTgXnmRluAetbH73ZxwUVtcjtbZzleM//tbM4lIgy3GvWEzfCt6X3wpiJSaIszy f1ptw9rXNVOsOs1dS2/f6To+q3OQyCkFf9JVVnbQDgictRePm068kz9GKfamSDSmtkDJ IgEF5XDfq/R6oGZkJvCnUORVvGfi0AkJTdKAHoN85tmqjQZp1CFapXayYQYjQSHIy8Sz 5SXMyrDnqGeBMcy3uCHB1LryPM5F6iUGcwfXm6sD+QHRqky3rBaScUaN91RjgDBDY7fp pX3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=g9JvhGCr; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id be8-20020a1709070a4800b007c08b7d4980si239508ejc.415.2022.12.08.19.41.04; Thu, 08 Dec 2022 19:41:21 -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=@kernel.org header.s=k20201202 header.b=g9JvhGCr; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229478AbiLICMN (ORCPT + 73 others); Thu, 8 Dec 2022 21:12:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230119AbiLICML (ORCPT ); Thu, 8 Dec 2022 21:12:11 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 466551F63B; Thu, 8 Dec 2022 18:12:11 -0800 (PST) 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 D9FEA62119; Fri, 9 Dec 2022 02:12:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 46481C4339C; Fri, 9 Dec 2022 02:12:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670551930; bh=rVgKlffiEF2OtdlS00jROW43FCHOBRtxFF76SiaLxlA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=g9JvhGCrD0QapB7/ih8KC+9k5a69NF+gOr+Se463cyRY4QYyHoyPgaRv8aYKN0IMO z3aiHQzln/a3AheZHGQMewXtpYtA82iDMnMmrmNyrn3GIkfxPAW//jB+pK1/ywgCZR SHuFZywKDCWGMUxEItiKGzzpore1Ijf3Nsq2rC8dRXjA9F1BKaUAkzJ56lq9FrPuAe rBfwhNjBmAOWxUCL/G5qwimFUaS8OKJZK1092uYej+zzVEmGeQDjrgkDDsBhvbWuQy JDsJkohC2NOQX5nmwGxBkJp3ljlhZWOLbByYSPp4Eo8GWWlKPbFcJAeyrLQXguBro9 zRSgmmV+KMl+A== Received: by mail-ej1-f51.google.com with SMTP id n21so8292270ejb.9; Thu, 08 Dec 2022 18:12:10 -0800 (PST) X-Gm-Message-State: ANoB5pklWSONcYwSOl3hc8XULtfxZytqEvOzJOOJmlaGycaxPrIE5n9L 0eAkildMdjRF6xwMAsw0kFqQ76JPo1n9Y4agoDY= X-Received: by 2002:a17:906:b213:b0:7c0:f7af:7c5e with SMTP id p19-20020a170906b21300b007c0f7af7c5emr13505347ejz.406.1670551928446; Thu, 08 Dec 2022 18:12:08 -0800 (PST) MIME-Version: 1.0 References: <20221208025816.138712-1-guoren@kernel.org> <20221208025816.138712-11-guoren@kernel.org> <87mt7yw6eh.fsf@all.your.base.are.belong.to.us> In-Reply-To: <87mt7yw6eh.fsf@all.your.base.are.belong.to.us> From: Guo Ren Date: Fri, 9 Dec 2022 10:11:56 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH -next V10 10/10] riscv: stack: Add config of thread stack size To: =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= Cc: arnd@arndb.de, palmer@rivosinc.com, tglx@linutronix.de, peterz@infradead.org, luto@kernel.org, conor.dooley@microchip.com, heiko@sntech.de, jszhang@kernel.org, lazyparser@gmail.com, falcon@tinylab.org, chenhuacai@kernel.org, apatel@ventanamicro.com, atishp@atishpatra.org, palmer@dabbelt.com, paul.walmsley@sifive.com, mark.rutland@arm.com, zouyipeng@huawei.com, bigeasy@linutronix.de, David.Laight@aculab.com, chenzhongjin@huawei.com, greentime.hu@sifive.com, andy.chiu@sifive.com, ben@decadent.org.uk, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Guo Ren Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham 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: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 8, 2022 at 6:12 PM Bj=C3=B6rn T=C3=B6pel wro= te: > > guoren@kernel.org writes: > > > From: Guo Ren > > > > 0cac21b02ba5 ("risc v: use 16KB kernel stack on 64-bit") increase the > > checkpatch complains here: Use "commit SHA...". Okay, I would check that. > > > thread size mandatory, but some scenarios, such as D1 with a small > > memory footprint, would suffer from that. After independent irq stack > > support, let's give users a choice to determine their custom stack size= . > > ...and again, my "why is this in the generic entry" series rant. :-) I would remove it from the generic entry series. > > > Bj=C3=B6rn --=20 Best Regards Guo Ren