From: kernel test robot <lkp@intel.com>
To: Jiqian Chen <Jiqian.Chen@amd.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC KERNEL PATCH v3 2/3] xen/pvh: Setup gsi and map pirq for passthrough device
Date: Tue, 12 Dec 2023 21:10:36 +0800 [thread overview]
Message-ID: <202312122002.7spZXyWU-lkp@intel.com> (raw)
In-Reply-To: <20231210161519.1550860-3-Jiqian.Chen@amd.com>
Hi Jiqian,
[This is a private test report for your RFC patch.]
kernel test robot noticed the following build warnings:
[auto build test WARNING on xen-tip/linux-next]
[also build test WARNING on pci/next pci/for-linus tip/x86/core rafael-pm/linux-next rafael-pm/acpi-bus rafael-pm/devprop linus/master v6.7-rc5 next-20231212]
[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/Jiqian-Chen/xen-pci-Add-xen_reset_device_state-function/20231211-001811
base: https://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git linux-next
patch link: https://lore.kernel.org/r/20231210161519.1550860-3-Jiqian.Chen%40amd.com
patch subject: [RFC KERNEL PATCH v3 2/3] xen/pvh: Setup gsi and map pirq for passthrough device
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20231212/202312122002.7spZXyWU-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231212/202312122002.7spZXyWU-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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312122002.7spZXyWU-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> arch/x86/xen/enlighten_pvh.c:113:5: warning: no previous prototype for function 'xen_pvh_passthrough_gsi' [-Wmissing-prototypes]
int xen_pvh_passthrough_gsi(struct pci_dev *dev)
^
arch/x86/xen/enlighten_pvh.c:113:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int xen_pvh_passthrough_gsi(struct pci_dev *dev)
^
static
1 warning generated.
vim +/xen_pvh_passthrough_gsi +113 arch/x86/xen/enlighten_pvh.c
112
> 113 int xen_pvh_passthrough_gsi(struct pci_dev *dev)
114 {
115 int ret;
116 gsi_info_t gsi_info;
117
118 if (!dev)
119 return -EINVAL;
120
121 ret = xen_pvh_get_gsi_info(dev, &gsi_info);
122 if (ret) {
123 xen_raw_printk("Fail to get gsi info!\n");
124 return ret;
125 }
126
127 ret = xen_pvh_setup_gsi(&gsi_info);
128 if (ret == -EEXIST) {
129 ret = 0;
130 xen_raw_printk("Already setup the GSI :%u\n", gsi_info.gsi);
131 } else if (ret) {
132 xen_raw_printk("Fail to setup gsi (%d)!\n", gsi_info.gsi);
133 return ret;
134 }
135
136 ret = xen_pvh_map_pirq(&gsi_info);
137 if (ret)
138 xen_raw_printk("Fail to map pirq for gsi (%d)!\n", gsi_info.gsi);
139
140 return ret;
141 }
142 EXPORT_SYMBOL_GPL(xen_pvh_passthrough_gsi);
143
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2023-12-12 13:12 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-10 16:15 [RFC KERNEL PATCH v3 0/3] Support device passthrough when dom0 is PVH on Xen Jiqian Chen
2023-12-10 16:15 ` [RFC KERNEL PATCH v3 1/3] xen/pci: Add xen_reset_device_state function Jiqian Chen
2023-12-12 8:08 ` Roger Pau Monné
2023-12-13 3:02 ` Chen, Jiqian
2023-12-10 16:15 ` [RFC KERNEL PATCH v3 2/3] xen/pvh: Setup gsi and map pirq for passthrough device Jiqian Chen
2023-12-12 13:10 ` kernel test robot [this message]
2023-12-10 16:15 ` [RFC KERNEL PATCH v3 3/3] PCI/sysfs: Add gsi sysfs for pci_dev Jiqian Chen
2023-12-11 17:57 ` Roger Pau Monné
2023-12-12 6:34 ` Chen, Jiqian
2023-12-12 9:18 ` Roger Pau Monné
2023-12-13 3:31 ` Chen, Jiqian
2023-12-13 12:12 ` Roger Pau Monné
2023-12-14 7:08 ` Chen, Jiqian
2023-12-14 8:46 ` Roger Pau Monné
2023-12-14 9:03 ` Chen, Jiqian
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202312122002.7spZXyWU-lkp@intel.com \
--to=lkp@intel.com \
--cc=Jiqian.Chen@amd.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.