Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6740124yba; Wed, 1 May 2019 19:30:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqzyg30VR1gRVLRZ3PHsr018NIco0Ovc6uDsaHgB33FnbMc+7hqye4guyuum3zg+lC1EcQxw X-Received: by 2002:a17:902:5c5:: with SMTP id f63mr915936plf.327.1556764258303; Wed, 01 May 2019 19:30:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556764258; cv=none; d=google.com; s=arc-20160816; b=wz9uUFdXPbkJeURbZdB/6crL4eTW8skza1K4Cahr4SOmQK286XzLWdeQ8M/vjXyu/3 M10wVFiMx+A3N016FutKXRhG2ur4PGJQtUGYvx+aQAVT0fLdMQOD/p3UJQr7YCBcYlVx 5D/4K08+6mGZrE16E6e2Oyxext+dGS9vVZRAv4/mwPrSdgqNcntDPvGvxN+eSMPqLi8P kF2AYmq7AQFMYjtimGHruhqf33ZCBrojGf0xV/VR2Vli+GpKbL1N0Xh9Yn1hpXgJM6HR HSe/ntd/EY5mZh16AIva/LhFEdhoMPjW+Hih9hjwO4y7dRK/F8oIE6i9DeWU7Q8XYHKa UREw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:openpgp:from:references:cc:to:subject:dkim-signature; bh=H1U2mJXBbnkWOnvmjM7JApU8kCjuCk0GAzDiJe0SSQ8=; b=rX5Pv6gCekMRVAqtsuuvz3xS5VanJFE2z0vg6pX5XnT3d7AD+GL98GOqFd8UTv5XOn kDX+v4FEVEBUstqLm/ym5S0wca2Aij55/0Kst45YKvd4Ry2/CwfYn8S/Xls3dC9rOLM7 19UfUlnfthlJqyVuqKzFdipm6JH5B1yOwblwKsYHQoL1jIwUZ/g4xrfwy17U2UjaVq1Y K2bVWGgoh3tJxfZx/1nj0h+a1T1cm1HhCtYteEJU2ZmLYX98P4E5Db45+1N1jjXjvjr8 tWAKxxErSvKL5sPktSDiRhN77DixNYQJAyTQ/o4pgGfbtWdklWrYqZjqUz/HVUXXCVm7 xSGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HhyNhPER; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d129si21111932pfd.267.2019.05.01.19.30.40; Wed, 01 May 2019 19:30:58 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=HhyNhPER; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726310AbfEBC3o (ORCPT + 99 others); Wed, 1 May 2019 22:29:44 -0400 Received: from mail-yw1-f45.google.com ([209.85.161.45]:37322 "EHLO mail-yw1-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726183AbfEBC3o (ORCPT ); Wed, 1 May 2019 22:29:44 -0400 Received: by mail-yw1-f45.google.com with SMTP id a62so493377ywa.4 for ; Wed, 01 May 2019 19:29:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:openpgp:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=H1U2mJXBbnkWOnvmjM7JApU8kCjuCk0GAzDiJe0SSQ8=; b=HhyNhPER21cKXrmuPmPHmnjvXbBpYYCdGpMAWXbBnuVSKm35ii3+zr47c07qUIxCtE kpxIKagdzxPIIgRSrfKgEd7BwxlESTY+lWAn8RzsWw/E5ZP3yQHRL57GtD5cUsViV5Ot 16t1lQ///dE+3A/FI39hvUZadgfIhWD+VnHI3SP5Ic6H3azruGl+VZUqFPILyyadS6GG lbI30N99yOtU5qE+sWz7oKl0fK3kaT7ATJxWt4D+HG+tch1RA93Yegpx2wuD41x0ktMP mETEUEtXJHfn0qPrOI6JGR0o9Z0gRRWQzUZryzc1ph6iwNmK8KVCUivX9qKk/5mEwU33 gdyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=H1U2mJXBbnkWOnvmjM7JApU8kCjuCk0GAzDiJe0SSQ8=; b=X5g+AjFiZO3EzLEj9EWrIZO9EgW0E1LBKTtlRTE+Ew0/MT4VDVplDM2oRnpDv2DeLK t+TKKuy/ZKyMFv3G2MSUTQgNpOULJ8gOU9HwDZ1WrCK5GMucmvl2ywiByI5fUYs+JMVr oyDByDkOUtoiyWW08WGqHoucLN6slwnnqPK3A7b/QZI8WxFSLbgozip4XkvZE7kaP2mN eKwqlDrbrBDaCbpooar9C9YZ1/Vs5WBTq9FUCdqHbyrte16Xywm+Ww025+yyAu4gNO7Q 3GVwpIELAfTAASXUYEKb6HhATWl60/Ivohh1aK4Qw63R9sgn2UNbmLiGhsgfVK8vO97C ptFw== X-Gm-Message-State: APjAAAVnr1c/eaKrVt8VhxCJxf8v3QF2mV+tQ5P/AudylZB0pQSmYuDn dyLiMD/qBcgHHheR0E43o2Q= X-Received: by 2002:a81:9203:: with SMTP id j3mr933715ywg.511.1556764183630; Wed, 01 May 2019 19:29:43 -0700 (PDT) Received: from [10.230.25.168] ([192.19.224.250]) by smtp.gmail.com with ESMTPSA id h3sm7436807ywb.87.2019.05.01.19.29.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 May 2019 19:29:42 -0700 (PDT) Subject: Re: [PATCH v2] mtd: rawnand: brcmnand: fix bch ecc layout for large page nand To: Kamal Dasu , linux-mtd@lists.infradead.org Cc: bcm-kernel-feedback-list@broadcom.com, linux-kernel@vger.kernel.org, Brian Norris , Boris Brezillon , Miquel Raynal , Richard Weinberger , David Woodhouse , Marek Vasut References: <1556738544-29857-1-git-send-email-kdasu.kdev@gmail.com> From: Florian Fainelli Openpgp: preference=signencrypt Message-ID: Date: Wed, 1 May 2019 19:29:39 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <1556738544-29857-1-git-send-email-kdasu.kdev@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/1/2019 12:22 PM, Kamal Dasu wrote: > The oobregion->offset for large page nand parts was wrong, change > fixes this error in calculation. > > Fixes: ef5eeea6e911 ("mtd: nand: brcm: switch to mtd_ooblayout_ops") > Signed-off-by: Kamal Dasu Reviewed-by: Florian Fainelli -- Florian