Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp208753pxb; Sat, 18 Sep 2021 00:06:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy8crUSl73Tzq0jI4Jv8dSBeOR8ILp47Wz3Cy9a66b2zF1Fv/EIEyb8XV0U4M2o3aT8so44 X-Received: by 2002:a17:907:98a5:: with SMTP id ju5mr15817973ejc.378.1631948766839; Sat, 18 Sep 2021 00:06:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631948766; cv=none; d=google.com; s=arc-20160816; b=EARSDX3ZTC1VkXwS4178TmUyb7LCAyDsuEIIhzAK3qJE2zne0NOoypLTODpu5kj1JG NOYBRZrsX5ETuGUH1VAWuhy6dzUTIv5jghhyoHDm9Pi9tvNUslWK0CDHxqYYcbNCfpPY SJ4Dazv96sqUADGY+gs0X+F3bAld7P6n85keXiiN0TXEX3CRJwPW9f6Y4qfrWhSIvrJ7 t4ScZvhQhJgz+BdoG181LRbFHkOS4aHXuluj37LKv78VRDW7iM/rV3WdHT2aJGxfMm9P oQM6sUQ0I38nf246KdN8nrv8CgBk6iqu7oyipbXgBrNpw+Nev2SHvyezK+F4GU7WcQ5p aaqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:subject:from :references:cc:to:dkim-signature; bh=ktVsCO/bA+2oA7yI6QdsCnVtNDARkq+bYABQf34Yf5w=; b=nPi5uwrxFkbTC67sV0keKIwy/gRVKsGNF/qSA/95nxcLLayzLgQT5zamZRWTWxb+Sl i8MEMaC+lmzs1Ew1d9tjO8h6LKruJUy4L5SNZxEghrkupV3pZ4yAeuz2E9joskM26YUJ xF/Z/yaCi/7YM6V6wTsoKUcloGZYURZ8h4PYLWFy3bdAmw8jNbjcZOpMAtz4x1sp+c2e n1AARsOy9N9sbzaraegL+lvO/TqdPSRbmr6L8sgE5S1hNywtFCeACCWLXcBDnxRI7gPT ujj+zkXiNF+oAh/dyidwPRfnSLRZEdMK0vpWXuEZk/gbhtBYb2WFjEwAG/kvJ/15b98S iciQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@3e8.eu header.s=mail20170724 header.b=waEfshOi; 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=NONE dis=NONE) header.from=3e8.eu Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t18si3244543edf.139.2021.09.18.00.05.43; Sat, 18 Sep 2021 00:06:06 -0700 (PDT) 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=@3e8.eu header.s=mail20170724 header.b=waEfshOi; 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=NONE dis=NONE) header.from=3e8.eu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238623AbhIQRrC (ORCPT + 99 others); Fri, 17 Sep 2021 13:47:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233099AbhIQRrB (ORCPT ); Fri, 17 Sep 2021 13:47:01 -0400 X-Greylist: delayed 79625 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 17 Sep 2021 10:45:38 PDT Received: from srv4.3e8.eu (srv4.3e8.eu [IPv6:2001:67c:12a0:200::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E71EDC061574 for ; Fri, 17 Sep 2021 10:45:38 -0700 (PDT) Received: from [IPv6:2003:c6:cf12:5a0:9abc:9583:6f0a:c734] (p200300c6cf1205a09abc95836f0ac734.dip0.t-ipconnect.de [IPv6:2003:c6:cf12:5a0:9abc:9583:6f0a:c734]) (using TLSv1.3 with cipher TLS_CHACHA20_POLY1305_SHA256 (256/256 bits)) (No client certificate requested) by srv4.3e8.eu (Postfix) with ESMTPSA id 1085B600AA; Fri, 17 Sep 2021 19:45:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=3e8.eu; s=mail20170724; t=1631900736; bh=ktVsCO/bA+2oA7yI6QdsCnVtNDARkq+bYABQf34Yf5w=; h=To:Cc:References:From:Subject:Date:In-Reply-To:From; b=waEfshOiUYtzIx19kj860fpjfQLq/lwaNwD7rYmnSJRsFZ60Lkd5z/jwJ3VQK3ypd djTVDAPOk2M05vZvHpLcbHOMWeI0gSDEaE0UmBRlXo/QdCTcftAkOyjyUZBmbIiWqk Vgs/PTKpKsJLplyZqAgTpK9PyxNb+VkxkuFBtOBJKULRH5+1v4g6K07xRhcBwz0gJ4 FsAuqQs81aaBO5ae8qhY6QHtgeIK5ymCEeOePBPWCnMW8oNM54hE9YWsKTOCtwWb3O ip+dHUQAyACxfJ1630UDOvBwlSEp2WIGP/ZBWiHlCycrI/kCUNkYeX07roKvoXKCLl cBW5i0ssPRBKA== To: Miquel Raynal Cc: Daniel Kestrel , Richard Weinberger , Vignesh Raghavendra , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org References: <20210808072643.GA5084@ubuntu> <51f2ebf4-6df1-eba5-99f1-1ec88e475d20@3e8.eu> <20210917190154.76203a9a@xps13> From: Jan Hoffmann Subject: Re: [PATCH v2] mtd: rawnand: xway: No hardcoded ECC engine, use device tree setting Message-ID: Date: Fri, 17 Sep 2021 19:45:33 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20210917190154.76203a9a@xps13> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Miquèl, > I am not sure to understand your message as answer to this thread. > There are two problems here: > 1/ The DT values not being taken into account This is the issue I'm referring to. > 1/ Has already been fixed (at least that is what I think) This is not fixed in kernel 5.10. And unless I am missing something there also doesn't seem be a fix in more recent kernels. I am aware of commit 33d974e76e21 ("mtd: rawnand: xway: Do not force a particular software ECC engine"), but that only fixes the ECC algorithm. The ECC engine type is still hard-coded in xway_attach_chip. Thanks, Jan