From: kernel test robot <lkp@intel.com>
To: Jiqian Chen <Jiqian.Chen@amd.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC KERNEL PATCH v5 2/3] xen/pvh: Setup gsi for passthrough device
Date: Sun, 31 Mar 2024 10:03:09 +0800 [thread overview]
Message-ID: <202403310932.nmHEif4W-lkp@intel.com> (raw)
In-Reply-To: <20240328065646.354782-3-Jiqian.Chen@amd.com>
Hi Jiqian,
[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:
[auto build test ERROR on xen-tip/linux-next]
[also build test ERROR on pci/next pci/for-linus rafael-pm/linux-next linus/master v6.9-rc1 next-20240328]
[cannot apply to tip/x86/core rafael-pm/acpi-bus rafael-pm/devprop]
[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/20240328-145956
base: https://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git linux-next
patch link: https://lore.kernel.org/r/20240328065646.354782-3-Jiqian.Chen%40amd.com
patch subject: [RFC KERNEL PATCH v5 2/3] xen/pvh: Setup gsi for passthrough device
config: arm64-randconfig-001-20240331 (https://download.01.org/0day-ci/archive/20240331/202403310932.nmHEif4W-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240331/202403310932.nmHEif4W-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/202403310932.nmHEif4W-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/xen/xen-pciback/pci_stub.c:23:
include/xen/acpi.h: In function 'xen_acpi_sleep_register':
>> include/xen/acpi.h:63:58: error: macro "acpi_os_set_prepare_sleep" requires 3 arguments, but only 1 given
63 | &xen_acpi_notify_hypervisor_sleep);
| ^
In file included from include/xen/acpi.h:41:
include/linux/acpi.h:1121: note: macro "acpi_os_set_prepare_sleep" defined here
1121 | #define acpi_os_set_prepare_sleep(func, pm1a_ctrl, pm1b_ctrl) do { } while (0)
|
>> include/xen/acpi.h:62:17: error: 'acpi_os_set_prepare_sleep' undeclared (first use in this function); did you mean 'acpi_os_enter_sleep'?
62 | acpi_os_set_prepare_sleep(
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| acpi_os_enter_sleep
include/xen/acpi.h:62:17: note: each undeclared identifier is reported only once for each function it appears in
>> include/xen/acpi.h:64:17: error: implicit declaration of function 'acpi_os_set_prepare_extended_sleep'; did you mean 'acpi_os_set_prepare_sleep'? [-Werror=implicit-function-declaration]
64 | acpi_os_set_prepare_extended_sleep(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| acpi_os_set_prepare_sleep
include/xen/acpi.h:67:17: error: 'acpi_suspend_lowlevel' undeclared (first use in this function); did you mean 'xen_acpi_suspend_lowlevel'?
67 | acpi_suspend_lowlevel = xen_acpi_suspend_lowlevel;
| ^~~~~~~~~~~~~~~~~~~~~
| xen_acpi_suspend_lowlevel
cc1: some warnings being treated as errors
vim +/acpi_os_set_prepare_sleep +63 include/xen/acpi.h
068e0dc7b7c1db Konrad Rzeszutek Wilk 2013-05-14 58
268a207563f933 Liu Jinsong 2013-02-14 59 static inline void xen_acpi_sleep_register(void)
268a207563f933 Liu Jinsong 2013-02-14 60 {
068e0dc7b7c1db Konrad Rzeszutek Wilk 2013-05-14 61 if (xen_initial_domain()) {
268a207563f933 Liu Jinsong 2013-02-14 @62 acpi_os_set_prepare_sleep(
be6b25d15f5e67 Ben Guthro 2013-07-30 @63 &xen_acpi_notify_hypervisor_sleep);
be6b25d15f5e67 Ben Guthro 2013-07-30 @64 acpi_os_set_prepare_extended_sleep(
be6b25d15f5e67 Ben Guthro 2013-07-30 65 &xen_acpi_notify_hypervisor_extended_sleep);
068e0dc7b7c1db Konrad Rzeszutek Wilk 2013-05-14 66
068e0dc7b7c1db Konrad Rzeszutek Wilk 2013-05-14 67 acpi_suspend_lowlevel = xen_acpi_suspend_lowlevel;
068e0dc7b7c1db Konrad Rzeszutek Wilk 2013-05-14 68 }
268a207563f933 Liu Jinsong 2013-02-14 69 }
818bdd39dbd468 Jiqian Chen 2024-03-28 70 int xen_pvh_passthrough_gsi(struct pci_dev *dev);
268a207563f933 Liu Jinsong 2013-02-14 71 #else
268a207563f933 Liu Jinsong 2013-02-14 72 static inline void xen_acpi_sleep_register(void)
268a207563f933 Liu Jinsong 2013-02-14 73 {
268a207563f933 Liu Jinsong 2013-02-14 74 }
818bdd39dbd468 Jiqian Chen 2024-03-28 75
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-03-31 2:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-28 6:56 [RFC KERNEL PATCH v5 0/3] Support device passthrough when dom0 is PVH on Xen Jiqian Chen
2024-03-28 6:56 ` [KERNEL PATCH v5 1/3] xen/pci: Add xen_reset_device_state function Jiqian Chen
2024-03-28 6:56 ` [RFC KERNEL PATCH v5 2/3] xen/pvh: Setup gsi for passthrough device Jiqian Chen
2024-03-31 0:48 ` kernel test robot
2024-03-31 2:03 ` kernel test robot [this message]
2024-03-28 6:56 ` [RFC KERNEL PATCH v5 3/3] PCI/sysfs: Add gsi sysfs for pci_dev Jiqian Chen
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=202403310932.nmHEif4W-lkp@intel.com \
--to=lkp@intel.com \
--cc=Jiqian.Chen@amd.com \
--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.