Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751845AbbKJTmD (ORCPT ); Tue, 10 Nov 2015 14:42:03 -0500 Received: from mail-pa0-f48.google.com ([209.85.220.48]:34583 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751379AbbKJTmA (ORCPT ); Tue, 10 Nov 2015 14:42:00 -0500 Date: Tue, 10 Nov 2015 11:41:57 -0800 From: Brian Norris To: Saurabh Sengar Cc: joe@perches.com, andy.shevchenko@gmail.com, joern@lazybastard.org, dwmw2@infradead.org, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mtd: phram: error handling Message-ID: <20151110194157.GS12143@google.com> References: <20151110190343.GR12143@google.com> <1447183675-4840-1-git-send-email-saurabh.truth@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1447183675-4840-1-git-send-email-saurabh.truth@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1064 Lines: 22 On Wed, Nov 11, 2015 at 12:57:55AM +0530, Saurabh Sengar wrote: > Sorry, I am not able to test the driver, sending the patch as asked above. Well, today you're in luck! You're touching a driver that requires no special hardware, so you should be able to test it. I think you can try using the mem= kernel parameter (see Documentation/kernel-parameters.txt) to restrict your system memory, and then try using that unreachable portions of memory for phram. You can try this driver as either a module or built-in. For the former, you can specify the parameters during modprobe time, or later by writing to /sys/module/phram/parameters/phram. For the latter, you can specify on the kernel command line or in /sys/module/phram/parameters/phram. Let me know if you have any more questions about testing your patch. Brian -- 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/