Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3452824pxj; Tue, 1 Jun 2021 05:47:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx/ePGHSV3sefHWn6JQq+/tt/+1JY58ELRiviCqQibkmRXjwNN4HpBu1qAAXb/yMtUH2+XJ X-Received: by 2002:a05:6e02:1c24:: with SMTP id m4mr6012438ilh.182.1622551644872; Tue, 01 Jun 2021 05:47:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622551644; cv=none; d=google.com; s=arc-20160816; b=jR2yCIObWaObAqeiN1yAl0Y9jFCAB/9RLwgB5PBj1ODVQtwmyqsNU9nl3b9HZY6nI3 zrZnqQF32z7ArTSmzG+LCxbI0IrSyHxyUx32YZlBZHC3gAKREM0/8RyyPTksBieDPxJE wC2IaUeASnLHIs3B/io33dIRIdymO4yfjcizFhR4YwP6LBsTn2P3NSed05z89AfR72oJ hyYCeIEWCKgBU9myHNvZpwmVNyeAeCEI6WaDtLUxIRDfx65oFEIxBelxkP0tnba7oIyK x5GySQ850DOrcdY1jj2Cb2eEh0GZt1gf9ZYQ0TZECCAmXlpUhfksgETjfc0ZzzF1GGTH wMuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :dkim-signature; bh=b43l9JwGMojnvxR7u6rb4bHE+y8B1xgeuP6UyhnRg5c=; b=q6ofRXsG9YaWQXNc4CCOFeGEdsC99f6fBRGI4HkJP+Sp12JXlPl55rMx5Jktvdx9Sz sepki/SK4gRBlZRIN7NIkZQg2vip+G9EKc68kLVQKRqbOpbnfsuQzHXpJOCXEjh4aHfk MddW9MLdl+fGXAktcQUMawVwTuNjE4IiLw7yRtinTiv4MyZu3JatLj22AZBlO2VTuO9f qwiJjoc+pz2Oi/Pk+LUy9nJ9UFkSDvY70Qebj3SvyKv6vRjEC9iS3vknp0tMNFTRmIlb T4r0yjeju6y2MXfDzJRUO0bKqWTbyAVGwHVRJevgaxJsUPELReQfkoRk7SolXmKnNYRB py6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=rNrxYXXV; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v17si5007731ilg.30.2021.06.01.05.47.11; Tue, 01 Jun 2021 05:47:24 -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=@walle.cc header.s=mail2016061301 header.b=rNrxYXXV; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233577AbhFAMql (ORCPT + 99 others); Tue, 1 Jun 2021 08:46:41 -0400 Received: from ssl.serverraum.org ([176.9.125.105]:41279 "EHLO ssl.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232965AbhFAMqk (ORCPT ); Tue, 1 Jun 2021 08:46:40 -0400 Received: from ssl.serverraum.org (web.serverraum.org [172.16.0.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 8735722236; Tue, 1 Jun 2021 14:44:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1622551498; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=b43l9JwGMojnvxR7u6rb4bHE+y8B1xgeuP6UyhnRg5c=; b=rNrxYXXV2kN3d7v6g8tdreG6grSr43AMWyyJiXRAN9wHYI7ylyOnvcu3RMCODE/vVAQgxk Hibh6sxO6fBla+TpjAkb4hR658JUgaTvrByCl2UMuJxUp4jeiyZ2ngu/tk0Z7wyDTdNIYh 0fF8pYRGkd4I7NJq9uFUwXwFw3Ab4oc= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 01 Jun 2021 14:44:57 +0200 From: Michael Walle To: Pratyush Yadav Cc: Tudor Ambarus , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Mark Brown , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org Subject: Re: [PATCH v2 6/6] mtd: spi-nor: core: avoid odd length/address writes in 8D-8D-8D mode In-Reply-To: <20210531181757.19458-7-p.yadav@ti.com> References: <20210531181757.19458-1-p.yadav@ti.com> <20210531181757.19458-7-p.yadav@ti.com> User-Agent: Roundcube Webmail/1.4.11 Message-ID: <6fb69565f7b27eb7e8ee3321624ad624@walle.cc> X-Sender: michael@walle.cc Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 2021-05-31 20:17, schrieb Pratyush Yadav: > On Octal DTR capable flashes like Micron Xcella the writes cannot start > or end at an odd address in Octal DTR mode. Extra 0xff bytes need to be > appended or prepended to make sure the start address and end address > are > even. 0xff is used because on NOR flashes a program operation can only > flip bits from 1 to 0, not the other way round. 0 to 1 flip needs to > happen via erases. > > Signed-off-by: Pratyush Yadav Reviewed-by: Michael Walle