Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp643195rwl; Thu, 23 Mar 2023 23:13:18 -0700 (PDT) X-Google-Smtp-Source: AKy350ZDlqxMiyppRLc4A6T/vAkLi+ZXnzOjPsILjVFH2JzrbFcWS+ukPtRNmHVWCW/PaCcqcRQP X-Received: by 2002:a17:902:f552:b0:19c:e6c8:db16 with SMTP id h18-20020a170902f55200b0019ce6c8db16mr1910380plf.27.1679638398193; Thu, 23 Mar 2023 23:13:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679638398; cv=none; d=google.com; s=arc-20160816; b=Fphkz3KLVkCGQzTffR5B6icbQAIarosaYqqTKzMuSmOSC+ONNjD4LdVtnGRPShA+83 zwJELSv4FAxxvwnr+13q4jDyzcjql8c74eXmVtPIBF3qbQQNs60JGiuxK/IcZP9jM1B4 rmI8UuEEmfR6sKbpDFMqCa+VtLgeNLA7ODg9Q/wnlyGzGdm+4wJ6cHR6kMnsmSl/NAt3 Yi1r+MtlmTpgv6qyEVpR0ZcuFtFZsHgUJhd7LnovXEkiYCHSnyTKZWqf3MzYpIxTv1QY pN0gbXy7gI08gyr/fU6Q+e69ADSIcpwXul0qi2bdUmg2QrZFvC3yYTpRQoJd3W9H7MkO +1HA== 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=zIhCszRm2LpmxEt1NnrKaehiEvQLhuftdM1VEMpQPU0=; b=clsP11xdE5ylJ+4o2UJpIfyLOFuBNyOV7hKmbsQypEVL/FL/xWZ/gCAPki3/+p7C4a gAt+Jvvl+mtAmgRU3pbnI7is5V9bmFqsa8828a+rFG15IZ++646vQ22ZiZeAxbs/pQhZ KIHGGEyBW7mRuUUId6Mn7VG1SBDMS6p9zJCcgSxzRotrG9BEq9DE00Ty/58hffJZzJii b21G4qwdrsWUIWRY6W74M7ja04M6tYGN4MRaQAtGD4bmPL5Uojk0oYTMadVr4sTrJuE8 hr7rF6xKz4RKPZa63wITBlJS9cUplu4992ndumU7qIjUPogOaJQqwkEifseAcj8FDzCq h9Ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=jck1HbRM; 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 bk13-20020a056a02028d00b0050c04831b70si20124407pgb.800.2023.03.23.23.13.05; Thu, 23 Mar 2023 23:13: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=@intel.com header.s=Intel header.b=jck1HbRM; 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 S231489AbjCXGKc (ORCPT + 99 others); Fri, 24 Mar 2023 02:10:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229817AbjCXGKa (ORCPT ); Fri, 24 Mar 2023 02:10:30 -0400 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5DC9529405; Thu, 23 Mar 2023 23:10:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1679638212; x=1711174212; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=TO2hm86sTvd3UTHGNjd1oaaihJtP0yeWPooZ0l4Oxjc=; b=jck1HbRMiSRPdMZO18bv7xQfbuCAtG3dWS2P4zSVsSpGzA2pDjDbEvZ3 nz7rcCP/b06zmP3Er7SHzq+poY8uXzgMbGvtHSrMoYhNxCtBXcWmvaQuW gFTBzBZxXGQ1xpIAxVc8p0z3mvBDFoZENeDMU1f0vBrbRV0JYl1ZLDtjW krilzICW+d45by+A+snabpu8HvRyeLddGLmjoaEKZ96GrW2BCnY9j1J/A Rc4TbEq00rj9Xeml7VWBW1P4DMVY9A+AYFdN9egcrcOeMqjM9S8c1+o0L SluxN0GdeIhJd4Xquel/WO6T8ZrODAGaUuOs/AS68d7UinZ6fGxHRGorP g==; X-IronPort-AV: E=McAfee;i="6600,9927,10658"; a="342090140" X-IronPort-AV: E=Sophos;i="5.98,287,1673942400"; d="scan'208";a="342090140" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2023 23:10:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10658"; a="659938483" X-IronPort-AV: E=Sophos;i="5.98,287,1673942400"; d="scan'208";a="659938483" Received: from lkp-server01.sh.intel.com (HELO b613635ddfff) ([10.239.97.150]) by orsmga006.jf.intel.com with ESMTP; 23 Mar 2023 23:10:02 -0700 Received: from kbuild by b613635ddfff with local (Exim 4.96) (envelope-from ) id 1pfacj-000F2O-1f; Fri, 24 Mar 2023 06:10:01 +0000 Date: Fri, 24 Mar 2023 14:09:55 +0800 From: kernel test robot To: Terry Bowman , alison.schofield@intel.com, vishal.l.verma@intel.com, ira.weiny@intel.com, bwidawsk@kernel.org, dan.j.williams@intel.com, dave.jiang@intel.com, Jonathan.Cameron@huawei.com, linux-cxl@vger.kernel.org, rrichter@amd.com Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, bhelgaas@google.com Subject: Re: [PATCH v2 5/5] cxl/pci: Add RCH downstream port error logging Message-ID: <202303241313.B0maYlFU-lkp@intel.com> References: <20230323213808.398039-6-terry.bowman@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230323213808.398039-6-terry.bowman@amd.com> X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=unavailable 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 Terry, Thank you for the patch! Yet something to improve: [auto build test ERROR on pci/next] [also build test ERROR on pci/for-linus efi/next cxl/next linus/master v6.3-rc3 next-20230323] [cannot apply to cxl/pending] [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/Terry-Bowman/cxl-pci-Add-RCH-downstream-port-AER-and-RAS-register-discovery/20230324-054044 base: https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git next patch link: https://lore.kernel.org/r/20230323213808.398039-6-terry.bowman%40amd.com patch subject: [PATCH v2 5/5] cxl/pci: Add RCH downstream port error logging config: riscv-randconfig-r024-20230322 (https://download.01.org/0day-ci/archive/20230324/202303241313.B0maYlFU-lkp@intel.com/config) compiler: riscv64-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/c40ca148e9cff1a1c32cd4c5c9b252bf0cf201b6 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Terry-Bowman/cxl-pci-Add-RCH-downstream-port-AER-and-RAS-register-discovery/20230324-054044 git checkout c40ca148e9cff1a1c32cd4c5c9b252bf0cf201b6 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=riscv olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash drivers/cxl/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202303241313.B0maYlFU-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/cxl/mem.c: In function 'rcec_enable_aer_ints': >> drivers/cxl/mem.c:63:21: error: 'struct pci_dev' has no member named 'aer_cap'; did you mean 'ats_cap'? 63 | aer = rcec->aer_cap; | ^~~~~~~ | ats_cap vim +63 drivers/cxl/mem.c 48 49 static int rcec_enable_aer_ints(struct pci_dev *pdev) 50 { 51 struct pci_dev *rcec = pdev->rcec; 52 int aer, rc; 53 u32 mask; 54 55 if (!rcec) 56 return -ENODEV; 57 58 /* 59 * Internal errors are masked by default, unmask RCEC's here 60 * PCI6.0 7.8.4.3 Uncorrectable Error Mask Register (Offset 08h) 61 * PCI6.0 7.8.4.6 Correctable Error Mask Register (Offset 14h) 62 */ > 63 aer = rcec->aer_cap; 64 rc = pci_read_config_dword(rcec, aer + PCI_ERR_UNCOR_MASK, &mask); 65 if (rc) 66 return rc; 67 mask &= ~PCI_ERR_UNC_INTN; 68 rc = pci_write_config_dword(rcec, aer + PCI_ERR_UNCOR_MASK, mask); 69 if (rc) 70 return rc; 71 72 rc = pci_read_config_dword(rcec, aer + PCI_ERR_COR_MASK, &mask); 73 if (rc) 74 return rc; 75 mask &= ~PCI_ERR_COR_INTERNAL; 76 rc = pci_write_config_dword(rcec, aer + PCI_ERR_COR_MASK, mask); 77 78 return rc; 79 } 80 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests