mirror-linux/drivers/gpu/drm/i915
Linus Torvalds 9ea925c806 Updates for timers and timekeeping:
- Core:
 
 	- Overhaul of posix-timers in preparation of removing the
 	  workaround for periodic timers which have signal delivery
 	  ignored.
 
         - Remove the historical extra jiffie in msleep()
 
 	  msleep() adds an extra jiffie to the timeout value to ensure
 	  minimal sleep time. The timer wheel ensures minimal sleep
 	  time since the large rewrite to a non-cascading wheel, but the
 	  extra jiffie in msleep() remained unnoticed. Remove it.
 
         - Make the timer slack handling correct for realtime tasks.
 
 	  The procfs interface is inconsistent and does neither reflect
 	  reality nor conforms to the man page. Show the correct 0 slack
 	  for real time tasks and enforce it at the core level instead of
 	  having inconsistent individual checks in various timer setup
 	  functions.
 
         - The usual set of updates and enhancements all over the place.
 
   - Drivers:
 
         - Allow the ACPI PM timer to be turned off during suspend
 
 	- No new drivers
 
 	- The usual updates and enhancements in various drivers
 -----BEGIN PGP SIGNATURE-----
 
 iQJHBAABCgAxFiEEQp8+kY+LLUocC4bMphj1TA10mKEFAmbn7jQTHHRnbHhAbGlu
 dXRyb25peC5kZQAKCRCmGPVMDXSYobqnD/9COlU0nwsulABI/aNIrsh6iYvnCC9v
 14CcNta7Qn+157Wfw9BWOyHdNhR1/fPCXE8jJ71zTyIOeW27HV2JyTtxTwe9ZcdK
 ViHAaj7YcIjcVUEC3StCoRCPnvLslEw4qJA5AOQuDyMivdQn+YVa2c0baJxKaXZt
 xk4HZdMj4NAS0jRKnoZSwtKW/+Oz6rR4GAWrZo+Zs1/8ur3HfqnQfi8lJ1hJtLLW
 V7XDCVRvamVi6Ah3ocYPPp/1P6yeQDA1ge9aMddqaza5STWISXRtSnFMUmYP3rbS
 FaL8TyL+ilfny8pkGB2WlG6nLuSbtvogtdEh1gG1k1RmZt44kAtk8ba/KiWFPBSb
 zK9cjojRMBS71f9G4kmb5F4rnXoLsg1YbD1Nzhz3wq2Cs1Z90dc2QwMren0zoQ1x
 Fn56ueRyAiagBlnrSaKyso/2RvqJTNoSdi3RkpjYeAph0UoDCqvTvKjGAf1mWiw1
 T/1lUWSVqWHnzZbM7XXzzajIN9bl6A7bbqlcAJ2O9vZIDt7273DG+bQym9Vh6Why
 0LTGGERHxzKBsG7WRg+2Gmvv6S18UPKRo8tLtlA758rHlFuPTZCShWrIriwSNl1K
 Hxon+d4BparSnm1h9W/NHPKJA574UbWRCBjdk58IkAj8DxZZY4ORD9SMP+ggkV7G
 F6p9cgoDNP9KFg==
 =jE0N
 -----END PGP SIGNATURE-----

Merge tag 'timers-core-2024-09-16' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull timer updates from Thomas Gleixner:
 "Core:

   - Overhaul of posix-timers in preparation of removing the workaround
     for periodic timers which have signal delivery ignored.

   - Remove the historical extra jiffie in msleep()

     msleep() adds an extra jiffie to the timeout value to ensure
     minimal sleep time. The timer wheel ensures minimal sleep time
     since the large rewrite to a non-cascading wheel, but the extra
     jiffie in msleep() remained unnoticed. Remove it.

   - Make the timer slack handling correct for realtime tasks.

     The procfs interface is inconsistent and does neither reflect
     reality nor conforms to the man page. Show the correct 0 slack for
     real time tasks and enforce it at the core level instead of having
     inconsistent individual checks in various timer setup functions.

   - The usual set of updates and enhancements all over the place.

  Drivers:

   - Allow the ACPI PM timer to be turned off during suspend

   - No new drivers

   - The usual updates and enhancements in various drivers"

