forked from weiny2/linux-kernel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools/testing/cxl: Add Dynamic Capacity events
OS software needs to be alerted when new extents arrive on a Dynamic Capacity Device (DCD). On test DCDs extents are added through sysfs. Add events on DCD extent injection. Directly call the event irq callback to simulate irqs to process the test extents. Reviewed-by: Dave Jiang <dave.jiang@intel.com> Reviewed-by: Jonathan.Cameron@huawei.com> Signed-off-by: Ira Weiny <ira.weiny@intel.com> --- Changes for v1 [Jonathan: s/send_dc_event/log_dc_event/] [Jonathan: use devm_kmemdup] [iweiny: adjust structure definitions based on earlier patch rework]
- Loading branch information
Showing
1 changed file
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters