From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [linux-next:master 3989/11541] drivers/gpu/drm/i915/i915_gem.c:1182:2: error: implicit declaration of function 'wbinvd_on_all_cpus'
Date: Tue, 16 Feb 2021 16:59:03 +0800 [thread overview]
Message-ID: <202102161656.YiegOO9e-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3045 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 52a0bcb60e40f30211cb5cbbb0f582ec4e91d896
commit: 30d2bfd093839cf6eef93f9c2cbdc347c7bf8b20 [3989/11541] drm/i915/gem: Almagamate clflushes on freeze
config: x86_64-randconfig-a002-20210215 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=30d2bfd093839cf6eef93f9c2cbdc347c7bf8b20
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 30d2bfd093839cf6eef93f9c2cbdc347c7bf8b20
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Note: the linux-next/master HEAD 52a0bcb60e40f30211cb5cbbb0f582ec4e91d896 builds fine.
It may have been fixed somewhere.
All errors (new ones prefixed by >>):
>> drivers/gpu/drm/i915/i915_gem.c:1182:2: error: implicit declaration of function 'wbinvd_on_all_cpus' [-Werror,-Wimplicit-function-declaration]
wbinvd_on_all_cpus();
^
1 error generated.
vim +/wbinvd_on_all_cpus +1182 drivers/gpu/drm/i915/i915_gem.c
1157
1158 int i915_gem_freeze_late(struct drm_i915_private *i915)
1159 {
1160 struct drm_i915_gem_object *obj;
1161 intel_wakeref_t wakeref;
1162
1163 /*
1164 * Called just before we write the hibernation image.
1165 *
1166 * We need to update the domain tracking to reflect that the CPU
1167 * will be accessing all the pages to create and restore from the
1168 * hibernation, and so upon restoration those pages will be in the
1169 * CPU domain.
1170 *
1171 * To make sure the hibernation image contains the latest state,
1172 * we update that state just before writing out the image.
1173 *
1174 * To try and reduce the hibernation image, we manually shrink
1175 * the objects as well, see i915_gem_freeze()
1176 */
1177
1178 with_intel_runtime_pm(&i915->runtime_pm, wakeref)
1179 i915_gem_shrink(i915, -1UL, NULL, ~0);
1180 i915_gem_drain_freed_objects(i915);
1181
> 1182 wbinvd_on_all_cpus();
1183 list_for_each_entry(obj, &i915->mm.shrink_list, mm.link)
1184 __start_cpu_write(obj);
1185
1186 return 0;
1187 }
1188
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 34713 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Chris Wilson <chris@chris-wilson.co.uk>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
Linux Memory Management List <linux-mm@kvack.org>,
Matthew Auld <matthew.auld@intel.com>
Subject: [linux-next:master 3989/11541] drivers/gpu/drm/i915/i915_gem.c:1182:2: error: implicit declaration of function 'wbinvd_on_all_cpus'
Date: Tue, 16 Feb 2021 16:59:03 +0800 [thread overview]
Message-ID: <202102161656.YiegOO9e-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2974 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 52a0bcb60e40f30211cb5cbbb0f582ec4e91d896
commit: 30d2bfd093839cf6eef93f9c2cbdc347c7bf8b20 [3989/11541] drm/i915/gem: Almagamate clflushes on freeze
config: x86_64-randconfig-a002-20210215 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=30d2bfd093839cf6eef93f9c2cbdc347c7bf8b20
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 30d2bfd093839cf6eef93f9c2cbdc347c7bf8b20
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Note: the linux-next/master HEAD 52a0bcb60e40f30211cb5cbbb0f582ec4e91d896 builds fine.
It may have been fixed somewhere.
All errors (new ones prefixed by >>):
>> drivers/gpu/drm/i915/i915_gem.c:1182:2: error: implicit declaration of function 'wbinvd_on_all_cpus' [-Werror,-Wimplicit-function-declaration]
wbinvd_on_all_cpus();
^
1 error generated.
vim +/wbinvd_on_all_cpus +1182 drivers/gpu/drm/i915/i915_gem.c
1157
1158 int i915_gem_freeze_late(struct drm_i915_private *i915)
1159 {
1160 struct drm_i915_gem_object *obj;
1161 intel_wakeref_t wakeref;
1162
1163 /*
1164 * Called just before we write the hibernation image.
1165 *
1166 * We need to update the domain tracking to reflect that the CPU
1167 * will be accessing all the pages to create and restore from the
1168 * hibernation, and so upon restoration those pages will be in the
1169 * CPU domain.
1170 *
1171 * To make sure the hibernation image contains the latest state,
1172 * we update that state just before writing out the image.
1173 *
1174 * To try and reduce the hibernation image, we manually shrink
1175 * the objects as well, see i915_gem_freeze()
1176 */
1177
1178 with_intel_runtime_pm(&i915->runtime_pm, wakeref)
1179 i915_gem_shrink(i915, -1UL, NULL, ~0);
1180 i915_gem_drain_freed_objects(i915);
1181
> 1182 wbinvd_on_all_cpus();
1183 list_for_each_entry(obj, &i915->mm.shrink_list, mm.link)
1184 __start_cpu_write(obj);
1185
1186 return 0;
1187 }
1188
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34713 bytes --]
next reply other threads:[~2021-02-16 8:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-16 8:59 kernel test robot [this message]
2021-02-16 8:59 ` [linux-next:master 3989/11541] drivers/gpu/drm/i915/i915_gem.c:1182:2: error: implicit declaration of function 'wbinvd_on_all_cpus' 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=202102161656.YiegOO9e-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/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.