Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp1354506rwi; Thu, 3 Nov 2022 04:27:37 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6qx0rybwhvsGVSK6rZxpINpyvst4ofyIGKRBfOibehMN6zzo6pMX1y0D8j34vsA72WA6xf X-Received: by 2002:a05:6a00:848:b0:56e:4e85:33fc with SMTP id q8-20020a056a00084800b0056e4e8533fcmr2250738pfk.40.1667474857177; Thu, 03 Nov 2022 04:27:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667474857; cv=none; d=google.com; s=arc-20160816; b=Et2Uub2GIcgqmXUlQbNNukyYdWdOhDGWlTklwQfNxoD1n1UEg8100qxCYqsw/zEXtC HSos9cVKMvm3Yc0n7+Bhjj8zcjlySmZZwUhYUBA0hc8pTaULimATV8Sg/AREttJ8H9Vj W4qHS7iZC/SHQraDgosbZXaIgu9W+Iwfbxpwuy1O4lrH23fL22r6tfvnXK2cHdT29fYU avM3uSOoPLuJFqgiBW20qQ18A7v1tRMJqG1dP1Rr4N7EJddhQBczYIq9lim1Yau5IBWE GqAEmY+7oBhfPx5lMUNWqWq6jaw9nehFZED5lKF3yyKoL/eCFmF27bYTR9UBLtJaX13s ZlLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=fEm4Af38Rv54eoaIP2gNVniApPYp6aEGEm+MbKudf6M=; b=bVXlRd4u96vhRmM3HloHW9rF+av6jf0oFyFgkQHOYyIoxZzF8JyyZdp9EgpphvcVfP 05EVexxoc1rWEHqICAgayCMhUsb4pMwntqPbRhF+kSpqWIpREJ4kydg/LIuRhIBxwuBz 97O9/df6iw6KEATRMtEf47YiaPQ72+D0C2vQHzpLmUJH+j0dx9KkD9JQylVmP9PHhK/t NIsYG3oecWfEXX7Sm5jXDklUUpeQenSgpBOAilOoWYYE2kKChUF81UdQkXAE/UUVJViz fR8DLuWwJjQleAFAIT2h8UCJcX+eNFPZj8wwXBhjMqRyUQAgv3vCz50UyRrpGGhSEvqW cJ4A== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cd26-20020a056a00421a00b0056e3c566bfasi597337pfb.201.2022.11.03.04.27.22; Thu, 03 Nov 2022 04:27:37 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230098AbiKCLDD (ORCPT + 97 others); Thu, 3 Nov 2022 07:03:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231623AbiKCLCo (ORCPT ); Thu, 3 Nov 2022 07:02:44 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0E640B7EB; Thu, 3 Nov 2022 04:02:44 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 1D90F1FB; Thu, 3 Nov 2022 04:02:50 -0700 (PDT) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 46DE73F5A1; Thu, 3 Nov 2022 04:02:42 -0700 (PDT) Date: Thu, 3 Nov 2022 11:02:39 +0000 From: Sudeep Holla To: Sibi Sankar Cc: andersson@kernel.org, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, jassisinghbrar@gmail.com, manivannan.sadhasivam@linaro.org, agross@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, konrad.dybcio@somainline.org, Gaurav Kohli Subject: Re: [PATCH 2/2] mailbox: Add support for QTI CPUCP mailbox controller Message-ID: <20221103110239.lkb7a5a4fpk2ggrs@bogus> References: <1663135386-26270-1-git-send-email-quic_sibis@quicinc.com> <1663135386-26270-3-git-send-email-quic_sibis@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1663135386-26270-3-git-send-email-quic_sibis@quicinc.com> X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE 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 On Wed, Sep 14, 2022 at 11:33:06AM +0530, Sibi Sankar wrote: > Add support for CPUSS Control Processor (CPUCP) mailbox controller, > this driver enables communication between AP and CPUCP by acting as > a doorbell between them. > > Signed-off-by: Gaurav Kohli > [sibis: moved to mailbox and misc. cleanups] > Signed-off-by: Sibi Sankar > --- [...] > + > + ret = devm_request_irq(&pdev->dev, cpucp->irq, qcom_cpucp_mbox_irq_fn, > + IRQF_TRIGGER_HIGH | IRQF_NO_SUSPEND, "qcom_cpucp_mbox", cpucp); 1. Do you plan to use this mailbox during noirq phase of system suspend ? If not why do you have IRQF_NO_SUSPEND ? If yes, how will it be used ? 2. Why are you setting IRQF_TRIGGER_HIGH here ? Won't platform_get_irq() take care of that ? Otherwise how would you use this driver on the platform that need say IRQF_TRIGGER_LOW ? -- Regards, Sudeep