Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2429993rdb; Mon, 5 Feb 2024 06:28:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IFL0hB8q8EIsRYOyJU56fqYJV1HDC1dfuSZW2RZakfeSmDd6B7BuX3VPaD4B628j3I1+jk2 X-Received: by 2002:a17:903:184:b0:1d9:34ff:f807 with SMTP id z4-20020a170903018400b001d934fff807mr7673740plg.31.1707143309623; Mon, 05 Feb 2024 06:28:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707143309; cv=pass; d=google.com; s=arc-20160816; b=xZSk20UOIe1IMX4elrVlshtbbstbAnlViyN8dLKt8LHAiDfgkRFxi/UQYrehjKS4rk VEaFL42hqQhptKP2SpUUfX53FKg64FgSQe1cOw9VFFcxfakAeWwQWyBxNltagwGPPdfC /PI5l3hDEQo2VkKR1fSzm2etIS3cm7wVdauhRG+pzCcmYfnXj7HTCcsoD9j+2XmeantW lAkPM4B7jA8WWev7IVzJwulWP3ZbEjMvvkoms/Ix6xvuj9LoorF2mPyPOvgYHM6znf3o rBPB1xbgidCgxBxnnpnDz/bfFCIwSFz2KjKqZ3JLWN3qfbYTRrYoGYAjsKjghJbgPBnB kPng== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=yJ0MjnPiyDEXmv9y3YHY1Sk0uYIphio8FRBQUUsA6T0=; fh=uPIjbh64xhN8ctPir+MZnHc5hpcwQLkcymiYSHQJZbg=; b=fcNwOMVGeHh5HM/+EcQ+KihroFCz5zlR4E+IS61sAWPgZebF6aDENYBtVW51Vr9y8X dWg408h0Ry2zoQPoQXa+QJgAnmPuy8wMSStd8IjRPa0S2SJzHR+nTINJSeXgXBGaAuz8 RgcRY3pKOTpbr3DkBeODlUp3E4kKRtDWG5Mo0qQQNNT6SeMxi14GK3e/oWv+seR3Htp5 wYOjJXStYNqN/UwsQk+eQr2ELuJVlMuLmr0KAg7zUyoFD5qYYptRP/7JgdFzvsw2pgAO 3KspwFlRELFCto77bG2OpggmkNQ7hEJW5sqVDNbic83wXxTJXJwrt2D2q92bSMMUSKin tvdg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=PKnL7nW+; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-52820-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52820-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com X-Forwarded-Encrypted: i=1; AJvYcCXvXFC48mTWXlrP8MFh9vQu0i0rbJPNxVOpJ9TWB8qMQ59cnfjHY24mo5YOSjiXG7/rDyXbTX7SMaS+wrGmjH72GZZn26QsFdiDfB/kqA== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id z17-20020a170903409100b001d953aa2206si1105106plc.82.2024.02.05.06.28.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 06:28:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52820-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=PKnL7nW+; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-52820-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52820-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 726FA286D77 for ; Mon, 5 Feb 2024 14:28:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2F5A82C6AC; Mon, 5 Feb 2024 14:28:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="PKnL7nW+" Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9364D2C1A0 for ; Mon, 5 Feb 2024 14:28:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.197 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707143289; cv=none; b=terh/4df2um/oLL3ZHzS5f/QbBO5BSfs0+AWBZBfB3WE7Tmsao8p5jaXaVb891h8GjAKmT1rgaghIclyrHfjYL16kTGQqmBGEUY2/I0Ze0QMKswUB5mHkg5+flv6jMNimCEPOpRvTRKqgGs12nsrQ74+cJm4gv24E72ZZw6c21g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707143289; c=relaxed/simple; bh=Hq2NNMT6MBsKqcxed74d9JB2FYrJZym2KKmRCRMtPlE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=jWedfLZKJqk7huC0OE7Fv6R/5Mkoqp9XG3TOy0Y5P3vSLn+QN2MfiHBr4cFO08pGHPFzHEsIkduEdl6UQvh7xrhEDzqhSqfBCN6t2WKPhpKfAsg/oMRk9hu3eon2VdX4qEAPgaUt5forNgI6Xyu/PW7jGjbizG23sHxErsTrwQ4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=PKnL7nW+; arc=none smtp.client-ip=217.70.183.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id D22BB1C0006; Mon, 5 Feb 2024 14:28:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1707143285; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yJ0MjnPiyDEXmv9y3YHY1Sk0uYIphio8FRBQUUsA6T0=; b=PKnL7nW+HFuuqYWfBpu+B2VJNgN8v65dQOqIs0KQWrPKjZ9F7aSeddtOAmXhX+3h5NlRnp pOqYD3Eur8MNoPLn7l9Q8+MLr7oGFzQJAUbUg4HmguGJGxyv2Iro8HtrGJbVNgccq9rfeQ IWpA6vlohjZAMS/1f4UTxJX9JMFBtyLXTu3wWlY9ElkcsV04fcuSmV0FBKmIQ8hdqlYVWA Pc7CteutqwmDPIqFtDPUaX5y6rNXW8kYO+O4Wu1aedOlKcoMPOGi57nUtnzNirBvw0FRro GHpctKCVLvLc0vIwgm93nMjdAKNZ34+nH7wYzxRIuxCeW8qaSr35QT2rJZEg/g== From: Miquel Raynal To: Ezra Buehler , linux-mtd@lists.infradead.org Cc: Miquel Raynal , Chuanhong Guo , Dmitry Rokosov , Martin Kurbanov , Md Sadre Alam , Richard Weinberger , Sridharan S N , Vignesh Raghavendra , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] mtd: spinand: Add support for 5-byte IDs Date: Mon, 5 Feb 2024 15:28:04 +0100 Message-Id: <20240205142804.466682-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240125200108.24374-2-ezra@easyb.ch> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-linux-mtd-patch-notification: thanks X-linux-mtd-patch-commit: b'34a956739d295de6010cdaafeed698ccbba87ea4' Content-Transfer-Encoding: 8bit X-GND-Sasl: miquel.raynal@bootlin.com On Thu, 2024-01-25 at 20:01:07 UTC, Ezra Buehler wrote: > From: Ezra Buehler > > E.g. ESMT chips will return an identification code with a length of 5 > bytes. In order to prevent ambiguity, flash chips would actually need to > return IDs that are up to 17 or more bytes long due to JEDEC's > continuation scheme. I understand that if a manufacturer ID is located > in bank N of JEDEC's database (there are currently 16 banks), N - 1 > continuation codes (7Fh) need to be added to the identification code > (comprising of manufacturer ID and device ID). However, most flash chip > manufacturers don't seem to implement this (correctly). > > Signed-off-by: Ezra Buehler > Reviewed-by: Martin Kurbanov > Tested-by: Martin Kurbanov Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks. Miquel