]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/nvm: add support for non-posted erase
authorReuven Abliyev <reuven.abliyev@intel.com>
Tue, 17 Jun 2025 14:51:58 +0000 (17:51 +0300)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 23 Jun 2025 17:14:50 +0000 (13:14 -0400)
commita1c940cbf505e2342ebb5ea996f0acf205d6af7b
tree583ec3a34d6797569d01a67d362aec1c8552302d
parent87e1ebbafbea1e5e8de1f2beaf01b378149262f2
drm/xe/nvm: add support for non-posted erase

Erase command is slow on discrete graphics storage
and may overshot PCI completion timeout.
BMG introduces the ability to have non-posted erase.
Add driver support for non-posted erase with polling
for erase completion.

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Reuven Abliyev <reuven.abliyev@intel.com>
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Link: https://lore.kernel.org/r/20250617145159.3803852-9-alexander.usyskin@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_nvm.c
drivers/mtd/devices/mtd_intel_dg.c
include/linux/intel_dg_nvm_aux.h