[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e88aed98-a96b-6e78-9183-5ff50dfa64e7@allwinnertech.com>
Date: Thu, 7 Mar 2019 09:05:32 +0800
From: liaoweixiong <liaoweixiong@...winnertech.com>
To: Randy Dunlap <rdunlap@...radead.org>,
Kees Cook <keescook@...omium.org>,
Anton Vorontsov <anton@...msg.org>,
Colin Cross <ccross@...roid.com>,
Tony Luck <tony.luck@...el.com>,
Jonathan Corbet <corbet@....net>,
Mauro Carvalho Chehab <mchehab+samsung@...nel.org>,
"David S. Miller" <davem@...emloft.net>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Nicolas Ferre <nicolas.ferre@...rochip.com>,
Arnd Bergmann <arnd@...db.de>, Rob Herring <robh@...nel.org>
Cc: linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v12 3/4] pstore/blk: support pmsg for pstore block
Hi,
On 2019-03-06 09:16, Randy Dunlap wrote:
> Hi,
>
> On 2/27/19 11:12 PM, liaoweixiong wrote:
>> diff --git a/fs/pstore/Kconfig b/fs/pstore/Kconfig
>> index 7dfe00b..b417bf5 100644
>> --- a/fs/pstore/Kconfig
>> +++ b/fs/pstore/Kconfig
>> @@ -210,6 +210,27 @@ config PSTORE_BLKOOPS_DMESG_SIZE
>> It is the first priority. Take care of that blkoops will take lower
>> priority settings if higher priority one do not set.
>>
>> +config PSTORE_BLKOOPS_PMSG_SIZE
>> + int "pmsg size in kbytes for blkoops"
>> + depends on PSTORE_BLKOOPS
>> + default 64
>> + help
>> + This just sets size of pmsg (pmsg_size) for pstore/blk. The value must
>> + be a multiple of 4096. Pmsg work only if "blkdev" is set.
>
> works
>
Fixed.
>> +
>> + NOTE that, there are three ways to set parameters of blkoops and
>> + prioritize according to configuration flexibility. That is
>> + Kconfig < device tree < module parameters. It means that the value can
>> + be overwritten by higher priority settings.
>> + 1. Kconfig
>> + It just sets a default value.
>> + 2. device tree
>> + It is set on device tree, which will overwrites value from Kconfig,
>
> overwrite the value from Kconfig,
>
Fixed.
>> + but can also be overwritten by module parameters.
>> + 3. module parameters
>> + It is the first priority. Take care of that blkoops will take lower
>> + priority settings if higher priority one do not set.
>> +
>> config PSTORE_BLKOOPS_TOTAL_SIZE
>> int "total size in kbytes for blkoops"
>> depends on PSTORE_BLKOOPS
>
> cheers.
>
Thank you. Cheers.
--
liaoweixiong
Powered by blists - more mailing lists