* tag 'timers-core-2024-09-16' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (43 commits)
  ntp: Make sure RTC is synchronized when time goes backwards
  treewide: Fix wrong singular form of jiffies in comments
  cpu: Use already existing usleep_range()
  timers: Rename next_expiry_recalc() to be unique
  platform/x86:intel/pmc: Fix comment for the pmc_core_acpi_pm_timer_suspend_resume function
  clocksource/drivers/jcore: Use request_percpu_irq()
  clocksource/drivers/cadence-ttc: Add missing clk_disable_unprepare in ttc_setup_clockevent
  clocksource/drivers/asm9260: Add missing clk_disable_unprepare in asm9260_timer_init
  clocksource/drivers/qcom: Add missing iounmap() on errors in msm_dt_timer_init()
  clocksource/drivers/ingenic: Use devm_clk_get_enabled() helpers
  platform/x86:intel/pmc: Enable the ACPI PM Timer to be turned off when suspended
  clocksource: acpi_pm: Add external callback for suspend/resume
  clocksource/drivers/arm_arch_timer: Using for_each_available_child_of_node_scoped()
  dt-bindings: timer: rockchip: Add rk3576 compatible
  timers: Annotate possible non critical data race of next_expiry
  timers: Remove historical extra jiffie for timeout in msleep()
  hrtimer: Use and report correct timerslack values for realtime tasks
  hrtimer: Annotate hrtimer_cpu_base_.*_expiry() for sparse.
  timers: Add sparse annotation for timer_sync_wait_running().
  signal: Replace BUG_ON()s
  ...
