From 6d1c932b1ab6892c861ea92d93914a175e187b08 Mon Sep 17 00:00:00 2001 From: Jan200101 Date: Mon, 27 Nov 2023 15:48:22 +0100 Subject: kernel 6.5.12 --- SOURCES/Patchlist.changelog | 3 + SOURCES/kernel-aarch64-16k-debug-fedora.config | 10 - SOURCES/kernel-aarch64-16k-fedora.config | 10 - SOURCES/kernel-aarch64-64k-debug-rhel.config | 10 - SOURCES/kernel-aarch64-64k-rhel.config | 10 - SOURCES/kernel-aarch64-debug-fedora.config | 10 - SOURCES/kernel-aarch64-debug-rhel.config | 10 - SOURCES/kernel-aarch64-fedora.config | 10 - SOURCES/kernel-aarch64-rhel.config | 10 - SOURCES/kernel-aarch64-rt-debug-rhel.config | 10 - SOURCES/kernel-aarch64-rt-rhel.config | 10 - SOURCES/kernel-ppc64le-debug-fedora.config | 10 - SOURCES/kernel-ppc64le-debug-rhel.config | 10 - SOURCES/kernel-ppc64le-fedora.config | 10 - SOURCES/kernel-ppc64le-rhel.config | 10 - SOURCES/kernel-s390x-debug-fedora.config | 10 - SOURCES/kernel-s390x-debug-rhel.config | 10 - SOURCES/kernel-s390x-fedora.config | 10 - SOURCES/kernel-s390x-rhel.config | 10 - SOURCES/kernel-s390x-zfcpdump-rhel.config | 10 - SOURCES/kernel-x86_64-debug-fedora.config | 14 +- SOURCES/kernel-x86_64-debug-rhel.config | 14 +- SOURCES/kernel-x86_64-fedora.config | 14 +- SOURCES/kernel-x86_64-rhel.config | 14 +- SOURCES/kernel-x86_64-rt-debug-rhel.config | 14 +- SOURCES/kernel-x86_64-rt-rhel.config | 16 +- SOURCES/patch-6.5-redhat.patch | 40 +++- SOURCES/rog-ally-alsa.patch | 243 ------------------------- SPECS/kernel.spec | 20 +- TOOLS/patch_configs.py | 4 + 30 files changed, 81 insertions(+), 505 deletions(-) diff --git a/SOURCES/Patchlist.changelog b/SOURCES/Patchlist.changelog index cc876ad..eb625d3 100644 --- a/SOURCES/Patchlist.changelog +++ b/SOURCES/Patchlist.changelog @@ -1,3 +1,6 @@ +"https://gitlab.com/cki-project/kernel-ark/-/commit"/acc130077a200c2467cd265c2ef75e82f653a1ad + acc130077a200c2467cd265c2ef75e82f653a1ad rtc: cmos: Use ACPI alarm for non-Intel x86 systems too + "https://gitlab.com/cki-project/kernel-ark/-/commit"/9ed1817997b0d2f283275cce33cd7043b220d990 9ed1817997b0d2f283275cce33cd7043b220d990 power: supply: core: Use blocking_notifier_call_chain to avoid RCU complaint diff --git a/SOURCES/kernel-aarch64-16k-debug-fedora.config b/SOURCES/kernel-aarch64-16k-debug-fedora.config index 13645ab..9098d0e 100644 --- a/SOURCES/kernel-aarch64-16k-debug-fedora.config +++ b/SOURCES/kernel-aarch64-16k-debug-fedora.config @@ -9709,22 +9709,12 @@ CONFIG_ZYNQMP_FIRMWARE=y CONFIG_ZYNQMP_IPI_MBOX=y CONFIG_ZYNQMP_PM_DOMAINS=y CONFIG_ZYNQMP_POWER=y -# kernel-fsync config CONFIG_I2C_NCT6775=m CONFIG_ZENIFY=y - -# device specific config -# Steam Deck -CONFIG_MFD_STEAMDECK=m -CONFIG_SENSORS_STEAMDECK=m -CONFIG_LEDS_STEAMDECK=m -CONFIG_EXTCON_STEAMDECK=m -# Microsoft Surface CONFIG_HID_IPTS=m CONFIG_HID_ITHC=m CONFIG_SURFACE_BOOK1_DGPU_SWITCH=m CONFIG_VIDEO_DW9719=m CONFIG_IPC_CLASSES=y CONFIG_LEDS_TPS68470=m -# Lenovo Legion CONFIG_LEGION_LAPTOP=m diff --git a/SOURCES/kernel-aarch64-16k-fedora.config b/SOURCES/kernel-aarch64-16k-fedora.config index 02a72f3..8b6302e 100644 --- a/SOURCES/kernel-aarch64-16k-fedora.config +++ b/SOURCES/kernel-aarch64-16k-fedora.config @@ -9680,22 +9680,12 @@ CONFIG_ZYNQMP_FIRMWARE=y CONFIG_ZYNQMP_IPI_MBOX=y CONFIG_ZYNQMP_PM_DOMAINS=y CONFIG_ZYNQMP_POWER=y -# kernel-fsync config CONFIG_I2C_NCT6775=m CONFIG_ZENIFY=y - -# device specific config -# Steam Deck -CONFIG_MFD_STEAMDECK=m -CONFIG_SENSORS_STEAMDECK=m -CONFIG_LEDS_STEAMDECK=m -CONFIG_EXTCON_STEAMDECK=m -# Microsoft Surface CONFIG_HID_IPTS=m CONFIG_HID_ITHC=m CONFIG_SURFACE_BOOK1_DGPU_SWITCH=m CONFIG_VIDEO_DW9719=m CONFIG_IPC_CLASSES=y CONFIG_LEDS_TPS68470=m -# Lenovo Legion CONFIG_LEGION_LAPTOP=m diff --git a/SOURCES/kernel-aarch64-64k-debug-rhel.config b/SOURCES/kernel-aarch64-64k-debug-rhel.config index 5dc41f2..c521c35 100644 --- a/SOURCES/kernel-aarch64-64k-debug-rhel.config +++ b/SOURCES/kernel-aarch64-64k-debug-rhel.config @@ -7817,22 +7817,12 @@ CONFIG_ZSWAP=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_Z3FOLD is not set CONFIG_ZSWAP_ZPOOL_DEFAULT_ZBUD=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_ZSMALLOC is not set -# kernel-fsync config CONFIG_I2C_NCT6775=m CONFIG_ZENIFY=y - -# device specific config -# Steam Deck -CONFIG_MFD_STEAMDECK=m -CONFIG_SENSORS_STEAMDECK=m -CONFIG_LEDS_STEAMDECK=m -CONFIG_EXTCON_STEAMDECK=m -# Microsoft Surface CONFIG_HID_IPTS=m CONFIG_HID_ITHC=m CONFIG_SURFACE_BOOK1_DGPU_SWITCH=m CONFIG_VIDEO_DW9719=m CONFIG_IPC_CLASSES=y CONFIG_LEDS_TPS68470=m -# Lenovo Legion CONFIG_LEGION_LAPTOP=m diff --git a/SOURCES/kernel-aarch64-64k-rhel.config b/SOURCES/kernel-aarch64-64k-rhel.config index 00ac5cf..266a0b6 100644 --- a/SOURCES/kernel-aarch64-64k-rhel.config +++ b/SOURCES/kernel-aarch64-64k-rhel.config @@ -7792,22 +7792,12 @@ CONFIG_ZSWAP=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_Z3FOLD is not set CONFIG_ZSWAP_ZPOOL_DEFAULT_ZBUD=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_ZSMALLOC is not set -# kernel-fsync config CONFIG_I2C_NCT6775=m CONFIG_ZENIFY=y - -# device specific config -# Steam Deck -CONFIG_MFD_STEAMDECK=m -CONFIG_SENSORS_STEAMDECK=m -CONFIG_LEDS_STEAMDECK=m -CONFIG_EXTCON_STEAMDECK=m -# Microsoft Surface CONFIG_HID_IPTS=m CONFIG_HID_ITHC=m CONFIG_SURFACE_BOOK1_DGPU_SWITCH=m CONFIG_VIDEO_DW9719=m CONFIG_IPC_CLASSES=y CONFIG_LEDS_TPS68470=m -# Lenovo Legion CONFIG_LEGION_LAPTOP=m diff --git a/SOURCES/kernel-aarch64-debug-fedora.config b/SOURCES/kernel-aarch64-debug-fedora.config index f917b11..220750d 100644 --- a/SOURCES/kernel-aarch64-debug-fedora.config +++ b/SOURCES/kernel-aarch64-debug-fedora.config @@ -9709,22 +9709,12 @@ CONFIG_ZYNQMP_FIRMWARE=y CONFIG_ZYNQMP_IPI_MBOX=y CONFIG_ZYNQMP_PM_DOMAINS=y CONFIG_ZYNQMP_POWER=y -# kernel-fsync config CONFIG_I2C_NCT6775=m CONFIG_ZENIFY=y - -# device specific config -# Steam Deck -CONFIG_MFD_STEAMDECK=m -CONFIG_SENSORS_STEAMDECK=m -CONFIG_LEDS_STEAMDECK=m -CONFIG_EXTCON_STEAMDECK=m -# Microsoft Surface CONFIG_HID_IPTS=m CONFIG_HID_ITHC=m CONFIG_SURFACE_BOOK1_DGPU_SWITCH=m CONFIG_VIDEO_DW9719=m CONFIG_IPC_CLASSES=y CONFIG_LEDS_TPS68470=m -# Lenovo Legion CONFIG_LEGION_LAPTOP=m diff --git a/SOURCES/kernel-aarch64-debug-rhel.config b/SOURCES/kernel-aarch64-debug-rhel.config index 20c7fd4..7b1bca1 100644 --- a/SOURCES/kernel-aarch64-debug-rhel.config +++ b/SOURCES/kernel-aarch64-debug-rhel.config @@ -7813,22 +7813,12 @@ CONFIG_ZSWAP=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_Z3FOLD is not set CONFIG_ZSWAP_ZPOOL_DEFAULT_ZBUD=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_ZSMALLOC is not set -# kernel-fsync config CONFIG_I2C_NCT6775=m CONFIG_ZENIFY=y - -# device specific config -# Steam Deck -CONFIG_MFD_STEAMDECK=m -CONFIG_SENSORS_STEAMDECK=m -CONFIG_LEDS_STEAMDECK=m -CONFIG_EXTCON_STEAMDECK=m -# Microsoft Surface CONFIG_HID_IPTS=m CONFIG_HID_ITHC=m CONFIG_SURFACE_BOOK1_DGPU_SWITCH=m CONFIG_VIDEO_DW9719=m CONFIG_IPC_CLASSES=y CONFIG_LEDS_TPS68470=m -# Lenovo Legion CONFIG_LEGION_LAPTOP=m diff --git a/SOURCES/kernel-aarch64-fedora.config b/SOURCES/kernel-aarch64-fedora.config index 017a5ab..0723dd1 100644 --- a/SOURCES/kernel-aarch64-fedora.config +++ b/SOURCES/kernel-aarch64-fedora.config @@ -9680,22 +9680,12 @@ CONFIG_ZYNQMP_FIRMWARE=y CONFIG_ZYNQMP_IPI_MBOX=y CONFIG_ZYNQMP_PM_DOMAINS=y CONFIG_ZYNQMP_POWER=y -# kernel-fsync config CONFIG_I2C_NCT6775=m CONFIG_ZENIFY=y - -# device specific config -# Steam Deck -CONFIG_MFD_STEAMDECK=m -CONFIG_SENSORS_STEAMDECK=m -CONFIG_LEDS_STEAMDECK=m -CONFIG_EXTCON_STEAMDECK=m -# Microsoft Surface CONFIG_HID_IPTS=m CONFIG_HID_ITHC=m CONFIG_SURFACE_BOOK1_DGPU_SWITCH=m CONFIG_VIDEO_DW9719=m CONFIG_IPC_CLASSES=y CONFIG_LEDS_TPS68470=m -# Lenovo Legion CONFIG_LEGION_LAPTOP=m diff --git a/SOURCES/kernel-aarch64-rhel.config b/SOURCES/kernel-aarch64-rhel.config index 575d711..53f23bf 100644 --- a/SOURCES/kernel-aarch64-rhel.config +++ b/SOURCES/kernel-aarch64-rhel.config @@ -7788,22 +7788,12 @@ CONFIG_ZSWAP=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_Z3FOLD is not set CONFIG_ZSWAP_ZPOOL_DEFAULT_ZBUD=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_ZSMALLOC is not set -# kernel-fsync config CONFIG_I2C_NCT6775=m CONFIG_ZENIFY=y - -# device specific config -# Steam Deck -CONFIG_MFD_STEAMDECK=m -CONFIG_SENSORS_STEAMDECK=m -CONFIG_LEDS_STEAMDECK=m -CONFIG_EXTCON_STEAMDECK=m -# Microsoft Surface CONFIG_HID_IPTS=m CONFIG_HID_ITHC=m CONFIG_SURFACE_BOOK1_DGPU_SWITCH=m CONFIG_VIDEO_DW9719=m CONFIG_IPC_CLASSES=y CONFIG_LEDS_TPS68470=m -# Lenovo Legion CONFIG_LEGION_LAPTOP=m diff --git a/SOURCES/kernel-aarch64-rt-debug-rhel.config b/SOURCES/kernel-aarch64-rt-debug-rhel.config index c5c3f74..99e3169 100644 --- a/SOURCES/kernel-aarch64-rt-debug-rhel.config +++ b/SOURCES/kernel-aarch64-rt-debug-rhel.config @@ -7874,22 +7874,12 @@ CONFIG_ZSWAP=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_Z3FOLD is not set CONFIG_ZSWAP_ZPOOL_DEFAULT_ZBUD=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_ZSMALLOC is not set -# kernel-fsync config CONFIG_I2C_NCT6775=m CONFIG_ZENIFY=y - -# device specific config -# Steam Deck -CONFIG_MFD_STEAMDECK=m -CONFIG_SENSORS_STEAMDECK=m -CONFIG_LEDS_STEAMDECK=m -CONFIG_EXTCON_STEAMDECK=m -# Microsoft Surface CONFIG_HID_IPTS=m CONFIG_HID_ITHC=m CONFIG_SURFACE_BOOK1_DGPU_SWITCH=m CONFIG_VIDEO_DW9719=m CONFIG_IPC_CLASSES=y CONFIG_LEDS_TPS68470=m -# Lenovo Legion CONFIG_LEGION_LAPTOP=m diff --git a/SOURCES/kernel-aarch64-rt-rhel.config b/SOURCES/kernel-aarch64-rt-rhel.config index fe5c488..1417580 100644 --- a/SOURCES/kernel-aarch64-rt-rhel.config +++ b/SOURCES/kernel-aarch64-rt-rhel.config @@ -7849,22 +7849,12 @@ CONFIG_ZSWAP=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_Z3FOLD is not set CONFIG_ZSWAP_ZPOOL_DEFAULT_ZBUD=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_ZSMALLOC is not set -# kernel-fsync config CONFIG_I2C_NCT6775=m CONFIG_ZENIFY=y - -# device specific config -# Steam Deck -CONFIG_MFD_STEAMDECK=m -CONFIG_SENSORS_STEAMDECK=m -CONFIG_LEDS_STEAMDECK=m -CONFIG_EXTCON_STEAMDECK=m -# Microsoft Surface CONFIG_HID_IPTS=m CONFIG_HID_ITHC=m CONFIG_SURFACE_BOOK1_DGPU_SWITCH=m CONFIG_VIDEO_DW9719=m CONFIG_IPC_CLASSES=y CONFIG_LEDS_TPS68470=m -# Lenovo Legion CONFIG_LEGION_LAPTOP=m diff --git a/SOURCES/kernel-ppc64le-debug-fedora.config b/SOURCES/kernel-ppc64le-debug-fedora.config index 65d5f1c..2db734c 100644 --- a/SOURCES/kernel-ppc64le-debug-fedora.config +++ b/SOURCES/kernel-ppc64le-debug-fedora.config @@ -8168,22 +8168,12 @@ CONFIG_ZSWAP=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_Z3FOLD is not set CONFIG_ZSWAP_ZPOOL_DEFAULT_ZBUD=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_ZSMALLOC is not set -# kernel-fsync config CONFIG_I2C_NCT6775=m CONFIG_ZENIFY=y - -# device specific config -# Steam Deck -CONFIG_MFD_STEAMDECK=m -CONFIG_SENSORS_STEAMDECK=m -CONFIG_LEDS_STEAMDECK=m -CONFIG_EXTCON_STEAMDECK=m -# Microsoft Surface CONFIG_HID_IPTS=m CONFIG_HID_ITHC=m CONFIG_SURFACE_BOOK1_DGPU_SWITCH=m CONFIG_VIDEO_DW9719=m CONFIG_IPC_CLASSES=y CONFIG_LEDS_TPS68470=m -# Lenovo Legion CONFIG_LEGION_LAPTOP=m diff --git a/SOURCES/kernel-ppc64le-debug-rhel.config b/SOURCES/kernel-ppc64le-debug-rhel.config index 786adae..addec32 100644 --- a/SOURCES/kernel-ppc64le-debug-rhel.config +++ b/SOURCES/kernel-ppc64le-debug-rhel.config @@ -7355,22 +7355,12 @@ CONFIG_ZSWAP=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_Z3FOLD is not set CONFIG_ZSWAP_ZPOOL_DEFAULT_ZBUD=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_ZSMALLOC is not set -# kernel-fsync config CONFIG_I2C_NCT6775=m CONFIG_ZENIFY=y - -# device specific config -# Steam Deck -CONFIG_MFD_STEAMDECK=m -CONFIG_SENSORS_STEAMDECK=m -CONFIG_LEDS_STEAMDECK=m -CONFIG_EXTCON_STEAMDECK=m -# Microsoft Surface CONFIG_HID_IPTS=m CONFIG_HID_ITHC=m CONFIG_SURFACE_BOOK1_DGPU_SWITCH=m CONFIG_VIDEO_DW9719=m CONFIG_IPC_CLASSES=y CONFIG_LEDS_TPS68470=m -# Lenovo Legion CONFIG_LEGION_LAPTOP=m diff --git a/SOURCES/kernel-ppc64le-fedora.config b/SOURCES/kernel-ppc64le-fedora.config index e19935a..eaec938 100644 --- a/SOURCES/kernel-ppc64le-fedora.config +++ b/SOURCES/kernel-ppc64le-fedora.config @@ -8137,22 +8137,12 @@ CONFIG_ZSWAP=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_Z3FOLD is not set CONFIG_ZSWAP_ZPOOL_DEFAULT_ZBUD=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_ZSMALLOC is not set -# kernel-fsync config CONFIG_I2C_NCT6775=m CONFIG_ZENIFY=y - -# device specific config -# Steam Deck -CONFIG_MFD_STEAMDECK=m -CONFIG_SENSORS_STEAMDECK=m -CONFIG_LEDS_STEAMDECK=m -CONFIG_EXTCON_STEAMDECK=m -# Microsoft Surface CONFIG_HID_IPTS=m CONFIG_HID_ITHC=m CONFIG_SURFACE_BOOK1_DGPU_SWITCH=m CONFIG_VIDEO_DW9719=m CONFIG_IPC_CLASSES=y CONFIG_LEDS_TPS68470=m -# Lenovo Legion CONFIG_LEGION_LAPTOP=m diff --git a/SOURCES/kernel-ppc64le-rhel.config b/SOURCES/kernel-ppc64le-rhel.config index 24c1248..33a9c43 100644 --- a/SOURCES/kernel-ppc64le-rhel.config +++ b/SOURCES/kernel-ppc64le-rhel.config @@ -7332,22 +7332,12 @@ CONFIG_ZSWAP=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_Z3FOLD is not set CONFIG_ZSWAP_ZPOOL_DEFAULT_ZBUD=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_ZSMALLOC is not set -# kernel-fsync config CONFIG_I2C_NCT6775=m CONFIG_ZENIFY=y - -# device specific config -# Steam Deck -CONFIG_MFD_STEAMDECK=m -CONFIG_SENSORS_STEAMDECK=m -CONFIG_LEDS_STEAMDECK=m -CONFIG_EXTCON_STEAMDECK=m -# Microsoft Surface CONFIG_HID_IPTS=m CONFIG_HID_ITHC=m CONFIG_SURFACE_BOOK1_DGPU_SWITCH=m CONFIG_VIDEO_DW9719=m CONFIG_IPC_CLASSES=y CONFIG_LEDS_TPS68470=m -# Lenovo Legion CONFIG_LEGION_LAPTOP=m diff --git a/SOURCES/kernel-s390x-debug-fedora.config b/SOURCES/kernel-s390x-debug-fedora.config index 9ffc76b..12185b2 100644 --- a/SOURCES/kernel-s390x-debug-fedora.config +++ b/SOURCES/kernel-s390x-debug-fedora.config @@ -8108,22 +8108,12 @@ CONFIG_ZSWAP=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_Z3FOLD is not set CONFIG_ZSWAP_ZPOOL_DEFAULT_ZBUD=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_ZSMALLOC is not set -# kernel-fsync config CONFIG_I2C_NCT6775=m CONFIG_ZENIFY=y - -# device specific config -# Steam Deck -CONFIG_MFD_STEAMDECK=m -CONFIG_SENSORS_STEAMDECK=m -CONFIG_LEDS_STEAMDECK=m -CONFIG_EXTCON_STEAMDECK=m -# Microsoft Surface CONFIG_HID_IPTS=m CONFIG_HID_ITHC=m CONFIG_SURFACE_BOOK1_DGPU_SWITCH=m CONFIG_VIDEO_DW9719=m CONFIG_IPC_CLASSES=y CONFIG_LEDS_TPS68470=m -# Lenovo Legion CONFIG_LEGION_LAPTOP=m diff --git a/SOURCES/kernel-s390x-debug-rhel.config b/SOURCES/kernel-s390x-debug-rhel.config index 7ca5c8e..735cf51 100644 --- a/SOURCES/kernel-s390x-debug-rhel.config +++ b/SOURCES/kernel-s390x-debug-rhel.config @@ -7341,22 +7341,12 @@ CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZO=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_Z3FOLD is not set CONFIG_ZSWAP_ZPOOL_DEFAULT_ZBUD=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_ZSMALLOC is not set -# kernel-fsync config CONFIG_I2C_NCT6775=m CONFIG_ZENIFY=y - -# device specific config -# Steam Deck -CONFIG_MFD_STEAMDECK=m -CONFIG_SENSORS_STEAMDECK=m -CONFIG_LEDS_STEAMDECK=m -CONFIG_EXTCON_STEAMDECK=m -# Microsoft Surface CONFIG_HID_IPTS=m CONFIG_HID_ITHC=m CONFIG_SURFACE_BOOK1_DGPU_SWITCH=m CONFIG_VIDEO_DW9719=m CONFIG_IPC_CLASSES=y CONFIG_LEDS_TPS68470=m -# Lenovo Legion CONFIG_LEGION_LAPTOP=m diff --git a/SOURCES/kernel-s390x-fedora.config b/SOURCES/kernel-s390x-fedora.config index b7c6726..edf2b05 100644 --- a/SOURCES/kernel-s390x-fedora.config +++ b/SOURCES/kernel-s390x-fedora.config @@ -8077,22 +8077,12 @@ CONFIG_ZSWAP=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_Z3FOLD is not set CONFIG_ZSWAP_ZPOOL_DEFAULT_ZBUD=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_ZSMALLOC is not set -# kernel-fsync config CONFIG_I2C_NCT6775=m CONFIG_ZENIFY=y - -# device specific config -# Steam Deck -CONFIG_MFD_STEAMDECK=m -CONFIG_SENSORS_STEAMDECK=m -CONFIG_LEDS_STEAMDECK=m -CONFIG_EXTCON_STEAMDECK=m -# Microsoft Surface CONFIG_HID_IPTS=m CONFIG_HID_ITHC=m CONFIG_SURFACE_BOOK1_DGPU_SWITCH=m CONFIG_VIDEO_DW9719=m CONFIG_IPC_CLASSES=y CONFIG_LEDS_TPS68470=m -# Lenovo Legion CONFIG_LEGION_LAPTOP=m diff --git a/SOURCES/kernel-s390x-rhel.config b/SOURCES/kernel-s390x-rhel.config index 580f09e..c6a07ce 100644 --- a/SOURCES/kernel-s390x-rhel.config +++ b/SOURCES/kernel-s390x-rhel.config @@ -7318,22 +7318,12 @@ CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZO=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_Z3FOLD is not set CONFIG_ZSWAP_ZPOOL_DEFAULT_ZBUD=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_ZSMALLOC is not set -# kernel-fsync config CONFIG_I2C_NCT6775=m CONFIG_ZENIFY=y - -# device specific config -# Steam Deck -CONFIG_MFD_STEAMDECK=m -CONFIG_SENSORS_STEAMDECK=m -CONFIG_LEDS_STEAMDECK=m -CONFIG_EXTCON_STEAMDECK=m -# Microsoft Surface CONFIG_HID_IPTS=m CONFIG_HID_ITHC=m CONFIG_SURFACE_BOOK1_DGPU_SWITCH=m CONFIG_VIDEO_DW9719=m CONFIG_IPC_CLASSES=y CONFIG_LEDS_TPS68470=m -# Lenovo Legion CONFIG_LEGION_LAPTOP=m diff --git a/SOURCES/kernel-s390x-zfcpdump-rhel.config b/SOURCES/kernel-s390x-zfcpdump-rhel.config index ce89f0a..959c976 100644 --- a/SOURCES/kernel-s390x-zfcpdump-rhel.config +++ b/SOURCES/kernel-s390x-zfcpdump-rhel.config @@ -7341,22 +7341,12 @@ CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZO=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_Z3FOLD is not set CONFIG_ZSWAP_ZPOOL_DEFAULT_ZBUD=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_ZSMALLOC is not set -# kernel-fsync config CONFIG_I2C_NCT6775=m CONFIG_ZENIFY=y - -# device specific config -# Steam Deck -CONFIG_MFD_STEAMDECK=m -CONFIG_SENSORS_STEAMDECK=m -CONFIG_LEDS_STEAMDECK=m -CONFIG_EXTCON_STEAMDECK=m -# Microsoft Surface CONFIG_HID_IPTS=m CONFIG_HID_ITHC=m CONFIG_SURFACE_BOOK1_DGPU_SWITCH=m CONFIG_VIDEO_DW9719=m CONFIG_IPC_CLASSES=y CONFIG_LEDS_TPS68470=m -# Lenovo Legion CONFIG_LEGION_LAPTOP=m diff --git a/SOURCES/kernel-x86_64-debug-fedora.config b/SOURCES/kernel-x86_64-debug-fedora.config index 8b88a59..cfa48ae 100644 --- a/SOURCES/kernel-x86_64-debug-fedora.config +++ b/SOURCES/kernel-x86_64-debug-fedora.config @@ -8722,25 +8722,19 @@ CONFIG_ZSWAP=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_Z3FOLD is not set CONFIG_ZSWAP_ZPOOL_DEFAULT_ZBUD=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_ZSMALLOC is not set -# kernel-fsync config CONFIG_I2C_NCT6775=m CONFIG_ZENIFY=y - -# device specific config -# Steam Deck -CONFIG_MFD_STEAMDECK=m -CONFIG_SENSORS_STEAMDECK=m -CONFIG_LEDS_STEAMDECK=m -CONFIG_EXTCON_STEAMDECK=m -# Microsoft Surface CONFIG_HID_IPTS=m CONFIG_HID_ITHC=m CONFIG_SURFACE_BOOK1_DGPU_SWITCH=m CONFIG_VIDEO_DW9719=m CONFIG_IPC_CLASSES=y CONFIG_LEDS_TPS68470=m -# Lenovo Legion CONFIG_LEGION_LAPTOP=m +CONFIG_MFD_STEAMDECK=m +CONFIG_SENSORS_STEAMDECK=m +CONFIG_LEDS_STEAMDECK=m +CONFIG_EXTCON_STEAMDECK=m CONFIG_USB_DWC3_ULPI=y CONFIG_USB_DWC3_DUAL_ROLE=y CONFIG_USB_DWC3_PCI=m diff --git a/SOURCES/kernel-x86_64-debug-rhel.config b/SOURCES/kernel-x86_64-debug-rhel.config index 0155a06..6d8f971 100644 --- a/SOURCES/kernel-x86_64-debug-rhel.config +++ b/SOURCES/kernel-x86_64-debug-rhel.config @@ -7681,25 +7681,19 @@ CONFIG_ZSWAP=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_Z3FOLD is not set CONFIG_ZSWAP_ZPOOL_DEFAULT_ZBUD=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_ZSMALLOC is not set -# kernel-fsync config CONFIG_I2C_NCT6775=m CONFIG_ZENIFY=y - -# device specific config -# Steam Deck -CONFIG_MFD_STEAMDECK=m -CONFIG_SENSORS_STEAMDECK=m -CONFIG_LEDS_STEAMDECK=m -CONFIG_EXTCON_STEAMDECK=m -# Microsoft Surface CONFIG_HID_IPTS=m CONFIG_HID_ITHC=m CONFIG_SURFACE_BOOK1_DGPU_SWITCH=m CONFIG_VIDEO_DW9719=m CONFIG_IPC_CLASSES=y CONFIG_LEDS_TPS68470=m -# Lenovo Legion CONFIG_LEGION_LAPTOP=m +CONFIG_MFD_STEAMDECK=m +CONFIG_SENSORS_STEAMDECK=m +CONFIG_LEDS_STEAMDECK=m +CONFIG_EXTCON_STEAMDECK=m CONFIG_USB_DWC3_ULPI=y CONFIG_USB_DWC3_DUAL_ROLE=y CONFIG_USB_DWC3_PCI=m diff --git a/SOURCES/kernel-x86_64-fedora.config b/SOURCES/kernel-x86_64-fedora.config index b96591c..ed65762 100644 --- a/SOURCES/kernel-x86_64-fedora.config +++ b/SOURCES/kernel-x86_64-fedora.config @@ -8692,25 +8692,19 @@ CONFIG_ZSWAP=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_Z3FOLD is not set CONFIG_ZSWAP_ZPOOL_DEFAULT_ZBUD=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_ZSMALLOC is not set -# kernel-fsync config CONFIG_I2C_NCT6775=m CONFIG_ZENIFY=y - -# device specific config -# Steam Deck -CONFIG_MFD_STEAMDECK=m -CONFIG_SENSORS_STEAMDECK=m -CONFIG_LEDS_STEAMDECK=m -CONFIG_EXTCON_STEAMDECK=m -# Microsoft Surface CONFIG_HID_IPTS=m CONFIG_HID_ITHC=m CONFIG_SURFACE_BOOK1_DGPU_SWITCH=m CONFIG_VIDEO_DW9719=m CONFIG_IPC_CLASSES=y CONFIG_LEDS_TPS68470=m -# Lenovo Legion CONFIG_LEGION_LAPTOP=m +CONFIG_MFD_STEAMDECK=m +CONFIG_SENSORS_STEAMDECK=m +CONFIG_LEDS_STEAMDECK=m +CONFIG_EXTCON_STEAMDECK=m CONFIG_USB_DWC3_ULPI=y CONFIG_USB_DWC3_DUAL_ROLE=y CONFIG_USB_DWC3_PCI=m diff --git a/SOURCES/kernel-x86_64-rhel.config b/SOURCES/kernel-x86_64-rhel.config index 327ed23..c529b4c 100644 --- a/SOURCES/kernel-x86_64-rhel.config +++ b/SOURCES/kernel-x86_64-rhel.config @@ -7657,25 +7657,19 @@ CONFIG_ZSWAP=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_Z3FOLD is not set CONFIG_ZSWAP_ZPOOL_DEFAULT_ZBUD=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_ZSMALLOC is not set -# kernel-fsync config CONFIG_I2C_NCT6775=m CONFIG_ZENIFY=y - -# device specific config -# Steam Deck -CONFIG_MFD_STEAMDECK=m -CONFIG_SENSORS_STEAMDECK=m -CONFIG_LEDS_STEAMDECK=m -CONFIG_EXTCON_STEAMDECK=m -# Microsoft Surface CONFIG_HID_IPTS=m CONFIG_HID_ITHC=m CONFIG_SURFACE_BOOK1_DGPU_SWITCH=m CONFIG_VIDEO_DW9719=m CONFIG_IPC_CLASSES=y CONFIG_LEDS_TPS68470=m -# Lenovo Legion CONFIG_LEGION_LAPTOP=m +CONFIG_MFD_STEAMDECK=m +CONFIG_SENSORS_STEAMDECK=m +CONFIG_LEDS_STEAMDECK=m +CONFIG_EXTCON_STEAMDECK=m CONFIG_USB_DWC3_ULPI=y CONFIG_USB_DWC3_DUAL_ROLE=y CONFIG_USB_DWC3_PCI=m diff --git a/SOURCES/kernel-x86_64-rt-debug-rhel.config b/SOURCES/kernel-x86_64-rt-debug-rhel.config index d5a21ac..3a7fbfc 100644 --- a/SOURCES/kernel-x86_64-rt-debug-rhel.config +++ b/SOURCES/kernel-x86_64-rt-debug-rhel.config @@ -7743,25 +7743,19 @@ CONFIG_ZSWAP=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_Z3FOLD is not set CONFIG_ZSWAP_ZPOOL_DEFAULT_ZBUD=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_ZSMALLOC is not set -# kernel-fsync config CONFIG_I2C_NCT6775=m CONFIG_ZENIFY=y - -# device specific config -# Steam Deck -CONFIG_MFD_STEAMDECK=m -CONFIG_SENSORS_STEAMDECK=m -CONFIG_LEDS_STEAMDECK=m -CONFIG_EXTCON_STEAMDECK=m -# Microsoft Surface CONFIG_HID_IPTS=m CONFIG_HID_ITHC=m CONFIG_SURFACE_BOOK1_DGPU_SWITCH=m CONFIG_VIDEO_DW9719=m CONFIG_IPC_CLASSES=y CONFIG_LEDS_TPS68470=m -# Lenovo Legion CONFIG_LEGION_LAPTOP=m +CONFIG_MFD_STEAMDECK=m +CONFIG_SENSORS_STEAMDECK=m +CONFIG_LEDS_STEAMDECK=m +CONFIG_EXTCON_STEAMDECK=m CONFIG_USB_DWC3_ULPI=y CONFIG_USB_DWC3_DUAL_ROLE=y CONFIG_USB_DWC3_PCI=m diff --git a/SOURCES/kernel-x86_64-rt-rhel.config b/SOURCES/kernel-x86_64-rt-rhel.config index d1fe8d3..a8cdfb8 100644 --- a/SOURCES/kernel-x86_64-rt-rhel.config +++ b/SOURCES/kernel-x86_64-rt-rhel.config @@ -7719,25 +7719,19 @@ CONFIG_ZSWAP=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_Z3FOLD is not set CONFIG_ZSWAP_ZPOOL_DEFAULT_ZBUD=y # CONFIG_ZSWAP_ZPOOL_DEFAULT_ZSMALLOC is not set -# kernel-fsync config CONFIG_I2C_NCT6775=m CONFIG_ZENIFY=y - -# device specific config -# Steam Deck -CONFIG_MFD_STEAMDECK=m -CONFIG_SENSORS_STEAMDECK=m -CONFIG_LEDS_STEAMDECK=m -CONFIG_EXTCON_STEAMDECK=m -# Microsoft Surface CONFIG_HID_IPTS=m CONFIG_HID_ITHC=m CONFIG_SURFACE_BOOK1_DGPU_SWITCH=m CONFIG_VIDEO_DW9719=m CONFIG_IPC_CLASSES=y CONFIG_LEDS_TPS68470=m -# Lenovo Legion CONFIG_LEGION_LAPTOP=m +CONFIG_MFD_STEAMDECK=m +CONFIG_SENSORS_STEAMDECK=m +CONFIG_LEDS_STEAMDECK=m +CONFIG_EXTCON_STEAMDECK=m CONFIG_USB_DWC3_ULPI=y CONFIG_USB_DWC3_DUAL_ROLE=y CONFIG_USB_DWC3_PCI=m @@ -7745,6 +7739,7 @@ CONFIG_USB_DWC3_HAPS=m CONFIG_USB_DWC2_DUAL_ROLE=y CONFIG_USB_DWC2_PCI=m # CONFIG_USB_DWC2_DEBUG is not set +# CONFIG_USB_DWC2_TRACK_MISSED_SOFS is not set CONFIG_USB_CHIPIDEA_UDC=y CONFIG_USB_CHIPIDEA_HOST=y CONFIG_USB_CHIPIDEA_PCI=m @@ -7756,7 +7751,6 @@ CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2 # CONFIG_USB_GADGET_DEBUG is not set # CONFIG_USB_GADGET_DEBUG_FILES is not set # CONFIG_USB_GADGET_DEBUG_FS is not set -# CONFIG_USB_DWC2_TRACK_MISSED_SOFS is not set # CONFIG_U_SERIAL_CONSOLE is not set # CONFIG_USB_R8A66597 is not set # CONFIG_USB_PXA27X is not set diff --git a/SOURCES/patch-6.5-redhat.patch b/SOURCES/patch-6.5-redhat.patch index ddf4c90..cb273af 100644 --- a/SOURCES/patch-6.5-redhat.patch +++ b/SOURCES/patch-6.5-redhat.patch @@ -24,6 +24,7 @@ drivers/nvme/host/multipath.c | 19 ++-- drivers/nvme/host/nvme.h | 4 + drivers/pci/quirks.c | 24 ++++ + drivers/rtc/rtc-cmos.c | 18 ++- drivers/scsi/sd.c | 10 ++ drivers/usb/core/hub.c | 7 ++ fs/btrfs/space-info.c | 17 +++ @@ -37,10 +38,10 @@ security/lockdown/Kconfig | 13 +++ security/lockdown/lockdown.c | 1 + security/security.c | 12 ++ - 39 files changed, 549 insertions(+), 184 deletions(-) + 40 files changed, 561 insertions(+), 190 deletions(-) diff --git a/Makefile b/Makefile -index 555cc34f4730..f87dc4f3eb24 100644 +index a6e152146028..af6bab938da2 100644 --- a/Makefile +++ b/Makefile @@ -22,6 +22,18 @@ $(if $(filter __%, $(MAKECMDGOALS)), \ @@ -1172,6 +1173,41 @@ index eb65170b97ff..e8b906b6ffbf 100644 /* * Intersil/Techwell TW686[4589]-based video capture cards have an empty (zero) * class code. Fix it. +diff --git a/drivers/rtc/rtc-cmos.c b/drivers/rtc/rtc-cmos.c +index c9416fe8542d..aafb1efe7915 100644 +--- a/drivers/rtc/rtc-cmos.c ++++ b/drivers/rtc/rtc-cmos.c +@@ -818,18 +818,24 @@ static void rtc_wake_off(struct device *dev) + } + + #ifdef CONFIG_X86 +-/* Enable use_acpi_alarm mode for Intel platforms no earlier than 2015 */ + static void use_acpi_alarm_quirks(void) + { +- if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) ++ switch (boot_cpu_data.x86_vendor) { ++ case X86_VENDOR_INTEL: ++ if (dmi_get_bios_year() < 2015) ++ return; ++ break; ++ case X86_VENDOR_AMD: ++ case X86_VENDOR_HYGON: ++ if (dmi_get_bios_year() < 2021) ++ return; ++ break; ++ default: + return; +- ++ } + if (!is_hpet_enabled()) + return; + +- if (dmi_get_bios_year() < 2015) +- return; +- + use_acpi_alarm = true; + } + #else diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index c4babb16dac7..9c9342e0c055 100644 --- a/drivers/scsi/sd.c diff --git a/SOURCES/rog-ally-alsa.patch b/SOURCES/rog-ally-alsa.patch index a756928..6cfa703 100644 --- a/SOURCES/rog-ally-alsa.patch +++ b/SOURCES/rog-ally-alsa.patch @@ -4,42 +4,6 @@ From: Cristian Ciocaltea @ 2023-09-07 17:10 UTC (permalink / raw) Stefan Binding, Charles Keepax, Vitaly Rodionov Cc: alsa-devel, patches, linux-kernel, kernel -The return code of regmap_multi_reg_write() call related to "MDSYNC -down" sequence is shadowed by the subsequent -wait_for_completion_timeout() invocation, which is expected to time -timeout in case the write operation failed. - -Let cs35l41_global_enable() return the correct error code instead of --ETIMEDOUT. - -Fixes: f5030564938b ("ALSA: cs35l41: Add shared boost feature") -Signed-off-by: Cristian Ciocaltea -Acked-by: Charles Keepax ---- - sound/soc/codecs/cs35l41-lib.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/sound/soc/codecs/cs35l41-lib.c b/sound/soc/codecs/cs35l41-lib.c -index 4ec306cd2f47..a018f1d98428 100644 ---- a/sound/soc/codecs/cs35l41-lib.c -+++ b/sound/soc/codecs/cs35l41-lib.c -@@ -1243,7 +1243,7 @@ int cs35l41_global_enable(struct device *dev, struct regmap *regmap, enum cs35l4 - cs35l41_mdsync_down_seq[2].def = pwr_ctrl1; - ret = regmap_multi_reg_write(regmap, cs35l41_mdsync_down_seq, - ARRAY_SIZE(cs35l41_mdsync_down_seq)); -- if (!enable) -+ if (ret || !enable) - break; - - if (!pll_lock) --- -2.41.0 -From: Cristian Ciocaltea @ 2023-09-07 17:10 UTC (permalink / raw) - To: James Schulman, David Rhodes, Richard Fitzgerald, - Jaroslav Kysela, Takashi Iwai, Liam Girdwood, Mark Brown, - Stefan Binding, Charles Keepax, Vitaly Rodionov - Cc: alsa-devel, patches, linux-kernel, kernel - The return code of regmap_multi_reg_write() call related to "MDSYNC up" sequence is shadowed by the subsequent regmap_read_poll_timeout() invocation, which will hit a timeout in case the write operation above @@ -98,47 +62,6 @@ From: Cristian Ciocaltea @ 2023-09-07 17:10 UTC (permalink / raw) Stefan Binding, Charles Keepax, Vitaly Rodionov Cc: alsa-devel, patches, linux-kernel, kernel -Technically, an interrupt handler can be called before probe() finishes -its execution, hence ensure the pll_lock completion object is always -initialized before being accessed in cs35l41_irq(). - -Fixes: f5030564938b ("ALSA: cs35l41: Add shared boost feature") -Signed-off-by: Cristian Ciocaltea -Acked-by: Charles Keepax ---- - sound/soc/codecs/cs35l41.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/sound/soc/codecs/cs35l41.c b/sound/soc/codecs/cs35l41.c -index 722b69a6de26..fe5376b3e01b 100644 ---- a/sound/soc/codecs/cs35l41.c -+++ b/sound/soc/codecs/cs35l41.c -@@ -1273,6 +1273,8 @@ int cs35l41_probe(struct cs35l41_private *cs35l41, const struct cs35l41_hw_cfg * - regmap_update_bits(cs35l41->regmap, CS35L41_IRQ1_MASK3, CS35L41_INT3_PLL_LOCK_MASK, - 0 << CS35L41_INT3_PLL_LOCK_SHIFT); - -+ init_completion(&cs35l41->pll_lock); -+ - ret = devm_request_threaded_irq(cs35l41->dev, cs35l41->irq, NULL, cs35l41_irq, - IRQF_ONESHOT | IRQF_SHARED | irq_pol, - "cs35l41", cs35l41); -@@ -1295,8 +1297,6 @@ int cs35l41_probe(struct cs35l41_private *cs35l41, const struct cs35l41_hw_cfg * - if (ret < 0) - goto err; - -- init_completion(&cs35l41->pll_lock); -- - pm_runtime_set_autosuspend_delay(cs35l41->dev, 3000); - pm_runtime_use_autosuspend(cs35l41->dev); - pm_runtime_mark_last_busy(cs35l41->dev); --- -2.41.0 -From: Cristian Ciocaltea @ 2023-09-07 17:10 UTC (permalink / raw) - To: James Schulman, David Rhodes, Richard Fitzgerald, - Jaroslav Kysela, Takashi Iwai, Liam Girdwood, Mark Brown, - Stefan Binding, Charles Keepax, Vitaly Rodionov - Cc: alsa-devel, patches, linux-kernel, kernel - Enabling the active/passive shared boosts requires setting SYNC_EN, but *not* before receiving the PLL Lock signal. @@ -402,98 +325,6 @@ From: Cristian Ciocaltea @ 2023-09-07 17:10 UTC (permalink / raw) Stefan Binding, Charles Keepax, Vitaly Rodionov Cc: alsa-devel, patches, linux-kernel, kernel -The interrupt handler invokes pm_runtime_get_sync() without checking the -returned error code. - -Add a proper verification and switch to pm_runtime_resume_and_get(), to -avoid the need to call pm_runtime_put_noidle() for decrementing the PM -usage counter before returning from the error condition. - -Fixes: f517ba4924ad ("ASoC: cs35l41: Add support for hibernate memory retention mode") -Signed-off-by: Cristian Ciocaltea -Acked-by: Charles Keepax ---- - sound/soc/codecs/cs35l41.c | 12 ++++++++++-- - 1 file changed, 10 insertions(+), 2 deletions(-) - -diff --git a/sound/soc/codecs/cs35l41.c b/sound/soc/codecs/cs35l41.c -index 12327b4c3d56..a31cb9ba7f7d 100644 ---- a/sound/soc/codecs/cs35l41.c -+++ b/sound/soc/codecs/cs35l41.c -@@ -386,10 +386,18 @@ static irqreturn_t cs35l41_irq(int irq, void *data) - struct cs35l41_private *cs35l41 = data; - unsigned int status[4] = { 0, 0, 0, 0 }; - unsigned int masks[4] = { 0, 0, 0, 0 }; -- int ret = IRQ_NONE; - unsigned int i; -+ int ret; - -- pm_runtime_get_sync(cs35l41->dev); -+ ret = pm_runtime_resume_and_get(cs35l41->dev); -+ if (ret < 0) { -+ dev_err(cs35l41->dev, -+ "pm_runtime_resume_and_get failed in %s: %d\n", -+ __func__, ret); -+ return IRQ_NONE; -+ } -+ -+ ret = IRQ_NONE; - - for (i = 0; i < ARRAY_SIZE(status); i++) { - regmap_read(cs35l41->regmap, --- -2.41.0 -From: Cristian Ciocaltea @ 2023-09-07 17:10 UTC (permalink / raw) - To: James Schulman, David Rhodes, Richard Fitzgerald, - Jaroslav Kysela, Takashi Iwai, Liam Girdwood, Mark Brown, - Stefan Binding, Charles Keepax, Vitaly Rodionov - Cc: alsa-devel, patches, linux-kernel, kernel - -According to the documentation, drivers are responsible for undoing at -removal time all runtime PM changes done during probing. - -Hence, add the missing calls to pm_runtime_dont_use_autosuspend(), which -are necessary for undoing pm_runtime_use_autosuspend(). - -Note this would have been handled implicitly by -devm_pm_runtime_enable(), but there is a need to continue using -pm_runtime_enable()/pm_runtime_disable() in order to ensure the runtime -PM is disabled as soon as the remove() callback is entered. - -Fixes: f517ba4924ad ("ASoC: cs35l41: Add support for hibernate memory retention mode") -Signed-off-by: Cristian Ciocaltea ---- - sound/soc/codecs/cs35l41.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/sound/soc/codecs/cs35l41.c b/sound/soc/codecs/cs35l41.c -index a31cb9ba7f7d..5456e6bfa242 100644 ---- a/sound/soc/codecs/cs35l41.c -+++ b/sound/soc/codecs/cs35l41.c -@@ -1334,6 +1334,7 @@ int cs35l41_probe(struct cs35l41_private *cs35l41, const struct cs35l41_hw_cfg * - return 0; - - err_pm: -+ pm_runtime_dont_use_autosuspend(cs35l41->dev); - pm_runtime_disable(cs35l41->dev); - pm_runtime_put_noidle(cs35l41->dev); - -@@ -1350,6 +1351,7 @@ EXPORT_SYMBOL_GPL(cs35l41_probe); - void cs35l41_remove(struct cs35l41_private *cs35l41) - { - pm_runtime_get_sync(cs35l41->dev); -+ pm_runtime_dont_use_autosuspend(cs35l41->dev); - pm_runtime_disable(cs35l41->dev); - - regmap_write(cs35l41->regmap, CS35L41_IRQ1_MASK1, 0xFFFFFFFF); --- -2.41.0 -From: Cristian Ciocaltea @ 2023-09-07 17:10 UTC (permalink / raw) - To: James Schulman, David Rhodes, Richard Fitzgerald, - Jaroslav Kysela, Takashi Iwai, Liam Girdwood, Mark Brown, - Stefan Binding, Charles Keepax, Vitaly Rodionov - Cc: alsa-devel, patches, linux-kernel, kernel - Use dev_err_probe() helper where possible, to simplify error handling during probe. @@ -797,80 +628,6 @@ From: Cristian Ciocaltea @ 2023-09-07 17:10 UTC (permalink / raw) Stefan Binding, Charles Keepax, Vitaly Rodionov Cc: alsa-devel, patches, linux-kernel, kernel -If component_add() fails, probe() returns without calling -pm_runtime_put(), which leaves the runtime PM usage counter incremented. - -Fix the issue by jumping to err_pm label and drop the now unnecessary -pm_runtime_disable() call. - -Fixes: 7b2f3eb492da ("ALSA: hda: cs35l41: Add support for CS35L41 in HDA systems") -Signed-off-by: Cristian Ciocaltea ---- - sound/pci/hda/cs35l41_hda.c | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -diff --git a/sound/pci/hda/cs35l41_hda.c b/sound/pci/hda/cs35l41_hda.c -index 09a9c135d9b6..6fd827093c92 100644 ---- a/sound/pci/hda/cs35l41_hda.c -+++ b/sound/pci/hda/cs35l41_hda.c -@@ -1625,8 +1625,7 @@ int cs35l41_hda_probe(struct device *dev, const char *device_name, int id, int i - ret = component_add(cs35l41->dev, &cs35l41_hda_comp_ops); - if (ret) { - dev_err(cs35l41->dev, "Register component failed: %d\n", ret); -- pm_runtime_disable(cs35l41->dev); -- goto err; -+ goto err_pm; - } - - dev_info(cs35l41->dev, "Cirrus Logic CS35L41 (%x), Revision: %02X\n", regid, reg_revid); --- -2.41.0 -From: Cristian Ciocaltea @ 2023-09-07 17:10 UTC (permalink / raw) - To: James Schulman, David Rhodes, Richard Fitzgerald, - Jaroslav Kysela, Takashi Iwai, Liam Girdwood, Mark Brown, - Stefan Binding, Charles Keepax, Vitaly Rodionov - Cc: alsa-devel, patches, linux-kernel, kernel - -According to the documentation, drivers are responsible for undoing at -removal time all runtime PM changes done during probing. - -Hence, add the missing calls to pm_runtime_dont_use_autosuspend(), which -are necessary for undoing pm_runtime_use_autosuspend(). - -Fixes: 1873ebd30cc8 ("ALSA: hda: cs35l41: Support Hibernation during Suspend") -Signed-off-by: Cristian Ciocaltea ---- - sound/pci/hda/cs35l41_hda.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/sound/pci/hda/cs35l41_hda.c b/sound/pci/hda/cs35l41_hda.c -index 6fd827093c92..565f7b897436 100644 ---- a/sound/pci/hda/cs35l41_hda.c -+++ b/sound/pci/hda/cs35l41_hda.c -@@ -1633,6 +1633,7 @@ int cs35l41_hda_probe(struct device *dev, const char *device_name, int id, int i - return 0; - - err_pm: -+ pm_runtime_dont_use_autosuspend(cs35l41->dev); - pm_runtime_disable(cs35l41->dev); - pm_runtime_put_noidle(cs35l41->dev); - -@@ -1651,6 +1652,7 @@ void cs35l41_hda_remove(struct device *dev) - struct cs35l41_hda *cs35l41 = dev_get_drvdata(dev); - - pm_runtime_get_sync(cs35l41->dev); -+ pm_runtime_dont_use_autosuspend(cs35l41->dev); - pm_runtime_disable(cs35l41->dev); - - if (cs35l41->halo_initialized) --- -2.41.0 -From: Cristian Ciocaltea @ 2023-09-07 17:10 UTC (permalink / raw) - To: James Schulman, David Rhodes, Richard Fitzgerald, - Jaroslav Kysela, Takashi Iwai, Liam Girdwood, Mark Brown, - Stefan Binding, Charles Keepax, Vitaly Rodionov - Cc: alsa-devel, patches, linux-kernel, kernel - Replace the remaining dev_err() calls in probe() with dev_err_probe(), to improve consistency. diff --git a/SPECS/kernel.spec b/SPECS/kernel.spec index bc0a375..e022424 100644 --- a/SPECS/kernel.spec +++ b/SPECS/kernel.spec @@ -160,18 +160,18 @@ Summary: The Linux kernel # the --with-release option overrides this setting.) %define debugbuildsenabled 1 %define buildid .fsync -%define specrpmversion 6.5.11 -%define specversion 6.5.11 +%define specrpmversion 6.5.12 +%define specversion 6.5.12 %define patchversion 6.5 %define pkgrelease 300 %define kversion 6 -%define tarfile_release 6.5.11 +%define tarfile_release 6.5.12 # This is needed to do merge window version magic %define patchlevel 5 # This allows pkg_release to have configurable %%{?dist} tag -%define specrelease 302%{?buildid}%{?dist} +%define specrelease 301%{?buildid}%{?dist} # This defines the kabi tarball version -%define kabiversion 6.5.11 +%define kabiversion 6.5.12 # If this variable is set to 1, a bpf selftests build failure will cause a # fatal kernel package build error @@ -3779,11 +3779,13 @@ fi\ # # %changelog -* Sat Nov 18 2023 Jan Drögehoff - 6.5.11-302.fsync -- Steam Deck fixes +* Mon Nov 27 2023 Jan Drögehoff - 6.5.12-301.fsync +- kernel-fsync v6.5.12 -* Sun Nov 12 2023 Jan Drögehoff - 6.5.11-301.fsync -- kernel-fsync v6.5.11 +* Mon Nov 20 2023 Augusto Caringi [6.5.12-0] +- Add bug for AMD ACPI alarm (Justin M. Forbes) +- rtc: cmos: Use ACPI alarm for non-Intel x86 systems too (Mario Limonciello) +- Linux v6.5.12 * Wed Nov 08 2023 Augusto Caringi [6.5.11-0] - Linux v6.5.11 diff --git a/TOOLS/patch_configs.py b/TOOLS/patch_configs.py index a1447e0..722a756 100755 --- a/TOOLS/patch_configs.py +++ b/TOOLS/patch_configs.py @@ -159,6 +159,10 @@ for file in CONFIG_FILES: print(f"{file} does not have the right number of segments") exit(1) + if namesegs[0] != "kernel": + print(f"{file} does not appear to be a kernel config") + exit(1) + for file in CONFIG_FILES: filename = os.path.basename(file) print(f"Processing {filename}...") -- cgit v1.2.3