Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp19231073rwd; Wed, 28 Jun 2023 06:51:11 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4LrLvseRh8ABz1rjIweHg3OaU/DJe6PkKzdXwEFTk3piwEyV2rrip/XUsadtDfkEdQ3dGA X-Received: by 2002:a92:c044:0:b0:342:89b4:b8b1 with SMTP id o4-20020a92c044000000b0034289b4b8b1mr26951127ilf.21.1687960271476; Wed, 28 Jun 2023 06:51:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687960271; cv=none; d=google.com; s=arc-20160816; b=gMCk8dB24cJASmNrpwUBoe2KPNhSbMOF6CJ7jflowY8R3ipjLlL3g8aUtuXj1zWBy8 0Ta7Mss1oLndr3KuHmEhYNY8RV82HgMGRJtIixUk08mypjRuV20uK4EnV/uIGLN60q/u /kLZNpRwqHB73wT/L6O5/UcLWYgM0fOCzFnsUEYJyG3oQrYfhYtALZJRLAt6s2+1CA/6 CdcqlF1pidv2F+Sjed/IP6T8trZle7Zj+fPKz1CSdCd7xeCDdlN1pP8WhlzkRJ2KjRoo zEtlQ29rU3n2cqiM1bsySdNoTcEaLYb8UoYRFp0B9ZCHJw9WqXnYSsEiV3Hy429+5E2Z m/jQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=rGA6jxqN8vTcDS3wt2muKgODh4eayNigHAkX1s+Utm4=; fh=i/hnNRwdHDbQx2tYPuPJknUhXvdq3WgEu7bxfloJcmw=; b=xakv7hWCWriWjbaxmA80bftXpOi9TNqev+3mKK/ltYuwccz2tvUBTgkchxHOkIpsYH 4PlFIIHiKytSFOC/N3EW0edDz9NEPWeusG+TeHkeGC2upM8x53hH4Y6Sfhfxc2BrIKJY vtfgfWDz1DgWiUPSCeCiOEwfS5LV6ItKetKkpzSyy3QlYovOZ2sAsScy1qPp5xM0NZTK lqP0tgA5zskqtWqgDhgv8l1XZIzsFqgeu5NCGkdnh8VkWdmpP8EQ3c6OLWfecPrBbKt9 cq4b2/YsIS5TdRXAcqV4j/+5/Q6stZ/80mBjgmzYoyCCPHRhbmtoDykRSre6UVSDmLJN QMJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@technolution.nl header.s=google header.b=DM28bS3z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=technolution.nl Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c15-20020a63ea0f000000b00553b512757fsi9144214pgi.169.2023.06.28.06.50.59; Wed, 28 Jun 2023 06:51:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@technolution.nl header.s=google header.b=DM28bS3z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=technolution.nl Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231324AbjF1NUz (ORCPT + 99 others); Wed, 28 Jun 2023 09:20:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231151AbjF1NUx (ORCPT ); Wed, 28 Jun 2023 09:20:53 -0400 Received: from mail-yb1-xb2e.google.com (mail-yb1-xb2e.google.com [IPv6:2607:f8b0:4864:20::b2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27B291705 for ; Wed, 28 Jun 2023 06:20:51 -0700 (PDT) Received: by mail-yb1-xb2e.google.com with SMTP id 3f1490d57ef6-c13280dfb09so4682289276.2 for ; Wed, 28 Jun 2023 06:20:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=technolution.nl; s=google; t=1687958450; x=1690550450; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=rGA6jxqN8vTcDS3wt2muKgODh4eayNigHAkX1s+Utm4=; b=DM28bS3zVl7LqD1wB6+f6W2ce5jfWKpWcC+hGhPHAWdzeVR7DtutGaZ9gVnwn/EiB6 Pz9mDD8KpmHY3yQbzFDienNENZxX4JMLFK9nRIixXu5trv/etNgTNNM4fTsBx+IOBTgK sLShII9vBlLLI77k5XUCncIuUvNnQiQwFQy2w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687958450; x=1690550450; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rGA6jxqN8vTcDS3wt2muKgODh4eayNigHAkX1s+Utm4=; b=NztCv8398IdXpJXOAxUSFPKZNwb+0YMyOtXYChJHebKjkYg+uAQyRGfUXBZkbXxxDR Cz6jxJ2UPF5iSuWhbSitPdg4m5t4ry+LmhNWAhD+NkLGZkmCeO4dylxyvyQN2+JGXyrB LhIwiee0P4LdMcuLCS1ibZOUVz/b0DKVA0+ixF2U31M5r4jedKsBCo/RzOQjmltEBgY9 O7KQnEFLMHGafZvlsTOl6FtMo0StHD1L6m95e5kKBPw0v76HBTkMDdui6IYAM2HGqmcp NamjO37iauF/VAjXT98Y5S1aUoAvkTX4HFb+QuZqtM4i80sgXToYyxGBf9D5PygMpZfs 0Q1Q== X-Gm-Message-State: AC+VfDx8Zw7rBvQ5CxNDE469HjgCveiYk/SPUmrGbtZM8tVj3ril/dhn tpEkUM/g+wRoAkAAmnDoxhQv7Hi8ANqp2SkmlCIwXT1leL2vssn+BLUzNDQV0gjFCTriod00uM/ EIqq9bLFxdNX3JnkzYWYp1/QMZ3fZLw2KZg== X-Received: by 2002:a25:ef07:0:b0:c19:3d97:b924 with SMTP id g7-20020a25ef07000000b00c193d97b924mr10615611ybd.32.1687958450389; Wed, 28 Jun 2023 06:20:50 -0700 (PDT) MIME-Version: 1.0 References: <20230628125406.237949-1-stefan.moring@technolution.nl> In-Reply-To: From: Stefan Moring Date: Wed, 28 Jun 2023 15:20:39 +0200 Message-ID: Subject: Re: [PATCH] spi: Increase imx51 ecspi burst length based on transfer length To: Fabio Estevam Cc: broonie@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, linux-imx@nxp.com, linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-techno-validated: techno-validated X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 Hi Fabio, In our application we send ~80kB at 10MHz. The total transfer time went from ~80ms to 67ms, so that would be a reduction of 15%. I tested it on an IMX8MM platform. Kind regards, Stefan Moring Op wo 28 jun 2023 om 15:16 schreef Fabio Estevam : > > Hi Stefan, > > On Wed, Jun 28, 2023 at 9:54=E2=80=AFAM Stefan Moring > wrote: > > > > IMX51 supports 4096 bit burst lengths. Using the spi transfer length > > instead of bits_per_word increases performance significantly. > > Could you please share the performance increase after this change? > > Thanks