Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp4318768imj; Tue, 12 Feb 2019 13:45:51 -0800 (PST) X-Google-Smtp-Source: AHgI3IaLS83+q9fcgscRISlM7PpaNYVFBZ9dTt4aDXILF0U8fRSrv8s71sKT8/8lMSt9JdFgdatc X-Received: by 2002:a62:5c41:: with SMTP id q62mr6110462pfb.171.1550007951312; Tue, 12 Feb 2019 13:45:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550007951; cv=none; d=google.com; s=arc-20160816; b=TJsizp5gZy591zeyiTTzjZovgVlv695useuaayq5FPwf+/x/89cNeWebuMJXCi9Svn k1zY/1MYrQOQBdnKj1xzZQkc/ZQJSeuTW6yjgAs2DDdi9YG50eCnm81aOXZEgDDFEYt9 qHNk3VQehafKs/tUUa8ntRsWNlADUnwFjm0+2+DHp86iHch+7z3AUK0PTr8LDF4ZsMST tuZe3js+0+D+VKhJoQKL+3ka9bLCnYrJIXkP3P7Gani3ChOe4knq136BDF36jFpf+n9e 1VOb682jmcwwO2lTe1lFfzm/sxZab60/ehzxdzWq6pNYgfXma0bCHusNqH58VahLf5kL A0tQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=c1nrYSRbB45H+369z6vZFSrjEaahox2ezp5NLLs2OLo=; b=PIaN/YhzZR4DRV6o1AYZd11o2GAu+p3cFso8g/wZElW3y2GK707Wlo79ym9kwaXeJb xsv0PdVcoDtaaOjBS0G3QiiIG+f5qRBqBIPcwVHrePqQ5j/licmx8ebeo2/wwFe3LeL5 JhCj5Km+0wqJkm7gJDMXA1zezYljHuQRX9DFy6LPALYmvno/P02x2uthHlkl9Rn6lbMR B03myGP2zG2zaDN9kM2gsdSD1e4gJ8wZnYwmjX9xTKNcW1zd/buNkTmmNQJswIhYjWhg JTMeN6RRvyYNrfiiUTnRuqE4cuEBkJ1fVOwfSYFz7ZFw/YwnWFEqFHTAxot/anKzdF0/ GUoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=TCDbjJmQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c7si14116037plr.157.2019.02.12.13.45.35; Tue, 12 Feb 2019 13:45:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=TCDbjJmQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732154AbfBLUyz (ORCPT + 99 others); Tue, 12 Feb 2019 15:54:55 -0500 Received: from mail-vs1-f65.google.com ([209.85.217.65]:43161 "EHLO mail-vs1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732127AbfBLUyw (ORCPT ); Tue, 12 Feb 2019 15:54:52 -0500 Received: by mail-vs1-f65.google.com with SMTP id x1so37851vsc.10 for ; Tue, 12 Feb 2019 12:54:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=c1nrYSRbB45H+369z6vZFSrjEaahox2ezp5NLLs2OLo=; b=TCDbjJmQ8hAwvc2HdCsNp1Sbucf0DGWb9lkWwY4lAE6HzcSID3GYhQ/UHIcMJGSQAy FJdIJTu/ZHbaagFYDwLf17rPnt973KCFAK6IBcSi8DEwviToTYK2kXkNu2B9dO/qhAcC GpeHUaUUdUyxXocmUKfKgN85vLfxkaqYLBJ7A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=c1nrYSRbB45H+369z6vZFSrjEaahox2ezp5NLLs2OLo=; b=XjDBsAKAoFl9yhgU4vxdVKreJOVqFKJn9dFM0ooF4MLasArDZLTXnbOk7xoe+fIUnu GtMkpLWvIQRv3waxTHwmM9Ssht0h1mMu24dPL2kkwKy8/BVAw+ipVr9H2jRcDdoNBtjC m3DW/cQWjvxcxzGqPndqMoUohp4s6YrP1FRMhM4+/pmxnhRwtDB41GGted77aETpBEqD m71s6nH3HWd/sreWAOyctFk78pybYZteun7U7A0ppQqeHBaAe3jyAY7n455+cRUFtARR JFX7Vkr50vaXkApM2uR7zK6453xgON8guTmoqJTpRbhmeyW2UxPMmSSNqQM5lD3D+qzX uGgA== X-Gm-Message-State: AHQUAuY7Q7RGQR0mWdZPHn65mbnR2NmVG8Md1auQctHyH5PB5CY0jSS7 07AeJ2n1fPsGmTkQ/+WKhNGgwTk8fLg= X-Received: by 2002:a67:f756:: with SMTP id w22mr2446659vso.30.1550004890655; Tue, 12 Feb 2019 12:54:50 -0800 (PST) Received: from mail-vs1-f51.google.com (mail-vs1-f51.google.com. [209.85.217.51]) by smtp.gmail.com with ESMTPSA id 30sm11330329uag.18.2019.02.12.12.54.47 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Feb 2019 12:54:48 -0800 (PST) Received: by mail-vs1-f51.google.com with SMTP id z18so49075vso.7 for ; Tue, 12 Feb 2019 12:54:47 -0800 (PST) X-Received: by 2002:a67:848a:: with SMTP id g132mr2350886vsd.222.1550004886900; Tue, 12 Feb 2019 12:54:46 -0800 (PST) MIME-Version: 1.0 References: <1548245116-6360-1-git-send-email-liaoweixiong@allwinnertech.com> In-Reply-To: <1548245116-6360-1-git-send-email-liaoweixiong@allwinnertech.com> From: Kees Cook Date: Tue, 12 Feb 2019 12:54:35 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC v7 0/5] pstore/block: new support logger for block devices To: liaoweixiong Cc: Anton Vorontsov , Colin Cross , Tony Luck , Jonathan Corbet , Rob Herring , Mark Rutland , Mauro Carvalho Chehab , Greg Kroah-Hartman , "David S. Miller" , Andrew Morton , Nicolas Ferre , Arnd Bergmann , "open list:DOCUMENTATION" , LKML , devicetree@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 23, 2019 at 4:06 AM liaoweixiong wrote: > > Why should we need pstore_block? > 1. Most embedded intelligent equipment have no persistent ram, which > increases costs. We perfer to cheaper solutions, like block devices. > In fast, there is already a sample for block device logger in driver > MTD (drivers/mtd/mtdoops.c). > 2. Do not any equipment have battery, which means that it lost all data > on general ram if power failure. Pstore has little to do for these > equipments. > > [PATCH v7] > On patch 1: > 1. Fix line over 80 characters. > On patch 2: > 1. Insert a separate patch for DT bindings. This is looking good. Can you address the DT bindings review concerns, and send a v8? Thanks! -- Kees Cook