This is a note to let you know that I've just added the patch titled Revert "drm/amdgpu: install stub fence into potential unused fence pointers" to the 5.15-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: revert-drm-amdgpu-install-stub-fence-into-potential-unused-fence-pointers.patch and it can be found in the queue-5.15 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From bf7b83108430e77aadb2175e7bad421ac5469e8a Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Date: Tue, 12 Sep 2023 13:28:47 +0200 Subject: Revert "drm/amdgpu: install stub fence into potential unused fence pointers" From: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> This reverts commit 4921792e04f2125b5eadef9dbe9417a8354c7eff which is commit 187916e6ed9d0c3b3abc27429f7a5f8c936bd1f0 upstream. It is reported to cause a lot of log spam, so should be reverted. Link: https://lore.kernel.org/r/d32d6919-47cf-4ddc-955a-0759088220ae@xxxxxxxxx Link: https://lore.kernel.org/r/BL1PR12MB5144A0E84378A2666A26AE18F7F2A@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Reported-by: Bryan Jennings <bryjen423@xxxxxxxxx> Reported-by: Alexander Deucher <Alexander.Deucher@xxxxxxx> Cc: Christian König <christian.koenig@xxxxxxx> Cc: Lang Yu <Lang.Yu@xxxxxxx> Cc: Alex Deucher <alexander.deucher@xxxxxxx> Cc: Sasha Levin <sashal@xxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c @@ -2260,7 +2260,6 @@ struct amdgpu_bo_va *amdgpu_vm_bo_add(st amdgpu_vm_bo_base_init(&bo_va->base, vm, bo); bo_va->ref_count = 1; - bo_va->last_pt_update = dma_fence_get_stub(); INIT_LIST_HEAD(&bo_va->valids); INIT_LIST_HEAD(&bo_va->invalids); @@ -2975,8 +2974,7 @@ int amdgpu_vm_init(struct amdgpu_device vm->update_funcs = &amdgpu_vm_cpu_funcs; else vm->update_funcs = &amdgpu_vm_sdma_funcs; - - vm->last_update = dma_fence_get_stub(); + vm->last_update = NULL; vm->last_unlocked = dma_fence_get_stub(); mutex_init(&vm->eviction_lock); @@ -3119,7 +3117,7 @@ int amdgpu_vm_make_compute(struct amdgpu vm->update_funcs = &amdgpu_vm_sdma_funcs; } dma_fence_put(vm->last_update); - vm->last_update = dma_fence_get_stub(); + vm->last_update = NULL; vm->is_compute_context = true; /* Free the shadow bo for compute VM */ Patches currently in stable-queue which might be from gregkh@xxxxxxxxxxxxxxxxxxx are queue-5.15/serial-tegra-handle-clk-prepare-error-in-tegra_uart_.patch queue-5.15/net-remove-duplicate-indirect_callable_declare-of-udp_ehashfn.patch queue-5.15/i3c-master-svc-fix-probe-failure-when-no-i3c-device-exist.patch queue-5.15/crypto-rsa-pkcs1pad-use-helper-to-set-reqsize.patch queue-5.15/usb-gadget-f_mass_storage-fix-unused-variable-warnin.patch queue-5.15/pci-rockchip-use-64-bit-mask-on-msi-64-bit-pci-address.patch queue-5.15/usb-core-unite-old-scheme-and-new-scheme-descriptor-reads.patch queue-5.15/dccp-fix-out-of-bounds-access-in-dccp-error-handler.patch queue-5.15/tracing-zero-the-pipe-cpumask-on-alloc-to-avoid-spurious-ebusy.patch queue-5.15/ntb-fix-calculation-ntb_transport_tx_free_entry.patch queue-5.15/rcu-dump-vmalloc-memory-info-safely.patch queue-5.15/md-md-bitmap-remove-unnecessary-local-variable-in-backlog_store.patch queue-5.15/usb-core-change-usb_get_device_descriptor-api.patch queue-5.15/ipmi_si-fix-a-memleak-in-try_smi_init.patch queue-5.15/serial-sprd-fix-dma-buffer-leak-issue.patch queue-5.15/of-kexec-mark-ima_-free-stable-_kexec_buffer-as-__init.patch queue-5.15/igmp-limit-igmpv3_newpack-packet-size-to-ip_max_mtu.patch queue-5.15/fsverity-skip-pkcs-7-parser-when-keyring-is-empty.patch queue-5.15/net-handle-arphrd_ppp-in-dev_is_mac_header_xmit.patch queue-5.15/serial-sprd-assign-sprd_port-after-initialized-to-av.patch queue-5.15/amba-bus-fix-refcount-leak.patch queue-5.15/backlight-gpio_backlight-compare-against-struct-fb_info.device.patch queue-5.15/udf-handle-error-when-adding-extent-to-a-file.patch queue-5.15/igb-set-max-size-rx-buffer-when-store-bad-packet-is-enabled.patch queue-5.15/procfs-block-chmod-on-proc-thread-self-comm.patch queue-5.15/scsi-core-fix-the-scsi_set_resid-documentation.patch queue-5.15/ntb-clean-up-tx-tail-index-on-link-down.patch queue-5.15/xtensa-pmu-fix-base-address-for-the-newer-hardware.patch queue-5.15/media-dvb-symbol-fixup-for-dvb_attach.patch queue-5.15/ntb-drop-packets-when-qp-link-is-down.patch queue-5.15/parisc-fix-proc-cpuinfo-output-for-lscpu.patch queue-5.15/arm-omap2-fix-warray-bounds-warning-in-_pwrdm_state_switch.patch queue-5.15/s390-ipl-add-missing-secure-has_secure-file-to-ipl-type-unknown.patch queue-5.15/printk-ringbuffer-fix-truncating-buffer-size-min_t-cast.patch queue-5.15/usb-core-fix-oversight-in-superspeed-initialization.patch queue-5.15/net-avoid-address-overwrite-in-kernel_connect.patch queue-5.15/skbuff-skb_segment-call-zero-copy-functions-before-using-skbuff-frags.patch queue-5.15/dlm-fix-plock-lookup-when-using-multiple-lockspaces.patch queue-5.15/netfilter-xt_sctp-validate-the-flag_info-count.patch queue-5.15/crypto-stm32-fix-loop-iterating-through-scatterlist-for-dma.patch queue-5.15/media-venus-hfi_venus-write-to-vidc_ctrl_init-after-unmasking-interrupts.patch queue-5.15/bpf-fix-issue-in-verifying-allow_ptr_leaks.patch queue-5.15/pm-devfreq-fix-leak-in-devfreq_dev_release.patch queue-5.15/arm64-lib-import-latest-version-of-arm-optimized-routines-strncmp.patch queue-5.15/mm-vmalloc-add-a-safer-version-of-find_vm_area-for-debug.patch queue-5.15/usb-phy-mxs-fix-getting-wrong-state-with-mxs_phy_is_.patch queue-5.15/pstore-ram-check-start-of-empty-przs-during-init.patch queue-5.15/x.509-if-signature-is-unsupported-skip-validation.patch queue-5.15/dma-buf-sync_file-fix-docs-syntax.patch queue-5.15/alsa-pcm-fix-missing-fixup-call-in-compat-hw_refine-ioctl.patch queue-5.15/perf-x86-uncore-correct-the-number-of-chas-on-emr.patch queue-5.15/x86-sgx-break-up-long-non-preemptible-delays-in-sgx_vepc_release.patch queue-5.15/revert-net-macsec-preserve-ingress-frame-ordering.patch queue-5.15/driver-core-test_async-fix-an-error-code.patch queue-5.15/arm64-csum-fix-oob-access-in-ip-checksum-code-for-negative-lengths.patch queue-5.15/arm64-sdei-abort-running-sdei-handlers-during-crash.patch queue-5.15/backlight-lv5207lp-compare-against-struct-fb_info.device.patch queue-5.15/revert-pci-mark-nvidia-t4-gpus-to-avoid-bus-reset.patch queue-5.15/mmc-renesas_sdhi-register-irqs-before-registering-controller.patch queue-5.15/usb-typec-bus-verify-partner-exists-in-typec_altmode_attention.patch queue-5.15/scsi-mpt3sas-perform-additional-retries-if-doorbell-read-returns-0.patch queue-5.15/backlight-bd6107-compare-against-struct-fb_info.device.patch queue-5.15/usb-typec-tcpm-set-initial-svdm-version-based-on-pd-revision.patch queue-5.15/cpufreq-brcmstb-avs-cpufreq-fix-warray-bounds-bug.patch queue-5.15/revert-drm-amdgpu-install-stub-fence-into-potential-unused-fence-pointers.patch queue-5.15/media-i2c-ccs-check-rules-is-non-null.patch queue-5.15/udf-check-consistency-of-space-bitmap-descriptor.patch queue-5.15/revert-scsi-qla2xxx-fix-buffer-overrun.patch queue-5.15/x86-apm-drop-the-duplicate-apm_minor_dev-macro.patch queue-5.15/netfilter-ipset-add-the-missing-ip_set_hash_with_net0-macro-for-ip_set_hash_netportnet.c.patch queue-5.15/usb-core-fix-race-by-not-overwriting-udev-descriptor-in-hub_port_init.patch queue-5.15/netfilter-xt_u32-validate-user-space-input.patch