mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/5] Enable FLR for IDXD halt
@ 2024-07-05 18:15 Fenghua Yu
  2024-07-05 18:15 ` [PATCH 1/5] dmaengine: idxd: Add idxd_pci_probe_alloc() helper Fenghua Yu
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Fenghua Yu @ 2024-07-05 18:15 UTC (permalink / raw)
  To: Vinod Koul, Dave Jiang; +Cc: dmaengine, linux-kernel, Fenghua Yu

When IDXD device hits hardware errors, it enters halt state and triggers
an interrupt to IDXD driver. Currently IDXD driver just prints an error
message in the interrupt handler.

A better way to handle the interrupt is to do Function Level Reset (FLR)
and recover the device's hardware and software configurations to its
previous working state. The device and software can continue to run after
the interrupt.

This series enables this FLR handling for IDXD device whose WQs are all
user type. FLR handling for IDXD device whose WQs are kernel type
will be implemented in a future series.

Fenghua Yu (5):
  dmaengine: idxd: Add idxd_pci_probe_alloc() helper
  dmaengine: idxd: Binding and unbinding IDXD device and driver
  dmaengine: idxd: Add idxd_device_config_save() and
    idxd_device_config_restore() helpers
  dmaengine: idxd: Refactor halt handler
  dmaengine: idxd: Enable Function Level Reset (FLR) for halt

 drivers/dma/idxd/idxd.h |  13 ++
 drivers/dma/idxd/init.c | 478 ++++++++++++++++++++++++++++++++++++----
 drivers/dma/idxd/irq.c  |  85 ++++---
 3 files changed, 506 insertions(+), 70 deletions(-)

-- 
2.37.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-07-08 19:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-05 18:15 [PATCH 0/5] Enable FLR for IDXD halt Fenghua Yu
2024-07-05 18:15 ` [PATCH 1/5] dmaengine: idxd: Add idxd_pci_probe_alloc() helper Fenghua Yu
2024-07-05 18:15 ` [PATCH 2/5] dmaengine: idxd: Binding and unbinding IDXD device and driver Fenghua Yu
2024-07-05 18:15 ` [PATCH 3/5] dmaengine: idxd: Add idxd_device_config_save() and idxd_device_config_restore() helpers Fenghua Yu
2024-07-08 19:10   ` Dave Jiang
2024-07-05 18:15 ` [PATCH 4/5] dmaengine: idxd: Refactor halt handler Fenghua Yu
2024-07-05 18:15 ` [PATCH 5/5] dmaengine: idxd: Enable Function Level Reset (FLR) for halt Fenghua Yu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®