Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp207146pxu; Fri, 4 Dec 2020 00:57:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJyPYmUuqnZUyUxVGJFLFlR/EA8oy0eJ3Aq5dc83x9bMU93e9zf4h9v6VMySdkkItNBXQ7R9 X-Received: by 2002:a17:906:6b82:: with SMTP id l2mr6096613ejr.241.1607072244681; Fri, 04 Dec 2020 00:57:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607072244; cv=none; d=google.com; s=arc-20160816; b=Y0s68ap66X6mycnpoltqFo1fcQa2ta/FaDm8/etRfLilV1askqN/yk3Kl+Ss7n5x5M rO3gzYKkRbDbF+SYEXwrn5v5/68ZTjkZSa2C+1ffVJsnIq1c6Ll/Z4CLfvkwgvXgcP8z G8garE1R+QFf4kSiGlJuyXfzLblLdKwdi+SwUqnPL3hmFd93JAE3cPDS+4d0HosIS3QT t85GmW4fZUamIowDxctsd2MABJVC+9ONKlRwmqDN/19rOlNN5+GMscmRmD2b4WhdOpAo kjvaH5tUMU6NTkNZtmvoO+kpRLl6D0AFF7RKr3z2lmpbJYKd7Z3tvVlD5INN4ZZoyAhs QlMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Ie25EXYGJygVSq1WCc3nxTESm5cgyIfQIT3ckwHo9Es=; b=qyS5oneDU2a3Nvwmcp7d8VNeFsb19bT3RJmLv5nydiTzRaqP/b37/tvg04WZgtO4f+ eLulRR7dqjzuH2XJFRDeB3WAvhFm4OmW4l1aPgjnpAIt+GDtJ/Sb+XyZ7jkla0BnCl1V BCEOMc4ol3JEdvGF7oT3/mpDU8EGYHF/uO0NSTxXEhIE/xm3tQuH5pasU5LGo6Q2crCH fqMyc2h0oD7WFVxR7XkN+HgCplx3THayp5TfKjNFCuYGDErc+3dWIVsorBHaSYq/Q7mY QGdOmrmqX81hx4ee52Vqm7kvFJtUfvjfwfrKGUoEp2DrjEZCAuzXAYXa1sWsr63nQ7IL yqFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nI0FiqTR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c2si2411627edu.115.2020.12.04.00.57.01; Fri, 04 Dec 2020 00:57:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nI0FiqTR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728081AbgLDIxp (ORCPT + 99 others); Fri, 4 Dec 2020 03:53:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725969AbgLDIxo (ORCPT ); Fri, 4 Dec 2020 03:53:44 -0500 Received: from mail-qt1-x841.google.com (mail-qt1-x841.google.com [IPv6:2607:f8b0:4864:20::841]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 619CCC061A4F for ; Fri, 4 Dec 2020 00:53:04 -0800 (PST) Received: by mail-qt1-x841.google.com with SMTP id o1so3425948qtp.5 for ; Fri, 04 Dec 2020 00:53:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Ie25EXYGJygVSq1WCc3nxTESm5cgyIfQIT3ckwHo9Es=; b=nI0FiqTRD2Uc7pujsoo8JHuFJYFma9yUkqVRq8LWwnqTcUo5rxCgfAx05yc+PWUiJH OzP5V3COQ/H1HwDb5aa1TZvyTdFXUAVnGqDDZOIrG2cHX/zOvQaqPhabHoPphkzXiUQ2 BIPWES+dlWXWdWzC4ZY69aTC041wbemwIxCL38PdrzphqzarVGYtlbhWJcZDiDzjldVc lFi47XJ1O7T/jSVoQ+rirQn+Tfqg4BiW3kyppNwiZ6OMVr0E0XSAAXpVvrme92mwrZi8 wYBvpMGukkROYPtVUUUJy4BMDeMsbaUyfGvW59Y6AzaccMh2ZqcgCKLHOQo7OGn6/C0v HSRg== 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=Ie25EXYGJygVSq1WCc3nxTESm5cgyIfQIT3ckwHo9Es=; b=HgpqhEiDKDMoRbxHU11tI6U5kIfmQxqdAR++vHJpEerXkiqtyjU/+gcdovR0gzviqn amSaukFbanA3dalb9BsOUq/z0o1NXCx9IkzYUSM1Rm4LIfbgprmo9W8heALdMYwsuqsG mUg22SH+B9eGirY/2KohVajTAj1vei91322aStyqOvtxdaSRfUvCBPL19hYgOUc+yB0W I2d7Z/KINq8R/gd77SWqB7k6LF51x/PhUxzKTkEef+PVkbLhuglpR0QX0/oPHqRahoBy NxndVCie8LixwFK/7TAxsyM20Hj3CxL2/1LqMhefnTmFCffW/h4lFNZlbd+48CaGH8mF QZiw== X-Gm-Message-State: AOAM531xZCfVWrLQFuY9ov6zExJH8/JLkXbV5JXhA32j6sl2PdBdgBrB tN8N8NfuulKYp/jq/Im7m7OlQfN97b3o+CJRPFQ= X-Received: by 2002:a05:622a:24b:: with SMTP id c11mr7237941qtx.166.1607071983687; Fri, 04 Dec 2020 00:53:03 -0800 (PST) MIME-Version: 1.0 References: <20201125071132.39988-1-zhongguohua1@huawei.com> In-Reply-To: <20201125071132.39988-1-zhongguohua1@huawei.com> From: Richard Weinberger Date: Fri, 4 Dec 2020 09:52:52 +0100 Message-ID: Subject: Re: [PATCH v2] phram: Allow the user to set the erase page size. To: Guohua Zhong Cc: patrick@baymotion.com, Joern Engel , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , linux-mtd@lists.infradead.org, LKML , Xiaoming Ni , wangle6@huawei.com, young.liuyang@huawei.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 25, 2020 at 8:14 AM Guohua Zhong wrote: > > Permit the user to specify the erase page size as a parameter. > This solves two problems: > > - phram can access images made by mkfs.jffs2. mkfs.jffs2 won't > create images with erase sizes less than 8KiB; many architectures > define PAGE_SIZE as 4KiB. > > - Allows more effective use of small capacity devices. JFFS2 > needs somewhere between 2 and 5 empty pages for garbage collection; > and for an NVRAM part with only 32KiB of space, a smaller erase page > allows much better utilization in applications where garbage collection > is important. > > Signed-off-by: Patrick O'Grady > Reviewed-by: Joern Engel > Link: https://lore.kernel.org/lkml/CAJ7m5OqYv_=JB9NhHsqBsa8YU0DFRoP7C+W10PY22wonAGJK=A@mail.gmail.com/ > [Guohua Zhong: fix token array index out of bounds and update patch for kernel master branch] > Signed-off-by: Guohua Zhong > Reported-by: kernel test robot Looks good to me, except the authorship. If I understand correctly, you took this old patch and resend it. Please make sure that the "From:"-Line contains the original author. You can fix this up using git commit --amend --author=. The git format-patch will create a correct patch. -- Thanks, //richard