Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions drivers/soc/apple/aop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -966,6 +966,12 @@ impl AFKEndpoint {
data: &[u8],
ret: Option<KVec<u8>>,
) -> Result<Arc<FutureValue<CallResult>>> {
// A crashed firmware takes no more messages and answers none. Refuse the call before it
// reserves a tag: a tag reserved now is never released, and once they are all gone every
// caller would see "too many inflight calls" instead of the crash.
if client.crashed.load(Acquire) {
return Err(ENODEV);
}
if client.epic_v4
&& self
.calls
Expand Down
Loading