From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.4 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2F8A4C47255 for ; Mon, 11 May 2020 15:37:18 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id EA535206DB for ; Mon, 11 May 2020 15:37:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Q29whgyB" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EA535206DB Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date: Message-ID:References:To:Subject:From:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=f2wFGEFWrGM9OtjYS1KwmclY9ONRrp2yAejBeaADBvA=; b=Q29whgyBcsiI+D dZozvaAPpv9SlJrz0Wbx4BtVw4NVU0TARPkPKBelvWdvlCKKAc9twgV2xQlX7KKDCeR0eKEhbiKy9 tpySSOoQXl5i/7Tuc8YE/uzrQhom7ic3e/m0nKIU3KHSKLszLtiE9IBD0sUTX1PGZ4nCiC12cPZ1L Cks642laTsGP8LwE/wjjb0xqW1tx6Uzy1dAUvqUSR6S1tmItV3eMg0smNL/5wOQgJj5v3Uv1a/Bt9 m9J6frOqpNy52+t3geVuaagpGuYu0+T48f9HAJ8UOxxsvdIPVyvfpJ9x8AJO8YEB1BA/wBu0qDzgQ /Q0uR5XPARJ12n3nGHkg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jYAUO-0001eu-CQ; Mon, 11 May 2020 15:37:08 +0000 Received: from [2601:1c0:6280:3f0:897c:6038:c71d:ecac] by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jYAUM-0001dj-In; Mon, 11 May 2020 15:37:06 +0000 From: Randy Dunlap Subject: Re: [PATCH v7 12/18] pstore/zone,blk: Add ftrace frontend support To: Kees Cook , WeiXiong Liao References: <20200510202436.63222-1-keescook@chromium.org> <20200510202436.63222-13-keescook@chromium.org> Message-ID: Date: Mon, 11 May 2020 08:37:05 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200510202436.63222-13-keescook@chromium.org> Content-Language: en-US X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Petr Mladek , Tony Luck , Vignesh Raghavendra , Jonathan Corbet , Richard Weinberger , Anton Vorontsov , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Steven Rostedt , Sergey Senozhatsky , Colin Cross , linux-mtd@lists.infradead.org, Miquel Raynal , Rob Herring , Pavel Tatashin Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" Errors-To: linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org On 5/10/20 1:24 PM, Kees Cook wrote: > diff --git a/fs/pstore/Kconfig b/fs/pstore/Kconfig > index f1484f751c5e..16a0440d8d5a 100644 > --- a/fs/pstore/Kconfig > +++ b/fs/pstore/Kconfig > @@ -248,3 +248,15 @@ config PSTORE_BLK_CONSOLE_SIZE > > NOTE that, both Kconfig and module parameters can configure > pstore/blk, but module parameters have priority over Kconfig. > + > +config PSTORE_BLK_FTRACE_SIZE > + int "Size in Kbytes of ftarce to store" ftrace but I don't know what this prompt string means. Could it possibly be "Size in Kbytes of ftrace log to store"? > + depends on PSTORE_BLK > + depends on PSTORE_FTRACE > + default 64 > + help > + This just sets size of ftrace (ftrace_size) for pstore/blk. The > + size is in KB and must be a multiple of 4. > + > + NOTE that, both Kconfig and module parameters can configure > + pstore/blk, but module parameters have priority over Kconfig. -- ~Randy ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/