Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp840515lqj; Mon, 3 Jun 2024 02:23:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUurgr95Prg8VymYGXJeB91wxPbWwbQhmTUCFALSEb2lvkW8Sl6F3DSj6L7PjwrzJNCdzv+5GHDhtrQw7W4X7K8V/onH9BWywnQn9h/qg== X-Google-Smtp-Source: AGHT+IGUbjzZ6ENxPn7zaQuzWNG2ddxkiRrtFBCTxXyRU4lFnKSyxrglopXH2cuKROTq9d9EgAZe X-Received: by 2002:a50:d541:0:b0:579:c08b:af9f with SMTP id 4fb4d7f45d1cf-57a36355141mr6291207a12.1.1717406598437; Mon, 03 Jun 2024 02:23:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717406598; cv=pass; d=google.com; s=arc-20160816; b=dZnV1bE+2rf0UZAvcT0EOLfxszBz4Dj1bdCQ4Y9VIMhZpg1B0zLCOk5NZmkXhaNdZJ KKh5jhPGtwPjdwdMl9M9x3ke9s8OT9bPmESGQ1NVCOddJH2EdT4lpXG+jqC6rYwoa7P+ oyopVk/7IsbgCjdpkORlWLzPDzsKOuurBG9eqEUfx28He+QtCC1MytmUuBIzStx+jrJs ACQGTrab6WdTNErVFExmi44GFCNu5yjVP9mINcxFgmK9aUJoKdxSpApkuXwNJ80/uPpy gBv81PJKojUJ9GguI25oFX8Iwd7Ak98iP0UYmZOQKngx0anwTBfNWKyQt5oopYQMC5o9 q/xQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:message-id:date:references:in-reply-to:subject:cc:to :from:dkim-signature; bh=QKqlw7KFcPgtNXrAPz88Db59XEJsKjSrvWdIHK4P2Uk=; fh=RLbEgTE2w5EG0gr8MX4DD06sSbfJjNxgUGEn2aiFYiA=; b=xAr+tB+AIwhoZ8VKPKWFzSsRrXJkV1joyFl5F7gkb09h8thpaJxUa/K/tPc2JozmYH KPndfl28JqgjIMTh/rCvn0psXkBDNBThbrJpjhKLyrUL9xXpelyUeCBvcxajdYZOdOK4 f6cHmp+vz75dsyzUowFsXVAayO6X17uUS4H2NAd6phLRaZRyQXDfPODMwIFi4Ora1XST zF2rS8g3nKRqDRB7db/CLDKcOWKkkKDi5YDhFaOm/vhz921XIxbkEyRdM/mw7ERINBGf 1pr0Xe7FGqCCXje0IohJgIYPFqGuP334VQM5mWww+kopQXoQpGoO9qjdweRVft2o9wWX OJEQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=hLPOwia4; arc=pass (i=1 spf=pass spfdomain=geanix.com dkim=pass dkdomain=geanix.com dmarc=pass fromdomain=geanix.com); spf=pass (google.com: domain of linux-kernel+bounces-198842-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198842-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=geanix.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57a31cca623si3762932a12.651.2024.06.03.02.23.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 02:23:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198842-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=hLPOwia4; arc=pass (i=1 spf=pass spfdomain=geanix.com dkim=pass dkdomain=geanix.com dmarc=pass fromdomain=geanix.com); spf=pass (google.com: domain of linux-kernel+bounces-198842-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198842-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=geanix.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 00E171F24DC8 for ; Mon, 3 Jun 2024 09:13:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9D75B7B3C1; Mon, 3 Jun 2024 09:13:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=geanix.com header.i=@geanix.com header.b="hLPOwia4" Received: from www530.your-server.de (www530.your-server.de [188.40.30.78]) (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 44A0758AA5 for ; Mon, 3 Jun 2024 09:13:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=188.40.30.78 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717405984; cv=none; b=i4L/rAwEx80Zw8peCL/B3uTEisYs3UObDFQGMQ7mpZvd8/omjiqLvjk8KIJoaeQUmyoprHUesK+ktDL1MMLjDgoQNz+NKYhomsPD8tVt7dGT/KybsRIlo9pJGUR02lHHVZSeI/7OQrHtAoQpcS9XHbPu4UYShvu+EbmdwyLzC48= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717405984; c=relaxed/simple; bh=QKqlw7KFcPgtNXrAPz88Db59XEJsKjSrvWdIHK4P2Uk=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=o1UKsEehTdQMEMVXEQs8u1fGwNQWf3liewOyx2vOrdLpt+z6acP0FvHBHYM706fAKVVCyeyABfA4bv0KLatZS7DKSucGMzx52XN5pKicSr+TG3TRgsjpXmZx0Bz6ekVRNI0PJXdl4tpl1iXMPEvh9edYTT14C5UlnfhKJoK9jRw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=geanix.com; spf=pass smtp.mailfrom=geanix.com; dkim=pass (2048-bit key) header.d=geanix.com header.i=@geanix.com header.b=hLPOwia4; arc=none smtp.client-ip=188.40.30.78 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=geanix.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=geanix.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=geanix.com; s=default2211; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID; bh=QKqlw7KFcPgtNXrAPz88Db59XEJsKjSrvWdIHK4P2Uk=; b=hLPOwia4RYd5asUVOYfpYiL6C7 uYaK7lkYHmGms+G+wl2lUHyzltZUoaj2Qs+hXhH/nO5eLXdby3sZ75tRO0d+Iv4bnVLheBc1YZR3i MuNdwTcDEMQ8HFiLoxcqQ1BdYlgBhlTeacFSDCNO/K/UpGi0/DZbyb9u3Cr8ZimarZvEhXRYm8M0z Eh7bvKb8CePtmFQOozuDKtjbHPA5csgXFQQ9hmBzUBoWGkLsxsJFVh7bfUYZ2XYK9R75L9yf6+08g 5nTtKUX8Uk3ufsnboI++B2MzK3NfqPOgPDaLR8xzIqSQpJj1RsSoMbfYD/zU1VGacOjBjljSZCut9 T3Mwd5TA==; Received: from sslproxy05.your-server.de ([78.46.172.2]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sE3kU-0008Y4-TT; Mon, 03 Jun 2024 11:12:59 +0200 Received: from [185.17.218.86] (helo=localhost) by sslproxy05.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sE3kR-0002Kd-0n; Mon, 03 Jun 2024 11:12:58 +0200 From: Esben Haabendal To: "Michael Walle" Cc: "Tudor Ambarus" , "Pratyush Yadav" , "Miquel Raynal" , "Richard Weinberger" , "Vignesh Raghavendra" , , , "Rasmus Villemoes" Subject: Re: [PATCH] mtd: spi-nor: macronix: workaround for device id re-use In-Reply-To: (Michael Walle's message of "Mon, 03 Jun 2024 10:25:44 +0200") References: <20240524-macronix-mx25l3205d-fixups-v1-1-ee152e56afb3@geanix.com> <87frtuigo3.fsf@geanix.com> Date: Mon, 03 Jun 2024 11:12:58 +0200 Message-ID: <877cf6ie3p.fsf@geanix.com> User-Agent: Gnus/5.13 (Gnus v5.13) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-Authenticated-Sender: esben@geanix.com X-Virus-Scanned: Clear (ClamAV 0.103.10/27294/Sun Jun 2 10:29:37 2024) "Michael Walle" writes: > Hi, > >> > In that case, I'd rather see a new flag in .no_sfdp_flags >> > to explicitly trigger the SFDP read. Then your new flash would only >> > need this flag and doesn't require the shenanigans with the fixup, >> > right? >> >> I fixup would still be required in order to enable 1-2-2 for MX25L3205D, >> as it will fail the SFDP read, but actually does support 1-2-2. > > But you (probably) don't care and we also don't care for the > additional speed. So, I'd rather drop that code that is just there > for that ancient EoL flash. Fine with me. Because you are right, I don't personally care. I don't have any boards with the ancient 3205d part. /Esben