Skip to content

nvme: guard unsupported runtime controller resets - #3

Merged
Pauli1Go merged 2 commits into
hoolockfrom
dev
Jul 8, 2026
Merged

Pauli1Go merged 2 commits into
hoolockfrom
dev

Conversation

@Pauli1Go

@Pauli1Go Pauli1Go commented Jul 8, 2026

Copy link
Copy Markdown
Owner

No description provided.

Pauli1Go added 2 commits June 29, 2026 18:04
The H9P FlatDMA path needs to map requests that carry their data
through the block layer special payload mechanism instead of the normal
bio iterator.

Handle RQF_SPECIAL_PAYLOAD by mapping req_bvec(req) through the same
H9P page-list helper used for normal bvecs. Reject payload length
mismatches before programming the NVMMU request.

Signed-off-by: Paul Praschl <[email protected]>
Apple H9P storage on T8010 does not currently have a safe
runtime controller reset sequence. Triggering the generic NVMe reset
path through reset_controller can leave the device in a state that
cannot be recovered without a full external power cycle.

Add a controller quirk that lets such devices reject runtime reset
requests before the reset work is queued. H9P sets the quirk so sysfs
reset_controller fails cleanly with -EOPNOTSUPP while the live
controller and mounted root filesystem remain usable.

Signed-off-by: Paul Praschl <[email protected]>
@Pauli1Go
Pauli1Go merged commit 4d9e0b1 into hoolock Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant