Bug 24281 - Enable FLR for IDXD halt
Summary: Enable FLR for IDXD halt
Status: NEW
Alias: None
Product: ANCK 6.6 Dev
Classification: ANCK
Component: drivers (show other bugs) drivers
Version: 6.6.88-4
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: GuixinLiu
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-26 14:11 UTC by Ailin-Xu
Modified: 2025-09-02 13:53 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ailin-Xu intel_group 2025-08-26 14:11:04 UTC
Description of problem:
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.

98d187a98903 dmaengine: idxd: Enable Function Level Reset (FLR) for halt
3e114fa0fd15 dmaengine: idxd: Refactor halt handler
6078a315aec1 dmaengine: idxd: Add idxd_device_config_save() and idxd_device_config_restore() helpers
3ab45516772b dmaengine: idxd: Binding and unbinding IDXD device and driver
087e89b69b5f dmaengine: idxd: Add idxd_pci_probe_alloc() helper 

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 小龙 admin 2025-08-26 14:30:04 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/5686
Comment 2 小龙 admin 2025-09-02 13:53:03 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/5708