Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp944529rwd; Thu, 8 Jun 2023 09:45:28 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ63ux8Mgpsw/aPVCg/WfsaXJy5T5wGMusNDGWCSvYMP03xEqjL8BtvJx3Xzl0rdsq2rtav/ X-Received: by 2002:a17:902:868c:b0:1af:a2a4:837f with SMTP id g12-20020a170902868c00b001afa2a4837fmr4666090plo.26.1686242728213; Thu, 08 Jun 2023 09:45:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686242728; cv=none; d=google.com; s=arc-20160816; b=RHRiJZ03iT+p/+5/PuoHjTfKv0K8hRyne6nnRl1/2ddVSozc6m6vYrfVfQWvGOH7+R 4r7ic2m/bLEbQrS8x2GD1SpkQRKGan/adTZPdUwMONasV9aWQwUWkJKzSTOEtbcfnyB4 vijNiCzoRrBRvFzU847UC2i5RBvggAE1o5w1WuYtmOS/+I69nBfgtL9b2I8gssqSb9CO IPmAQkALVGTC5HN/DerIZhNtSg5FMOlS7ADVcsboAGbYHQatU68XWzMw/ZwbBd9ejCZu jEF9cV7fU7Qn+bjy9dpRsZj9TFFQ+mwPwwz/zLcE2MpS1hKx6jfj7QTgg0xUo2awdG05 Vh0g== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=/aL6Mm02RP068H18Hmx+R64BHyyt5ervIsVqvJjdt9Q=; b=mIYwE67au5BlRD9i1kHIcrSk3GXVFfTruca6UkAA5CIpca3nN60EokGDDC8rHUTR1c xpZ6DyUCAy6dtfwl3Lwq57e8VxYrliryLA7WaVT9nNpvJugOwg2SsxH2twP9F91RBAXi xR9DvzUTv3m5OCh0Ut+WwwMQ+YY+zp5kZIXdKAcSwWUqBOJ6XiOZEaOyXKT/QasO0Gan ykZ+q+SrPLuemz5JQooFSDprMfc0A1x1zELq1S9g1bqAjxqkO/pSGjGXP887JxXktmXG +UDIZaS9QeB3ob4P1OoEB3eFPkD7gv1FWGKhWuZk+8NAX7+PrtBmYHxJFePDuRVrt5GP lAiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JdAw6Mq8; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m9-20020a170902c44900b0019e88376e3csi1246701plm.162.2023.06.08.09.45.16; Thu, 08 Jun 2023 09:45:28 -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=@linaro.org header.s=google header.b=JdAw6Mq8; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235717AbjFHQgl (ORCPT + 99 others); Thu, 8 Jun 2023 12:36:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235893AbjFHQgh (ORCPT ); Thu, 8 Jun 2023 12:36:37 -0400 Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com [IPv6:2607:f8b0:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19D30A2 for ; Thu, 8 Jun 2023 09:36:05 -0700 (PDT) Received: by mail-pg1-x533.google.com with SMTP id 41be03b00d2f7-543ae674f37so433173a12.1 for ; Thu, 08 Jun 2023 09:36:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686242140; x=1688834140; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=/aL6Mm02RP068H18Hmx+R64BHyyt5ervIsVqvJjdt9Q=; b=JdAw6Mq860YRQRBQswOEjzf4ISFKIXDDTQ9l5+MNDNoF1EZ0S1jAnlfVQnp3wSTKLf kIrgXpITkuDawG2u8CMycorgDxUFVpWL5x1rcK5SeXYILykhJu1cXysOOYEBWsf1+54K 32y2qYyO5wU2TOJDEUoYhqc8bbZJM5oNqSKnGWCnfcxnHH8u/7B6Lo1a36cGs7EA/G5B 3OkmjlYhcoeo4hKxgvF2KxE7/KIW/UK3Zmbd6bpnWLGT6nnhkm2JrYf3WTfykpUuO6Em Vyn0hKWWcGz0IA4xb7O2uCHk7PWP//aDpb9qwosyCGupjN0eqeIhjN3y6D7jQR6D7iwe JtTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686242140; x=1688834140; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/aL6Mm02RP068H18Hmx+R64BHyyt5ervIsVqvJjdt9Q=; b=OOiSWnndUB5PEpDcTYA/2vxgRv11E3ZnjBWzoMvSDAZFQa1ypJNsHf7CqCNW04RIfG xG1cf8/jzvfADQeXCNm9BWYhbxGTXIzkF5vG1J3AScpv41vTF0+jXqwKCwr+BjAfOUPd /Jh0k8Ml+LuCQvlE8WLu/bf58oGxh5ETgcj9az+CSXwazLv2QSgwh7yNRkXqhI2Yaljl gRO6Dqq2hgtvoblkLJ7nnA8PYhVCGr5sFb8UeJwrqO8nx56i6dgdPOmeTU0TQg5ajkXT 6Pp+3vuhxryVdnXmFAqpKJk/YeJgELSOoefX2bGV0oMU2WSxaizWdfs40wjnCSl/SDq8 +YaA== X-Gm-Message-State: AC+VfDyOkM6OMQSl6H0OtH1jtwZuWx16eTVScdGXMSuJ0+R8qDk0mKPt vUsqnv4JjibJyJVrSrF7DoFf X-Received: by 2002:a17:902:e54b:b0:1a9:9ace:3e74 with SMTP id n11-20020a170902e54b00b001a99ace3e74mr5073873plf.65.1686242140125; Thu, 08 Jun 2023 09:35:40 -0700 (PDT) Received: from thinkpad ([117.202.186.138]) by smtp.gmail.com with ESMTPSA id z11-20020a1709027e8b00b001b0295de9acsm1656054pla.179.2023.06.08.09.35.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Jun 2023 09:35:39 -0700 (PDT) Date: Thu, 8 Jun 2023 22:05:29 +0530 From: Manivannan Sadhasivam To: Bjorn Helgaas Cc: lpieralisi@kernel.org, kw@linux.com, kishon@kernel.org, bhelgaas@google.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, dlemoal@kernel.org, Yang Li Subject: Re: [PATCH v6 8/9] PCI: endpoint: Add PCI Endpoint function driver for MHI bus Message-ID: <20230608163529.GD8632@thinkpad> References: <20230607204923.GA1174664@bhelgaas> <20230607211941.GA1176583@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230607211941.GA1176583@bhelgaas> X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_WEB,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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, Jun 07, 2023 at 04:19:41PM -0500, Bjorn Helgaas wrote: > [+cc Yang Li, sorry I didn't notice your patch earlier: > https://lore.kernel.org/r/20230607093514.104012-1-yang.lee@linux.alibaba.com] > > I think we can squash this into the original commit since it hasn't > gone upstream yet. Also note that removing the dev_err() apparently > makes "dev" unused, so we'd have to remove that as well, based on this > report [2]. > > [2] https://lore.kernel.org/r/202306080418.i64hTj5T-lkp@intel.com > > On Wed, Jun 07, 2023 at 03:49:25PM -0500, Bjorn Helgaas wrote: > > On Fri, Jun 02, 2023 at 05:17:55PM +0530, Manivannan Sadhasivam wrote: > > > Add PCI Endpoint driver for the Qualcomm MHI (Modem Host Interface) bus. > > > The driver implements the MHI function over PCI in the endpoint device > > > such as SDX55 modem. The MHI endpoint function driver acts as a > > > controller driver for the MHI Endpoint stack and carries out all PCI > > > related activities like mapping the host memory using iATU, triggering > > > MSIs etc... > > > ... > > > > > +static int pci_epf_mhi_bind(struct pci_epf *epf) > > > +{ > > > ... > > > > > + ret = platform_get_irq_byname(pdev, "doorbell"); > > > + if (ret < 0) { > > > + dev_err(dev, "Failed to get Doorbell IRQ\n"); > > > > This dev_err() causes this new warning from the 0-day robot [1]: > > > > drivers/pci/endpoint/functions/pci-epf-mhi.c:362:2-9: line 362 is redundant because platform_get_irq() already prints an error > > > > Maybe we could drop it? > > Right. I think Lorenzo can handle both while squashing. - Mani > > Bjorn > > > > [1] https://lore.kernel.org/all/20230607163937.ZTc-D%25lkp@intel.com/ -- மணிவண்ணன் சதாசிவம்