[Ubuntu 16.10] CAPI flash (cxlflash) driver and CXL kernel services to support driver event notification
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Yakkety |
Fix Released
|
Medium
|
Unassigned |
Bug Description
This adds an afu_driver_ops structure with deliver_event callback. An AFU driver such as cxlflash can fill this out and associate it with a context to enable passing custom AFU specific events to userspace.
This also adds a new kernel API function cxl_context_
The current count of AFU driver specific events is stored in the field afu_driver_events of the context structure.
The cxl driver will check the afu_driver_events count during poll, select, read, etc. calls to check if an AFU driver specific event is pending, and will call deliver_event() to deliver that event. This way, the cxl driver takes care of all the usual locking semantics around these calls and handles all the generic cxl events, so that the AFU driver only needs to worry about it's own events.
This is a kernel feature for Ubuntu 16.10
tags: | added: architecture-ppc64le bugnameltc-133692 severity-medium targetmilestone-inin1610 |
Changed in ubuntu: | |
assignee: | nobody → Taco Screen team (taco-screen-team) |
affects: | ubuntu → linux (Ubuntu) |
Changed in linux (Ubuntu): | |
assignee: | Taco Screen team (taco-screen-team) → Canonical Kernel Team (canonical-kernel-team) |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in linux (Ubuntu Yakkety): | |
assignee: | Canonical Kernel Team (canonical-kernel-team) → nobody |
status: | Triaged → Fix Released |
------- Comment From <email address hidden> 2016-08-22 14:04 EDT-------
Canonical, all the patches seem to be integrated in kernel 4.8, so, there is no action at your side at this time.