Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp819714lqj; Mon, 3 Jun 2024 01:26:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXTlvuFhnQqUbsK8hWNFLNqimWiD/LTbphkgf1rHp8FlIE+D1Sf5PyNc55H8NlxR3ouAzzQTfu1LAKaC0vfSqxbtXHtkOdefO9MnkqxIQ== X-Google-Smtp-Source: AGHT+IF7MCaedegJFVfkH4/0QAiQTOMI2llh9lPSUncFyPggzbPxN0pXbd0jDg1Wu5h1cx2YOkAE X-Received: by 2002:a05:6214:3907:b0:6ae:d6c:39ae with SMTP id 6a1803df08f44-6aecd6a7c0fmr104568866d6.27.1717403165915; Mon, 03 Jun 2024 01:26:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717403165; cv=pass; d=google.com; s=arc-20160816; b=p9oFycMb4Gh0Bzzk8TL7FTpjsU6qS8vazjhydHrpvUtIrTZGlcdh1zOf/eAom/wyki GWdjwaHTIE73cx3G/c6aUVhPdHsn1bbwRHoi8m93OgP7dlq9JXnkMFTQztrkjd6Zcneb 6RokrfVwD/Eiy0ZmFx/PrB4FjAMHHeZiONSisyQV4M8XAv7FTSmV5YbgtIdn1/ZGQRH+ 3CG1h0wt8A/E8lm4GeE5m6+qXWcZM7E2Z3svXdhChGIEf3yIr+5knXOjq5Shxu8KsK3A MpP9O33u6nt7+RwyDeVwq95/0sELVAFEjf/iRGZPY4WAE3SVJuWh+2HXMZVoBj0g0m9j AVew== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:in-reply-to :references:to:from:cc:subject:message-id:date:dkim-signature; bh=aE1fh3+CXtMRxNu0TYmWUzvdn7c0d7qbCuoHrxexG4I=; fh=W+SHx58Yo3nFtIPZwrUykZ9eF5KfcDGv3mRGBS56sVE=; b=hhSCx2dz67KsSlYjfEHX5UrPEpiDEzW/iTNkL5M7HnCwiurP77XG5MUEPv1yJyDqZp Evu2JBDkdVIotaPfqUUBfmPuXaoAQhNfkjjMtqIaNLPE2vvT/0I83Crkh4umzg06odRf wJMvqGG/ovY4DpJL7j1CJS5iGzNWlJ+E2c843iPMRoDgeBuuKbM/zwJ+/mU2W9xM9g2r p4X6PYgp8gr/nt51n+4y+S+Aoq8kYpmdDCFqvMEBOqwo+n7UB0uXmW6oj6Krav0N6KFP T/8UkFi0brT9uL8PqJCSPdvHzXElZjjivtH2SdAR27erVTUOZDDmbtZAD+wEyNeJLgm4 96UA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AXe2n9Nt; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-198781-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198781-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6ae4b42b778si75743666d6.470.2024.06.03.01.26.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 01:26:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198781-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AXe2n9Nt; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-198781-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198781-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 98A621C2173C for ; Mon, 3 Jun 2024 08:26:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3018060BBF; Mon, 3 Jun 2024 08:25:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="AXe2n9Nt" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 58ECA5B68F for ; Mon, 3 Jun 2024 08:25:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717403149; cv=none; b=ufg7YgitLy9n3BseslEDjQe9JMSN814iWTjt36kQWCOSP/VTh0aH6vQSGz1F5QdRpt/JbFqYbkTuwrtt+qIpO61kdiQ6Z0ttFEDDUHDWrI/rImeyWVvomJ+cudkNThUv5ZFePIDZt41R/ojuARCpUDIne3++oi7JgDscEiWJP7g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717403149; c=relaxed/simple; bh=aE1fh3+CXtMRxNu0TYmWUzvdn7c0d7qbCuoHrxexG4I=; h=Content-Type:Date:Message-Id:Subject:Cc:From:To:References: In-Reply-To; b=Pi7MC+GnKzDnTdVsetZYy8Tyqr+d5+/PFNG/zT5eMLvKkqRddMKLSTpqJOY7CJ4hWDNvMNPmbmw0VRWqgrU+u3p7Heb3wZwWepNDeoAmYAKPGvdI/+YjxYl3EajyVdJmUcJIVbr3xUvZzwIKi9H7S7wljPcb5GfmjplV8WiC0M8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=AXe2n9Nt; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 78666C2BD10; Mon, 3 Jun 2024 08:25:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717403148; bh=aE1fh3+CXtMRxNu0TYmWUzvdn7c0d7qbCuoHrxexG4I=; h=Date:Subject:Cc:From:To:References:In-Reply-To:From; b=AXe2n9NtXRQn9XVB5NIKk6nnUYAlRbvhXwlh8/To0Jrs9hyGfmlCFYftFr8TeP4be 8iqtNcBeiE0zdk/iL06mr1qTVy9gPpknLSukMmzkU8PN4Q6q+DOVRtNdj0usVt32vy XO9kVWohKwtbPPQ4JaJJ6CWCSEZUT2HkhHPzwr2fKF5Dmh0qxxzPT6nTKrRgm+I3gy +IU1n21gf7IKcfniySh6Ov9fuYSpyqf1BPx6PumlZA6U4/SR2r+60AmoMFIrUTg2kH POn/O+PbfbeEBdH4bh6nUvFx9iVeHH9jUNIy3gJYjKJb7A+6OWC0RSDxZIZ1DfdheX d8lMpCZqO8qZQ== Content-Type: multipart/signed; boundary=d46e1a1054ac3317006112254d36d8e54f39007c7af5372dd6e3ff89531b; micalg=pgp-sha384; protocol="application/pgp-signature" Date: Mon, 03 Jun 2024 10:25:44 +0200 Message-Id: Subject: Re: [PATCH] mtd: spi-nor: macronix: workaround for device id re-use Cc: "Tudor Ambarus" , "Pratyush Yadav" , "Miquel Raynal" , "Richard Weinberger" , "Vignesh Raghavendra" , , , "Rasmus Villemoes" From: "Michael Walle" To: "Esben Haabendal" X-Mailer: aerc 0.16.0 References: <20240524-macronix-mx25l3205d-fixups-v1-1-ee152e56afb3@geanix.com> <87frtuigo3.fsf@geanix.com> In-Reply-To: <87frtuigo3.fsf@geanix.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: --d46e1a1054ac3317006112254d36d8e54f39007c7af5372dd6e3ff89531b Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 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. -michael --d46e1a1054ac3317006112254d36d8e54f39007c7af5372dd6e3ff89531b Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iKgEABMJADAWIQTIVZIcOo5wfU/AngkSJzzuPgIf+AUCZl1+CRIcbXdhbGxlQGtl cm5lbC5vcmcACgkQEic87j4CH/jdKQF8DveA1osmeLfihnlbROPQphfmdPnklv7X NaNjhbgJEmKxtS2zk+jZVwssNfPFUUnxAYDHBEZh9zqy67jhffWnmu8w9KS9vEI9 8kUa3IDDladbn6eU15rcwQXCHadZvM6CGQg= =JZ4L -----END PGP SIGNATURE----- --d46e1a1054ac3317006112254d36d8e54f39007c7af5372dd6e3ff89531b--