All of lore.kernel.org
 help / color / mirror / Atom feed
* [i915-ci-only NO-REVIEW 00/25] Test PREEMPT_RT on i915 with selftest fix.
@ 2026-02-25 13:19 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
                   ` (25 more replies)
  0 siblings, 26 replies; 33+ messages in thread
From: Maarten Lankhorst @ 2026-02-25 13:19 UTC (permalink / raw)
  To: intel-gfx

This is PURELY a CI run. I want to see what happens if I change
the igt_atomic selftests to use a sleeping context instead. I do
believe that there should be no functional change, and it's not
necessary to convert the uncore lock to a raw spinlock.

I hope I'm right!

Maarten Lankhorst (20):
  drm/vblank_work: Add methods to schedule vblank_work in 2 stages
  drm/vblank: Add a 2-stage version of drm_crtc_arm_vblank_event
  drm/intel/display: Make intel_crtc_arm_vblank_event static
  drm/intel/display: Convert vblank event handling to 2-stage arming
  drm/i915/display: Move vblank put until after critical section
  drm/i915/display: Remove locking from intel_vblank_evade critical
    section
  drm/i915/display: Handle vlv dsi workaround in scanline_in_safe_range
    too
  drm/i915/display: Make get_vblank_counter use intel_de_read_fw()
  drm/i915/display: Do not take uncore lock in i915_get_vblank_counter
  drm/i915/display: Make icl_dsi_frame_update use _fw too
  drm/i915/display: Use intel_de_read/write_fw in colorops
  drm/i915/display: Use intel_de_write_fw in intel_pipe_fastset
  drm/i915/display: Make set_pipeconf use the fw variants
  drm/i915/display: Fix intel_lpe_audio_irq_handler for PREEMPT-RT
  drm/i915/gt: Fix selftests on PREEMPT_RT
  drm/i915/gt: Set stop_timeout() correctly on PREEMPT-RT
  drm/i915/display: Remove uncore lock from vlv_atomic_update_fifo
  drm/i915: Use sleeping selftests for igt_atomic on PREEMPT_RT
  PREEMPT_RT injection
  FOR-CI: bump MAX_STACK_TRACE_ENTRIES

Mike Galbraith (1):
  drm/i915: Use preempt_disable/enable_rt() where recommended

Sebastian Andrzej Siewior (4):
  drm/i915/gt: Use spin_lock_irq() instead of local_irq_disable() +
    spin_lock()
  drm/i915: Drop the irqs_disabled() check
  drm/i915/guc: Consider also RCU depth in busy loop.
  Revert "drm/i915: Depend on !PREEMPT_RT."

 drivers/gpu/drm/drm_vblank.c                  |  61 +++++++++-
 drivers/gpu/drm/drm_vblank_work.c             | 106 ++++++++++++----
 drivers/gpu/drm/i915/Kconfig                  |   1 -
 drivers/gpu/drm/i915/Kconfig.debug            |  15 ---
 drivers/gpu/drm/i915/display/i9xx_wm.c        |   4 -
 drivers/gpu/drm/i915/display/icl_dsi.c        |   4 +-
 drivers/gpu/drm/i915/display/intel_color.c    |   6 +-
 drivers/gpu/drm/i915/display/intel_crtc.c     |  86 ++++++-------
 drivers/gpu/drm/i915/display/intel_crtc.h     |   1 -
 drivers/gpu/drm/i915/display/intel_cursor.c   |   8 +-
 drivers/gpu/drm/i915/display/intel_de.h       |   8 ++
 drivers/gpu/drm/i915/display/intel_display.c  |  46 +++----
 .../gpu/drm/i915/display/intel_lpe_audio.c    |   2 +-
 drivers/gpu/drm/i915/display/intel_vblank.c   | 115 ++++++++++--------
 drivers/gpu/drm/i915/display/intel_vblank.h   |   1 +
 drivers/gpu/drm/i915/display/intel_vrr.c      |  18 +--
 drivers/gpu/drm/i915/gt/intel_engine_cs.c     |   2 +-
 .../drm/i915/gt/intel_execlists_submission.c  |  17 +--
 drivers/gpu/drm/i915/gt/selftest_engine_pm.c  |   8 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc.h        |   2 +-
 drivers/gpu/drm/i915/i915_request.c           |   2 -
 drivers/gpu/drm/i915/intel_uncore.h           |  26 ++--
 drivers/gpu/drm/i915/selftests/igt_atomic.c   |   7 ++
 drivers/gpu/drm/xe/Kconfig.debug              |   5 +
 .../drm/xe/compat-i915-headers/intel_uncore.h |   7 ++
 include/drm/drm_vblank.h                      |  14 ++-
 include/drm/drm_vblank_work.h                 |  12 ++
 kernel/Kconfig.preempt                        |   4 +-
 lib/Kconfig.debug                             |   4 +-
 29 files changed, 383 insertions(+), 209 deletions(-)

-- 
2.51.0


^ permalink raw reply	[flat|nested] 33+ messages in thread
* Re: [i915-ci-only NO-REVIEW 24/25] PREEMPT_RT injection
@ 2026-02-26  1:33 kernel test robot
  0 siblings, 0 replies; 33+ messages in thread
From: kernel test robot @ 2026-02-26  1:33 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "low confidence static check first_new_problem: arch/riscv/include/asm/atomic.h:74:1: sparse: sparse: constant integer operation overflow"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20260225131931.60724-25-dev@lankhorst.se>
References: <20260225131931.60724-25-dev@lankhorst.se>
TO: Maarten Lankhorst <dev@lankhorst.se>
TO: intel-gfx@lists.freedesktop.org

Hi Maarten,

kernel test robot noticed the following build warnings:

[auto build test WARNING on drm-i915/for-linux-next]
[also build test WARNING 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
:::::: branch date: 8 hours ago
:::::: commit date: 8 hours ago
config: riscv-randconfig-r131-20260226 (https://download.01.org/0day-ci/archive/20260226/202602260953.fsEEuYsa-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 10.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260226/202602260953.fsEEuYsa-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/r/202602260953.fsEEuYsa-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
   kernel/locking/rwsem.c: note: in included file (through include/linux/atomic.h, include/linux/llist.h, include/linux/smp_types.h, ...):
>> arch/riscv/include/asm/atomic.h:74:1: sparse: sparse: constant integer operation overflow
>> arch/riscv/include/asm/atomic.h:74:1: sparse: sparse: constant integer operation overflow
--
   kernel/locking/spinlock_rt.c: note: in included file (through include/linux/atomic.h, include/linux/cpumask.h, include/linux/smp.h, ...):
>> arch/riscv/include/asm/atomic.h:74:1: sparse: sparse: constant integer operation overflow
>> arch/riscv/include/asm/atomic.h:74:1: sparse: sparse: constant integer operation overflow

vim +74 arch/riscv/include/asm/atomic.h

fab957c11efe2f Palmer Dabbelt 2017-07-10  72  
4650d02ad2d9b2 Palmer Dabbelt 2017-11-14  73  ATOMIC_OPS(add, add,  i)
4650d02ad2d9b2 Palmer Dabbelt 2017-11-14 @74  ATOMIC_OPS(sub, add, -i)
4650d02ad2d9b2 Palmer Dabbelt 2017-11-14  75  ATOMIC_OPS(and, and,  i)
4650d02ad2d9b2 Palmer Dabbelt 2017-11-14  76  ATOMIC_OPS( or,  or,  i)
4650d02ad2d9b2 Palmer Dabbelt 2017-11-14  77  ATOMIC_OPS(xor, xor,  i)
fab957c11efe2f Palmer Dabbelt 2017-07-10  78  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 33+ messages in thread
* Re: [i915-ci-only NO-REVIEW 24/25] PREEMPT_RT injection
@ 2026-02-26  3:26 kernel test robot
  0 siblings, 0 replies; 33+ messages in thread
From: kernel test robot @ 2026-02-26  3:26 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "low confidence static check first_new_problem: arch/loongarch/include/asm/atomic-amo.h:61:1: sparse: sparse: constant integer operation overflow"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20260225131931.60724-25-dev@lankhorst.se>
References: <20260225131931.60724-25-dev@lankhorst.se>
TO: Maarten Lankhorst <dev@lankhorst.se>
TO: intel-gfx@lists.freedesktop.org

Hi Maarten,

kernel test robot noticed the following build warnings:

[auto build test WARNING on drm-i915/for-linux-next]
[also build test WARNING 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
:::::: branch date: 10 hours ago
:::::: commit date: 10 hours ago
config: loongarch-randconfig-r132-20260226 (https://download.01.org/0day-ci/archive/20260226/202602261133.iUrP8Wec-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 12.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260226/202602261133.iUrP8Wec-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/r/202602261133.iUrP8Wec-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
   kernel/locking/rwsem.c: note: in included file (through arch/loongarch/include/asm/atomic.h, include/linux/atomic.h, include/asm-generic/bitops/atomic.h, ...):
>> arch/loongarch/include/asm/atomic-amo.h:61:1: sparse: sparse: constant integer operation overflow
>> arch/loongarch/include/asm/atomic-amo.h:61:1: sparse: sparse: constant integer operation overflow
--
   kernel/locking/spinlock_rt.c: note: in included file (through arch/loongarch/include/asm/atomic.h, include/linux/atomic.h, include/asm-generic/bitops/atomic.h, ...):
>> arch/loongarch/include/asm/atomic-amo.h:61:1: sparse: sparse: constant integer operation overflow
>> arch/loongarch/include/asm/atomic-amo.h:61:1: sparse: sparse: constant integer operation overflow

vim +61 arch/loongarch/include/asm/atomic-amo.h

79974cc3ba45f3 Huacai Chen 2025-12-06  52  
79974cc3ba45f3 Huacai Chen 2025-12-06  53  #define ATOMIC_OPS(op, I, asm_op, c_op)					\
79974cc3ba45f3 Huacai Chen 2025-12-06  54  	ATOMIC_OP(op, I, asm_op)					\
79974cc3ba45f3 Huacai Chen 2025-12-06  55  	ATOMIC_OP_RETURN(op, I, asm_op, c_op, _db,         )		\
79974cc3ba45f3 Huacai Chen 2025-12-06  56  	ATOMIC_OP_RETURN(op, I, asm_op, c_op,    , _relaxed)		\
79974cc3ba45f3 Huacai Chen 2025-12-06  57  	ATOMIC_FETCH_OP(op, I, asm_op, _db,         )			\
79974cc3ba45f3 Huacai Chen 2025-12-06  58  	ATOMIC_FETCH_OP(op, I, asm_op,    , _relaxed)
79974cc3ba45f3 Huacai Chen 2025-12-06  59  
79974cc3ba45f3 Huacai Chen 2025-12-06  60  ATOMIC_OPS(add, i, add, +)
79974cc3ba45f3 Huacai Chen 2025-12-06 @61  ATOMIC_OPS(sub, -i, add, +)
79974cc3ba45f3 Huacai Chen 2025-12-06  62  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2026-02-28  1:57 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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.