Linux 3263 Published by

Linux kernel 6.17.5 has been released, featuring several important updates and bug fixes aimed at improving system performance and stability. Key changes include enhancements to the XE driver for Intel GPUs, corrections to bandwidth event miscounts on AMD systems, and fixes for issues in the CXL, PHY, and hibernate drivers. Additionally, the X86/resctrl driver has been refactored to prepare for future support of reading hardware counters directly. The updated kernel is now available for download from the Linux kernel website, with links provided for the full source, patch, and PGP signature.



Linux Kernel 6.17.5 released

A new version of the Linux kernel, version 6.17.5, has been released. This update includes several important changes and bug fixes that aim to improve the overall performance and stability of the system.

Kernel

One of the significant updates is the release of the XE driver for Intel GPUs, which has undergone substantial improvements. The XE driver now uses dynamic allocation for tile and device VRAM region structures, replacing static allocation. Additionally, the driver has been modified to use devm_ioremap_wc for VRAM mapping and drop manual unmap.

The XE driver also includes several bug fixes, including one that addresses an issue with evicting buffer objects (BOs) in the same virtual machine (VM). This correction ensures that BOs are not evicted prematurely, preventing potential NULL pointer dereferences later in the bind pipeline.

Another notable update is the correction for a miscount of bandwidth events when reactivating previously unavailable resource monitoring identifiers (RMIDs) on AMD systems. The fix resets the stored value of MSR_IA32_QM_CTR to zero whenever an RMID transitions from the "Unavailable" state back to being tracked, ensuring accurate counting after the RMID resets to zero.

Furthermore, the PHY driver for Cadence D-PHY has been updated to correct a calibration wait time issue. The fix involves read-modify-write operations to reuse the characterized reset value as specified in the TRM (Technical Reference Manual) to program the calibration wait time correctly.

The CXL driver has also been updated with a fix that addresses an issue where match_region_by_range() was not using the helper function region_res_match_cxl_range() when comparing regions. This caused x2 regions to show up as 2 partial incomplete regions instead of a single CXL region with extended linear cache support.

In addition, the X86/resctrl driver has undergone changes to refactor resctrl_arch_rmid_read(), which adjusts the value obtained from MSR_IA32_QM_CTR to account for overflows and apply counter scaling. This refactoring prepares the driver for future support of reading hardware counters directly.

The updates also include a remedy for a bug in the hibernate code that caused kernel build breakage when the amdgpu driver used the pm_hibernation_mode_is_suspend() function. The fix addresses this issue by using an #ifdeffery around the definition of pm_hibernation_mode_is_suspend().

Linux kernel 6.17.5 released

Linux kernel version 6.17.5 is now available:

Full source: https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.17.5.tar.xz
Patch: https://cdn.kernel.org/pub/linux/kernel/v6.x/patch-6.17.5.xz
PGP Signature: https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.17.5.tar.sign

You can view the summary of the changes at the following URL:
https://git.kernel.org/stable/ds/v6.17.5/v6.17.4