From: kernel test robot <lkp@intel.com>
To: Maarten Lankhorst <dev@lankhorst.se>, intel-gfx@lists.freedesktop.org
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [i915-ci-only NO-REVIEW 24/25] PREEMPT_RT injection
Date: Thu, 26 Feb 2026 15:41:16 +0800 [thread overview]
Message-ID: <202602261547.3bM6yVAS-lkp@intel.com> (raw)
In-Reply-To: <20260225131931.60724-25-dev@lankhorst.se>
Hi Maarten,
kernel test robot noticed the following build errors:
[auto build test ERROR on drm-i915/for-linux-next]
[also build test ERROR on next-20260225]
[cannot apply to drm-i915/for-linux-next-fixes drm-misc/drm-misc-next drm-xe/drm-xe-next linus/master v7.0-rc1]
[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/Maarten-Lankhorst/drm-vblank_work-Add-methods-to-schedule-vblank_work-in-2-stages/20260226-012447
base: https://gitlab.freedesktop.org/drm/i915/kernel.git for-linux-next
patch link: https://lore.kernel.org/r/20260225131931.60724-25-dev%40lankhorst.se
patch subject: [i915-ci-only NO-REVIEW 24/25] PREEMPT_RT injection
config: arm64-randconfig-r123-20260226 (https://download.01.org/0day-ci/archive/20260226/202602261547.3bM6yVAS-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 9a109fbb6e184ec9bcce10615949f598f4c974a9)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260226/202602261547.3bM6yVAS-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/202602261547.3bM6yVAS-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/gpu/drm/ttm/tests/ttm_bo_test.c:225:13: error: incompatible pointer types passing 'struct rt_mutex *' to parameter of type 'struct mutex *' [-Wincompatible-pointer-types]
225 | mutex_lock(&bo->base.resv->lock.base);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/mutex.h:193:44: note: expanded from macro 'mutex_lock'
193 | #define mutex_lock(lock) mutex_lock_nested(lock, 0)
| ^~~~
include/linux/mutex.h:185:45: note: passing argument to parameter 'lock' here
185 | extern void mutex_lock_nested(struct mutex *lock, unsigned int subclass) __acquires(lock);
| ^
drivers/gpu/drm/ttm/tests/ttm_bo_test.c:231:15: error: incompatible pointer types passing 'struct rt_mutex *' to parameter of type 'struct mutex *' [-Wincompatible-pointer-types]
231 | mutex_unlock(&bo->base.resv->lock.base);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/mutex.h:249:40: note: passing argument to parameter 'lock' here
249 | extern void mutex_unlock(struct mutex *lock) __releases(lock);
| ^
2 errors generated.
vim +225 drivers/gpu/drm/ttm/tests/ttm_bo_test.c
995279d280d1ef Karolina Stolarek 2023-11-29 210
995279d280d1ef Karolina Stolarek 2023-11-29 211 static void ttm_bo_reserve_interrupted(struct kunit *test)
995279d280d1ef Karolina Stolarek 2023-11-29 212 {
995279d280d1ef Karolina Stolarek 2023-11-29 213 struct ttm_buffer_object *bo;
995279d280d1ef Karolina Stolarek 2023-11-29 214 struct task_struct *task;
995279d280d1ef Karolina Stolarek 2023-11-29 215 int err;
995279d280d1ef Karolina Stolarek 2023-11-29 216
588c4c8d58c413 Karolina Stolarek 2024-06-12 217 bo = ttm_bo_kunit_init(test, test->priv, BO_SIZE, NULL);
995279d280d1ef Karolina Stolarek 2023-11-29 218
995279d280d1ef Karolina Stolarek 2023-11-29 219 task = kthread_create(threaded_ttm_bo_reserve, bo, "ttm-bo-reserve");
995279d280d1ef Karolina Stolarek 2023-11-29 220
995279d280d1ef Karolina Stolarek 2023-11-29 221 if (IS_ERR(task))
995279d280d1ef Karolina Stolarek 2023-11-29 222 KUNIT_FAIL(test, "Couldn't create ttm bo reserve task\n");
995279d280d1ef Karolina Stolarek 2023-11-29 223
995279d280d1ef Karolina Stolarek 2023-11-29 224 /* Take a lock so the threaded reserve has to wait */
995279d280d1ef Karolina Stolarek 2023-11-29 @225 mutex_lock(&bo->base.resv->lock.base);
995279d280d1ef Karolina Stolarek 2023-11-29 226
995279d280d1ef Karolina Stolarek 2023-11-29 227 wake_up_process(task);
995279d280d1ef Karolina Stolarek 2023-11-29 228 msleep(20);
995279d280d1ef Karolina Stolarek 2023-11-29 229 err = kthread_stop(task);
995279d280d1ef Karolina Stolarek 2023-11-29 230
995279d280d1ef Karolina Stolarek 2023-11-29 231 mutex_unlock(&bo->base.resv->lock.base);
995279d280d1ef Karolina Stolarek 2023-11-29 232
995279d280d1ef Karolina Stolarek 2023-11-29 233 KUNIT_ASSERT_EQ(test, err, -ERESTARTSYS);
995279d280d1ef Karolina Stolarek 2023-11-29 234 }
995279d280d1ef Karolina Stolarek 2023-11-29 235 #endif /* IS_BUILTIN(CONFIG_DRM_TTM_KUNIT_TEST) */
995279d280d1ef Karolina Stolarek 2023-11-29 236
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2026-02-26 7:42 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-25 13:19 [i915-ci-only NO-REVIEW 00/25] Test PREEMPT_RT on i915 with selftest fix Maarten Lankhorst
2026-02-25 13:19 ` [i915-ci-only NO-REVIEW 01/25] drm/vblank_work: Add methods to schedule vblank_work in 2 stages Maarten Lankhorst
2026-02-25 13:19 ` [i915-ci-only NO-REVIEW 02/25] drm/vblank: Add a 2-stage version of drm_crtc_arm_vblank_event Maarten Lankhorst
2026-02-25 13:19 ` [i915-ci-only NO-REVIEW 03/25] drm/intel/display: Make intel_crtc_arm_vblank_event static Maarten Lankhorst
2026-02-25 13:19 ` [i915-ci-only NO-REVIEW 04/25] drm/intel/display: Convert vblank event handling to 2-stage arming Maarten Lankhorst
2026-02-25 13:19 ` [i915-ci-only NO-REVIEW 05/25] drm/i915/display: Move vblank put until after critical section Maarten Lankhorst
2026-02-25 13:19 ` [i915-ci-only NO-REVIEW 06/25] drm/i915/display: Remove locking from intel_vblank_evade " Maarten Lankhorst
2026-02-25 13:19 ` [i915-ci-only NO-REVIEW 07/25] drm/i915/display: Handle vlv dsi workaround in scanline_in_safe_range too Maarten Lankhorst
2026-02-25 13:19 ` [i915-ci-only NO-REVIEW 08/25] drm/i915: Use preempt_disable/enable_rt() where recommended Maarten Lankhorst
2026-02-25 13:19 ` [i915-ci-only NO-REVIEW 09/25] drm/i915/display: Make get_vblank_counter use intel_de_read_fw() Maarten Lankhorst
2026-02-25 13:19 ` [i915-ci-only NO-REVIEW 10/25] drm/i915/display: Do not take uncore lock in i915_get_vblank_counter Maarten Lankhorst
2026-02-25 13:19 ` [i915-ci-only NO-REVIEW 11/25] drm/i915/display: Make icl_dsi_frame_update use _fw too Maarten Lankhorst
2026-02-25 13:19 ` [i915-ci-only NO-REVIEW 12/25] drm/i915/display: Use intel_de_read/write_fw in colorops Maarten Lankhorst
2026-02-25 13:19 ` [i915-ci-only NO-REVIEW 13/25] drm/i915/display: Use intel_de_write_fw in intel_pipe_fastset Maarten Lankhorst
2026-02-25 13:19 ` [i915-ci-only NO-REVIEW 14/25] drm/i915/display: Make set_pipeconf use the fw variants Maarten Lankhorst
2026-02-25 13:19 ` [i915-ci-only NO-REVIEW 15/25] drm/i915/display: Fix intel_lpe_audio_irq_handler for PREEMPT-RT Maarten Lankhorst
2026-02-25 13:19 ` [i915-ci-only NO-REVIEW 16/25] drm/i915/gt: Use spin_lock_irq() instead of local_irq_disable() + spin_lock() Maarten Lankhorst
2026-02-25 13:19 ` [i915-ci-only NO-REVIEW 17/25] drm/i915: Drop the irqs_disabled() check Maarten Lankhorst
2026-02-25 13:19 ` [i915-ci-only NO-REVIEW 18/25] drm/i915/guc: Consider also RCU depth in busy loop Maarten Lankhorst
2026-02-25 13:19 ` [i915-ci-only NO-REVIEW 19/25] drm/i915/gt: Fix selftests on PREEMPT_RT Maarten Lankhorst
2026-02-25 13:19 ` [i915-ci-only NO-REVIEW 20/25] drm/i915/gt: Set stop_timeout() correctly on PREEMPT-RT Maarten Lankhorst
2026-02-25 13:19 ` [i915-ci-only NO-REVIEW 21/25] drm/i915/display: Remove uncore lock from vlv_atomic_update_fifo Maarten Lankhorst
2026-02-25 13:19 ` [i915-ci-only NO-REVIEW 22/25] drm/i915: Use sleeping selftests for igt_atomic on PREEMPT_RT Maarten Lankhorst
2026-02-25 13:19 ` [i915-ci-only NO-REVIEW 23/25] Revert "drm/i915: Depend on !PREEMPT_RT." Maarten Lankhorst
2026-02-25 13:19 ` [i915-ci-only NO-REVIEW 24/25] PREEMPT_RT injection Maarten Lankhorst
2026-02-25 21:15 ` kernel test robot
2026-02-25 21:26 ` kernel test robot
2026-02-26 7:41 ` kernel test robot [this message]
2026-02-28 1:57 ` kernel test robot
2026-02-25 13:19 ` [i915-ci-only NO-REVIEW 25/25] FOR-CI: bump MAX_STACK_TRACE_ENTRIES Maarten Lankhorst
2026-02-25 16:38 ` ✗ i915.CI.BAT: failure for Test PREEMPT_RT on i915 with selftest fix Patchwork
-- strict thread matches above, loose matches on Subject: below --
2026-02-26 1:33 [i915-ci-only NO-REVIEW 24/25] PREEMPT_RT injection kernel test robot
2026-02-26 3:26 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=202602261547.3bM6yVAS-lkp@intel.com \
--to=lkp@intel.com \
--cc=dev@lankhorst.se \
--cc=intel-gfx@lists.freedesktop.org \
--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.