Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3007204imm; Sun, 1 Jul 2018 10:10:24 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf/5Q2emsrkNgB+my9TCD3NGtw460/LxKu7LXTzVLgfnX8ZlA4NGPTf8GkMNow1yYwQkR2z X-Received: by 2002:a62:152:: with SMTP id 79-v6mr19378604pfb.74.1530465024136; Sun, 01 Jul 2018 10:10:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530465024; cv=none; d=google.com; s=arc-20160816; b=GYIx8vhQkr/eEsOsVQ8s6FThGGnqcHyNMA9lRLchRrBNkzeo3wGRxUv+P7d/y+FG+O kcNIYBp8XFF1Zj3xVVqZu/Ry73nMcjRQiU6ApvmuLy4elyC1lNF6gu8qmGmiyIVc+dGb PsjyGvpIZ1ZwfOfbVpJ5On1PT+wBLvRdFoZKN5HUfVfvB3dph/y1LZlKcKldzEyJzYH5 bTwNYtSnk8ixgXgGkZ7kIcmLl6H3SRZS7cjY06ohZ2DmjymLM2EpY6bPogqyBPQnMeqs JSBOW07thSDhCGbLzEgPThSQejFKMvKWl0GHkOvhCboA777V6cEkWRQ1/AHOCDImzUgM GyAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=wWeSXw2g5cs1NqUGQWxxzOadtVKyDJ8FRCM7R/c15z4=; b=nEFJrwzDBTkOtXMAdongE8ahWAzwT6njyu8vSuJzWW6llWiB7k9JnUZ6mWFMaM3l/B mYV0vm3gum6YLsxZ62g7ngY6ab403sNSGSl3516XKYeHoFfiP3lPQMnCw9oKSASGtOe6 KgplqyXHiFGF3t0Mbb6OMoJGvOYoBmPrTDDyPIovRd3hb+n5mCrdcvsEscuQ6O4j2Otr rVEiiUD8w+L5gFTuVqMPe/YyzDpdvvuf1fFyEDiYG8pc4op6FsqMI8i+yIxR293xR9ps 4pYXkbvil6xCWR+uBgEwY+8vIB5fUS4N54I3qFvyW7p86G2J/U4Nv6AXQQ4xvk0xaYqz vEFA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 68-v6si14384624pfo.229.2018.07.01.10.10.09; Sun, 01 Jul 2018 10:10:24 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1032059AbeGAQl3 (ORCPT + 99 others); Sun, 1 Jul 2018 12:41:29 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:37372 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031508AbeGAQlX (ORCPT ); Sun, 1 Jul 2018 12:41:23 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id EC578ACC; Sun, 1 Jul 2018 16:41:22 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Chris Packham , Miquel Raynal , Boris Brezillon Subject: [PATCH 4.17 104/220] mtd: rawnand: micron: add ONFI_FEATURE_ON_DIE_ECC to supported features Date: Sun, 1 Jul 2018 18:22:08 +0200 Message-Id: <20180701160912.740661880@linuxfoundation.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180701160908.272447118@linuxfoundation.org> References: <20180701160908.272447118@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 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 4.17-stable review patch. If anyone has any objections, please let me know. ------------------ From: Chris Packham commit 12baf7721143c83150fa973484b7b5fcd86b23f0 upstream. Add ONFI_FEATURE_ON_DIE_ECC to the set/get features list for Micron NAND flash. Fixes: 789157e41a06 ("mtd: rawnand: allow vendors to declare (un)supported features") Cc: Signed-off-by: Chris Packham Reviewed-by: Miquel Raynal Signed-off-by: Boris Brezillon Signed-off-by: Greg Kroah-Hartman --- drivers/mtd/nand/raw/nand_micron.c | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/mtd/nand/raw/nand_micron.c +++ b/drivers/mtd/nand/raw/nand_micron.c @@ -66,7 +66,9 @@ static int micron_nand_onfi_init(struct if (p->supports_set_get_features) { set_bit(ONFI_FEATURE_ADDR_READ_RETRY, p->set_feature_list); + set_bit(ONFI_FEATURE_ON_DIE_ECC, p->set_feature_list); set_bit(ONFI_FEATURE_ADDR_READ_RETRY, p->get_feature_list); + set_bit(ONFI_FEATURE_ON_DIE_ECC, p->get_feature_list); } return 0;