Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935161AbbKTScN (ORCPT ); Fri, 20 Nov 2015 13:32:13 -0500 Received: from mail-pa0-f50.google.com ([209.85.220.50]:34996 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934659AbbKTScL (ORCPT ); Fri, 20 Nov 2015 13:32:11 -0500 Subject: Re: [PATCH v2] pstore-ram: add Device Tree bindings To: Rob Herring References: <1447719205-8571-1-git-send-email-ghackmann@google.com> <20151117211717.GA12750@rob-hp-laptop> Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Jonathan Corbet , Anton Vorontsov , Colin Cross , Kees Cook , Tony Luck , linux-doc@vger.kernel.org From: Greg Hackmann Message-ID: <564F6728.7050607@google.com> Date: Fri, 20 Nov 2015 10:32:08 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20151117211717.GA12750@rob-hp-laptop> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1014 Lines: 26 On 11/17/2015 01:17 PM, Rob Herring wrote: >> +- record-size: maximum size in bytes of each dump done on oops/panic >> + (defaults to 0) > > Perhaps the default should be something useful. It's kind of a weird default, but I don't have any ideas for a better one. First, the size you want is really determined by the number of dumps you want to keep in your circular buffer. That's not something I want to guess at. Second, at least IME, a lot of devices legitimately want this set to 0. They're pulling in ramoops for the persistent kernel and userspace logs. >> +- unbuffered: if present, use uncached mappings to map the reserved region >> + (defaults to cached mappings) > > It defaults to write-combined or buffered which is not really cached. Will fix. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/