All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Chris Wilson <chris@chris-wilson.co.uk>, intel-gfx@lists.freedesktop.org
Cc: clang-built-linux@googlegroups.com, kbuild-all@lists.01.org,
	Chris Wilson <chris@chris-wilson.co.uk>
Subject: Re: [Intel-gfx] [PATCH 2/2] drm/i915/gem: Almagamate clflushes on freeze
Date: Tue, 5 Jan 2021 04:34:56 +0800	[thread overview]
Message-ID: <202101050439.J6ElV7zv-lkp@intel.com> (raw)
In-Reply-To: <20210104140135.26285-2-chris@chris-wilson.co.uk>

[-- Attachment #1: Type: text/plain, Size: 3159 bytes --]

Hi Chris,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on drm-tip/drm-tip v5.11-rc2 next-20210104]
[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]

url:    https://github.com/0day-ci/linux/commits/Chris-Wilson/drm-i915-gem-Almagamate-clflushes-on-suspend/20210104-220329
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-randconfig-a004-20210105 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 98cd1c33e3c2c3cfee36fb0fea3285fda06224d3)
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://github.com/0day-ci/linux/commit/54314b2c3991bf37b7a6bf3b35eee4179a5e908a
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Chris-Wilson/drm-i915-gem-Almagamate-clflushes-on-suspend/20210104-220329
        git checkout 54314b2c3991bf37b7a6bf3b35eee4179a5e908a
        # 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>

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/i915/i915_gem.c:1286: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 +1286 drivers/gpu/drm/i915/i915_gem.c

  1261	
  1262	int i915_gem_freeze_late(struct drm_i915_private *i915)
  1263	{
  1264		struct drm_i915_gem_object *obj;
  1265		intel_wakeref_t wakeref;
  1266	
  1267		/*
  1268		 * Called just before we write the hibernation image.
  1269		 *
  1270		 * We need to update the domain tracking to reflect that the CPU
  1271		 * will be accessing all the pages to create and restore from the
  1272		 * hibernation, and so upon restoration those pages will be in the
  1273		 * CPU domain.
  1274		 *
  1275		 * To make sure the hibernation image contains the latest state,
  1276		 * we update that state just before writing out the image.
  1277		 *
  1278		 * To try and reduce the hibernation image, we manually shrink
  1279		 * the objects as well, see i915_gem_freeze()
  1280		 */
  1281	
  1282		with_intel_runtime_pm(&i915->runtime_pm, wakeref)
  1283			i915_gem_shrink(i915, -1UL, NULL, ~0);
  1284		i915_gem_drain_freed_objects(i915);
  1285	
> 1286		wbinvd_on_all_cpus();
  1287		list_for_each_entry(obj, &i915->mm.shrink_list, mm.link)
  1288			__start_cpu_write(obj);
  1289	
  1290		return 0;
  1291	}
  1292	

---
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: 35304 bytes --]

[-- Attachment #3: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [Intel-gfx] [PATCH 2/2] drm/i915/gem: Almagamate clflushes on freeze
Date: Tue, 05 Jan 2021 04:34:56 +0800	[thread overview]
Message-ID: <202101050439.J6ElV7zv-lkp@intel.com> (raw)
In-Reply-To: <20210104140135.26285-2-chris@chris-wilson.co.uk>

[-- Attachment #1: Type: text/plain, Size: 3236 bytes --]

Hi Chris,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on drm-tip/drm-tip v5.11-rc2 next-20210104]
[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]

url:    https://github.com/0day-ci/linux/commits/Chris-Wilson/drm-i915-gem-Almagamate-clflushes-on-suspend/20210104-220329
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-randconfig-a004-20210105 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 98cd1c33e3c2c3cfee36fb0fea3285fda06224d3)
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://github.com/0day-ci/linux/commit/54314b2c3991bf37b7a6bf3b35eee4179a5e908a
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Chris-Wilson/drm-i915-gem-Almagamate-clflushes-on-suspend/20210104-220329
        git checkout 54314b2c3991bf37b7a6bf3b35eee4179a5e908a
        # 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>

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/i915/i915_gem.c:1286: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 +1286 drivers/gpu/drm/i915/i915_gem.c

  1261	
  1262	int i915_gem_freeze_late(struct drm_i915_private *i915)
  1263	{
  1264		struct drm_i915_gem_object *obj;
  1265		intel_wakeref_t wakeref;
  1266	
  1267		/*
  1268		 * Called just before we write the hibernation image.
  1269		 *
  1270		 * We need to update the domain tracking to reflect that the CPU
  1271		 * will be accessing all the pages to create and restore from the
  1272		 * hibernation, and so upon restoration those pages will be in the
  1273		 * CPU domain.
  1274		 *
  1275		 * To make sure the hibernation image contains the latest state,
  1276		 * we update that state just before writing out the image.
  1277		 *
  1278		 * To try and reduce the hibernation image, we manually shrink
  1279		 * the objects as well, see i915_gem_freeze()
  1280		 */
  1281	
  1282		with_intel_runtime_pm(&i915->runtime_pm, wakeref)
  1283			i915_gem_shrink(i915, -1UL, NULL, ~0);
  1284		i915_gem_drain_freed_objects(i915);
  1285	
> 1286		wbinvd_on_all_cpus();
  1287		list_for_each_entry(obj, &i915->mm.shrink_list, mm.link)
  1288			__start_cpu_write(obj);
  1289	
  1290		return 0;
  1291	}
  1292	

---
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: 35304 bytes --]

  reply	other threads:[~2021-01-04 20:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-04 14:01 [Intel-gfx] [PATCH 1/2] drm/i915/gem: Almagamate clflushes on suspend Chris Wilson
2021-01-04 14:01 ` [Intel-gfx] [PATCH 2/2] drm/i915/gem: Almagamate clflushes on freeze Chris Wilson
2021-01-04 20:34   ` kernel test robot [this message]
2021-01-04 20:34     ` kernel test robot
2021-01-04 17:04 ` [Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [1/2] drm/i915/gem: Almagamate clflushes on suspend Patchwork
2021-01-04 19:43 ` [Intel-gfx] [PATCH 1/2] " kernel test robot
2021-01-04 19:43   ` kernel test robot
2021-01-04 20:19 ` [Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [1/2] " Patchwork

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=202101050439.J6ElV7zv-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=chris@chris-wilson.co.uk \
    --cc=clang-built-linux@googlegroups.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --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.