Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kernel-source for openSUSE:Factory 
checked in at 2023-07-24 18:12:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kernel-source (Old)
 and      /work/SRC/openSUSE:Factory/.kernel-source.new.1467 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kernel-source"

Mon Jul 24 18:12:09 2023 rev:697 rq:1099687 version:6.4.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/kernel-source/dtb-aarch64.changes        
2023-07-16 17:28:36.711919435 +0200
+++ /work/SRC/openSUSE:Factory/.kernel-source.new.1467/dtb-aarch64.changes      
2023-07-24 18:12:54.125541764 +0200
@@ -1,0 +2,1449 @@
+Thu Jul 20 07:33:38 CEST 2023 - jsl...@suse.cz
+
+- Linux 6.4.4 (bsc#1012628).
+- start_kernel: Add __no_stack_protector function attribute
+  (bsc#1012628).
+- USB: serial: option: add LARA-R6 01B PIDs (bsc#1012628).
+- usb: dwc3: gadget: Propagate core init errors to UDC during
+  pullup (bsc#1012628).
+- phy: tegra: xusb: Clear the driver reference in usb-phy dev
+  (bsc#1012628).
+- extcon: usbc-tusb320: Unregister typec port on driver removal
+  (bsc#1012628).
+- dt-bindings: iio: ad7192: Add mandatory reference voltage source
+  (bsc#1012628).
+- iio: addac: ad74413: don't set DIN_SINK for functions other
+  than digital input (bsc#1012628).
+- iio: adc: ad7192: Fix null ad7192_state pointer access
+  (bsc#1012628).
+- iio: adc: ad7192: Fix internal/external clock selection
+  (bsc#1012628).
+- iio: accel: fxls8962af: errata bug only applicable for
+  FXLS8962AF (bsc#1012628).
+- iio: accel: fxls8962af: fixup buffer scan element type
+  (bsc#1012628).
+- Revert "drm/amd/display: edp do not add non-edid timings"
+  (bsc#1012628).
+- fs: pipe: reveal missing function protoypes (bsc#1012628).
+- s390/kasan: fix insecure W+X mapping warning (bsc#1012628).
+- blk-mq: don't queue plugged passthrough requests into scheduler
+  (bsc#1012628).
+- block: Fix the type of the second bdev_op_is_zoned_write()
+  argument (bsc#1012628).
+- block/rq_qos: protect rq_qos apis with a new lock (bsc#1012628).
+- splice: Fix filemap_splice_read() to use the correct inode
+  (bsc#1012628).
+- erofs: kill hooked chains to avoid loops on deduplicated
+  compressed images (bsc#1012628).
+- x86/resctrl: Only show tasks' pid in current pid namespace
+  (bsc#1012628).
+- fsverity: use shash API instead of ahash API (bsc#1012628).
+- fsverity: don't use bio_first_page_all() in
+  fsverity_verify_bio() (bsc#1012628).
+- blk-iocost: use spin_lock_irqsave in adjust_inuse_and_calc_cost
+  (bsc#1012628).
+- x86/sev: Fix calculation of end address based on number of pages
+  (bsc#1012628).
+- blk-cgroup: Reinit blkg_iostat_set after clearing in
+  blkcg_reset_stats() (bsc#1012628).
+- virt: sevguest: Add CONFIG_CRYPTO dependency (bsc#1012628).
+- blk-mq: fix potential io hang by wrong 'wake_batch'
+  (bsc#1012628).
+- lockd: drop inappropriate svc_get() from locked_get()
+  (bsc#1012628).
+- nvme-core: fix memory leak in dhchap_secret_store (bsc#1012628).
+- nvme-core: fix memory leak in dhchap_ctrl_secret (bsc#1012628).
+- nvme-core: add missing fault-injection cleanup (bsc#1012628).
+- nvme-core: fix dev_pm_qos memleak (bsc#1012628).
+- md/raid10: check slab-out-of-bounds in md_bitmap_get_counter
+  (bsc#1012628).
+- md/raid10: fix overflow of md/safe_mode_delay (bsc#1012628).
+- md/raid10: fix wrong setting of max_corr_read_errors
+  (bsc#1012628).
+- md/raid10: fix null-ptr-deref of mreplace in raid10_sync_request
+  (bsc#1012628).
+- md/raid10: fix io loss while replacement replace rdev
+  (bsc#1012628).
+- md/raid1-10: factor out a helper to add bio to plug
+  (bsc#1012628).
+- md/raid1-10: factor out a helper to submit normal write
+  (bsc#1012628).
+- md/raid1-10: submit write io directly if bitmap is not enabled
+  (bsc#1012628).
+- block: fix blktrace debugfs entries leakage (bsc#1012628).
+- irqchip/loongson-eiointc: Fix irq affinity setting during resume
+  (bsc#1012628).
+- splice: don't call file_accessed in copy_splice_read
+  (bsc#1012628).
+- irqchip/stm32-exti: Fix warning on initialized field overwritten
+  (bsc#1012628).
+- irqchip/jcore-aic: Fix missing allocation of IRQ descriptors
+  (bsc#1012628).
+- svcrdma: Prevent page release when nothing was received
+  (bsc#1012628).
+- erofs: fix compact 4B support for 16k block size (bsc#1012628).
+- posix-timers: Prevent RT livelock in itimer_delete()
+  (bsc#1012628).
+- tick/rcu: Fix bogus ratelimit condition (bsc#1012628).
+- tracing/timer: Add missing hrtimer modes to
+  decode_hrtimer_mode() (bsc#1012628).
+- btrfs: always read the entire extent_buffer (bsc#1012628).
+- btrfs: don't use btrfs_bio_ctrl for extent buffer reading
+  (bsc#1012628).
+- btrfs: return bool from lock_extent_buffer_for_io (bsc#1012628).
+- btrfs: submit a writeback bio per extent_buffer (bsc#1012628).
+- btrfs: fix range_end calculation in extent_write_locked_range
+  (bsc#1012628).
+- btrfs: don't fail writeback when allocating the compression
+  context fails (bsc#1012628).
+- btrfs: only call __extent_writepage_io from
+  extent_write_locked_range (bsc#1012628).
+- btrfs: don't treat zoned writeback as being from an async
+  helper thread (bsc#1012628).
+- btrfs: fix file_offset for REQ_BTRFS_ONE_ORDERED bios that
+  get split (bsc#1012628).
+- blk-mq: don't insert passthrough request into sw queue
+  (bsc#1012628).
+- clocksource/drivers/cadence-ttc: Fix memory leak in
+  ttc_timer_probe (bsc#1012628).
+- PM: domains: fix integer overflow issues in genpd_parse_state()
+  (bsc#1012628).
+- perf/arm-cmn: Fix DTC reset (bsc#1012628).
+- drivers/perf: apple_m1: Force 63bit counters for M2 CPUs
+  (bsc#1012628).
+- x86/mm: Allow guest.enc_status_change_prepare() to fail
+  (bsc#1012628).
+- x86/tdx: Fix race between set_memory_encrypted() and
+  load_unaligned_zeropad() (bsc#1012628).
+- drivers/perf: hisi: Don't migrate perf to the CPU going to
+  teardown (bsc#1012628).
+- perf: arm_cspmu: Set irq affinitiy only if overflow interrupt
+  is used (bsc#1012628).
+- perf/arm_cspmu: Fix event attribute type (bsc#1012628).
+- APEI: GHES: correctly return NULL for ghes_get_devices()
+  (bsc#1012628).
+- powercap: RAPL: fix invalid initialization for pl4_supported
+  field (bsc#1012628).
+- powercap: RAPL: Fix CONFIG_IOSF_MBI dependency (bsc#1012628).
+- PM: domains: Move the verification of in-params from
+  genpd_add_device() (bsc#1012628).
+- ARM: 9303/1: kprobes: avoid missing-declaration warnings
+  (bsc#1012628).
+- cpufreq: intel_pstate: Fix energy_performance_preference for
+  passive (bsc#1012628).
+- thermal/drivers/qcom/tsens-v0_1: Add support for MSM8226
+  (bsc#1012628).
+- thermal/drivers/qcom/tsens-v0_1: Fix mdm9607 slope values
+  (bsc#1012628).
+- thermal/drivers/qcom/tsens-v0_1: Add mdm9607 correction offsets
+  (bsc#1012628).
+- thermal/drivers/sun8i: Fix some error handling paths in
+  sun8i_ths_probe() (bsc#1012628).
+- thermal/drivers/qoriq: Only enable supported sensors
+  (bsc#1012628).
+- kunit: tool: undo type subscripts for subprocess.Popen
+  (bsc#1012628).
+- rcu: Make rcu_cpu_starting() rely on interrupts being disabled
+  (bsc#1012628).
+- rcu-tasks: Stop rcu_tasks_invoke_cbs() from using never-onlined
+  CPUs (bsc#1012628).
+- rcutorture: Correct name of use_softirq module parameter
+  (bsc#1012628).
+- rcu/rcuscale: Move rcu_scale_*() after kfree_scale_cleanup()
+  (bsc#1012628).
+- rcu/rcuscale: Stop kfree_scale_thread thread(s) after unloading
+  rcuscale (bsc#1012628).
+- x86/mtrr: Remove physical address size calculation
+  (bsc#1012628).
+- x86/mtrr: Support setting MTRR state for software defined MTRRs
+  (bsc#1012628).
+- x86/hyperv: Set MTRR state when running as SEV-SNP Hyper-V guest
+  (bsc#1012628).
+- x86/mtrr: Replace size_or_mask and size_and_mask with a much
+  easier concept (bsc#1012628).
+- x86/xen: Set MTRR state when running as Xen PV initial domain
+  (bsc#1012628).
+- tools/nolibc: ensure fast64 integer types have 64 bits
+  (bsc#1012628).
+- kselftest: vDSO: Fix accumulation of uninitialized ret when
+  CLOCK_REALTIME is undefined (bsc#1012628).
+- selftests/ftace: Fix KTAP output ordering (bsc#1012628).
+- perf/ibs: Fix interface via core pmu events (bsc#1012628).
+- x86/mm: Fix __swp_entry_to_pte() for Xen PV guests
+  (bsc#1012628).
+- reiserfs: Initialize sec->length in reiserfs_security_init()
+  (bsc#1012628).
+- locking/atomic: arm: fix sync ops (bsc#1012628).
+- evm: Complete description of evm_inode_setattr() (bsc#1012628).
+- evm: Fix build warnings (bsc#1012628).
+- ima: Fix build warnings (bsc#1012628).
+- pstore/ram: Add check for kstrdup (bsc#1012628).
+- sched/core: Avoid multiple calling update_rq_clock() in
+  __cfsb_csd_unthrottle() (bsc#1012628).
+- igc: Enable and fix RX hash usage by netstack (bsc#1012628).
+- wifi: ath9k: fix AR9003 mac hardware hang check register offset
+  calculation (bsc#1012628).
+- wifi: ath9k: avoid referencing uninit memory in
+  ath9k_wmi_ctrl_rx (bsc#1012628).
+- libbpf: btf_dump_type_data_check_overflow needs to consider
+  BTF_MEMBER_BITFIELD_SIZE (bsc#1012628).
+- bpf: encapsulate precision backtracking bookkeeping
+  (bsc#1012628).
+- bpf: improve precision backtrack logging (bsc#1012628).
+- bpf: maintain bitmasks across all active frames in
+  __mark_chain_precision (bsc#1012628).
+- bpf: fix propagate_precision() logic for inner frames
+  (bsc#1012628).
+- wifi: rtw89: fix rtw89_read_chip_ver() for RTL8852B and RTL8851B
++++ 1252 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/kernel-source/dtb-aarch64.changes
++++ and /work/SRC/openSUSE:Factory/.kernel-source.new.1467/dtb-aarch64.changes
dtb-armv6l.changes: same change
dtb-armv7l.changes: same change
dtb-riscv64.changes: same change
kernel-64kb.changes: same change
kernel-debug.changes: same change
kernel-default.changes: same change
kernel-docs.changes: same change
kernel-kvmsmall.changes: same change
kernel-lpae.changes: same change
kernel-obs-build.changes: same change
kernel-obs-qa.changes: same change
kernel-pae.changes: same change
kernel-source.changes: same change
kernel-syms.changes: same change
kernel-vanilla.changes: same change
kernel-zfcpdump.changes: same change

Old:
----
  _buildconfig-standard-x86_64
  _buildinfo-standard-x86_64.xml

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ dtb-aarch64.spec ++++++
--- /var/tmp/diff_new_pack.P6f6lc/_old  2023-07-24 18:12:58.661568458 +0200
+++ /var/tmp/diff_new_pack.P6f6lc/_new  2023-07-24 18:12:58.669568505 +0200
@@ -17,7 +17,7 @@
 
 
 %define srcversion 6.4
-%define patchversion 6.4.3
+%define patchversion 6.4.4
 %define variant %{nil}
 
 %include %_sourcedir/kernel-spec-macros
@@ -25,9 +25,9 @@
 %(chmod +x 
%_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
 
 Name:           dtb-aarch64
-Version:        6.4.3
+Version:        6.4.4
 %if 0%{?is_kotd}
-Release:        <RELEASE>.g5ab030f
+Release:        <RELEASE>.g919c802
 %else
 Release:        0
 %endif

dtb-armv6l.spec: same change
dtb-armv7l.spec: same change
dtb-riscv64.spec: same change
++++++ kernel-64kb.spec ++++++
--- /var/tmp/diff_new_pack.P6f6lc/_old  2023-07-24 18:12:58.785569188 +0200
+++ /var/tmp/diff_new_pack.P6f6lc/_new  2023-07-24 18:12:58.789569211 +0200
@@ -18,7 +18,7 @@
 
 
 %define srcversion 6.4
-%define patchversion 6.4.3
+%define patchversion 6.4.4
 %define variant %{nil}
 %define compress_modules zstd
 %define compress_vmlinux xz
@@ -112,9 +112,9 @@
 Summary:        Kernel with 64kb PAGE_SIZE
 License:        GPL-2.0-only
 Group:          System/Kernel
-Version:        6.4.3
+Version:        6.4.4
 %if 0%{?is_kotd}
-Release:        <RELEASE>.g5ab030f
+Release:        <RELEASE>.g919c802
 %else
 Release:        0
 %endif
@@ -245,10 +245,10 @@
 Conflicts:      libc.so.6()(64bit)
 %endif
 Provides:       kernel = %version-%source_rel
-Provides:       
kernel-%build_flavor-base-srchash-5ab030f1f07fd96746960bce337ec62fc11b6a9a
-Provides:       kernel-srchash-5ab030f1f07fd96746960bce337ec62fc11b6a9a
+Provides:       
kernel-%build_flavor-base-srchash-919c802ada31ab19f558e20f85131383e507193e
+Provides:       kernel-srchash-919c802ada31ab19f558e20f85131383e507193e
 # END COMMON DEPS
-Provides:       %name-srchash-5ab030f1f07fd96746960bce337ec62fc11b6a9a
+Provides:       %name-srchash-919c802ada31ab19f558e20f85131383e507193e
 %obsolete_rebuilds %name
 Source0:        
https://www.kernel.org/pub/linux/kernel/v6.x/linux-%srcversion.tar.xz
 Source3:        kernel-source.rpmlintrc
@@ -1346,8 +1346,8 @@
 Conflicts:      libc.so.6()(64bit)
 %endif
 Provides:       kernel = %version-%source_rel
-Provides:       
kernel-%build_flavor-base-srchash-5ab030f1f07fd96746960bce337ec62fc11b6a9a
-Provides:       kernel-srchash-5ab030f1f07fd96746960bce337ec62fc11b6a9a
+Provides:       
kernel-%build_flavor-base-srchash-919c802ada31ab19f558e20f85131383e507193e
+Provides:       kernel-srchash-919c802ada31ab19f558e20f85131383e507193e
 
 %obsolete_rebuilds %name-base
 %ifarch %ix86

++++++ kernel-debug.spec ++++++
--- /var/tmp/diff_new_pack.P6f6lc/_old  2023-07-24 18:12:58.821569399 +0200
+++ /var/tmp/diff_new_pack.P6f6lc/_new  2023-07-24 18:12:58.829569447 +0200
@@ -18,7 +18,7 @@
 
 
 %define srcversion 6.4
-%define patchversion 6.4.3
+%define patchversion 6.4.4
 %define variant %{nil}
 %define compress_modules zstd
 %define compress_vmlinux xz
@@ -112,9 +112,9 @@
 Summary:        A Debug Version of the Kernel
 License:        GPL-2.0-only
 Group:          System/Kernel
-Version:        6.4.3
+Version:        6.4.4
 %if 0%{?is_kotd}
-Release:        <RELEASE>.g5ab030f
+Release:        <RELEASE>.g919c802
 %else
 Release:        0
 %endif
@@ -245,10 +245,10 @@
 Conflicts:      libc.so.6()(64bit)
 %endif
 Provides:       kernel = %version-%source_rel
-Provides:       
kernel-%build_flavor-base-srchash-5ab030f1f07fd96746960bce337ec62fc11b6a9a
-Provides:       kernel-srchash-5ab030f1f07fd96746960bce337ec62fc11b6a9a
+Provides:       
kernel-%build_flavor-base-srchash-919c802ada31ab19f558e20f85131383e507193e
+Provides:       kernel-srchash-919c802ada31ab19f558e20f85131383e507193e
 # END COMMON DEPS
-Provides:       %name-srchash-5ab030f1f07fd96746960bce337ec62fc11b6a9a
+Provides:       %name-srchash-919c802ada31ab19f558e20f85131383e507193e
 %ifarch ppc64
 Provides:       kernel-kdump = 2.6.28
 Obsoletes:      kernel-kdump <= 2.6.28
@@ -1352,8 +1352,8 @@
 Conflicts:      libc.so.6()(64bit)
 %endif
 Provides:       kernel = %version-%source_rel
-Provides:       
kernel-%build_flavor-base-srchash-5ab030f1f07fd96746960bce337ec62fc11b6a9a
-Provides:       kernel-srchash-5ab030f1f07fd96746960bce337ec62fc11b6a9a
+Provides:       
kernel-%build_flavor-base-srchash-919c802ada31ab19f558e20f85131383e507193e
+Provides:       kernel-srchash-919c802ada31ab19f558e20f85131383e507193e
 
 %ifarch ppc64
 Provides:       kernel-kdump-base = 2.6.28

++++++ kernel-default.spec ++++++
--- /var/tmp/diff_new_pack.P6f6lc/_old  2023-07-24 18:12:58.857569612 +0200
+++ /var/tmp/diff_new_pack.P6f6lc/_new  2023-07-24 18:12:58.865569658 +0200
@@ -18,7 +18,7 @@
 
 
 %define srcversion 6.4
-%define patchversion 6.4.3
+%define patchversion 6.4.4
 %define variant %{nil}
 %define compress_modules zstd
 %define compress_vmlinux xz
@@ -112,9 +112,9 @@
 Summary:        The Standard Kernel
 License:        GPL-2.0-only
 Group:          System/Kernel
-Version:        6.4.3
+Version:        6.4.4
 %if 0%{?is_kotd}
-Release:        <RELEASE>.g5ab030f
+Release:        <RELEASE>.g919c802
 %else
 Release:        0
 %endif
@@ -245,10 +245,10 @@
 Conflicts:      libc.so.6()(64bit)
 %endif
 Provides:       kernel = %version-%source_rel
-Provides:       
kernel-%build_flavor-base-srchash-5ab030f1f07fd96746960bce337ec62fc11b6a9a
-Provides:       kernel-srchash-5ab030f1f07fd96746960bce337ec62fc11b6a9a
+Provides:       
kernel-%build_flavor-base-srchash-919c802ada31ab19f558e20f85131383e507193e
+Provides:       kernel-srchash-919c802ada31ab19f558e20f85131383e507193e
 # END COMMON DEPS
-Provides:       %name-srchash-5ab030f1f07fd96746960bce337ec62fc11b6a9a
+Provides:       %name-srchash-919c802ada31ab19f558e20f85131383e507193e
 %ifarch %ix86
 Provides:       kernel-smp = 2.6.17
 Obsoletes:      kernel-smp <= 2.6.17
@@ -1395,8 +1395,8 @@
 Conflicts:      libc.so.6()(64bit)
 %endif
 Provides:       kernel = %version-%source_rel
-Provides:       
kernel-%build_flavor-base-srchash-5ab030f1f07fd96746960bce337ec62fc11b6a9a
-Provides:       kernel-srchash-5ab030f1f07fd96746960bce337ec62fc11b6a9a
+Provides:       
kernel-%build_flavor-base-srchash-919c802ada31ab19f558e20f85131383e507193e
+Provides:       kernel-srchash-919c802ada31ab19f558e20f85131383e507193e
 
 %ifarch %ix86
 Provides:       kernel-trace-base = 3.13

++++++ kernel-docs.spec ++++++
--- /var/tmp/diff_new_pack.P6f6lc/_old  2023-07-24 18:12:58.897569846 +0200
+++ /var/tmp/diff_new_pack.P6f6lc/_new  2023-07-24 18:12:58.905569894 +0200
@@ -17,7 +17,7 @@
 
 
 %define srcversion 6.4
-%define patchversion 6.4.3
+%define patchversion 6.4.4
 %define variant %{nil}
 %define build_html 1
 %define build_pdf 0
@@ -30,9 +30,9 @@
 Summary:        Kernel Documentation
 License:        GPL-2.0-only
 Group:          Documentation/Man
-Version:        6.4.3
+Version:        6.4.4
 %if 0%{?is_kotd}
-Release:        <RELEASE>.g5ab030f
+Release:        <RELEASE>.g919c802
 %else
 Release:        0
 %endif
@@ -83,7 +83,7 @@
 %endif
 URL:            https://www.kernel.org/
 Provides:       %name = %version-%source_rel
-Provides:       %name-srchash-5ab030f1f07fd96746960bce337ec62fc11b6a9a
+Provides:       %name-srchash-919c802ada31ab19f558e20f85131383e507193e
 BuildArch:      noarch
 Source0:        
https://www.kernel.org/pub/linux/kernel/v6.x/linux-%srcversion.tar.xz
 Source3:        kernel-source.rpmlintrc

++++++ kernel-kvmsmall.spec ++++++
--- /var/tmp/diff_new_pack.P6f6lc/_old  2023-07-24 18:12:58.933570059 +0200
+++ /var/tmp/diff_new_pack.P6f6lc/_new  2023-07-24 18:12:58.937570082 +0200
@@ -18,7 +18,7 @@
 
 
 %define srcversion 6.4
-%define patchversion 6.4.3
+%define patchversion 6.4.4
 %define variant %{nil}
 %define compress_modules zstd
 %define compress_vmlinux xz
@@ -112,9 +112,9 @@
 Summary:        The Small Developer Kernel for KVM
 License:        GPL-2.0-only
 Group:          System/Kernel
-Version:        6.4.3
+Version:        6.4.4
 %if 0%{?is_kotd}
-Release:        <RELEASE>.g5ab030f
+Release:        <RELEASE>.g919c802
 %else
 Release:        0
 %endif
@@ -245,10 +245,10 @@
 Conflicts:      libc.so.6()(64bit)
 %endif
 Provides:       kernel = %version-%source_rel
-Provides:       
kernel-%build_flavor-base-srchash-5ab030f1f07fd96746960bce337ec62fc11b6a9a
-Provides:       kernel-srchash-5ab030f1f07fd96746960bce337ec62fc11b6a9a
+Provides:       
kernel-%build_flavor-base-srchash-919c802ada31ab19f558e20f85131383e507193e
+Provides:       kernel-srchash-919c802ada31ab19f558e20f85131383e507193e
 # END COMMON DEPS
-Provides:       %name-srchash-5ab030f1f07fd96746960bce337ec62fc11b6a9a
+Provides:       %name-srchash-919c802ada31ab19f558e20f85131383e507193e
 %obsolete_rebuilds %name
 Source0:        
https://www.kernel.org/pub/linux/kernel/v6.x/linux-%srcversion.tar.xz
 Source3:        kernel-source.rpmlintrc
@@ -1350,8 +1350,8 @@
 Conflicts:      libc.so.6()(64bit)
 %endif
 Provides:       kernel = %version-%source_rel
-Provides:       
kernel-%build_flavor-base-srchash-5ab030f1f07fd96746960bce337ec62fc11b6a9a
-Provides:       kernel-srchash-5ab030f1f07fd96746960bce337ec62fc11b6a9a
+Provides:       
kernel-%build_flavor-base-srchash-919c802ada31ab19f558e20f85131383e507193e
+Provides:       kernel-srchash-919c802ada31ab19f558e20f85131383e507193e
 
 %obsolete_rebuilds %name-base
 %ifarch %ix86

kernel-lpae.spec: same change
++++++ kernel-obs-build.spec ++++++
--- /var/tmp/diff_new_pack.P6f6lc/_old  2023-07-24 18:12:59.005570482 +0200
+++ /var/tmp/diff_new_pack.P6f6lc/_new  2023-07-24 18:12:59.009570506 +0200
@@ -19,7 +19,7 @@
 
 #!BuildIgnore: post-build-checks
 
-%define patchversion 6.4.3
+%define patchversion 6.4.4
 %define variant %{nil}
 
 %include %_sourcedir/kernel-spec-macros
@@ -44,7 +44,7 @@
 %endif
 %endif
 %endif
-BuildRequires:  
kernel%kernel_flavor-srchash-5ab030f1f07fd96746960bce337ec62fc11b6a9a
+BuildRequires:  
kernel%kernel_flavor-srchash-919c802ada31ab19f558e20f85131383e507193e
 
 %if 0%{?rhel_version}
 BuildRequires:  kernel
@@ -56,9 +56,9 @@
 Summary:        package kernel and initrd for OBS VM builds
 License:        GPL-2.0-only
 Group:          SLES
-Version:        6.4.3
+Version:        6.4.4
 %if 0%{?is_kotd}
-Release:        <RELEASE>.g5ab030f
+Release:        <RELEASE>.g919c802
 %else
 Release:        0
 %endif

++++++ kernel-obs-qa.spec ++++++
--- /var/tmp/diff_new_pack.P6f6lc/_old  2023-07-24 18:12:59.041570694 +0200
+++ /var/tmp/diff_new_pack.P6f6lc/_new  2023-07-24 18:12:59.045570718 +0200
@@ -17,7 +17,7 @@
 # needsrootforbuild
 
 
-%define patchversion 6.4.3
+%define patchversion 6.4.4
 %define variant %{nil}
 
 %include %_sourcedir/kernel-spec-macros
@@ -32,9 +32,9 @@
 Summary:        Basic QA tests for the kernel
 License:        GPL-2.0-only
 Group:          SLES
-Version:        6.4.3
+Version:        6.4.4
 %if 0%{?is_kotd}
-Release:        <RELEASE>.g5ab030f
+Release:        <RELEASE>.g919c802
 %else
 Release:        0
 %endif

++++++ kernel-pae.spec ++++++
--- /var/tmp/diff_new_pack.P6f6lc/_old  2023-07-24 18:12:59.069570859 +0200
+++ /var/tmp/diff_new_pack.P6f6lc/_new  2023-07-24 18:12:59.073570883 +0200
@@ -18,7 +18,7 @@
 
 
 %define srcversion 6.4
-%define patchversion 6.4.3
+%define patchversion 6.4.4
 %define variant %{nil}
 %define compress_modules zstd
 %define compress_vmlinux xz
@@ -112,9 +112,9 @@
 Summary:        Kernel with PAE Support
 License:        GPL-2.0-only
 Group:          System/Kernel
-Version:        6.4.3
+Version:        6.4.4
 %if 0%{?is_kotd}
-Release:        <RELEASE>.g5ab030f
+Release:        <RELEASE>.g919c802
 %else
 Release:        0
 %endif
@@ -245,10 +245,10 @@
 Conflicts:      libc.so.6()(64bit)
 %endif
 Provides:       kernel = %version-%source_rel
-Provides:       
kernel-%build_flavor-base-srchash-5ab030f1f07fd96746960bce337ec62fc11b6a9a
-Provides:       kernel-srchash-5ab030f1f07fd96746960bce337ec62fc11b6a9a
+Provides:       
kernel-%build_flavor-base-srchash-919c802ada31ab19f558e20f85131383e507193e
+Provides:       kernel-srchash-919c802ada31ab19f558e20f85131383e507193e
 # END COMMON DEPS
-Provides:       %name-srchash-5ab030f1f07fd96746960bce337ec62fc11b6a9a
+Provides:       %name-srchash-919c802ada31ab19f558e20f85131383e507193e
 %ifarch %ix86
 Provides:       kernel-bigsmp = 2.6.17
 Obsoletes:      kernel-bigsmp <= 2.6.17
@@ -1372,8 +1372,8 @@
 Conflicts:      libc.so.6()(64bit)
 %endif
 Provides:       kernel = %version-%source_rel
-Provides:       
kernel-%build_flavor-base-srchash-5ab030f1f07fd96746960bce337ec62fc11b6a9a
-Provides:       kernel-srchash-5ab030f1f07fd96746960bce337ec62fc11b6a9a
+Provides:       
kernel-%build_flavor-base-srchash-919c802ada31ab19f558e20f85131383e507193e
+Provides:       kernel-srchash-919c802ada31ab19f558e20f85131383e507193e
 
 %ifarch %ix86
 Provides:       kernel-vmi-base = 2.6.38

++++++ kernel-source.spec ++++++
--- /var/tmp/diff_new_pack.P6f6lc/_old  2023-07-24 18:12:59.097571024 +0200
+++ /var/tmp/diff_new_pack.P6f6lc/_new  2023-07-24 18:12:59.105571070 +0200
@@ -17,7 +17,7 @@
 
 
 %define srcversion 6.4
-%define patchversion 6.4.3
+%define patchversion 6.4.4
 %define variant %{nil}
 
 %include %_sourcedir/kernel-spec-macros
@@ -30,9 +30,9 @@
 %endif
 
 Name:           kernel-source
-Version:        6.4.3
+Version:        6.4.4
 %if 0%{?is_kotd}
-Release:        <RELEASE>.g5ab030f
+Release:        <RELEASE>.g919c802
 %else
 Release:        0
 %endif
@@ -49,7 +49,7 @@
 BuildRequires:  sed
 Requires(post): coreutils sed
 Provides:       %name = %version-%source_rel
-Provides:       %name-srchash-5ab030f1f07fd96746960bce337ec62fc11b6a9a
+Provides:       %name-srchash-919c802ada31ab19f558e20f85131383e507193e
 Provides:       linux
 Provides:       multiversion(kernel)
 Source0:        
https://www.kernel.org/pub/linux/kernel/v6.x/linux-%srcversion.tar.xz

++++++ kernel-syms.spec ++++++
--- /var/tmp/diff_new_pack.P6f6lc/_old  2023-07-24 18:12:59.133571236 +0200
+++ /var/tmp/diff_new_pack.P6f6lc/_new  2023-07-24 18:12:59.137571259 +0200
@@ -24,10 +24,10 @@
 Summary:        Kernel Symbol Versions (modversions)
 License:        GPL-2.0-only
 Group:          Development/Sources
-Version:        6.4.3
+Version:        6.4.4
 %if %using_buildservice
 %if 0%{?is_kotd}
-Release:        <RELEASE>.g5ab030f
+Release:        <RELEASE>.g919c802
 %else
 Release:        0
 %endif
@@ -52,7 +52,7 @@
 %endif
 Requires:       pesign-obs-integration
 Provides:       %name = %version-%source_rel
-Provides:       %name-srchash-5ab030f1f07fd96746960bce337ec62fc11b6a9a
+Provides:       %name-srchash-919c802ada31ab19f558e20f85131383e507193e
 Provides:       multiversion(kernel)
 Source:         README.KSYMS
 Requires:       kernel-devel%variant = %version-%source_rel

++++++ kernel-vanilla.spec ++++++
--- /var/tmp/diff_new_pack.P6f6lc/_old  2023-07-24 18:12:59.173571471 +0200
+++ /var/tmp/diff_new_pack.P6f6lc/_new  2023-07-24 18:12:59.177571495 +0200
@@ -18,7 +18,7 @@
 
 
 %define srcversion 6.4
-%define patchversion 6.4.3
+%define patchversion 6.4.4
 %define variant %{nil}
 %define compress_modules zstd
 %define compress_vmlinux xz
@@ -112,9 +112,9 @@
 Summary:        The Standard Kernel - without any SUSE patches
 License:        GPL-2.0-only
 Group:          System/Kernel
-Version:        6.4.3
+Version:        6.4.4
 %if 0%{?is_kotd}
-Release:        <RELEASE>.g5ab030f
+Release:        <RELEASE>.g919c802
 %else
 Release:        0
 %endif
@@ -245,10 +245,10 @@
 Conflicts:      libc.so.6()(64bit)
 %endif
 Provides:       kernel = %version-%source_rel
-Provides:       
kernel-%build_flavor-base-srchash-5ab030f1f07fd96746960bce337ec62fc11b6a9a
-Provides:       kernel-srchash-5ab030f1f07fd96746960bce337ec62fc11b6a9a
+Provides:       
kernel-%build_flavor-base-srchash-919c802ada31ab19f558e20f85131383e507193e
+Provides:       kernel-srchash-919c802ada31ab19f558e20f85131383e507193e
 # END COMMON DEPS
-Provides:       %name-srchash-5ab030f1f07fd96746960bce337ec62fc11b6a9a
+Provides:       %name-srchash-919c802ada31ab19f558e20f85131383e507193e
 %obsolete_rebuilds %name
 Source0:        
https://www.kernel.org/pub/linux/kernel/v6.x/linux-%srcversion.tar.xz
 Source3:        kernel-source.rpmlintrc
@@ -1343,8 +1343,8 @@
 Conflicts:      libc.so.6()(64bit)
 %endif
 Provides:       kernel = %version-%source_rel
-Provides:       
kernel-%build_flavor-base-srchash-5ab030f1f07fd96746960bce337ec62fc11b6a9a
-Provides:       kernel-srchash-5ab030f1f07fd96746960bce337ec62fc11b6a9a
+Provides:       
kernel-%build_flavor-base-srchash-919c802ada31ab19f558e20f85131383e507193e
+Provides:       kernel-srchash-919c802ada31ab19f558e20f85131383e507193e
 
 %obsolete_rebuilds %name-base
 %ifarch %ix86

kernel-zfcpdump.spec: same change


++++++ patches.kernel.org.tar.bz2 ++++++
++++ 78362 lines of diff (skipped)

++++++ patches.rpmify.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.rpmify/usrmerge-Adjust-module-path-in-the-kernel-sources.patch 
new/patches.rpmify/usrmerge-Adjust-module-path-in-the-kernel-sources.patch
--- old/patches.rpmify/usrmerge-Adjust-module-path-in-the-kernel-sources.patch  
2023-07-06 10:58:11.000000000 +0200
+++ new/patches.rpmify/usrmerge-Adjust-module-path-in-the-kernel-sources.patch  
2023-07-13 15:23:17.000000000 +0200
@@ -1,15 +1,20 @@
-From 5e6b2a46d4342a6a0ac2f2a3235666154f74d0f8 Mon Sep 17 00:00:00 2001
+From d4ed171f077b7735e12397dc52be515a56b4a2ab Mon Sep 17 00:00:00 2001
 From: Michal Suchanek <msucha...@suse.de>
 Date: Thu, 29 Jun 2023 17:47:16 +0200
-Subject: [PATCH] usrmerge: Adjust module path in the kernel sources.
+Subject: [PATCH] depmod: Handle installing modules under a prefix
 
 References: bsc#1212835
-Patch-mainline: not yet, to get throuhg more testing
+Patch-mainline: submitted 
https://lore.kernel.org/linux-modules/20230711153126.28876-1-msucha...@suse.de/
 
-Get the module path prefix from patched kmod output.
+Some distributions aim at not shipping any files in / ustside of usr.
 
-On systems with unpatched kmod the prefix correctly resolves to empty
-string.
+The path under which kernel modules are instaleld is hardcoded to /lib
+which conflicts with this goal.
+
+When kmod provides the config command use it to determine the correct
+module installation prefix.
+
+On kmod that does not provide the command / is used as before.
 
 Signed-off-by: Michal Suchanek <msucha...@suse.de>
 ---
@@ -18,15 +23,15 @@
  2 files changed, 7 insertions(+), 5 deletions(-)
 
 diff --git a/Makefile b/Makefile
-index 1dc91aa36c1f..d702e7a637c6 100644
+index 47690c28456a..b1fea135bdec 100644
 --- a/Makefile
 +++ b/Makefile
-@@ -1166,7 +1166,9 @@ export INSTALL_DTBS_PATH ?= 
$(INSTALL_PATH)/dtbs/$(KERNELRELEASE)
+@@ -1165,7 +1165,9 @@ export INSTALL_DTBS_PATH ?= 
$(INSTALL_PATH)/dtbs/$(KERNELRELEASE)
  # makefile but the argument can be passed to make if needed.
  #
  
 -MODLIB        = $(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE)
-+export KERNEL_MODULE_PREFIX := $(shell kmod config | jq -r .module_prefix)
++export KERNEL_MODULE_PREFIX := $(shell kmod config &> /dev/null && kmod 
config | jq -r .module_prefix)
 +
 +MODLIB        = 
$(INSTALL_MOD_PATH)$(KERNEL_MODULE_PREFIX)/lib/modules/$(KERNELRELEASE)
  export MODLIB

++++++ patches.suse.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/ACPI-video-Add-backlight-native-DMI-quirk-for-Lenovo.patch 
new/patches.suse/ACPI-video-Add-backlight-native-DMI-quirk-for-Lenovo.patch
--- old/patches.suse/ACPI-video-Add-backlight-native-DMI-quirk-for-Lenovo.patch 
1970-01-01 01:00:00.000000000 +0100
+++ new/patches.suse/ACPI-video-Add-backlight-native-DMI-quirk-for-Lenovo.patch 
2023-07-20 07:33:38.000000000 +0200
@@ -0,0 +1,41 @@
+From: "Jiri Slaby (SUSE)" <jirisl...@kernel.org>
+Date: Tue, 18 Apr 2023 08:42:00 +0200
+Subject: ACPI: video: Add backlight=native DMI quirk for Lenovo Ideapad Z470
+Git-repo: 
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git#linux-next
+Git-commit: 96b709be183c56293933ef45b8b75f8af268c6de
+Patch-mainline: Queued in subsystem maintainer repository
+References: bsc#1208724
+
+The Lenovo Ideapad Z470 predates Windows 8, so it defaults to using
+acpi_video for backlight control. But this is not functional on this
+model.
+
+Add a DMI quirk to use the native backlight interface which works.
+
+Link: https://bugzilla.suse.com/show_bug.cgi?id=1208724
+Signed-off-by: Jiri Slaby (SUSE) <jirisl...@kernel.org>
+Reviewed-by: Hans de Goede <hdego...@redhat.com>
+Signed-off-by: Rafael J. Wysocki <rafael.j.wyso...@intel.com>
+Signed-off-by: Jiri Slaby <jsl...@suse.cz>
+---
+ drivers/acpi/video_detect.c |    9 +++++++++
+ 1 file changed, 9 insertions(+)
+
+--- a/drivers/acpi/video_detect.c
++++ b/drivers/acpi/video_detect.c
+@@ -446,6 +446,15 @@ static const struct dmi_system_id video_
+               },
+       },
+       {
++       /* https://bugzilla.suse.com/show_bug.cgi?id=1208724 */
++       .callback = video_detect_force_native,
++       /* Lenovo Ideapad Z470 */
++       .matches = {
++              DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
++              DMI_MATCH(DMI_PRODUCT_VERSION, "IdeaPad Z470"),
++              },
++      },
++      {
+        /* https://bugzilla.redhat.com/show_bug.cgi?id=1187004 */
+        .callback = video_detect_force_native,
+        /* Lenovo Ideapad Z570 */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/drm-amd-Disable-PSR-SU-on-Parade-0803-TCON.patch 
new/patches.suse/drm-amd-Disable-PSR-SU-on-Parade-0803-TCON.patch
--- old/patches.suse/drm-amd-Disable-PSR-SU-on-Parade-0803-TCON.patch   
2023-07-11 07:03:09.000000000 +0200
+++ new/patches.suse/drm-amd-Disable-PSR-SU-on-Parade-0803-TCON.patch   
2023-07-20 07:33:38.000000000 +0200
@@ -3,9 +3,9 @@
 Date: Mon, 19 Jun 2023 15:04:24 -0500
 Subject: [PATCH] drm/amd: Disable PSR-SU on Parade 0803 TCON
 References: bsc#1212848
-Patch-mainline: Queued in subsystem maintainer repository
-Git-repo: https://gitlab.freedesktop.org/agd5f/linux.git
-Git-commit: 9d5137e01cb8c67e30e30865fd5b0abe71fa3372
+Patch-mainline: v6.5-rc1
+Git-commit: 072030b1783056b5de8b0fac5303a5e9dbc6cfde
+Alt-commit: 9d5137e01cb8c67e30e30865fd5b0abe71fa3372
 
 A number of users have reported that there are random hangs occurring
 caused by PSR-SU specifically on panels that contain the parade 0803
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/drm-amd-Don-t-try-to-enable-secure-display-TA-multip.patch 
new/patches.suse/drm-amd-Don-t-try-to-enable-secure-display-TA-multip.patch
--- old/patches.suse/drm-amd-Don-t-try-to-enable-secure-display-TA-multip.patch 
2023-07-11 07:03:09.000000000 +0200
+++ new/patches.suse/drm-amd-Don-t-try-to-enable-secure-display-TA-multip.patch 
1970-01-01 01:00:00.000000000 +0100
@@ -1,42 +0,0 @@
-From 134ea95255cf359a2e6d70308c15243c3fdf8eaf Mon Sep 17 00:00:00 2001
-From: Mario Limonciello <mario.limoncie...@amd.com>
-Date: Thu, 22 Jun 2023 22:18:39 -0500
-Subject: [PATCH] drm/amd: Don't try to enable secure display TA multiple times
-References: bsc#1212848
-Patch-mainline: Queued in subsystem maintainer repository
-Git-repo: https://gitlab.freedesktop.org/agd5f/linux.git
-Git-commit: 134ea95255cf359a2e6d70308c15243c3fdf8eaf
-
-If the securedisplay TA failed to load the first time, it's unlikely
-to work again after a suspend/resume cycle or reset cycle and it appears
-to be causing problems in futher attempts.
-
-Fixes: e42dfa66d592 ("drm/amdgpu: Add secure display TA load for Renoir")
-Reported-by: Filip Hejsek <filip.hej...@gmail.com>
-Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/2633
-Signed-off-by: Mario Limonciello <mario.limoncie...@amd.com>
-Acked-by: Alex Deucher <alexander.deuc...@amd.com>
-Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
-Cc: sta...@vger.kernel.org
-Acked-by: Takashi Iwai <ti...@suse.de>
-
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
-index a150b7a4b4aa..e4757a2807d9 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
-@@ -1947,6 +1947,8 @@ static int psp_securedisplay_initialize(struct 
psp_context *psp)
-               psp_securedisplay_parse_resp_status(psp, 
securedisplay_cmd->status);
-               dev_err(psp->adev->dev, "SECUREDISPLAY: query securedisplay TA 
failed. ret 0x%x\n",
-                       
securedisplay_cmd->securedisplay_out_message.query_ta.query_cmd_ret);
-+              /* don't try again */
-+              psp->securedisplay_context.context.bin_desc.size_bytes = 0;
-       }
- 
-       return 0;
--- 
-2.35.3
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/drm-amd-display-Fix-128b132b-link-loss-handling.patch 
new/patches.suse/drm-amd-display-Fix-128b132b-link-loss-handling.patch
--- old/patches.suse/drm-amd-display-Fix-128b132b-link-loss-handling.patch      
2023-07-11 07:03:09.000000000 +0200
+++ new/patches.suse/drm-amd-display-Fix-128b132b-link-loss-handling.patch      
2023-07-20 07:33:38.000000000 +0200
@@ -3,9 +3,9 @@
 Date: Wed, 7 Jun 2023 16:49:45 -0400
 Subject: [PATCH] drm/amd/display: Fix 128b132b link loss handling
 References: bsc#1212848
-Patch-mainline: Queued in subsystem maintainer repository
-Git-repo: https://gitlab.freedesktop.org/agd5f/linux.git
-Git-commit: a3ba64c267ba9d450b8b525932dad31bd85be48b
+Patch-mainline: v6.5-rc1
+Git-commit: ed83fe2abcace898fdec5c2ba0455703178ac9a3
+Alt-commit: a3ba64c267ba9d450b8b525932dad31bd85be48b
 
 [Why]
 We don't check 128b132b-specific bits in LANE_ALIGN_STATUS_UPDATED DPCD
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/drm-amd-display-add-a-NULL-pointer-check.patch 
new/patches.suse/drm-amd-display-add-a-NULL-pointer-check.patch
--- old/patches.suse/drm-amd-display-add-a-NULL-pointer-check.patch     
2023-07-11 07:03:09.000000000 +0200
+++ new/patches.suse/drm-amd-display-add-a-NULL-pointer-check.patch     
2023-07-20 07:33:38.000000000 +0200
@@ -3,9 +3,9 @@
 Date: Tue, 6 Jun 2023 14:28:38 +0800
 Subject: [PATCH] drm/amd/display: add a NULL pointer check
 References: bsc#1212848
-Patch-mainline: Queued in subsystem maintainer repository
-Git-repo: https://gitlab.freedesktop.org/agd5f/linux.git
-Git-commit: b8a3031ce20fc83e339c2967be6665f8418e8097
+Patch-mainline: v6.5-rc1
+Git-commit: 0f48a4b83610cb0e4e0bc487800ab69f51b4aca6
+Alt-commit: b8a3031ce20fc83e339c2967be6665f8418e8097
 
 [Why & How]
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/drm-amd-display-disable-seamless-boot-if-force_odm_c.patch 
new/patches.suse/drm-amd-display-disable-seamless-boot-if-force_odm_c.patch
--- old/patches.suse/drm-amd-display-disable-seamless-boot-if-force_odm_c.patch 
2023-07-11 07:03:09.000000000 +0200
+++ new/patches.suse/drm-amd-display-disable-seamless-boot-if-force_odm_c.patch 
2023-07-20 07:33:38.000000000 +0200
@@ -3,9 +3,9 @@
 Date: Thu, 8 Jun 2023 16:37:38 -0400
 Subject: [PATCH] drm/amd/display: disable seamless boot if force_odm_combine 
is enabled
 References: bsc#1212848
-Patch-mainline: Queued in subsystem maintainer repository
-Git-repo: https://gitlab.freedesktop.org/agd5f/linux.git
-Git-commit: 47cfea157cafcc7411ff6e97daf5d8d7426d9493
+Patch-mainline: v6.5-rc1
+Git-commit: 26518b39181876064850209ecdab48c0ee5924b1
+Alt-commit: 47cfea157cafcc7411ff6e97daf5d8d7426d9493
 
 [Why & How]
 Having seamless boot on while forcing debug option ODM combine 2 to 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/drm-amd-display-perform-a-bounds-check-before-fillin.patch 
new/patches.suse/drm-amd-display-perform-a-bounds-check-before-fillin.patch
--- old/patches.suse/drm-amd-display-perform-a-bounds-check-before-fillin.patch 
2023-07-11 07:03:09.000000000 +0200
+++ new/patches.suse/drm-amd-display-perform-a-bounds-check-before-fillin.patch 
2023-07-20 07:33:38.000000000 +0200
@@ -3,9 +3,9 @@
 Date: Wed, 21 Jun 2023 15:19:05 -0400
 Subject: [PATCH] drm/amd/display: perform a bounds check before filling dirty 
rectangles
 References: bsc#1212848
-Patch-mainline: Queued in subsystem maintainer repository
-Git-repo: https://gitlab.freedesktop.org/agd5f/linux.git
-Git-commit: f5050ba6c1f6bf31e45a646ebd560ee132265456
+Patch-mainline: v6.5-rc1
+Git-commit: af22d6a869cc26b519bfdcd54293c53f2e491870
+Alt-commit: f5050ba6c1f6bf31e45a646ebd560ee132265456
 
 Currently, it is possible for us to access memory that we shouldn't.
 Since, we acquire (possibly dangling) pointers to dirty rectangles
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/drm-amd-pm-add-abnormal-fan-detection-for-smu-13.0.0.patch 
new/patches.suse/drm-amd-pm-add-abnormal-fan-detection-for-smu-13.0.0.patch
--- old/patches.suse/drm-amd-pm-add-abnormal-fan-detection-for-smu-13.0.0.patch 
2023-07-11 07:03:09.000000000 +0200
+++ new/patches.suse/drm-amd-pm-add-abnormal-fan-detection-for-smu-13.0.0.patch 
1970-01-01 01:00:00.000000000 +0100
@@ -1,36 +0,0 @@
-From 7bd2c254765dac3b865b4edbe6bb575e5ed81be2 Mon Sep 17 00:00:00 2001
-From: Kenneth Feng <kenneth.f...@amd.com>
-Date: Tue, 20 Jun 2023 11:41:40 +0800
-Subject: [PATCH] drm/amd/pm: add abnormal fan detection for smu 13.0.0
-References: bsc#1212848
-Patch-mainline: Queued in subsystem maintainer repository
-Git-repo: https://gitlab.freedesktop.org/agd5f/linux.git
-Git-commit: 7bd2c254765dac3b865b4edbe6bb575e5ed81be2
-
-add abnormal fan detection for smu 13.0.0
-
-Signed-off-by: Kenneth Feng <kenneth.f...@amd.com>
-Reviewed-by: Evan Quan <evan.q...@amd.com>
-Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
-Cc: sta...@vger.kernel.org # 6.1.x
-Acked-by: Takashi Iwai <ti...@suse.de>
-
----
- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c 
b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c
-index 08577d1b84ec..c42c0c1446f4 100644
---- a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c
-+++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c
-@@ -1300,6 +1300,7 @@ static int 
smu_v13_0_0_get_thermal_temperature_range(struct smu_context *smu,
-       range->mem_emergency_max = 
(pptable->SkuTable.TemperatureLimit[TEMP_MEM] + CTF_OFFSET_MEM)*
-               SMU_TEMPERATURE_UNITS_PER_CENTIGRADES;
-       range->software_shutdown_temp = powerplay_table->software_shutdown_temp;
-+      range->software_shutdown_temp_offset = 
pptable->SkuTable.FanAbnormalTempLimitOffset;
- 
-       return 0;
- }
--- 
-2.35.3
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/drm-amd-pm-revise-the-ASPM-settings-for-thunderbolt-.patch 
new/patches.suse/drm-amd-pm-revise-the-ASPM-settings-for-thunderbolt-.patch
--- old/patches.suse/drm-amd-pm-revise-the-ASPM-settings-for-thunderbolt-.patch 
2023-07-11 07:03:09.000000000 +0200
+++ new/patches.suse/drm-amd-pm-revise-the-ASPM-settings-for-thunderbolt-.patch 
1970-01-01 01:00:00.000000000 +0100
@@ -1,54 +0,0 @@
-From d9b64859512ccd79a0d3387e29e4503999301a1e Mon Sep 17 00:00:00 2001
-From: Evan Quan <evan.q...@amd.com>
-Date: Thu, 15 Jun 2023 10:56:55 +0800
-Subject: [PATCH] drm/amd/pm: revise the ASPM settings for thunderbolt attached 
scenario
-References: bsc#1212848
-Patch-mainline: Queued in subsystem maintainer repository
-Git-repo: https://gitlab.freedesktop.org/agd5f/linux.git
-Git-commit: d9b64859512ccd79a0d3387e29e4503999301a1e
-
-Also, correct the comment for NAVI10_PCIE__LC_L1_INACTIVITY_TBT_DEFAULT
-as 0x0000000E stands for 400ms instead of 4ms.
-
-Signed-off-by: Evan Quan <evan.q...@amd.com>
-Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
-Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
-Cc: sta...@vger.kernel.org
-Acked-by: Takashi Iwai <ti...@suse.de>
-
----
- drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c | 11 +++++++----
- 1 file changed, 7 insertions(+), 4 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c 
b/drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c
-index aa761ff3a5fa..7ba47fc1917b 100644
---- a/drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c
-+++ b/drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c
-@@ -346,7 +346,7 @@ static void nbio_v2_3_init_registers(struct amdgpu_device 
*adev)
- 
- #define NAVI10_PCIE__LC_L0S_INACTIVITY_DEFAULT                0x00000000 // 
off by default, no gains over L1
- #define NAVI10_PCIE__LC_L1_INACTIVITY_DEFAULT         0x00000009 // 1=1us, 
9=1ms
--#define NAVI10_PCIE__LC_L1_INACTIVITY_TBT_DEFAULT     0x0000000E // 4ms
-+#define NAVI10_PCIE__LC_L1_INACTIVITY_TBT_DEFAULT     0x0000000E // 400ms
- 
- static void nbio_v2_3_enable_aspm(struct amdgpu_device *adev,
-                                 bool enable)
-@@ -479,9 +479,12 @@ static void nbio_v2_3_program_aspm(struct amdgpu_device 
*adev)
-               WREG32_SOC15(NBIO, 0, mmRCC_BIF_STRAP5, data);
- 
-       def = data = RREG32_PCIE(smnPCIE_LC_CNTL);
--      data &= ~PCIE_LC_CNTL__LC_L0S_INACTIVITY_MASK;
--      data |= 0x9 << PCIE_LC_CNTL__LC_L1_INACTIVITY__SHIFT;
--      data |= 0x1 << PCIE_LC_CNTL__LC_PMI_TO_L1_DIS__SHIFT;
-+      data |= NAVI10_PCIE__LC_L0S_INACTIVITY_DEFAULT << 
PCIE_LC_CNTL__LC_L0S_INACTIVITY__SHIFT;
-+      if (pci_is_thunderbolt_attached(adev->pdev))
-+              data |= NAVI10_PCIE__LC_L1_INACTIVITY_TBT_DEFAULT  << 
PCIE_LC_CNTL__LC_L1_INACTIVITY__SHIFT;
-+      else
-+              data |= NAVI10_PCIE__LC_L1_INACTIVITY_DEFAULT << 
PCIE_LC_CNTL__LC_L1_INACTIVITY__SHIFT;
-+      data &= ~PCIE_LC_CNTL__LC_PMI_TO_L1_DIS_MASK;
-       if (def != data)
-               WREG32_PCIE(smnPCIE_LC_CNTL, data);
- 
--- 
-2.35.3
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/drm-amd-pm-update-the-LC_L1_INACTIVITY-setting-to-ad.patch 
new/patches.suse/drm-amd-pm-update-the-LC_L1_INACTIVITY-setting-to-ad.patch
--- old/patches.suse/drm-amd-pm-update-the-LC_L1_INACTIVITY-setting-to-ad.patch 
2023-07-11 07:03:09.000000000 +0200
+++ new/patches.suse/drm-amd-pm-update-the-LC_L1_INACTIVITY-setting-to-ad.patch 
2023-07-20 07:33:38.000000000 +0200
@@ -3,9 +3,9 @@
 Date: Thu, 15 Jun 2023 11:03:49 +0800
 Subject: [PATCH] drm/amd/pm: update the LC_L1_INACTIVITY setting to address 
possible noise issue
 References: bsc#1212848
-Patch-mainline: Queued in subsystem maintainer repository
-Git-repo: https://gitlab.freedesktop.org/agd5f/linux.git
-Git-commit: 34a0773fbb922931a696fc8cfdf292a7a9338534
+Patch-mainline: v6.5-rc1
+Git-commit: 1af3d0a8e8b8db855ee3c98d210f8ee01b2bb80f
+Alt-commit: 34a0773fbb922931a696fc8cfdf292a7a9338534
 
 It is proved that insufficient LC_L1_INACTIVITY setting can cause audio
 noise on some platform. With the LC_L1_INACTIVITY increased to 4ms, the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/drm-amdgpu-Skip-mark-offset-for-high-priority-rings.patch 
new/patches.suse/drm-amdgpu-Skip-mark-offset-for-high-priority-rings.patch
--- old/patches.suse/drm-amdgpu-Skip-mark-offset-for-high-priority-rings.patch  
2023-07-11 07:03:09.000000000 +0200
+++ new/patches.suse/drm-amdgpu-Skip-mark-offset-for-high-priority-rings.patch  
1970-01-01 01:00:00.000000000 +0100
@@ -1,39 +0,0 @@
-From 56578e05756ce412ceffdb0252dd9f7754e2f7b4 Mon Sep 17 00:00:00 2001
-From: Jiadong Zhu <jiadong....@amd.com>
-Date: Thu, 15 Jun 2023 19:10:57 +0800
-Subject: [PATCH] drm/amdgpu: Skip mark offset for high priority rings
-References: bsc#1212848
-Patch-mainline: Queued in subsystem maintainer repository
-Git-repo: https://gitlab.freedesktop.org/agd5f/linux.git
-Git-commit: 56578e05756ce412ceffdb0252dd9f7754e2f7b4
-
-Only low priority rings are using chunks to save the offset.
-Bypass the mark offset callings from high priority rings.
-
-Signed-off-by: Jiadong Zhu <jiadong....@amd.com>
-Acked-by: Alex Deucher <alexander.deuc...@amd.com>
-Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
-Cc: sta...@vger.kernel.org # 6.3.x
-Acked-by: Takashi Iwai <ti...@suse.de>
-
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c
-index 73516abef662..b779ee4bbaa7 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c
-@@ -423,6 +423,9 @@ void amdgpu_sw_ring_ib_mark_offset(struct amdgpu_ring 
*ring, enum amdgpu_ring_mu
-       struct amdgpu_ring_mux *mux = &adev->gfx.muxer;
-       unsigned offset;
- 
-+      if (ring->hw_prio > AMDGPU_RING_PRIO_DEFAULT)
-+              return;
-+
-       offset = ring->wptr & ring->buf_mask;
- 
-       amdgpu_ring_mux_ib_mark_offset(mux, ring, offset, type);
--- 
-2.35.3
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/drm-amdgpu-check-RAS-irq-existence-for-VCN-JPEG.patch 
new/patches.suse/drm-amdgpu-check-RAS-irq-existence-for-VCN-JPEG.patch
--- old/patches.suse/drm-amdgpu-check-RAS-irq-existence-for-VCN-JPEG.patch      
2023-07-11 07:03:09.000000000 +0200
+++ new/patches.suse/drm-amdgpu-check-RAS-irq-existence-for-VCN-JPEG.patch      
1970-01-01 01:00:00.000000000 +0100
@@ -1,53 +0,0 @@
-From 158c9c75021af2762e1edb35be4bb8fcebf5e079 Mon Sep 17 00:00:00 2001
-From: Tao Zhou <tao.zh...@amd.com>
-Date: Wed, 21 Jun 2023 10:30:43 +0800
-Subject: [PATCH] drm/amdgpu: check RAS irq existence for VCN/JPEG
-References: bsc#1212848
-Patch-mainline: Queued in subsystem maintainer repository
-Git-repo: https://gitlab.freedesktop.org/agd5f/linux.git
-Git-commit: 158c9c75021af2762e1edb35be4bb8fcebf5e079
-
-No RAS irq is allowed.
-
-Signed-off-by: Tao Zhou <tao.zh...@amd.com>
-Reviewed-by: Hawking Zhang <hawking.zh...@amd.com>
-Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
-Cc: sta...@vger.kernel.org
-Acked-by: Takashi Iwai <ti...@suse.de>
-
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c | 3 ++-
- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c  | 3 ++-
- 2 files changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c
-index 4fa019c8aefc..fb9251d9c899 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c
-@@ -251,7 +251,8 @@ int amdgpu_jpeg_ras_late_init(struct amdgpu_device *adev, 
struct ras_common_if *
- 
-       if (amdgpu_ras_is_supported(adev, ras_block->block)) {
-               for (i = 0; i < adev->jpeg.num_jpeg_inst; ++i) {
--                      if (adev->jpeg.harvest_config & (1 << i))
-+                      if (adev->jpeg.harvest_config & (1 << i) ||
-+                          !adev->jpeg.inst[i].ras_poison_irq.funcs)
-                               continue;
- 
-                       r = amdgpu_irq_get(adev, 
&adev->jpeg.inst[i].ras_poison_irq, 0);
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
-index 2d94f1b63bd6..b46a5771c3ec 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
-@@ -1191,7 +1191,8 @@ int amdgpu_vcn_ras_late_init(struct amdgpu_device *adev, 
struct ras_common_if *r
- 
-       if (amdgpu_ras_is_supported(adev, ras_block->block)) {
-               for (i = 0; i < adev->vcn.num_vcn_inst; i++) {
--                      if (adev->vcn.harvest_config & (1 << i))
-+                      if (adev->vcn.harvest_config & (1 << i) ||
-+                          !adev->vcn.inst[i].ras_poison_irq.funcs)
-                               continue;
- 
-                       r = amdgpu_irq_get(adev, 
&adev->vcn.inst[i].ras_poison_irq, 0);
--- 
-2.35.3
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/drm-amdgpu-fix-clearing-mappings-for-BOs-that-are-al.patch 
new/patches.suse/drm-amdgpu-fix-clearing-mappings-for-BOs-that-are-al.patch
--- old/patches.suse/drm-amdgpu-fix-clearing-mappings-for-BOs-that-are-al.patch 
2023-07-11 07:03:09.000000000 +0200
+++ new/patches.suse/drm-amdgpu-fix-clearing-mappings-for-BOs-that-are-al.patch 
2023-07-20 07:33:38.000000000 +0200
@@ -6,9 +6,9 @@
 Content-type: text/plain; charset=UTF-8
 Content-transfer-encoding: 8bit
 References: bsc#1212848
-Patch-mainline: Queued in subsystem maintainer repository
-Git-repo: https://gitlab.freedesktop.org/agd5f/linux.git
-Git-commit: dd885821b0397e60a58cf074ffe11b59bf400e45
+Patch-mainline: v6.5-rc1
+Git-commit: ea2c3c08554601b051d91403a241266e1cf490a5
+Alt-commit: dd885821b0397e60a58cf074ffe11b59bf400e45
 
 Per VM BOs must be marked as moved or otherwise their ranges are not
 updated on use which might be necessary when the replace operation
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/drm-amdgpu-fix-number-of-fence-calculations.patch 
new/patches.suse/drm-amdgpu-fix-number-of-fence-calculations.patch
--- old/patches.suse/drm-amdgpu-fix-number-of-fence-calculations.patch  
2023-07-11 07:03:09.000000000 +0200
+++ new/patches.suse/drm-amdgpu-fix-number-of-fence-calculations.patch  
1970-01-01 01:00:00.000000000 +0100
@@ -1,65 +0,0 @@
-From 7e473000653172c5eec8898e313b5c343fadd2fc Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Christian=20K=C3=B6nig?= <christian.koe...@amd.com>
-Date: Tue, 20 Jun 2023 13:18:13 +0200
-Subject: [PATCH] drm/amdgpu: fix number of fence calculations
-Mime-version: 1.0
-Content-type: text/plain; charset=UTF-8
-Content-transfer-encoding: 8bit
-References: bsc#1212848
-Patch-mainline: Queued in subsystem maintainer repository
-Git-repo: https://gitlab.freedesktop.org/agd5f/linux.git
-Git-commit: 7e473000653172c5eec8898e313b5c343fadd2fc
-
-Since adding gang submit we need to take the gang size into account
-while reserving fences.
-
-Signed-off-by: Christian König <christian.koe...@amd.com>
-Fixes: 4624459c84d7 ("drm/amdgpu: add gang submit frontend v6")
-Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
-Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
-Cc: sta...@vger.kernel.org
-Acked-by: Takashi Iwai <ti...@suse.de>
-
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 11 ++++++-----
- 1 file changed, 6 insertions(+), 5 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
-index 2eb2c66843a8..5612caf77dd6 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
-@@ -133,9 +133,6 @@ static int amdgpu_cs_p1_user_fence(struct amdgpu_cs_parser 
*p,
-       bo = amdgpu_bo_ref(gem_to_amdgpu_bo(gobj));
-       p->uf_entry.priority = 0;
-       p->uf_entry.tv.bo = &bo->tbo;
--      /* One for TTM and two for the CS job */
--      p->uf_entry.tv.num_shared = 3;
--
-       drm_gem_object_put(gobj);
- 
-       size = amdgpu_bo_size(bo);
-@@ -882,15 +879,19 @@ static int amdgpu_cs_parser_bos(struct amdgpu_cs_parser 
*p,
- 
-       mutex_lock(&p->bo_list->bo_list_mutex);
- 
--      /* One for TTM and one for the CS job */
-+      /* One for TTM and one for each CS job */
-       amdgpu_bo_list_for_each_entry(e, p->bo_list)
--              e->tv.num_shared = 2;
-+              e->tv.num_shared = 1 + p->gang_size;
-+      p->uf_entry.tv.num_shared = 1 + p->gang_size;
- 
-       amdgpu_bo_list_get_list(p->bo_list, &p->validated);
- 
-       INIT_LIST_HEAD(&duplicates);
-       amdgpu_vm_get_pd_bo(&fpriv->vm, &p->validated, &p->vm_pd);
- 
-+      /* Two for VM updates, one for TTM and one for each CS job */
-+      p->vm_pd.tv.num_shared = 3 + p->gang_size;
-+
-       if (p->uf_entry.tv.bo && !ttm_to_amdgpu_bo(p->uf_entry.tv.bo)->parent)
-               list_add(&p->uf_entry.tv.head, &p->validated);
- 
--- 
-2.35.3
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/drm-amdgpu-make-sure-BOs-are-locked-in-amdgpu_vm_get.patch 
new/patches.suse/drm-amdgpu-make-sure-BOs-are-locked-in-amdgpu_vm_get.patch
--- old/patches.suse/drm-amdgpu-make-sure-BOs-are-locked-in-amdgpu_vm_get.patch 
2023-07-11 07:03:09.000000000 +0200
+++ new/patches.suse/drm-amdgpu-make-sure-BOs-are-locked-in-amdgpu_vm_get.patch 
1970-01-01 01:00:00.000000000 +0100
@@ -1,115 +0,0 @@
-From 0e537872099409d4be340457b3ceb2aac1c4b674 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Christian=20K=C3=B6nig?= <christian.koe...@amd.com>
-Date: Mon, 5 Jun 2023 11:11:21 +0200
-Subject: [PATCH] drm/amdgpu: make sure BOs are locked in amdgpu_vm_get_memory
-Mime-version: 1.0
-Content-type: text/plain; charset=UTF-8
-Content-transfer-encoding: 8bit
-References: bsc#1212848
-Patch-mainline: Queued in subsystem maintainer repository
-Git-repo: https://gitlab.freedesktop.org/agd5f/linux.git
-Git-commit: 0e537872099409d4be340457b3ceb2aac1c4b674
-
-We need to grab the lock of the BO or otherwise can run into a crash
-when we try to inspect the current location.
-
-Signed-off-by: Christian König <christian.koe...@amd.com>
-Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
-Acked-by: Guchun Chen <guchun.c...@amd.com>
-Tested-by: Mikhail Gavrilov <mikhail.v.gavri...@gmail.com>
-Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
-Acked-by: Takashi Iwai <ti...@suse.de>
-
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 69 +++++++++++++++-----------
- 1 file changed, 39 insertions(+), 30 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
-index 3c0310576b3b..2c8cafec48a4 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
-@@ -920,42 +920,51 @@ int amdgpu_vm_update_range(struct amdgpu_device *adev, 
struct amdgpu_vm *vm,
-       return r;
- }
- 
-+static void amdgpu_vm_bo_get_memory(struct amdgpu_bo_va *bo_va,
-+                                  struct amdgpu_mem_stats *stats)
-+{
-+      struct amdgpu_vm *vm = bo_va->base.vm;
-+      struct amdgpu_bo *bo = bo_va->base.bo;
-+
-+      if (!bo)
-+              return;
-+
-+      /*
-+       * For now ignore BOs which are currently locked and potentially
-+       * changing their location.
-+       */
-+      if (bo->tbo.base.resv != vm->root.bo->tbo.base.resv &&
-+          !dma_resv_trylock(bo->tbo.base.resv))
-+              return;
-+
-+      amdgpu_bo_get_memory(bo, stats);
-+      if (bo->tbo.base.resv != vm->root.bo->tbo.base.resv)
-+          dma_resv_unlock(bo->tbo.base.resv);
-+}
-+
- void amdgpu_vm_get_memory(struct amdgpu_vm *vm,
-                         struct amdgpu_mem_stats *stats)
- {
-       struct amdgpu_bo_va *bo_va, *tmp;
- 
-       spin_lock(&vm->status_lock);
--      list_for_each_entry_safe(bo_va, tmp, &vm->idle, base.vm_status) {
--              if (!bo_va->base.bo)
--                      continue;
--              amdgpu_bo_get_memory(bo_va->base.bo, stats);
--      }
--      list_for_each_entry_safe(bo_va, tmp, &vm->evicted, base.vm_status) {
--              if (!bo_va->base.bo)
--                      continue;
--              amdgpu_bo_get_memory(bo_va->base.bo, stats);
--      }
--      list_for_each_entry_safe(bo_va, tmp, &vm->relocated, base.vm_status) {
--              if (!bo_va->base.bo)
--                      continue;
--              amdgpu_bo_get_memory(bo_va->base.bo, stats);
--      }
--      list_for_each_entry_safe(bo_va, tmp, &vm->moved, base.vm_status) {
--              if (!bo_va->base.bo)
--                      continue;
--              amdgpu_bo_get_memory(bo_va->base.bo, stats);
--      }
--      list_for_each_entry_safe(bo_va, tmp, &vm->invalidated, base.vm_status) {
--              if (!bo_va->base.bo)
--                      continue;
--              amdgpu_bo_get_memory(bo_va->base.bo, stats);
--      }
--      list_for_each_entry_safe(bo_va, tmp, &vm->done, base.vm_status) {
--              if (!bo_va->base.bo)
--                      continue;
--              amdgpu_bo_get_memory(bo_va->base.bo, stats);
--      }
-+      list_for_each_entry_safe(bo_va, tmp, &vm->idle, base.vm_status)
-+              amdgpu_vm_bo_get_memory(bo_va, stats);
-+
-+      list_for_each_entry_safe(bo_va, tmp, &vm->evicted, base.vm_status)
-+              amdgpu_vm_bo_get_memory(bo_va, stats);
-+
-+      list_for_each_entry_safe(bo_va, tmp, &vm->relocated, base.vm_status)
-+              amdgpu_vm_bo_get_memory(bo_va, stats);
-+
-+      list_for_each_entry_safe(bo_va, tmp, &vm->moved, base.vm_status)
-+              amdgpu_vm_bo_get_memory(bo_va, stats);
-+
-+      list_for_each_entry_safe(bo_va, tmp, &vm->invalidated, base.vm_status)
-+              amdgpu_vm_bo_get_memory(bo_va, stats);
-+
-+      list_for_each_entry_safe(bo_va, tmp, &vm->done, base.vm_status)
-+              amdgpu_vm_bo_get_memory(bo_va, stats);
-       spin_unlock(&vm->status_lock);
- }
- 
--- 
-2.35.3
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/drm-amdgpu-make-sure-that-BOs-have-a-backing-store.patch 
new/patches.suse/drm-amdgpu-make-sure-that-BOs-have-a-backing-store.patch
--- old/patches.suse/drm-amdgpu-make-sure-that-BOs-have-a-backing-store.patch   
2023-07-11 07:03:09.000000000 +0200
+++ new/patches.suse/drm-amdgpu-make-sure-that-BOs-have-a-backing-store.patch   
1970-01-01 01:00:00.000000000 +0100
@@ -1,47 +0,0 @@
-From cd882ffc4e3e1e4f519234db366cdd6f71a7d6d2 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Christian=20K=C3=B6nig?= <christian.koe...@amd.com>
-Date: Mon, 5 Jun 2023 11:11:22 +0200
-Subject: [PATCH] drm/amdgpu: make sure that BOs have a backing store
-Mime-version: 1.0
-Content-type: text/plain; charset=UTF-8
-Content-transfer-encoding: 8bit
-References: bsc#1212848
-Patch-mainline: Queued in subsystem maintainer repository
-Git-repo: https://gitlab.freedesktop.org/agd5f/linux.git
-Git-commit: cd882ffc4e3e1e4f519234db366cdd6f71a7d6d2
-
-It's perfectly possible that the BO is about to be destroyed and doesn't
-have a backing store associated with it.
-
-Signed-off-by: Christian König <christian.koe...@amd.com>
-Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
-Acked-by: Guchun Chen <guchun.c...@amd.com>
-Tested-by: Mikhail Gavrilov <mikhail.v.gavri...@gmail.com>
-Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
-Acked-by: Takashi Iwai <ti...@suse.de>
-
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 6 +++++-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
-index a70103ac0026..46557bbbc18a 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
-@@ -1266,8 +1266,12 @@ void amdgpu_bo_move_notify(struct ttm_buffer_object *bo,
- void amdgpu_bo_get_memory(struct amdgpu_bo *bo,
-                         struct amdgpu_mem_stats *stats)
- {
--      unsigned int domain;
-       uint64_t size = amdgpu_bo_size(bo);
-+      unsigned int domain;
-+
-+      /* Abort if the BO doesn't currently have a backing store */
-+      if (!bo->tbo.resource)
-+              return;
- 
-       domain = amdgpu_mem_type_to_domain(bo->tbo.resource->mem_type);
-       switch (domain) {
--- 
-2.35.3
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/drm-amdgpu-sdma4-set-align-mask-to-255.patch 
new/patches.suse/drm-amdgpu-sdma4-set-align-mask-to-255.patch
--- old/patches.suse/drm-amdgpu-sdma4-set-align-mask-to-255.patch       
2023-07-11 07:03:09.000000000 +0200
+++ new/patches.suse/drm-amdgpu-sdma4-set-align-mask-to-255.patch       
1970-01-01 01:00:00.000000000 +0100
@@ -1,46 +0,0 @@
-From: Alex Deucher <alexander.deuc...@amd.com>
-Date: Wed, 7 Jun 2023 12:14:00 -0400
-Subject: drm/amdgpu/sdma4: set align mask to 255
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-Git-repo: git://git.freedesktop.org/git/drm/drm.git#drm-next
-Git-commit: e5df16d9428f5c6d2d0b1eff244d6c330ba9ef3a
-Patch-mainline: Queued in subsystem maintainer repository
-References: https://gitlab.freedesktop.org/drm/amd/-/issues/2447
-
-The wptr needs to be incremented at at least 64 dword intervals,
-use 256 to align with windows.  This should fix potential hangs
-with unaligned updates.
-
-[js] no sdma_v4_4_2.c in 6.3 yet
-
-Reviewed-by: Felix Kuehling <felix.kuehl...@amd.com>
-Reviewed-by: Aaron Liu <aaron....@amd.com>
-Reviewed-by: Christian König <christian.koe...@amd.com>
-Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
-Signed-off-by: Jiri Slaby <jsl...@suse.cz>
----
- drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c |    4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
---- a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
-+++ b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
-@@ -2292,7 +2292,7 @@ const struct amd_ip_funcs sdma_v4_0_ip_f
- 
- static const struct amdgpu_ring_funcs sdma_v4_0_ring_funcs = {
-       .type = AMDGPU_RING_TYPE_SDMA,
--      .align_mask = 0xf,
-+      .align_mask = 0xff,
-       .nop = SDMA_PKT_NOP_HEADER_OP(SDMA_OP_NOP),
-       .support_64bit_ptrs = true,
-       .secure_submission_supported = true,
-@@ -2362,7 +2362,7 @@ static const struct amdgpu_ring_funcs sd
- 
- static const struct amdgpu_ring_funcs sdma_v4_0_page_ring_funcs = {
-       .type = AMDGPU_RING_TYPE_SDMA,
--      .align_mask = 0xf,
-+      .align_mask = 0xff,
-       .nop = SDMA_PKT_NOP_HEADER_OP(SDMA_OP_NOP),
-       .support_64bit_ptrs = true,
-       .secure_submission_supported = true,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/of-Preserve-of-display-device-name-for-compatibility.patch 
new/patches.suse/of-Preserve-of-display-device-name-for-compatibility.patch
--- old/patches.suse/of-Preserve-of-display-device-name-for-compatibility.patch 
1970-01-01 01:00:00.000000000 +0100
+++ new/patches.suse/of-Preserve-of-display-device-name-for-compatibility.patch 
2023-07-20 07:33:38.000000000 +0200
@@ -0,0 +1,56 @@
+From 0bb8f49cd2cc8cb32ac51189ff9fcbe7ec3d9d65 Mon Sep 17 00:00:00 2001
+From: Rob Herring <r...@kernel.org>
+Date: Mon, 10 Jul 2023 11:40:07 -0600
+Subject: [PATCH] of: Preserve "of-display" device name for compatibility
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+References: bsc#1212405
+Patch-mainline: queued
+Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git
+Git-commit: 0bb8f49cd2cc8cb32ac51189ff9fcbe7ec3d9d65
+
+Since commit 241d2fb56a18 ("of: Make OF framebuffer device names unique"),
+as spotted by Frédéric Bonnard, the historical "of-display" device is
+gone: the updated logic creates "of-display.0" instead, then as many
+"of-display.N" as required.
+
+This means that offb no longer finds the expected device, which prevents
+the Debian Installer from setting up its interface, at least on ppc64el.
+
+Fix this by keeping "of-display" for the first device and "of-display.N"
+for subsequent devices.
+
+Link: https://bugzilla.kernel.org/show_bug.cgi?id=217328
+Link: https://bugs.debian.org/1033058
+Fixes: 241d2fb56a18 ("of: Make OF framebuffer device names unique")
+Cc: sta...@vger.kernel.org
+Cc: Cyril Brulebois <cy...@debamax.com>
+Cc: Thomas Zimmermann <tzimmerm...@suse.de>
+Cc: Helge Deller <del...@gmx.de>
+Acked-by: Helge Deller <del...@gmx.de>
+Acked-by: Thomas Zimmermann <tzimmerm...@suse.de>
+Reviewed-by: Michal Suchánek <msucha...@suse.de>
+Link: https://lore.kernel.org/r/20230710174007.2291013-1-r...@kernel.org
+Signed-off-by: Rob Herring <r...@kernel.org>
+---
+ drivers/of/platform.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/of/platform.c b/drivers/of/platform.c
+index 051e29b7ad2b..0c3475e7d2ff 100644
+--- a/drivers/of/platform.c
++++ b/drivers/of/platform.c
+@@ -552,7 +552,7 @@ static int __init of_platform_default_populate_init(void)
+                       if (!of_get_property(node, "linux,opened", NULL) ||
+                           !of_get_property(node, "linux,boot-display", NULL))
+                               continue;
+-                      dev = of_platform_device_create(node, "of-display.0", 
NULL);
++                      dev = of_platform_device_create(node, "of-display", 
NULL);
+                       of_node_put(node);
+                       if (WARN_ON(!dev))
+                               return -ENOMEM;
+-- 
+2.41.0
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/pinctrl-amd-Detect-and-mask-spurious-interrupts.patch 
new/patches.suse/pinctrl-amd-Detect-and-mask-spurious-interrupts.patch
--- old/patches.suse/pinctrl-amd-Detect-and-mask-spurious-interrupts.patch      
1970-01-01 01:00:00.000000000 +0100
+++ new/patches.suse/pinctrl-amd-Detect-and-mask-spurious-interrupts.patch      
2023-07-20 07:33:38.000000000 +0200
@@ -0,0 +1,60 @@
+From: =?UTF-8?q?Kornel=20Dul=C4=99ba?= <korn...@chromium.org>
+Date: Fri, 21 Apr 2023 07:06:23 -0500
+Subject: pinctrl: amd: Detect and mask spurious interrupts
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+Git-commit: 0cf9e48ff22e15f3f0882991f33d23ccc5ae1d01
+Patch-mainline: 6.5-rc1
+References: bko#217336
+
+Leverage gpiochip_line_is_irq to check whether a pin has an irq
+associated with it. The previous check ("irq == 0") didn't make much
+sense. The irq variable refers to the pinctrl irq, and has nothing do to
+with an individual pin.
+
+On some systems, during suspend/resume cycle, the firmware leaves
+an interrupt enabled on a pin that is not used by the kernel.
+Without this patch that caused an interrupt storm.
+
+Cc: sta...@vger.kernel.org
+Link: https://bugzilla.kernel.org/show_bug.cgi?id=217315
+Signed-off-by: Kornel Dulęba <korn...@chromium.org>
+Reviewed-by: Mario Limonciello <mario.limoncie...@amd.com>
+Link: https://lore.kernel.org/r/20230421120625.3366-4-mario.limoncie...@amd.com
+Signed-off-by: Linus Walleij <linus.wall...@linaro.org>
+Signed-off-by: Jiri Slaby <jsl...@suse.cz>
+---
+ drivers/pinctrl/pinctrl-amd.c |   12 ++++++------
+ 1 file changed, 6 insertions(+), 6 deletions(-)
+
+--- a/drivers/pinctrl/pinctrl-amd.c
++++ b/drivers/pinctrl/pinctrl-amd.c
+@@ -660,21 +660,21 @@ static bool do_amd_gpio_irq_handler(int
+                        * We must read the pin register again, in case the
+                        * value was changed while executing
+                        * generic_handle_domain_irq() above.
+-                       * If we didn't find a mapping for the interrupt,
+-                       * disable it in order to avoid a system hang caused
+-                       * by an interrupt storm.
++                       * If the line is not an irq, disable it in order to
++                       * avoid a system hang caused by an interrupt storm.
+                        */
+                       raw_spin_lock_irqsave(&gpio_dev->lock, flags);
+                       regval = readl(regs + i);
+-                      if (irq == 0) {
+-                              regval &= ~BIT(INTERRUPT_ENABLE_OFF);
++                      if (!gpiochip_line_is_irq(gc, irqnr + i)) {
++                              regval &= ~BIT(INTERRUPT_MASK_OFF);
+                               dev_dbg(&gpio_dev->pdev->dev,
+                                       "Disabling spurious GPIO IRQ %d\n",
+                                       irqnr + i);
++                      } else {
++                              ret = true;
+                       }
+                       writel(regval, regs + i);
+                       raw_spin_unlock_irqrestore(&gpio_dev->lock, flags);
+-                      ret = true;
+               }
+       }
+       /* did not cause wake on resume context for shared IRQ */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/pinctrl-amd-Detect-internal-GPIO0-debounce-handling.patch 
new/patches.suse/pinctrl-amd-Detect-internal-GPIO0-debounce-handling.patch
--- old/patches.suse/pinctrl-amd-Detect-internal-GPIO0-debounce-handling.patch  
1970-01-01 01:00:00.000000000 +0100
+++ new/patches.suse/pinctrl-amd-Detect-internal-GPIO0-debounce-handling.patch  
2023-07-20 07:33:38.000000000 +0200
@@ -0,0 +1,75 @@
+From: Mario Limonciello <mario.limoncie...@amd.com>
+Date: Fri, 21 Apr 2023 07:06:21 -0500
+Subject: pinctrl: amd: Detect internal GPIO0 debounce handling
+Git-commit: 968ab9261627fa305307e3935ca1a32fcddd36cb
+Patch-mainline: 6.5-rc1
+References: bko#217336
+
+commit 4e5a04be88fe ("pinctrl: amd: disable and mask interrupts on probe")
+had a mistake in loop iteration 63 that it would clear offset 0xFC instead
+of 0x100.  Offset 0xFC is actually `WAKE_INT_MASTER_REG`.  This was
+clearing bits 13 and 15 from the register which significantly changed the
+expected handling for some platforms for GPIO0.
+
+commit b26cd9325be4 ("pinctrl: amd: Disable and mask interrupts on resume")
+actually fixed this bug, but lead to regressions on Lenovo Z13 and some
+other systems.  This is because there was no handling in the driver for bit
+15 debounce behavior.
+
+Quoting a public BKDG:
+```
+EnWinBlueBtn. Read-write. Reset: 0. 0=GPIO0 detect debounced power button;
+Power button override is 4 seconds. 1=GPIO0 detect debounced power button
+in S3/S5/S0i3, and detect "pressed less than 2 seconds" and "pressed 2~10
+seconds" in S0; Power button override is 10 seconds
+```
+
+Cross referencing the same master register in Windows it's obvious that
+Windows doesn't use debounce values in this configuration.  So align the
+Linux driver to do this as well.  This fixes wake on lid when
+WAKE_INT_MASTER_REG is properly programmed.
+
+Cc: sta...@vger.kernel.org
+Link: https://bugzilla.kernel.org/show_bug.cgi?id=217315
+Signed-off-by: Mario Limonciello <mario.limoncie...@amd.com>
+Link: https://lore.kernel.org/r/20230421120625.3366-2-mario.limoncie...@amd.com
+Signed-off-by: Linus Walleij <linus.wall...@linaro.org>
+Signed-off-by: Jiri Slaby <jsl...@suse.cz>
+---
+ drivers/pinctrl/pinctrl-amd.c |    7 +++++++
+ drivers/pinctrl/pinctrl-amd.h |    1 +
+ 2 files changed, 8 insertions(+)
+
+--- a/drivers/pinctrl/pinctrl-amd.c
++++ b/drivers/pinctrl/pinctrl-amd.c
+@@ -125,6 +125,12 @@ static int amd_gpio_set_debounce(struct
+       struct amd_gpio *gpio_dev = gpiochip_get_data(gc);
+ 
+       raw_spin_lock_irqsave(&gpio_dev->lock, flags);
++
++      /* Use special handling for Pin0 debounce */
++      pin_reg = readl(gpio_dev->base + WAKE_INT_MASTER_REG);
++      if (pin_reg & INTERNAL_GPIO0_DEBOUNCE)
++              debounce = 0;
++
+       pin_reg = readl(gpio_dev->base + offset * 4);
+ 
+       if (debounce) {
+@@ -219,6 +225,7 @@ static void amd_gpio_dbg_show(struct seq
+       char *debounce_enable;
+       char *wake_cntrlz;
+ 
++      seq_printf(s, "WAKE_INT_MASTER_REG: 0x%08x\n", readl(gpio_dev->base + 
WAKE_INT_MASTER_REG));
+       for (bank = 0; bank < gpio_dev->hwbank_num; bank++) {
+               unsigned int time = 0;
+               unsigned int unit = 0;
+--- a/drivers/pinctrl/pinctrl-amd.h
++++ b/drivers/pinctrl/pinctrl-amd.h
+@@ -17,6 +17,7 @@
+ #define AMD_GPIO_PINS_BANK3     32
+ 
+ #define WAKE_INT_MASTER_REG 0xfc
++#define INTERNAL_GPIO0_DEBOUNCE (1 << 15)
+ #define EOI_MASK (1 << 29)
+ 
+ #define WAKE_INT_STATUS_REG0 0x2f8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/pinctrl-amd-Drop-pull-up-select-configuration.patch 
new/patches.suse/pinctrl-amd-Drop-pull-up-select-configuration.patch
--- old/patches.suse/pinctrl-amd-Drop-pull-up-select-configuration.patch        
1970-01-01 01:00:00.000000000 +0100
+++ new/patches.suse/pinctrl-amd-Drop-pull-up-select-configuration.patch        
2023-07-20 07:33:38.000000000 +0200
@@ -0,0 +1,84 @@
+From: Mario Limonciello <mario.limoncie...@amd.com>
+Date: Wed, 5 Jul 2023 08:30:04 -0500
+Subject: pinctrl: amd: Drop pull up select configuration
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+Git-commit: 3f62312d04d4c68aace9cd06fc135e09573325f3
+Patch-mainline: 6.5-rc2
+References: bko#217336
+
+pinctrl-amd currently tries to program bit 19 of all GPIOs to select
+either a 4kΩ or 8hΩ pull up, but this isn't what bit 19 does.  Bit
+19 is marked as reserved, even in the latest platforms documentation.
+
+Drop this programming functionality.
+
+Tested-by: Jan Visser <starqu...@linuxeverywhere.org>
+Signed-off-by: Mario Limonciello <mario.limoncie...@amd.com>
+Link: https://lore.kernel.org/r/20230705133005.577-4-mario.limoncie...@amd.com
+Signed-off-by: Linus Walleij <linus.wall...@linaro.org>
+Signed-off-by: Jiri Slaby <jsl...@suse.cz>
+---
+ drivers/pinctrl/pinctrl-amd.c |   16 ++++------------
+ drivers/pinctrl/pinctrl-amd.h |    1 -
+ 2 files changed, 4 insertions(+), 13 deletions(-)
+
+--- a/drivers/pinctrl/pinctrl-amd.c
++++ b/drivers/pinctrl/pinctrl-amd.c
+@@ -209,7 +209,6 @@ static void amd_gpio_dbg_show(struct seq
+       char *pin_sts;
+       char *interrupt_sts;
+       char *wake_sts;
+-      char *pull_up_sel;
+       char *orientation;
+       char debounce_value[40];
+       char *debounce_enable;
+@@ -317,14 +316,9 @@ static void amd_gpio_dbg_show(struct seq
+                       seq_printf(s, "   %s|", wake_sts);
+ 
+                       if (pin_reg & BIT(PULL_UP_ENABLE_OFF)) {
+-                              if (pin_reg & BIT(PULL_UP_SEL_OFF))
+-                                      pull_up_sel = "8k";
+-                              else
+-                                      pull_up_sel = "4k";
+-                              seq_printf(s, "%s ↑|",
+-                                         pull_up_sel);
++                              seq_puts(s, "  ↑ |");
+                       } else if (pin_reg & BIT(PULL_DOWN_ENABLE_OFF)) {
+-                              seq_puts(s, "   ↓|");
++                              seq_puts(s, "  ↓ |");
+                       } else  {
+                               seq_puts(s, "    |");
+                       }
+@@ -751,7 +745,7 @@ static int amd_pinconf_get(struct pinctr
+               break;
+ 
+       case PIN_CONFIG_BIAS_PULL_UP:
+-              arg = (pin_reg >> PULL_UP_SEL_OFF) & (BIT(0) | BIT(1));
++              arg = (pin_reg >> PULL_UP_ENABLE_OFF) & BIT(0);
+               break;
+ 
+       case PIN_CONFIG_DRIVE_STRENGTH:
+@@ -798,10 +792,8 @@ static int amd_pinconf_set(struct pinctr
+                       break;
+ 
+               case PIN_CONFIG_BIAS_PULL_UP:
+-                      pin_reg &= ~BIT(PULL_UP_SEL_OFF);
+-                      pin_reg |= (arg & BIT(0)) << PULL_UP_SEL_OFF;
+                       pin_reg &= ~BIT(PULL_UP_ENABLE_OFF);
+-                      pin_reg |= ((arg>>1) & BIT(0)) << PULL_UP_ENABLE_OFF;
++                      pin_reg |= (arg & BIT(0)) << PULL_UP_ENABLE_OFF;
+                       break;
+ 
+               case PIN_CONFIG_DRIVE_STRENGTH:
+--- a/drivers/pinctrl/pinctrl-amd.h
++++ b/drivers/pinctrl/pinctrl-amd.h
+@@ -36,7 +36,6 @@
+ #define WAKE_CNTRL_OFF_S4               15
+ #define PIN_STS_OFF                   16
+ #define DRV_STRENGTH_SEL_OFF          17
+-#define PULL_UP_SEL_OFF                       19
+ #define PULL_UP_ENABLE_OFF            20
+ #define PULL_DOWN_ENABLE_OFF          21
+ #define OUTPUT_VALUE_OFF              22
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/pinctrl-amd-Fix-mistake-in-handling-clearing-pins-at.patch 
new/patches.suse/pinctrl-amd-Fix-mistake-in-handling-clearing-pins-at.patch
--- old/patches.suse/pinctrl-amd-Fix-mistake-in-handling-clearing-pins-at.patch 
1970-01-01 01:00:00.000000000 +0100
+++ new/patches.suse/pinctrl-amd-Fix-mistake-in-handling-clearing-pins-at.patch 
2023-07-20 07:33:38.000000000 +0200
@@ -0,0 +1,37 @@
+From: Mario Limonciello <mario.limoncie...@amd.com>
+Date: Fri, 21 Apr 2023 07:06:22 -0500
+Subject: pinctrl: amd: Fix mistake in handling clearing pins at startup
+Git-commit: a855724dc08b8cb0c13ab1e065a4922f1e5a7552
+Patch-mainline: 6.5-rc1
+References: bko#217336
+
+commit 4e5a04be88fe ("pinctrl: amd: disable and mask interrupts on probe")
+had a mistake in loop iteration 63 that it would clear offset 0xFC instead
+of 0x100.  Offset 0xFC is actually `WAKE_INT_MASTER_REG`.  This was
+clearing bits 13 and 15 from the register which significantly changed the
+expected handling for some platforms for GPIO0.
+
+Cc: sta...@vger.kernel.org
+Link: https://bugzilla.kernel.org/show_bug.cgi?id=217315
+Signed-off-by: Mario Limonciello <mario.limoncie...@amd.com>
+Link: https://lore.kernel.org/r/20230421120625.3366-3-mario.limoncie...@amd.com
+Signed-off-by: Linus Walleij <linus.wall...@linaro.org>
+Signed-off-by: Jiri Slaby <jsl...@suse.cz>
+---
+ drivers/pinctrl/pinctrl-amd.c |    4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+--- a/drivers/pinctrl/pinctrl-amd.c
++++ b/drivers/pinctrl/pinctrl-amd.c
+@@ -897,9 +897,9 @@ static void amd_gpio_irq_init(struct amd
+ 
+               raw_spin_lock_irqsave(&gpio_dev->lock, flags);
+ 
+-              pin_reg = readl(gpio_dev->base + i * 4);
++              pin_reg = readl(gpio_dev->base + pin * 4);
+               pin_reg &= ~mask;
+-              writel(pin_reg, gpio_dev->base + i * 4);
++              writel(pin_reg, gpio_dev->base + pin * 4);
+ 
+               raw_spin_unlock_irqrestore(&gpio_dev->lock, flags);
+       }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/pinctrl-amd-Only-use-special-debounce-behavior-for-G.patch 
new/patches.suse/pinctrl-amd-Only-use-special-debounce-behavior-for-G.patch
--- old/patches.suse/pinctrl-amd-Only-use-special-debounce-behavior-for-G.patch 
1970-01-01 01:00:00.000000000 +0100
+++ new/patches.suse/pinctrl-amd-Only-use-special-debounce-behavior-for-G.patch 
2023-07-20 07:33:38.000000000 +0200
@@ -0,0 +1,38 @@
+From: Mario Limonciello <mario.limoncie...@amd.com>
+Date: Wed, 5 Jul 2023 08:30:02 -0500
+Subject: pinctrl: amd: Only use special debounce behavior for GPIO 0
+Git-commit: 0d5ace1a07f7e846d0f6d972af60d05515599d0b
+Patch-mainline: 6.5-rc2
+References: bko#217336
+
+It's uncommon to use debounce on any other pin, but technically
+we should only set debounce to 0 when working off GPIO0.
+
+Cc: sta...@vger.kernel.org
+Tested-by: Jan Visser <starqu...@linuxeverywhere.org>
+Fixes: 968ab9261627 ("pinctrl: amd: Detect internal GPIO0 debounce handling")
+Signed-off-by: Mario Limonciello <mario.limoncie...@amd.com>
+Link: https://lore.kernel.org/r/20230705133005.577-2-mario.limoncie...@amd.com
+Signed-off-by: Linus Walleij <linus.wall...@linaro.org>
+Signed-off-by: Jiri Slaby <jsl...@suse.cz>
+---
+ drivers/pinctrl/pinctrl-amd.c |    8 +++++---
+ 1 file changed, 5 insertions(+), 3 deletions(-)
+
+--- a/drivers/pinctrl/pinctrl-amd.c
++++ b/drivers/pinctrl/pinctrl-amd.c
+@@ -127,9 +127,11 @@ static int amd_gpio_set_debounce(struct
+       raw_spin_lock_irqsave(&gpio_dev->lock, flags);
+ 
+       /* Use special handling for Pin0 debounce */
+-      pin_reg = readl(gpio_dev->base + WAKE_INT_MASTER_REG);
+-      if (pin_reg & INTERNAL_GPIO0_DEBOUNCE)
+-              debounce = 0;
++      if (offset == 0) {
++              pin_reg = readl(gpio_dev->base + WAKE_INT_MASTER_REG);
++              if (pin_reg & INTERNAL_GPIO0_DEBOUNCE)
++                      debounce = 0;
++      }
+ 
+       pin_reg = readl(gpio_dev->base + offset * 4);
+ 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/pinctrl-amd-Revert-pinctrl-amd-disable-and-mask-inte.patch 
new/patches.suse/pinctrl-amd-Revert-pinctrl-amd-disable-and-mask-inte.patch
--- old/patches.suse/pinctrl-amd-Revert-pinctrl-amd-disable-and-mask-inte.patch 
1970-01-01 01:00:00.000000000 +0100
+++ new/patches.suse/pinctrl-amd-Revert-pinctrl-amd-disable-and-mask-inte.patch 
2023-07-20 07:33:38.000000000 +0200
@@ -0,0 +1,78 @@
+From: Mario Limonciello <mario.limoncie...@amd.com>
+Date: Fri, 21 Apr 2023 07:06:24 -0500
+Subject: pinctrl: amd: Revert "pinctrl: amd: disable and mask interrupts on
+ probe"
+Git-commit: 65f6c7c91cb2ebacbf155e0f881f81e79f90d138
+Patch-mainline: 6.5-rc1
+References: bko#217336
+
+commit 4e5a04be88fe ("pinctrl: amd: disable and mask interrupts on probe")
+was well intentioned to mask a firmware issue on a surface laptop, but it
+has a few problems:
+1. It had a bug in the loop handling for iteration 63 that lead to other
+   problems with GPIO0 handling.
+2. It disables interrupts that are used internally by the SOC but masked
+   by default.
+3. It masked a real firmware problem in some chromebooks that should have
+   been caught during development but wasn't.
+
+There has been a lot of other development around s2idle; particularly
+around handling of the spurious wakeups.  If there is still a problem on
+the original reported surface laptop it should be avoided by adding a quirk
+to gpiolib-acpi for that system instead.
+
+Signed-off-by: Mario Limonciello <mario.limoncie...@amd.com>
+Link: https://lore.kernel.org/r/20230421120625.3366-5-mario.limoncie...@amd.com
+Signed-off-by: Linus Walleij <linus.wall...@linaro.org>
+Signed-off-by: Jiri Slaby <jsl...@suse.cz>
+---
+ drivers/pinctrl/pinctrl-amd.c |   31 -------------------------------
+ 1 file changed, 31 deletions(-)
+
+--- a/drivers/pinctrl/pinctrl-amd.c
++++ b/drivers/pinctrl/pinctrl-amd.c
+@@ -877,34 +877,6 @@ static const struct pinconf_ops amd_pinc
+       .pin_config_group_set = amd_pinconf_group_set,
+ };
+ 
+-static void amd_gpio_irq_init(struct amd_gpio *gpio_dev)
+-{
+-      struct pinctrl_desc *desc = gpio_dev->pctrl->desc;
+-      unsigned long flags;
+-      u32 pin_reg, mask;
+-      int i;
+-
+-      mask = BIT(WAKE_CNTRL_OFF_S0I3) | BIT(WAKE_CNTRL_OFF_S3) |
+-              BIT(INTERRUPT_MASK_OFF) | BIT(INTERRUPT_ENABLE_OFF) |
+-              BIT(WAKE_CNTRL_OFF_S4);
+-
+-      for (i = 0; i < desc->npins; i++) {
+-              int pin = desc->pins[i].number;
+-              const struct pin_desc *pd = pin_desc_get(gpio_dev->pctrl, pin);
+-
+-              if (!pd)
+-                      continue;
+-
+-              raw_spin_lock_irqsave(&gpio_dev->lock, flags);
+-
+-              pin_reg = readl(gpio_dev->base + pin * 4);
+-              pin_reg &= ~mask;
+-              writel(pin_reg, gpio_dev->base + pin * 4);
+-
+-              raw_spin_unlock_irqrestore(&gpio_dev->lock, flags);
+-      }
+-}
+-
+ #ifdef CONFIG_PM_SLEEP
+ static bool amd_gpio_should_save(struct amd_gpio *gpio_dev, unsigned int pin)
+ {
+@@ -1142,9 +1114,6 @@ static int amd_gpio_probe(struct platfor
+               return PTR_ERR(gpio_dev->pctrl);
+       }
+ 
+-      /* Disable and mask interrupts */
+-      amd_gpio_irq_init(gpio_dev);
+-
+       girq = &gpio_dev->gc.irq;
+       gpio_irq_chip_set_chip(girq, &amd_gpio_irqchip);
+       /* This will let us handle the parent IRQ in the driver */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/pinctrl-amd-Unify-debounce-handling-into-amd_pinconf.patch 
new/patches.suse/pinctrl-amd-Unify-debounce-handling-into-amd_pinconf.patch
--- old/patches.suse/pinctrl-amd-Unify-debounce-handling-into-amd_pinconf.patch 
1970-01-01 01:00:00.000000000 +0100
+++ new/patches.suse/pinctrl-amd-Unify-debounce-handling-into-amd_pinconf.patch 
2023-07-20 07:33:38.000000000 +0200
@@ -0,0 +1,81 @@
+From: Mario Limonciello <mario.limoncie...@amd.com>
+Date: Wed, 5 Jul 2023 08:30:05 -0500
+Subject: pinctrl: amd: Unify debounce handling into amd_pinconf_set()
+Git-commit: 283c5ce7da0a676f46539094d40067ad17c4f294
+Patch-mainline: 6.5-rc2
+References: bko#217336
+
+Debounce handling is done in two different entry points in the driver.
+Unify this to make sure that it's always handled the same.
+
+Tested-by: Jan Visser <starqu...@linuxeverywhere.org>
+Signed-off-by: Mario Limonciello <mario.limoncie...@amd.com>
+Link: https://lore.kernel.org/r/20230705133005.577-5-mario.limoncie...@amd.com
+Signed-off-by: Linus Walleij <linus.wall...@linaro.org>
+Signed-off-by: Jiri Slaby <jsl...@suse.cz>
+---
+ drivers/pinctrl/pinctrl-amd.c |   21 +++++----------------
+ 1 file changed, 5 insertions(+), 16 deletions(-)
+
+--- a/drivers/pinctrl/pinctrl-amd.c
++++ b/drivers/pinctrl/pinctrl-amd.c
+@@ -115,16 +115,12 @@ static void amd_gpio_set_value(struct gp
+       raw_spin_unlock_irqrestore(&gpio_dev->lock, flags);
+ }
+ 
+-static int amd_gpio_set_debounce(struct gpio_chip *gc, unsigned offset,
+-              unsigned debounce)
++static int amd_gpio_set_debounce(struct amd_gpio *gpio_dev, unsigned int 
offset,
++                               unsigned int debounce)
+ {
+       u32 time;
+       u32 pin_reg;
+       int ret = 0;
+-      unsigned long flags;
+-      struct amd_gpio *gpio_dev = gpiochip_get_data(gc);
+-
+-      raw_spin_lock_irqsave(&gpio_dev->lock, flags);
+ 
+       /* Use special handling for Pin0 debounce */
+       if (offset == 0) {
+@@ -183,7 +179,6 @@ static int amd_gpio_set_debounce(struct
+               pin_reg &= ~(DB_CNTRl_MASK << DB_CNTRL_OFF);
+       }
+       writel(pin_reg, gpio_dev->base + offset * 4);
+-      raw_spin_unlock_irqrestore(&gpio_dev->lock, flags);
+ 
+       return ret;
+ }
+@@ -782,9 +777,8 @@ static int amd_pinconf_set(struct pinctr
+ 
+               switch (param) {
+               case PIN_CONFIG_INPUT_DEBOUNCE:
+-                      pin_reg &= ~DB_TMR_OUT_MASK;
+-                      pin_reg |= arg & DB_TMR_OUT_MASK;
+-                      break;
++                      ret = amd_gpio_set_debounce(gpio_dev, pin, arg);
++                      goto out_unlock;
+ 
+               case PIN_CONFIG_BIAS_PULL_DOWN:
+                       pin_reg &= ~BIT(PULL_DOWN_ENABLE_OFF);
+@@ -811,6 +805,7 @@ static int amd_pinconf_set(struct pinctr
+ 
+               writel(pin_reg, gpio_dev->base + pin*4);
+       }
++out_unlock:
+       raw_spin_unlock_irqrestore(&gpio_dev->lock, flags);
+ 
+       return ret;
+@@ -857,12 +852,6 @@ static int amd_gpio_set_config(struct gp
+ {
+       struct amd_gpio *gpio_dev = gpiochip_get_data(gc);
+ 
+-      if (pinconf_to_config_param(config) == PIN_CONFIG_INPUT_DEBOUNCE) {
+-              u32 debounce = pinconf_to_config_argument(config);
+-
+-              return amd_gpio_set_debounce(gc, pin, debounce);
+-      }
+-
+       return amd_pinconf_set(gpio_dev->pctrl, pin, &config, 1);
+ }
+ 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patches.suse/pinctrl-amd-Use-amd_pinconf_set-for-all-config-optio.patch 
new/patches.suse/pinctrl-amd-Use-amd_pinconf_set-for-all-config-optio.patch
--- old/patches.suse/pinctrl-amd-Use-amd_pinconf_set-for-all-config-optio.patch 
1970-01-01 01:00:00.000000000 +0100
+++ new/patches.suse/pinctrl-amd-Use-amd_pinconf_set-for-all-config-optio.patch 
2023-07-20 07:33:38.000000000 +0200
@@ -0,0 +1,101 @@
+From: Mario Limonciello <mario.limoncie...@amd.com>
+Date: Wed, 5 Jul 2023 08:30:03 -0500
+Subject: pinctrl: amd: Use amd_pinconf_set() for all config options
+Git-commit: 635a750d958e158e17af0f524bedc484b27fbb93
+Patch-mainline: 6.5-rc2
+References: bko#217336
+
+On ASUS TUF A16 it is reported that the ITE5570 ACPI device connected to
+GPIO 7 is causing an interrupt storm.  This issue doesn't happen on
+Windows.
+
+Comparing the GPIO register configuration between Windows and Linux
+bit 20 has been configured as a pull up on Windows, but not on Linux.
+Checking GPIO declaration from the firmware it is clear it *should* have
+been a pull up on Linux as well.
+
+```
+GpioInt (Level, ActiveLow, Exclusive, PullUp, 0x0000,
+        "\\_SB.GPIO", 0x00, ResourceConsumer, ,)
+{   // Pin list
+0x0007
+}
+```
+
+On Linux amd_gpio_set_config() is currently only used for programming
+the debounce. Actually the GPIO core calls it with all the arguments
+that are supported by a GPIO, pinctrl-amd just responds `-ENOTSUPP`.
+
+To solve this issue expand amd_gpio_set_config() to support the other
+arguments amd_pinconf_set() supports, namely `PIN_CONFIG_BIAS_PULL_DOWN`,
+`PIN_CONFIG_BIAS_PULL_UP`, and `PIN_CONFIG_DRIVE_STRENGTH`.
+
+Reported-by: Nik P <npliashechni...@gmail.com>
+Reported-by: Nathan Schulte <nmschu...@gmail.com>
+Reported-by: Friedrich Vock <friedrich.v...@gmx.de>
+Closes: https://bugzilla.kernel.org/show_bug.cgi?id=217336
+Reported-by: dridr...@gmail.com
+Closes: https://bugzilla.kernel.org/show_bug.cgi?id=217493
+Link: 
https://lore.kernel.org/linux-input/20230530154058.17594-1-friedrich.v...@gmx.de/
+Tested-by: Jan Visser <starqu...@linuxeverywhere.org>
+Fixes: 2956b5d94a76 ("pinctrl / gpio: Introduce .set_config() callback for 
GPIO chips")
+Signed-off-by: Mario Limonciello <mario.limoncie...@amd.com>
+Reviewed-by: Andy Shevchenko <andriy.shevche...@linux.intel.com>
+Link: https://lore.kernel.org/r/20230705133005.577-3-mario.limoncie...@amd.com
+Signed-off-by: Linus Walleij <linus.wall...@linaro.org>
+Signed-off-by: Jiri Slaby <jsl...@suse.cz>
+---
+ drivers/pinctrl/pinctrl-amd.c |   28 +++++++++++++++-------------
+ 1 file changed, 15 insertions(+), 13 deletions(-)
+
+--- a/drivers/pinctrl/pinctrl-amd.c
++++ b/drivers/pinctrl/pinctrl-amd.c
+@@ -188,18 +188,6 @@ static int amd_gpio_set_debounce(struct
+       return ret;
+ }
+ 
+-static int amd_gpio_set_config(struct gpio_chip *gc, unsigned offset,
+-                             unsigned long config)
+-{
+-      u32 debounce;
+-
+-      if (pinconf_to_config_param(config) != PIN_CONFIG_INPUT_DEBOUNCE)
+-              return -ENOTSUPP;
+-
+-      debounce = pinconf_to_config_argument(config);
+-      return amd_gpio_set_debounce(gc, offset, debounce);
+-}
+-
+ #ifdef CONFIG_DEBUG_FS
+ static void amd_gpio_dbg_show(struct seq_file *s, struct gpio_chip *gc)
+ {
+@@ -782,7 +770,7 @@ static int amd_pinconf_get(struct pinctr
+ }
+ 
+ static int amd_pinconf_set(struct pinctrl_dev *pctldev, unsigned int pin,
+-                              unsigned long *configs, unsigned num_configs)
++                         unsigned long *configs, unsigned int num_configs)
+ {
+       int i;
+       u32 arg;
+@@ -872,6 +860,20 @@ static int amd_pinconf_group_set(struct
+       return 0;
+ }
+ 
++static int amd_gpio_set_config(struct gpio_chip *gc, unsigned int pin,
++                             unsigned long config)
++{
++      struct amd_gpio *gpio_dev = gpiochip_get_data(gc);
++
++      if (pinconf_to_config_param(config) == PIN_CONFIG_INPUT_DEBOUNCE) {
++              u32 debounce = pinconf_to_config_argument(config);
++
++              return amd_gpio_set_debounce(gc, pin, debounce);
++      }
++
++      return amd_pinconf_set(gpio_dev->pctrl, pin, &config, 1);
++}
++
+ static const struct pinconf_ops amd_pinconf_ops = {
+       .pin_config_get         = amd_pinconf_get,
+       .pin_config_set         = amd_pinconf_set,

++++++ series.conf ++++++
++++ 860 lines (skipped)
++++ between /work/SRC/openSUSE:Factory/kernel-source/series.conf
++++ and /work/SRC/openSUSE:Factory/.kernel-source.new.1467/series.conf

++++++ source-timestamp ++++++
--- /var/tmp/diff_new_pack.P6f6lc/_old  2023-07-24 18:13:00.429578862 +0200
+++ /var/tmp/diff_new_pack.P6f6lc/_new  2023-07-24 18:13:00.433578887 +0200
@@ -1,4 +1,4 @@
-2023-07-11 06:23:11 +0000
-GIT Revision: 5ab030f1f07fd96746960bce337ec62fc11b6a9a
+2023-07-20 05:33:38 +0000
+GIT Revision: 919c802ada31ab19f558e20f85131383e507193e
 GIT Branch: stable
 

Reply via email to