summaryrefslogtreecommitdiff
path: root/drivers/rtc/interface.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2025-10-20 20:04:22 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-10-23 17:20:48 +0300
commitd28c1b1566a1ca2ce8b200ff61598d6a0360dfbf (patch)
tree3ac52041e6b8c1a693b1710d1326e9e4c82dfcef /drivers/rtc/interface.c
parentf3ccb491865418d7536648ba7a7dcbbb5e4b4f99 (diff)
downloadlinux-d28c1b1566a1ca2ce8b200ff61598d6a0360dfbf.tar.xz
dmaengine: Add missing cleanup on module unload
Upstream commit b7cb9a034305 ("dmaengine: idxd: Fix refcount underflow on module unload") fixes a refcount underflow by replacing the call to idxd_cleanup() in the remove function with direct cleanup calls. That works fine upstream. However, upstream removed support for IOMMU_DEV_FEAT_IOPF, which is still supported in v6.12.y. The backport of commit b7cb9a034305 into v6.12.y misses the call to disable it. This results in a warning backtrace when unloading and reloading the module. WARNING: CPU: 0 PID: 665849 at drivers/pci/ats.c:337 pci_reset_pri+0x4c/0x60 ... RIP: 0010:pci_reset_pri+0xa7/0x130 Add the missing cleanup call to fix the problem. Fixes: ce81905bec91 ("dmaengine: idxd: Fix refcount underflow on module unload") Cc: Yi Sun <yi.sun@intel.com> Cc: Shuai Xue <xueshuai@linux.alibaba.com> Cc: Dave Jiang <dave.jiang@intel.com> Cc: Vinicius Costa Gomes <vinicius.gomes@intel.com> Cc: Vinod Koul <vkoul@kernel.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Vinicius Costa Gomes <vinicius.gomes@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/rtc/interface.c')
0 files changed, 0 insertions, 0 deletions