Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1321320rwd; Wed, 7 Jun 2023 14:33:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7f23mg7kIiXJPigq24IHRTC2jgPL7NgniJJlnZ3ryP+DxL49DPZ9ABJvXg5Qhotwg+S9E2 X-Received: by 2002:aa7:88c7:0:b0:662:5146:c77a with SMTP id k7-20020aa788c7000000b006625146c77amr3270079pff.31.1686173598757; Wed, 07 Jun 2023 14:33:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686173598; cv=none; d=google.com; s=arc-20160816; b=bPW+kb/zpca6CV3aw+LK9iA8PYIe8iuhomaf7kK4qsXGZqVE9qwlSmwm1pV9s5Oe0l hREKFrkTA2Vo5Fsh8f3Fu+sIQ3E2pMja9B0DG+V5UFGp9ZKkH9KWqzGGs8fVVrdFqUZ3 r+Amp6CPypvB8pmNtKR10t+QuuaKS9iENB22SJ+AATtkMDnDXoESPiIKEDBrTCZtJ5LS JyQ7YFCeFRxDhKb2dUsXnQ2PAgxMJoArNykGfurxSZLbRaDEq67maUVATFRqyNxp5FFq MVDOZL8NNzpMl3vEJ2HsyjjD7I6r5aukPRmBs8bTGxo94tz4HYWOhbsLF2nSTxyLARxm F+Dg== 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 :message-id:subject:cc:to:from:date:dkim-signature; bh=mq559ojUfg8WGhvJrKlcotSlxWULn6yPCGWiIU3dXyQ=; b=0phgI451DzujURQ0UAI0nxQEPD6GT67YwsFV93DuBcuyqHzG4tIUMN3KgZYKs0ULI4 WlHcVAJ+m+A0EfmM1T5bWB87JAh3tCjYePu8aiWvXg+VMZzMzfmjZgWtT6HHXh6OA1wt iWbVi2DlSep4+Si3bTmmRca3nWizMZiIBpJovGKuaQrXHnarpjiPm/u3Yka4xeUjFmwH tCb3JL35CvoDPBWXgTAmVyAncLz2Kto5vlHxVSnMEQpk4BkxbZ9223wizLlN7yMc5SDQ wYQUP04Csxe5EC6Dq3BlMEKRiIo4MXxzXh8QcH9M+r84D2xpdW1O8LQIblr2k755iv5U hUQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CYKPa6UB; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s6-20020a625e06000000b0065300b42889si1923363pfb.363.2023.06.07.14.32.58; Wed, 07 Jun 2023 14:33:18 -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=@kernel.org header.s=k20201202 header.b=CYKPa6UB; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235119AbjFGUu1 (ORCPT + 99 others); Wed, 7 Jun 2023 16:50:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235060AbjFGUtp (ORCPT ); Wed, 7 Jun 2023 16:49:45 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD99B2130; Wed, 7 Jun 2023 13:49:25 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8DADE646E4; Wed, 7 Jun 2023 20:49:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CA98AC433D2; Wed, 7 Jun 2023 20:49:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686170965; bh=yIQkALqfpk76Ao9CbRynGfkR9SerCGob88NMbCbX+9A=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=CYKPa6UBTMgPrPiN9HALK3dfzw30muDr1RYpAq8vN7hvUHrtbmH8c2SWq8oGrqHia 8wxVvUe5TM4kQXF233PTjr4TUYPIGhOmus7i/c4bJiESw7JXT3j6rMfehECb0W6zYc JN91GxRbjjXCxXZZAEUyeW5dZr98CNe0DP5WMsqTT6VcgV3YDAzoOjGaDtr0XQTs3E VarfIXjpKKIEgBfIlUoZfW6DZOa12Tiz5CDVewzlInj6nbrMgC4ESMLrYxDexRrpVS X8kzoXGMOXiGo9pAWj66w01yXzdGL/rCQ+sXS2yEQW0KiJbNWmZ1uhek7FHpcm0xGA lh4o8tn1mqI9Q== Date: Wed, 7 Jun 2023 15:49:23 -0500 From: Bjorn Helgaas To: Manivannan Sadhasivam 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 Subject: Re: [PATCH v6 8/9] PCI: endpoint: Add PCI Endpoint function driver for MHI bus Message-ID: <20230607204923.GA1174664@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230602114756.36586-9-manivannan.sadhasivam@linaro.org> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 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? Bjorn [1] https://lore.kernel.org/all/20230607163937.ZTc-D%25lkp@intel.com/