+1
−1
+1
−1
Loading
mainline inclusion from mainline-v6.9-rc1 commit cf497f3585f944ff42cc2c84453569f37a1bd6b9 category: feature bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I9TA1S CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cf497f3585f944ff42cc2c84453569f37a1bd6b9 -------------------------------- Since commit d492cc25 ("driver core: device.h: make struct bus_type a const *"), the driver core can properly handle constant struct bus_type, move the dsa_bus_type variable to be a constant structure as well, placing it into read-only memory which can not be modified at runtime. Intel-SIG: commit cf497f3585f9 dmaengine: idxd: make dsa_bus_type const. Incremental backporting patches for DSA/IAA on Intel Xeon platform. Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Suggested-by:Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
"Ricardo B. Marliere" <ricardo@marliere.net> Reviewed-by:
Dave Jiang <dave.jiang@intel.com> Reviewed-by:
Fenghua Yu <fenghua.yu@intel.com> Reviewed-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Link: https://lore.kernel.org/r/20240213-bus_cleanup-idxd-v1-1-c3e703675387@marliere.net Signed-off-by:
Vinod Koul <vkoul@kernel.org> Signed-off-by:
Xiaochen Shen <xiaochen.shen@intel.com>