Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1040381iob; Fri, 13 May 2022 20:42:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzl5vXrHGLvOPrGAXZkX6KZBuZgzElTH75R805IwY4oDBRSWetKFV7sl7podU2TIioqMLm8 X-Received: by 2002:a05:600c:21c8:b0:394:7796:49c0 with SMTP id x8-20020a05600c21c800b00394779649c0mr7353470wmj.191.1652499758492; Fri, 13 May 2022 20:42:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1652499758; cv=pass; d=google.com; s=arc-20160816; b=JrRCDOcp/Fj3pkj8SCP0XI2E+gPwWEZiMraypLtzJ2nfADNKRbJeOs+yqWIHS7brYE U6RBEORe8zejVlj21gp+i040aq6uSR/JeBI3m5/eQAbtmH5M1k0mpGjGTd2WE3liOEe+ 7yZK/EHdBQfdICFbLtcIdAf4iM7u9XLgs5J/VfsbPixgPujWVqr33SdT+Kn0rgBQDlIq DT9/rk0fOnm2b0UFRrfsCHnPERRl+jp2rXY7d4ZlH0Do6I4BjfJkmGBX+a8+YL2LW6AC JZVHDmCSgVMrd8q7NcGSj7QmJb1/tF/IXjRe+0fiJJWXLCp/hfsuXLxDxudBTFs8SMrM rGvA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=aL4EOGafSiArWzeHjTttw0SmsRh0ctJvuIcggITtIIA=; b=PC53JPyP3YZz8V7aL/PUMWG+7rPGkIvjT1u0jOy9VQz7TabfbR//+TGoC5+V+A3fG9 WKGCscKrxs06BV1ptlihsoSicUQAIcbigJC/0p4SZvU0YOry72C65UEHxESpcwQJPzNI zeKemtUwx+rMYgbzDnL9wst6wasRMAYXkTLbrUevcr+A9kvL+CBYT4xlBindAgFwGoJl pj0/vS2ZXEERJ+huFeUgsKSstJIwAEykvVFIJMqbTlUpb20RNUOpVXLhc4vfIKNB2F2W S3854Zq/A+Perwj9ZXp5aUMEvoeTAjCADyBwl0X2x9zcojIO43q/U1ljc8sUtpRUd+44 v/VQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nokia.onmicrosoft.com header.s=selector1-nokia-onmicrosoft-com header.b=foswN9KC; arc=pass (i=1 spf=pass spfdomain=nokia.com dkim=pass dkdomain=nokia.com dmarc=pass fromdomain=nokia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nokia.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id l14-20020a7bcf0e000000b00393ebc6eeefsi3949859wmg.210.2022.05.13.20.42.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 20:42:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@nokia.onmicrosoft.com header.s=selector1-nokia-onmicrosoft-com header.b=foswN9KC; arc=pass (i=1 spf=pass spfdomain=nokia.com dkim=pass dkdomain=nokia.com dmarc=pass fromdomain=nokia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nokia.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 61D5D458FAC; Fri, 13 May 2022 17:17:27 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359387AbiEMQJt (ORCPT + 99 others); Fri, 13 May 2022 12:09:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235082AbiEMQJr (ORCPT ); Fri, 13 May 2022 12:09:47 -0400 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70131.outbound.protection.outlook.com [40.107.7.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7D8F6C540 for ; Fri, 13 May 2022 09:09:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VEgUFUfG5S9JF81gzil81Z3P9dGVUfTXOCj5EO3QObxlNX3Zbq1maErXPUExZe6CqEq4T6kNWCUyh2+tWKMZrfo+Ju5LdIPqu3Soi4PiEw+HiFI034kVB7AURqbKV11in5m2jFiNPaiiVEo9jwuQVcFZKb8rG+Fjvos1K85tx48VP6feHktOJc52BqOFmaJZCKUg/2GX2/oWat8EE6vJJEgFUaxczfruQN6hiH24BxNANcymOFOgziGsM1N+1DNnDpTKfyjv2UnQA6uBB05V9WsdxUfQPglls22q9wwsXvdiRH3lsqjtfxtcXbD2O4eG6KI5z7XTlWAi7AmxuZCotA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=aL4EOGafSiArWzeHjTttw0SmsRh0ctJvuIcggITtIIA=; b=TbDxEUcYZQC2xYO5L6ZgDS2+hCGd2+bAj8OKtTwdbdntrn4DxCgOrNYvHg9hB4lS9NsfF7E5yS8ndC2PDdj10IG4LBV7Nphzf00cdWt85dSe5s46GY1NOGBCLm5XuvDD+Sy3q1/21RFpiHi8xxvYE5Q2awmz7mlR34m6iSZNyn84ZxAARxf/Al9Ki9j/fqc6ul4zPZjvZasFYXry+6ll+tSNM+ich9QGi+JmK8FTl0EDPs4NO9nuQqrS1GghJA+pSUUoMo11cX+1ySDUm6gPgQvE5s3elZzIJF/sElfPDyi8nyldp5wYd6mu5rySgMH89JJTBRFSz83b5NoBpuNAPw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nokia.com; dmarc=pass action=none header.from=nokia.com; dkim=pass header.d=nokia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com; s=selector1-nokia-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aL4EOGafSiArWzeHjTttw0SmsRh0ctJvuIcggITtIIA=; b=foswN9KC7RuBuaLGrKnJElVc3T/DGEVJ5gfv8lCEav5RE+Yj9I/GmqpbyQzjYWwK5XjSkaxNjc+LW2pfTmgZlZdYSuJOWH5J5Z/DQN9fuPMSeJRBg/X6M9bOzOXMixHoshIkFH1GbTDuWyayc+Gg19B0tjna693gtxra2Ds60LI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nokia.com; Received: from AS4PR07MB8658.eurprd07.prod.outlook.com (2603:10a6:20b:4cd::12) by AM9PR07MB8004.eurprd07.prod.outlook.com (2603:10a6:20b:30e::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5273.4; Fri, 13 May 2022 16:09:43 +0000 Received: from AS4PR07MB8658.eurprd07.prod.outlook.com ([fe80::1d35:9369:bda:b3a0]) by AS4PR07MB8658.eurprd07.prod.outlook.com ([fe80::1d35:9369:bda:b3a0%6]) with mapi id 15.20.5273.005; Fri, 13 May 2022 16:09:43 +0000 Message-ID: Date: Fri, 13 May 2022 18:09:39 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH] mtd: spi-nor: Support Dual and Quad Read on Macronix mx25u25635f Content-Language: en-US To: Michael Walle Cc: linux-mtd@lists.infradead.org, Tudor Ambarus , Pratyush Yadav , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , linux-kernel@vger.kernel.org References: <20220513094759.44185-1-alexander.sverdlin@nokia.com> <34eccc66cc75dd0ffbf8a77780b6f8a7@walle.cc> From: Alexander Sverdlin In-Reply-To: <34eccc66cc75dd0ffbf8a77780b6f8a7@walle.cc> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: AM6PR04CA0068.eurprd04.prod.outlook.com (2603:10a6:20b:f0::45) To AS4PR07MB8658.eurprd07.prod.outlook.com (2603:10a6:20b:4cd::12) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 55eb0835-6d6b-420b-d41b-08da34fafd83 X-MS-TrafficTypeDiagnostic: AM9PR07MB8004:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8iRbXRqt7chIaR/OfiRypxMiWapIw38cKECgKHa9lYY/vVFFlSb37tusXtSt1rtjMuc6ylxVMf08B6KnzqJgm7ba/0GENxwexVw6mH+jTR4cqQ3hQ52CTEyRG4z/hL6Lm4ufAMF8PC/NasJ0SOgFG8K4Pdj3tQVztz0kyL+B6peb2PiPPDK/URdP4WUDFwTj/Jhmup2B8yxTZZH7GOykVgD7Tsvg8v+tw+YeXgdyXe2eA8JwRgYRtUkIFCwWFiQGVAmDAbGnSZyvTvWr6ewQM1pAUniNH1JEr8BSwVT2YbivZvpN9hrFT0/VCqBbStZD88WsNL9xS3sREJSdTYJ0wjMIpTivC4SEi5W0E90y4fsSpsyQSTXuO1xJ++b8pKvT6jjMixRc7BiBB6jgVp49yLDfN5IRHNFFmCgw5FOmYmrxb86ie/CzOJTL5FF2jzyjhaVfuqqakj7aw8IP8qevSyNIEAcysFwPAplFIZkheFkf75yggWViV1irY++62TV1YNtsv56LcBVgbebV5FpZ9+hVr8y4tTqL2e24bxqqG//Dssq2mLeKXlU2EHRz1I1rRTuiVSSEinOnhAEwl8wkqTy/eUYNOOzkfGC7VxSLk0kSL8tNhSgRMBa30uEsDy+rEBDogfPzpqJq3F/H2r1VmiCx0T8r4NYtPZ3dnf5cDXzKWARnFFgwwDuT9XyZlrLWCJq8T7T+0S68Sqn4Sb8fuVrq7Ft4BosKU06j9n1CKURxTg48kisITUQB14yOJ8q5RMkEnG7v5dK0ftCuVlm20W2k87k89C4B+5CeKkDYtcAXwD/p2oGbQviyXw3l8aub8eTHYR/4UC8wtjRlfeK3fB3KBbB84JqZiswTWXz5iNQ= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS4PR07MB8658.eurprd07.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(38350700002)(26005)(6512007)(2616005)(6506007)(52116002)(6666004)(5660300002)(8936002)(2906002)(31686004)(44832011)(36756003)(66556008)(66946007)(54906003)(508600001)(82960400001)(86362001)(31696002)(66476007)(6486002)(966005)(8676002)(4326008)(316002)(186003)(38100700002)(6916009)(43740500002)(45980500001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?cUQ3aEZJR1QxMU9yaFRkL1BpcTJYVHdmRGxmWnJ4a3RwOU1pSWZUaGk1VG8r?= =?utf-8?B?QTkwclBXaDNUNm5WenRHdEdCRjBnVFdPMGQ0WVdWcFllanh0NGV5WTVRaW5Y?= =?utf-8?B?WTNyQzFJMUVkV1ZETlFaQUcxOW1saklja3kzVFFYUE5oNjNUa1l6K1BzL3Zk?= =?utf-8?B?VXFBZVAwemVNdDNZRmIyV0xMckNVcXFTaFpMMTF3TVB5UFFtYlh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mIyQ1RZTmIxbVJzZlY1MzlDZTRCQjFP?= =?utf-8?B?YU1hLzFxcDJHd0tSdFZDKzdsdndmc216WlJHckZYM01qcHNaT1NYbElzeFho?= =?utf-8?B?M1h0bFNHcWJEK0dWT1cwY2RHZ0lxdzNMRDQySUtWaGttVmhubmdEb1NqUVMx?= =?utf-8?B?cWQwQjRjMFB6WmhrdTdzQVNNaU5YZkcwaktYVGdWL3pXcC9OYW1aY1Q3eTc5?= =?utf-8?B?L3lUMVA5L09sNHNub28wTjAwZTFBQ3c3bC9MQ0ZUMi8wZGJycGJKbzJCMGhT?= =?utf-8?B?WFA0N3pEQnptU0orNnpQVlgwUURVendkMTFJMk5raXR4blpDV0JqajlXTjFW?= =?utf-8?Q?laMmO0z7b5gYbY5Q=3D?= X-OriginatorOrg: nokia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 55eb0835-6d6b-420b-d41b-08da34fafd83 X-MS-Exchange-CrossTenant-AuthSource: AS4PR07MB8658.eurprd07.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 May 2022 16:09:43.0464 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 5d471751-9675-428d-917b-70f44f9630b0 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: n8PlMpoE7Z+jt2yGHSW8ro5aqVjgO4b1EoMPuP/CVgUftvxIJSivFM/YNAeB0km45g+E+pgolKg6tyyxhPg1m7S9FrsKOU6LXlOqoGe2csc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR07MB8004 X-Spam-Status: No, score=-5.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Michael, >> According to datasheet both Dual and Quad Read is supported. The read test >> shows x3.8 speed gain. > > Does it have SFDP? Try adding PARSE_SFDP instead of the > NO_SFDP_FLAGS. Some issues with its SFDP were known: https://patchwork.ozlabs.org/project/linux-mtd/patch/1492068234-9509-1-git-send-email-dev@kresin.me/ > Please post an SFDP dump of this flash [1]. >xxd -p /sys/bus/spi/devices/spi0.0/sfdp 53464450060102ff00060110300000ffc2000104100100ff84000102c000 00ffffffffffffffffffffffffffffffffffe520fbffffffff0f44eb086b 083b04bbfeffffffffff00ffffff44eb0c200f5210d800ff8749b50082d2 04d24403673830b030b0f7bdd55c4a9e29fff050f985ffffffffffffffff ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff ffffffffffffffffffffffff7f8fffff215cdcffffffffffffffffffffff ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff ffff002050169df9c06485cbffffffffffff >md5sum /sys/bus/spi/devices/spi0.0/sfdp bc360997e729ce1f77f1ff728621d94f /sys/bus/spi/devices/spi0.0/sfdp >cat /sys/bus/spi/devices/spi0.0/jedec_id c22539 >cat /sys/bus/spi/devices/spi0.0/partname mx25u25635f >cat /sys/bus/spi/devices/spi0.0/manufacturer macronix -- Best regards, Alexander Sverdlin.