]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dmaengine: idxd: Add idxd_device_config_save() and idxd_device_config_restore() helpers
authorFenghua Yu <fenghua.yu@intel.com>
Fri, 22 Nov 2024 23:30:26 +0000 (15:30 -0800)
committerVinod Koul <vkoul@kernel.org>
Tue, 24 Dec 2024 10:38:04 +0000 (16:08 +0530)
commit6078a315aec15e0776fa90347cf4eba7478cdbd7
tree30247675ff1a8e3a1b8b57747d8807ec26950103
parent3ab45516772b813315324dc63a900703144e80c4
dmaengine: idxd: Add idxd_device_config_save() and idxd_device_config_restore() helpers

Add the helpers to save and restore IDXD device configurations.

These helpers will be called during Function Level Reset (FLR) processing.

Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20241122233028.2762809-4-fenghua.yu@intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/idxd/idxd.h
drivers/dma/idxd/init.c