Where to find Kernel Patch changelog and help on how to debug a laptop fan issue?

As the title says, i would like to find the changelog of Linux Kernel patch versions (preferably with the Manjaro config and not just the C code, but a summary - i dont quite understand C/C++ code) or to know a way to better debug the issue below.

I would like to know the changes between kernel 5.15.2 and 5.15.6, because when upgrading to 5.15.6, using sudo tlp bat does not make the fans quieter anymore (i cant control the fans otherwise because its a laptop, see below for more information on why).


Extra Notes:

System Information (using the 5.15.2 kernel)

$ inxi -b
System:
  Host: pina Kernel: 5.15.2-2-MANJARO x86_64 bits: 64
    Desktop: KDE Plasma 5.23.4 Distro: Manjaro Linux
Machine:
  Type: Laptop System: ASUSTeK product: TUF Gaming FA706IU_FA706IU v: 1.0
    serial: <superuser required>
  Mobo: ASUSTeK model: FA706IU v: 1.0 serial: <superuser required>
    UEFI: American Megatrends v: FA706IU.309 date: 07/02/2020
Battery:
  ID-1: BAT1 charge: 43.3 Wh (100.0%) condition: 43.3/48.2 Wh (89.8%)
    volts: 3.8 min: 11.9
CPU:
  Info: 8-core AMD Ryzen 9 4900H with Radeon Graphics [MT MCP] speed (MHz):
    avg: 1396 min/max: 1400/3300
Graphics:
  Device-1: NVIDIA TU116M [GeForce GTX 1660 Ti Mobile] driver: N/A
  Device-2: AMD Renoir driver: amdgpu v: kernel
  Device-3: IMC Networks USB2.0 HD UVC WebCam type: USB driver: uvcvideo
  Display: wayland server: X.Org 1.21.1.3 driver: loaded: amdgpu,ati
    unloaded: modesetting resolution: 1920x1080~60Hz
  Message: Unable to show advanced data. Required tool glxinfo missing.
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    driver: r8169
  Device-2: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter
    driver: rtw_8822ce
Drives:
  Local Storage: total: 476.94 GiB used: 61.49 GiB (12.9%)
Info:
  Processes: 409 Uptime: 18h 17m Memory: 15.12 GiB used: 2.89 GiB (19.1%)
  Shell: Zsh inxi: 3.3.10

$ uname -a
Linux pina 5.15.2-2-MANJARO #1 SMP PREEMPT Sat Nov 13 19:25:38 UTC 2021 x86_64 GNU/Linux

tlp config:

# I Removed the commented out values to not spam the thread
CPU_SCALING_GOVERNOR_ON_BAT="powersave"
CPU_BOOST_ON_AC="1"
CPU_BOOST_ON_BAT="0"
PLATFORM_PROFILE_ON_AC="balanced"
PLATFORM_PROFILE_ON_BAT="quiet"
RADEON_DPM_PERF_LEVEL_ON_BAT="low"
RADEON_DPM_STATE_ON_AC="performance"
RADEON_DPM_STATE_ON_BAT="battery"
RADEON_POWER_PROFILE_ON_AC="auto"
RADEON_POWER_PROFILE_ON_BAT="low"
USB_EXCLUDE_PRINTER="0"
DEVICES_TO_DISABLE_ON_STARTUP="bluetooth"

Laptop: ASUS TUF FA706IU (if i got the right value)
This Laptop’s only “advertised” way to control the fans is with asus-nb-wmi's fan_boost_mode, but changing this does nothing on my device, i also tried setting /sys/firmware/acpi/platform_profile to quiet (which is listed in platfrom_profile_choices).
(The fans cannot be controlled in the BIOS / UEFI interface)
I had also tried applying tlp options manually, but doing them one by one (reading value, setting to wanted value, then testing, then back to default for next value), which did not change the behavior, so my only way to get the fans quiet is to use sudo tlp bat to force all the options.

The Nvidia GPU is listed as Off in nvidia-smi and i basically dont use it.

If more information is needed, please ask i will try to provide


For now i have installed the linux515-5.15.2-2-x86_64.pkg.tar.zst from the pacman cache as a temporary fix

Welcome to the forum!

I cannot help you with the laptop problem, and the exact kernel versions also differ somewhat already by now, but maybe you can find what you’re looking for at the page below… :arrow_down:

Thanks, i searched through there but didnt see any related changes that could affect my system (aside from 0106-Fix_OLED_brightness_control_on_eDP.patch?)

for reference, i looked at the compare*3 to see a difference in the manjaro build


i also finished building, installing and testing the vanilla linux kernel (from https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ tag v5.15.6, i will now be referring to this as “vanilla”) with the manjaro 5.15.2 config, which was copied & extracted from /proc/config.gz with the following modifications (because i didnt have the required packages):

3c3
< # Linux/x86 5.15.2-2 Kernel Configuration
---
> # Linux/x86 5.15.6 Kernel Configuration
30c30
< CONFIG_LOCALVERSION="-MANJARO"
---
> CONFIG_LOCALVERSION="-MANJAROCUSTOM"
227d226
< CONFIG_USER_NS_UNPRIVILEGED=y
828a828
> CONFIG_ARCH_HAS_CC_PLATFORM=y
4436d4435
< # CONFIG_I2C_NCT6775 is not set
6502d6500
< CONFIG_BOOTSPLASH=y
9669a9668
> # CONFIG_PSTORE_BLK is not set
9926c9925
< CONFIG_CRYPTO_RNG_DEFAULT=m
---
> CONFIG_CRYPTO_RNG_DEFAULT=y
10079c10078
< CONFIG_CRYPTO_DRBG_MENU=m
---
> CONFIG_CRYPTO_DRBG_MENU=y
10083c10082
< CONFIG_CRYPTO_DRBG=m
---
> CONFIG_CRYPTO_DRBG=y
10349,10351c10348,10349
< CONFIG_DEBUG_INFO_BTF=y
< CONFIG_PAHOLE_HAS_SPLIT_BTF=y
< CONFIG_DEBUG_INFO_BTF_MODULES=y
---
> # CONFIG_DEBUG_INFO_DWARF5 is not set
> # CONFIG_DEBUG_INFO_BTF is not set

and this build runs just fine with quiet fans under heavy*1 load in tlp bat


a few hours later (without posting the previous) i also have re-compiled the (vanilla) kernel with the 5.15.6 manjaro config (with the same patch applied, because i still dont have the packages), and it is also still quiet with tlp bat under heavy load*1


i have now tried the kernel / package 5.15.6-2 again, under the same load, and the fan do not go quiet unless absolutely*2 idle


*1 my test case is: kde plasma wayland desktop + firefox with multiple tabs and at least one youtube video playing while also compiling rust (in this case package bottom)
*2 having just kde plasma wayland desktop open plus one terminal (which runs btm/htop) and nothing else
*3 because i cannot add plain links? https://gitlab.manjaro.org/packages/core/linux515/-/compare/43e665c8931db267ab38086de9558c22eb1c1ec3...e07c100203a9e1e30ed3dc84d6a14e6e37e72849?from_project_id=14213

Update: i had yesterday updated to linux515 5.15.7-1 (currently the latest), where the problem still exists

so for now i use the custom compiled kernel for 5.15.6