2024-09-17 07:25:37 +02:00
..
display drm/i915/display: Increase Fast Wake Sync length as a quirk 2024-09-03 10:22:39 +03:00
gem Updates for timers and timekeeping: 2024-09-17 07:25:37 +02:00
gt Updates for timers and timekeeping: 2024-09-17 07:25:37 +02:00
gvt Merge tag 'drm-intel-next-2024-06-19' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-next 2024-06-21 13:11:24 +10:00
pxp drm: move i915_pxp_tee_interface.h under include/drm/intel 2024-05-31 16:11:25 +03:00
selftests Merge drm/drm-next into drm-intel-gt-next 2024-05-16 07:33:01 +00:00
soc drm/i915: move comments about FSB straps to proper place 2024-06-17 11:54:31 +03:00
.gitignore
Kconfig Merge drm/drm-next into drm-intel-next 2024-06-19 11:38:31 +03:00
Kconfig.debug drm/i915: Support replaying GPU hangs with captured context image 2024-05-16 07:37:05 +00:00
Kconfig.profile
Makefile Merge drm/drm-next into drm-intel-next 2024-06-19 11:38:31 +03:00
TODO.txt
i915_active.c
i915_active.h
i915_active_types.h
i915_cmd_parser.c
i915_cmd_parser.h
i915_config.c
i915_config.h
i915_debugfs.c drm/i915: fix build with missing debugfs includes 2024-04-26 13:54:37 +10:00
i915_debugfs.h
i915_debugfs_params.c drm/i915: fix build with missing debugfs includes 2024-04-26 13:54:37 +10:00
i915_debugfs_params.h
i915_deps.c
i915_deps.h
i915_driver.c fs: move FMODE_UNSIGNED_OFFSET to fop_flags 2024-08-30 08:22:36 +02:00
i915_driver.h
i915_drm_client.c drm/i915: Update shared stats to use the new gem helper 2024-02-16 12:52:50 +01:00
i915_drm_client.h drm/i915: remove i915_drm_client::id 2024-02-19 15:35:23 -05:00
i915_drv.h drm/i915: ARL requires a newer GSC firmware 2024-08-27 13:23:58 +03:00
i915_file_private.h
i915_gem.c Merge tag 'drm-intel-gt-next-2024-02-15' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2024-02-16 11:19:15 +10:00
i915_gem.h
i915_gem_evict.c
i915_gem_evict.h
i915_gem_gtt.c
i915_gem_gtt.h
i915_gem_ww.c
i915_gem_ww.h
i915_getparam.c Merge tag 'drm-intel-gt-next-2024-04-26' of https://anongit.freedesktop.org/git/drm/drm-intel into drm-next 2024-04-30 14:40:43 +10:00
i915_getparam.h
i915_gpu_error.c drm/i915/overlay: convert intel_overlay_print_error_state() to drm_printer 2024-06-07 10:06:26 +03:00
i915_gpu_error.h
i915_hwmon.c UAPI Changes: 2024-04-24 10:51:29 +10:00
i915_hwmon.h
i915_ioc32.c
i915_ioc32.h
i915_ioctl.c
i915_ioctl.h
i915_iosf_mbi.h
i915_irq.c drm/i915: pass dev_priv explicitly to PORT_HOTPLUG_STAT 2024-06-07 11:13:17 +03:00
i915_irq.h
i915_memcpy.c drm/i915: Add includes for BUG_ON/BUILD_BUG_ON in i915_memcpy.c 2024-03-28 10:42:46 -04:00
i915_memcpy.h
i915_mitigations.c
i915_mitigations.h
i915_mm.c
i915_mm.h
i915_module.c
i915_params.c drm/i915: Support replaying GPU hangs with captured context image 2024-05-16 07:37:05 +00:00
i915_params.h drm/i915: Support replaying GPU hangs with captured context image 2024-05-16 07:37:05 +00:00
i915_pci.c Merge tag 'drm-intel-gt-next-2024-06-12' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-next 2024-06-27 17:21:44 +10:00
i915_pci.h
i915_perf.c i915/perf: Remove code to update PWR_CLK_STATE for gen12 2024-07-29 15:14:21 +03:00
i915_perf.h
i915_perf_oa_regs.h
i915_perf_types.h drm/i915: remove i915_perf_stream::size_exponent 2024-02-19 15:35:30 -05:00
i915_pmu.c
i915_pmu.h
i915_priolist_types.h
i915_pvinfo.h
i915_query.c drm/i915: Update IP_VER(12, 50) 2024-03-22 14:14:52 -07:00
i915_query.h
i915_reg.h drm/i915: Enable plane/pipeDMC ATS fault interrupts on mtl 2024-06-19 20:06:12 +03:00
i915_reg_defs.h
i915_request.c drm/i915: remove execute_cb::signal 2024-02-19 15:36:28 -05:00
i915_request.h
i915_scatterlist.c drm/i915/gem: Suppress oom warning in favour of ENOMEM to userspace 2024-06-28 00:11:01 +02:00
i915_scatterlist.h
i915_scheduler.c
i915_scheduler.h
i915_scheduler_types.h
i915_selftest.h
i915_suspend.c drm/i915: pass dev_priv explicitly to SWF3 2024-06-07 11:28:55 +03:00
i915_suspend.h
i915_sw_fence.c drm/i915/fence: Mark debug_fence_free() with __maybe_unused 2024-09-02 13:25:31 +03:00
i915_sw_fence.h
i915_sw_fence_work.c
i915_sw_fence_work.h
i915_switcheroo.c
i915_switcheroo.h
i915_syncmap.c drm/i915: Add flex arrays to struct i915_syncmap 2024-02-12 11:59:37 +00:00
i915_syncmap.h
i915_sysfs.c
i915_sysfs.h
i915_tasklet.h
i915_trace.h
i915_trace_points.c
i915_ttm_buddy_manager.c drm/buddy: Implement tracking clear page feature 2024-04-22 19:44:16 +02:00
i915_ttm_buddy_manager.h
i915_user_extensions.c
i915_user_extensions.h
i915_utils.c treewide: Fix wrong singular form of jiffies in comments 2024-09-08 20:47:40 +02:00
i915_utils.h drm/i915: use check_add_overflow() and drop local variants 2024-04-09 11:49:32 +03:00
i915_vgpu.c
i915_vgpu.h
i915_vma.c drm/i915/vma: Fix UAF on destroy against retire race 2024-03-28 12:16:16 -04:00
i915_vma.h
i915_vma_resource.c
i915_vma_resource.h
i915_vma_types.h drm/i915: remove i915_vma::obj_hash 2024-02-19 15:36:34 -05:00
intel_clock_gating.c drm/i915: reduce includes in intel_clock_gating.c 2024-05-31 15:51:26 +03:00
intel_clock_gating.h
intel_device_info.c drm/i915: ARL requires a newer GSC firmware 2024-08-27 13:23:58 +03:00
intel_device_info.h drm/i915: ARL requires a newer GSC firmware 2024-08-27 13:23:58 +03:00
intel_gvt.c fix missing vmalloc.h includes 2024-04-25 20:55:49 -07:00
intel_gvt.h
intel_gvt_mmio_table.c drm/i915: pass dev_priv explicitly to PIPE_LINK_N2 2024-06-07 11:29:02 +03:00
intel_mchbar_regs.h
intel_memory_region.c drm/i915: Allow NULL memory region 2024-07-23 09:34:13 +00:00
intel_memory_region.h Merge drm/drm-next into drm-intel-gt-next 2024-05-16 07:33:01 +00:00
intel_pci_config.h drm: move i915_drm.h under include/drm/intel 2024-05-31 16:11:09 +03:00
intel_pcode.c
intel_pcode.h
intel_region_ttm.c drm/i915: Use struct resource for memory region IO as well 2024-02-07 01:58:40 +02:00
intel_region_ttm.h
intel_runtime_pm.c drm/i915: Convert intel_runtime_pm_get_noresume towards raw wakeref 2024-04-19 11:27:14 +03:00
intel_runtime_pm.h
intel_sbi.c
intel_sbi.h
intel_step.c drm/i915: Drop dead code for pvc 2024-03-22 14:14:56 -07:00
intel_step.h
intel_uncore.c drm/i915: Increase FLR timeout from 3s to 9s 2024-06-06 02:20:35 +02:00
intel_uncore.h
intel_wakeref.c
intel_wakeref.h
vlv_sideband.c drm/i915/dpio: Derive the phy from the port rather than pipe in encoder hooks 2024-04-30 21:12:12 +03:00
vlv_sideband.h
vlv_sideband_reg.h
vlv_suspend.c
vlv_suspend.h