From: kernel test robot <lkp@intel.com>
To: "David E. Box" <david.e.box@linux.intel.com>,
srinivas.pandruvada@linux.intel.com, irenic.rajneesh@gmail.com,
david.e.box@intel.com, hdegoede@redhat.com, markgross@kernel.org,
rjw@rjwysocki.net
Cc: oe-kbuild-all@lists.linux.dev,
platform-driver-x86@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] platform/x86/intel/pmc/mtl: Put GNA/IPU/VPU devices in D3
Date: Sat, 8 Apr 2023 12:19:35 +0800 [thread overview]
Message-ID: <202304081211.S3RRROve-lkp@intel.com> (raw)
In-Reply-To: <20230408022629.727721-1-david.e.box@linux.intel.com>
Hi David,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 4f59630a5ed0a4e7d275bd7e5d253a8f5a425c5a]
url: https://github.com/intel-lab-lkp/linux/commits/David-E-Box/platform-x86-intel-pmc-mtl-Put-GNA-IPU-VPU-devices-in-D3/20230408-102651
base: 4f59630a5ed0a4e7d275bd7e5d253a8f5a425c5a
patch link: https://lore.kernel.org/r/20230408022629.727721-1-david.e.box%40linux.intel.com
patch subject: [PATCH] platform/x86/intel/pmc/mtl: Put GNA/IPU/VPU devices in D3
config: x86_64-allmodconfig (https://download.01.org/0day-ci/archive/20230408/202304081211.S3RRROve-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
# https://github.com/intel-lab-lkp/linux/commit/04453d42ee1b0c97f9fa68644c6234f7b9e2d14a
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review David-E-Box/platform-x86-intel-pmc-mtl-Put-GNA-IPU-VPU-devices-in-D3/20230408-102651
git checkout 04453d42ee1b0c97f9fa68644c6234f7b9e2d14a
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 olddefconfig
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/platform/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202304081211.S3RRROve-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/platform/x86/intel/pmc/mtl.c:52:6: warning: no previous prototype for 'mtl_set_device_d3' [-Wmissing-prototypes]
52 | void mtl_set_device_d3(unsigned int device)
| ^~~~~~~~~~~~~~~~~
vim +/mtl_set_device_d3 +52 drivers/platform/x86/intel/pmc/mtl.c
48
49 #define MTL_GNA_PCI_DEV 0x7e4c
50 #define MTL_IPU_PCI_DEV 0x7d19
51 #define MTL_VPU_PCI_DEV 0x7d1d
> 52 void mtl_set_device_d3(unsigned int device)
53 {
54 struct pci_dev *pcidev;
55
56 pcidev = pci_get_device(PCI_VENDOR_ID_INTEL, device, NULL);
57 if (pcidev) {
58 if (!device_trylock(&pcidev->dev)) {
59 pci_dev_put(pcidev);
60 return;
61 }
62 if (!pcidev->dev.driver) {
63 dev_info(&pcidev->dev, "Setting to D3hot\n");
64 pci_set_power_state(pcidev, PCI_D3hot);
65 }
66 device_unlock(&pcidev->dev);
67 pci_dev_put(pcidev);
68 }
69 }
70
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
next prev parent reply other threads:[~2023-04-08 4:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-08 2:26 [PATCH] platform/x86/intel/pmc/mtl: Put GNA/IPU/VPU devices in D3 David E. Box
2023-04-08 4:19 ` kernel test robot [this message]
2023-04-08 5:31 ` kernel test robot
2023-04-08 8:57 ` Hans de Goede
2023-04-09 19:14 ` David E. Box
2023-04-08 11:50 ` kernel test robot
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=202304081211.S3RRROve-lkp@intel.com \
--to=lkp@intel.com \
--cc=david.e.box@intel.com \
--cc=david.e.box@linux.intel.com \
--cc=hdegoede@redhat.com \
--cc=irenic.rajneesh@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=markgross@kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=platform-driver-x86@vger.kernel.org \
--cc=rjw@rjwysocki.net \
--cc=srinivas.pandruvada@linux.intel.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox