Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp6482092rwl; Tue, 4 Apr 2023 13:31:53 -0700 (PDT) X-Google-Smtp-Source: AKy350Z39iz7SiuonI4rRmXe0aJwuHBd64/gvexgJhvUwQfdtW92pg5IMtQB5YFM/Ue14rYNF9s7 X-Received: by 2002:a17:902:c942:b0:1a2:3108:5cc9 with SMTP id i2-20020a170902c94200b001a231085cc9mr5039842pla.40.1680640313051; Tue, 04 Apr 2023 13:31:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680640313; cv=none; d=google.com; s=arc-20160816; b=O6CRK76alzhF0lyq2uPwzXeDijT8rTpIgbGKHwquhcM6cEBIRP3vyQ8GmA2OQw77E1 EuZM96VZIvBjFSE7lqLkucPGCicVHr4Kq2X+TZVySleqaacPwxYz7rw6mOZPE/H/gXGQ Qg3Y2WGEvoINhMqT1aCXzPwyQmnM+G1mTluaWmAsyJf0Xn/lC7idBfpbVIdx4JuBo9MB L2JuW2cltrjlIe/7ySEcwSoqG0o6wOm+zPAT6kAKFfJhIImgX64xIlENgk1HU0Zt/jYL oLZ8Eth39TUh7bj6yddPi7IY/4dNhZNk8fM2Y9deUHN0Fb7Mk5vhE2rAR7lxDmUNGe+R pWgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:user-agent:from :references:in-reply-to:mime-version:dkim-signature; bh=wVfh9bVs718xmqYWbLxq84sLtCYl5S5iKglZAo0/Wr0=; b=nHGmyckN/vextNeGxvTsgr1ddtyzG6J5iu5FNFTaQxeEqGXN3LlDAZZ1oZPUACO6Qe K02RbonNq1Io4Rnc4ZNUF3xOVYETjagRp+ynaVJN2p/NocreGm9Jo1TMQDfRWtEEst7/ 1TtzubGHJB8gmOw2Ody1quD02ExlM6Df6mAN8lrFrdQebNUTrLYAn7k9i8j9ppxFzD+A oGZwWpiylrtqOpgxiSqQB1rBvfRaTyMFkZwrA3nsLBRHvvHG+zGBD9wargs3aYtYxyhZ hR0VBGEUq7kwy9RCZmG02ZDjGopQA1gXNq4HS+/9uBj6+cwDsLenvh3PbWPk/Mz2U0ab 3aeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=fZiTOHXB; 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=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q5-20020a170902788500b001967d895ce0si6988907pll.213.2023.04.04.13.31.41; Tue, 04 Apr 2023 13:31:53 -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=@chromium.org header.s=google header.b=fZiTOHXB; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235081AbjDDUaf (ORCPT + 99 others); Tue, 4 Apr 2023 16:30:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234979AbjDDUae (ORCPT ); Tue, 4 Apr 2023 16:30:34 -0400 Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6BF2F4214 for ; Tue, 4 Apr 2023 13:30:30 -0700 (PDT) Received: by mail-lj1-x230.google.com with SMTP id b6so15184616ljr.1 for ; Tue, 04 Apr 2023 13:30:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1680640228; h=cc:to:subject:message-id:date:user-agent:from:references :in-reply-to:mime-version:from:to:cc:subject:date:message-id :reply-to; bh=wVfh9bVs718xmqYWbLxq84sLtCYl5S5iKglZAo0/Wr0=; b=fZiTOHXBjMLThtw06HI6lA/s5hvgSLgfQ2dpfs6bH/PDs/5DuV7PkB5C6XGYtaQPpP F8cvxD9MbrewE+Ck/chHNZVXIOf/q5XfY4E+qXj2yB73fTabts/2kaWg1DM4mTceJ912 lsHOWbfbvISfNpCMcPs47hnV15yHUx17dGdhQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680640228; h=cc:to:subject:message-id:date:user-agent:from:references :in-reply-to:mime-version:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=wVfh9bVs718xmqYWbLxq84sLtCYl5S5iKglZAo0/Wr0=; b=44yWU3t676WDYM2TVirpvbO02iFEoj3rXmR3LbBTMxtIVa7ega8xC4lPgV39CMhrcp cM61N9vtLmBFX7CGQdeVsYdn0SQaqegjBN8E5AWdA5TT5rAtHkPhRLdtvxPUwpTfxj6c WETfqHa68ZpY6IdKcE9nT5Cx6ksjj53tXgqat8HDT/5ZqVejRfi5Up9FhCCo4TbMnZbq t8GaBmI2UFIa4XrVlKVXP3Gp/9lstx5X+HGuyKjZKZLbk1MlXOrFmV7guLnUHWyOf9Zy BnMOSG6bM7rGB78sq3F2FTocWW0fbrJ9KGUE8snic4tg0pXumLvVgM0JxgRCRzAV9g/b MUbA== X-Gm-Message-State: AAQBX9dmsVBb2j4ypA8s5zhU/VnODuLZOuTNM+E8E5loGdVQMAe0F+LV 6LSYmJRPBK1e9lcLu85DYyiknVx2+ntlWHsoiXa/lA== X-Received: by 2002:a2e:8ec9:0:b0:2a3:fc8:711b with SMTP id e9-20020a2e8ec9000000b002a30fc8711bmr1481105ljl.10.1680640228682; Tue, 04 Apr 2023 13:30:28 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 4 Apr 2023 13:30:28 -0700 MIME-Version: 1.0 In-Reply-To: <1680631400-28865-1-git-send-email-quic_vnivarth@quicinc.com> References: <1680631400-28865-1-git-send-email-quic_vnivarth@quicinc.com> From: Stephen Boyd User-Agent: alot/0.10 Date: Tue, 4 Apr 2023 13:30:28 -0700 Message-ID: Subject: Re: [PATCH 0/2] spi: Add DMA mode support to spi-qcom-qspi To: Vijaya Krishna Nivarthi , agross@kernel.org, andersson@kernel.org, broonie@kernel.org, devicetree@vger.kernel.org, konrad.dybcio@linaro.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, robh+dt@kernel.org, vkoul@kernel.org Cc: quic_msavaliy@quicinc.com, dianders@chromium.org, mka@chromium.org, quic_vtanuku@quicinc.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 Quoting Vijaya Krishna Nivarthi (2023-04-04 11:03:18) > There are large number of QSPI irqs that fire during boot/init and later > on every suspend/resume. > This could be made faster by doing DMA instead of PIO. > Below is comparison for number of interrupts raised in 2 acenarios... > Boot up and stabilise > Suspend/Resume > > Sequence PIO DMA > ======================= > Boot-up 69088 19284 > S/R 5066 3430 > The interrupts are less, yes, but does it save time or power?