Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp771800rwd; Thu, 15 Jun 2023 01:40:39 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5qcErzEJtBlkfZj9l170j4vAZZO1ZQvYSrtTNVM5Ma3s6f4/ykn/boykWXm7HmkfX2xDf8 X-Received: by 2002:a17:902:c20b:b0:1af:d9d2:a234 with SMTP id 11-20020a170902c20b00b001afd9d2a234mr12964942pll.3.1686818438792; Thu, 15 Jun 2023 01:40:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686818438; cv=none; d=google.com; s=arc-20160816; b=K4a7lhFt2SeTqyMi3x90QN379fIjH3L6Ly5C2qmpIl2hqDzoOStbzMoqPyEhT+L4uN URFTm2TS4H6ZqrqWCePZ8mhzN4H0KL3WuiHnIRsKbg+OrQ3bWXrhUxdgU4NJjdNE56Jh SiXtsMuSm0v4Kljl1N106KIS4prDarfdZs7ebEAbjTcHUl5dYqc9tEslrxyGq0g7MH/6 D/rZlkS7oiPAINrYa8kYGIPr2XfJRx/RAyvIDsYdxGbwZdiT+39yRePtAuOLEo4cRstv xUC6fHBOYQ/mwm0b/LFmP1sj1CSirEWjgkVa7pYVjh/eYYhqWtJy9eBE1L7KW/LUjoAK F8qQ== 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:dkim-signature; bh=6kF1vj2WvGrM+Ay1W0DX4DiWxKgZqmb01ubUVdkWpUY=; b=E28ew3RxuBlmcNxnOC4MtXC4zai0pSfjlAqMniXRAszuxqwKFXn7D4xJrQerHMSNiA lS0JTw9BnIhqh+rj1VJ/bKvWBi2yHL1+qPGH+h09DlpBIleMQ+rdfSCtgfYlGKfX2pb/ 1PdBXu0aUOhuT+qFNcHzlbmRvJ5EbTKY1QmLJ6NuMxeNZ70lsPqedP7ufI4GV1XJGPbV jL8TWepx/S+QQodAXNH/0codIQPsWHlGrZGwoMhE81XZpQdcGApMMHix3vNatQsHucOX ZnVu3O3c70bOFlaaGAofvnXgn3SzFz9ieHWYaWpH67xuGqpzw+rY0+6C+UN1Y4Ws7L1r dYyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Vb6QtY7N; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z10-20020a170903018a00b001a637615a89si13048148plg.561.2023.06.15.01.40.23; Thu, 15 Jun 2023 01:40:38 -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=@intel.com header.s=Intel header.b=Vb6QtY7N; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239272AbjFOIUU (ORCPT + 99 others); Thu, 15 Jun 2023 04:20:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244409AbjFOITl (ORCPT ); Thu, 15 Jun 2023 04:19:41 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5EF402703; Thu, 15 Jun 2023 01:19:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686817180; x=1718353180; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=fyO6y+PdlKExzlF7ToWNEcFBY1y/HLRrJmiIxJONUlA=; b=Vb6QtY7NW0p0MdBsLsU3EXDCeEODUm3PKC4nnCsu/aFI7Gnnqgr/RHHw fRvyg9lI3Mg3D3FHe++htnwEF3MU+ajquRtsBXM7vlgNdkpYuT4CdvRqo 5xteH6mZZKwq08ar8SkzQDGSwSp7LCvOOMiZel+zgK2xaYsEokJyMJKpt ws6nZxo0R+i5XpW9NHsQQBxmrrv8ETf2YtXKSZYk2HzkxMzh7Hvwj5xmD QjEf2zvv4X2i7jfRVHap7MKb5Im0jucfPf3cOQa+WCZXX6KD8/osloOT9 zaATwICJ+Rt1dnnhOuhITW2gBIGwoWmdENA8T4uk6m1CNheIa9gqWwxC0 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10741"; a="358842254" X-IronPort-AV: E=Sophos;i="6.00,244,1681196400"; d="scan'208";a="358842254" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jun 2023 01:19:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10741"; a="715543019" X-IronPort-AV: E=Sophos;i="6.00,244,1681196400"; d="scan'208";a="715543019" Received: from lkp-server02.sh.intel.com (HELO d59cacf64e9e) ([10.239.97.151]) by fmsmga007.fm.intel.com with ESMTP; 15 Jun 2023 01:19:24 -0700 Received: from kbuild by d59cacf64e9e with local (Exim 4.96) (envelope-from ) id 1q9iCR-0001eH-2N; Thu, 15 Jun 2023 08:19:23 +0000 Date: Thu, 15 Jun 2023 16:18:57 +0800 From: kernel test robot To: Kuppuswamy Sathyanarayanan , Bjorn Helgaas Cc: oe-kbuild-all@lists.linux.dev, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Kuppuswamy Sathyanarayanan Subject: Re: [PATCH v1] PCI: pciehp: Make sure DPC trigger status is reset in PDC handler Message-ID: <202306151528.9ZEmHZMt-lkp@intel.com> References: <20230615062559.1268404-1-sathyanarayanan.kuppuswamy@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230615062559.1268404-1-sathyanarayanan.kuppuswamy@linux.intel.com> 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_NONE,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 Hi Kuppuswamy, kernel test robot noticed the following build warnings: [auto build test WARNING on pci/next] [also build test WARNING on pci/for-linus linus/master v6.4-rc6 next-20230615] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Kuppuswamy-Sathyanarayanan/PCI-pciehp-Make-sure-DPC-trigger-status-is-reset-in-PDC-handler/20230615-142706 base: https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git next patch link: https://lore.kernel.org/r/20230615062559.1268404-1-sathyanarayanan.kuppuswamy%40linux.intel.com patch subject: [PATCH v1] PCI: pciehp: Make sure DPC trigger status is reset in PDC handler config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20230615/202306151528.9ZEmHZMt-lkp@intel.com/config) compiler: alpha-linux-gcc (GCC) 12.3.0 reproduce (this is a W=1 build): mkdir -p ~/bin wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git remote add pci https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git git fetch pci next git checkout pci/next b4 shazam https://lore.kernel.org/r/20230615062559.1268404-1-sathyanarayanan.kuppuswamy@linux.intel.com # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross W=1 O=build_dir ARCH=alpha olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross W=1 O=build_dir ARCH=alpha SHELL=/bin/bash drivers/pci/ If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202306151528.9ZEmHZMt-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/pci/pcie/dpc.c:123: warning: expecting prototype for pci_reset_trigger(). Prototype was for pci_dpc_reset_trigger() instead vim +123 drivers/pci/pcie/dpc.c 114 115 /** 116 * pci_reset_trigger - Clear DPC trigger status 117 * @pdev: PCI device 118 * 119 * It is called from the PCIe hotplug driver to clean the DPC 120 * trigger status in the PDC interrupt handler. 121 */ 122 void pci_dpc_reset_trigger(struct pci_dev *pdev) > 123 { 124 if (!pdev->dpc_cap) 125 return; 126 127 pci_write_config_word(pdev, pdev->dpc_cap + PCI_EXP_DPC_STATUS, 128 PCI_EXP_DPC_STATUS_TRIGGER); 129 } 130 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki