Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp3172310lqo; Tue, 21 May 2024 08:46:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXlnYtFkijjAbqLdaeZVVIWDN69dhcIIpnkKPZO8NDZClTCZD45M0cNi9K+MqAvsiz1u2Piy7H2FrRgJ2jEgmrjhH9qWAjP3xGBG1HGxA== X-Google-Smtp-Source: AGHT+IHmL8WDhkgIYJksRkm5tOloPJRK7pgBfTFTV5RUCDYyHa4JA5tPg0ECIxc6tMaw5isLRYeH X-Received: by 2002:a2e:7a0b:0:b0:2e3:603e:4697 with SMTP id 38308e7fff4ca-2e52028ec1cmr242031041fa.36.1716306402026; Tue, 21 May 2024 08:46:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716306401; cv=pass; d=google.com; s=arc-20160816; b=HS1m8mTp5Gi7Xnq2gnNu3FMxGxaBhm0qoP/KzQUmr7AncRM6rgdIlpvfhh9utQYOy0 k8Z8vy3vwghJc/DL7JiJtV8F3LJYNzpv3CV0l5plINb+2/QNxIpPqXFXYbdVjtNQw1pd TK0E4jZArNkKKFI3CAeSESvPSLCFbvuw5vusT54MIIR8SrDsK3JeXX2X1sFEZH3niOOa VLI8hBzUYL/hF/exT+Jv6mrnWfOL4AUD7wCF+DW1MF2d7mNEbcr+Hmk3pkCkMqoGPeIw Iep+0wu15Ead2JShqNQIucQzjtu4B0ljM3klM6KszoWppd/sBtQ6BAZjDtAJemsY+Y8o sVXg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=GHG+YGMfQQ7a6ZiCg6Fxdzqr0xhRmGoievIyxuzRAV4=; fh=+Vvs+W4GZxGOsb9ikqHg/g0zTfALF9nz0SodOpV/67c=; b=yRS3/uQlvewJvK68dvq2SBMqsI1TsxSaUsFQFdXUebONf/1dzJIQ+GcrfheUgZxYKg pcni6n5QbYIdQbr6KcfQml5IqG+RhD57zICvAfz3RLjNOpxPlXpf4pfRLenUZ2oxUiK2 boOkFoqkm5wpcK7eASaTIyNRmOK2sS5ci2BYhtc9ABdzMdpRolpJwY48GBA3x63nqyl0 Dpn7coQKNjzRiQWYWJRoabPEB3gAm2MDXVLQIp/TOuPzC+83cnaTTcAQW7x6E8J7GhtW McD4YPKhcnF0EyIdeGtnzML0lUyIjsq9yeg5PZbSyeeDNWFN3NH3dtG3ynJVYGjxahdf qMzg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Pn39ud18; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-185179-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185179-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733c2d5655si14213158a12.249.2024.05.21.08.46.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 08:46:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185179-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Pn39ud18; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-185179-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185179-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id BC6FE1F21610 for ; Tue, 21 May 2024 15:46:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 28DFB14431F; Tue, 21 May 2024 15:46:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Pn39ud18" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 84C831FBB; Tue, 21 May 2024 15:46:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716306367; cv=none; b=LQngton6/Wy9yLvaLuf4JuQQJaFEJtFkiUscIOgAMYYVIw9Du9dEyfu/KN4v7HYpDfDWvSL/RqYUpB93LovrHt2WGAA6lpv9Aw7mK85bSk0V7FuuOHW8RuDhozDJRLSWOrjOXykhGN7klUA/bUrF1QAM619nPS1rpsEO7a9OzRk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716306367; c=relaxed/simple; bh=MOYqpIyTHcQhEowSXCmF5d6zPRCuQIn/+Gsq0JSaqfI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=CMoyORLubVmtZTjUyMttxc3qYbEWvGtg5kCXppvgIUhCYUmu2eibmJu/63JCv3fEkd84eMgj1DHqtpf7PJ/DN16ZsOQt//uJdHwo7x/P6YYkF0jo/KJV67k1bhbfR3PVtD7pnYDRqUBETYjKhNFBH+gD5qQ3S6/uBKzpKdly9gI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=Pn39ud18; arc=none smtp.client-ip=192.198.163.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1716306363; x=1747842363; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=MOYqpIyTHcQhEowSXCmF5d6zPRCuQIn/+Gsq0JSaqfI=; b=Pn39ud188BRP0FsKIF2nLa9SIIEWQ/UDjZwRaV0aI3CncpubvLHvQDa2 XYS6ZedRtY/TpuxY4g9lTfD8UgQsFNjiDEWttitqmR0PVdFjwM6z8s58j t7whGvTgzUWdjntAD8FqMiCrgd+3NKPe3AjBoyZzo/1N1ZYLEqPTItjsM U/m2Ah1uHMQDT/Nvcq1j8CPGSSHBrsFK/NuTQ5luHBjlnaQnwKz9gck5b ifjBYBXL314dVGyKhQRbAezU8CkKzP0WQ5ov7Hf4q4J2J4wK2znVbrkBO eWSL9fAUXMk66pZ/0lgL4FyStqXaM1a8hPDtQgjZqaBe6fQ03jQIMIlss A==; X-CSE-ConnectionGUID: gEJXe1QEREeQ0xe7hzU2lw== X-CSE-MsgGUID: Ldfq0+gKTp2wF0qgwMU1PQ== X-IronPort-AV: E=McAfee;i="6600,9927,11078"; a="15459798" X-IronPort-AV: E=Sophos;i="6.08,178,1712646000"; d="scan'208";a="15459798" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 May 2024 08:46:02 -0700 X-CSE-ConnectionGUID: NDMP6qFGSFq7XsAgJ6OJ3g== X-CSE-MsgGUID: Ldro2/GCQ6mYjf2suJvVkw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,178,1712646000"; d="scan'208";a="63793459" Received: from unknown (HELO 0610945e7d16) ([10.239.97.151]) by orviesa002.jf.intel.com with ESMTP; 21 May 2024 08:45:57 -0700 Received: from kbuild by 0610945e7d16 with local (Exim 4.96) (envelope-from ) id 1s9RgY-0000UQ-1Q; Tue, 21 May 2024 15:45:54 +0000 Date: Tue, 21 May 2024 23:44:25 +0800 From: kernel test robot To: Vidya Sagar , corbet@lwn.net, bhelgaas@google.com, galshalom@nvidia.com, leonro@nvidia.com, jgg@nvidia.com, treding@nvidia.com, jonathanh@nvidia.com Cc: oe-kbuild-all@lists.linux.dev, mmoshrefjava@nvidia.com, shahafs@nvidia.com, vsethi@nvidia.com, sdonthineni@nvidia.com, jan@nvidia.com, tdave@nvidia.com, linux-doc@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, kthota@nvidia.com, mmaddireddy@nvidia.com, vidyas@nvidia.com, sagar.tv@gmail.com Subject: Re: [PATCH V2] PCI: Extend ACS configurability Message-ID: <202405212300.S6fsze09-lkp@intel.com> References: <20240521110925.3876786-1-vidyas@nvidia.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240521110925.3876786-1-vidyas@nvidia.com> Hi Vidya, 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.9 next-20240521] [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/Vidya-Sagar/PCI-Extend-ACS-configurability/20240521-191317 base: https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git next patch link: https://lore.kernel.org/r/20240521110925.3876786-1-vidyas%40nvidia.com patch subject: [PATCH V2] PCI: Extend ACS configurability config: parisc-defconfig (https://download.01.org/0day-ci/archive/20240521/202405212300.S6fsze09-lkp@intel.com/config) compiler: hppa-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240521/202405212300.S6fsze09-lkp@intel.com/reproduce) 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/202405212300.S6fsze09-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/pci/pci.c:1044: warning: Function parameter or struct member 'caps' not described in 'pci_std_enable_acs' vim +1044 drivers/pci/pci.c cbe420361f92a31 Rajat Jain 2020-07-07 1038 cbe420361f92a31 Rajat Jain 2020-07-07 1039 /** cbe420361f92a31 Rajat Jain 2020-07-07 1040 * pci_std_enable_acs - enable ACS on devices using standard ACS capabilities cbe420361f92a31 Rajat Jain 2020-07-07 1041 * @dev: the PCI device cbe420361f92a31 Rajat Jain 2020-07-07 1042 */ a0bcc944f0e307a Vidya Sagar 2024-05-21 1043 static void pci_std_enable_acs(struct pci_dev *dev, struct pci_acs *caps) cbe420361f92a31 Rajat Jain 2020-07-07 @1044 { cbe420361f92a31 Rajat Jain 2020-07-07 1045 /* Source Validation */ a0bcc944f0e307a Vidya Sagar 2024-05-21 1046 caps->ctrl |= (caps->cap & PCI_ACS_SV); cbe420361f92a31 Rajat Jain 2020-07-07 1047 cbe420361f92a31 Rajat Jain 2020-07-07 1048 /* P2P Request Redirect */ a0bcc944f0e307a Vidya Sagar 2024-05-21 1049 caps->ctrl |= (caps->cap & PCI_ACS_RR); cbe420361f92a31 Rajat Jain 2020-07-07 1050 cbe420361f92a31 Rajat Jain 2020-07-07 1051 /* P2P Completion Redirect */ a0bcc944f0e307a Vidya Sagar 2024-05-21 1052 caps->ctrl |= (caps->cap & PCI_ACS_CR); cbe420361f92a31 Rajat Jain 2020-07-07 1053 cbe420361f92a31 Rajat Jain 2020-07-07 1054 /* Upstream Forwarding */ a0bcc944f0e307a Vidya Sagar 2024-05-21 1055 caps->ctrl |= (caps->cap & PCI_ACS_UF); cbe420361f92a31 Rajat Jain 2020-07-07 1056 7cae7849fccee81 Alex Williamson 2021-06-18 1057 /* Enable Translation Blocking for external devices and noats */ 7cae7849fccee81 Alex Williamson 2021-06-18 1058 if (pci_ats_disabled() || dev->external_facing || dev->untrusted) a0bcc944f0e307a Vidya Sagar 2024-05-21 1059 caps->ctrl |= (caps->cap & PCI_ACS_TB); cbe420361f92a31 Rajat Jain 2020-07-07 1060 } cbe420361f92a31 Rajat Jain 2020-07-07 1061 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki