Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1124421rwl; Wed, 12 Apr 2023 08:33:36 -0700 (PDT) X-Google-Smtp-Source: AKy350bW1BLZrKqI3KgsHeMUslrywt62FXbdXrPGWTMguGKU7IIWCOdn2H+UDkI/tEmXddddKJO0 X-Received: by 2002:a17:903:2346:b0:1a2:9994:c340 with SMTP id c6-20020a170903234600b001a29994c340mr27200065plh.46.1681313615908; Wed, 12 Apr 2023 08:33:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681313615; cv=none; d=google.com; s=arc-20160816; b=KUy4Q2Xv3lMtkYZSl0JmYCqri3Sb45xghclNk2ga52LDdQGaLC6kE1kbBD9lBjXfWP b1AmDevpmaekHN6h5fKfHmREHWQeExeBTqVyuW4xJ/hgjK9OsQd4+KuWtHlwVbkigUdr RGWMGkPwdCMBCYt/dgUWKOVmDyIyHpAKEv2o3BdRqxvsVu+IUUhEBPJ0hLb3z7/dWDSe NnmYgTOxSrVQPvfGNJLIXmBMyXOJtEzZ7pNIZAgO89k1BnHS2zK5/AMLPCyDhKgLPBLj mbb/X+b3H1wSxUMlKVlWEc3p2z0dm4GN/C853kRKaaMddmcfuZZHSe9432PQDgu59yJ4 /Dlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=+CKzftLH9AiqsVfSbZiEhyikaE6TktvLi9DPv++7q/c=; b=TLGqwWulEBOomhL46LO2QE221YwYnI7tHEwMSxPXu1NVx61idKznKuEvr4avRpgAPa RcP0I8NCArxgYTB+9JZnLNoBi8nJe0y4xEO7iurvAjME3tUzI+TP3mgOUwUekaQAswy9 trUX+yeMhNrkSXPAtMKxiN26kjxePWnomVEne5+ZadDt7eIkYHxmqP5Q8F+id/XCNdaq 4raOj6q8VbUX6wJexEFA7ens6vQrnn8JAZ76gAOAAg9T+wmlDCNjgI6v/mFDYnug1kll hdpFYeDANPaT6HujnDAFFylWTPO49fWklxbk/9yRyOBeeorwX9RpRXI2R6/tXtXgtUuP PZZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="S/4B/WwB"; 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=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k16-20020a170902c41000b001a64a25c808si7382649plk.5.2023.04.12.08.33.24; Wed, 12 Apr 2023 08:33:35 -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=@quicinc.com header.s=qcppdkim1 header.b="S/4B/WwB"; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230347AbjDLP2w (ORCPT + 99 others); Wed, 12 Apr 2023 11:28:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231400AbjDLP2t (ORCPT ); Wed, 12 Apr 2023 11:28:49 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC5497ED7; Wed, 12 Apr 2023 08:28:45 -0700 (PDT) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33CA9nNi010892; Wed, 12 Apr 2023 15:28:42 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=+CKzftLH9AiqsVfSbZiEhyikaE6TktvLi9DPv++7q/c=; b=S/4B/WwBIAyBQyVP/Yiz4CCjnJbglwKS5B30dLzOBMyjs3VAO2HcokIzGG7bw/tsLoSq Cj9KICvQiIzNbNuunK1riZRxkwMqmtn0gxHXAIRkRrKIjj/4AIQ03gtizjiFGzy79FtM XySoJ9XV7BqNiwnBGYxFRtU6mbhg0nElrUR6JcwC7BZuoJwP+n/x0hurvhXvLjkGA7U1 mphfoBf7Gxo/MO5SjoYm/J9BqeWSef6AQMJBx0hUk0sjjXi4bB23bvDRvgXEb8sLvbcN iq5EmWf6AKeYAWUIvVvoFHElNSOpEaekYkpDg+R77eqeVr7eQq/iH1bx7JGp9WJ/vPVv Vg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3pwhht9uhw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Apr 2023 15:28:42 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 33CFSfjH021725 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Apr 2023 15:28:41 GMT Received: from [10.216.35.198] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Wed, 12 Apr 2023 08:28:36 -0700 Message-ID: Date: Wed, 12 Apr 2023 20:58:32 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH 0/2] spi: Add DMA mode support to spi-qcom-qspi Content-Language: en-CA To: Stephen Boyd , , , , , , , , , , , CC: , , , References: <1680631400-28865-1-git-send-email-quic_vnivarth@quicinc.com> From: Vijaya Krishna Nivarthi In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: UaSWJMz3SaB9ecd3jaXvpnGVTacM6Bb8 X-Proofpoint-ORIG-GUID: UaSWJMz3SaB9ecd3jaXvpnGVTacM6Bb8 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-12_06,2023-04-12_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 lowpriorityscore=0 adultscore=0 spamscore=0 suspectscore=0 mlxlogscore=721 bulkscore=0 phishscore=0 mlxscore=0 malwarescore=0 clxscore=1015 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304120134 X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,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 Thank you for the review... On 4/5/2023 2:00 AM, Stephen Boyd wrote: > 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? We have not made measurements but the change is expected to improve performance. Testing revealed no regressions.