mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-30 14:33:24 -04:00
nvme-apple: Never set the opcode in the NVMMU TCB
macOS always sets this to zero and the firmware starting with macOS 15
has started to complain about what we're doing here.
Fixes: 5bd2927ace ("nvme-apple: Add initial Apple SoC NVMe driver")
Tested-by: Joshua Peisach <jpeisach@ubuntu.com>
Tested-by: Janne Grunau <j@jannau.net>
Tested-by: Nick Chan <towinchenmi@gmail.com>
Signed-off-by: Sven Peter <sven@kernel.org>
This commit is contained in:
@@ -335,7 +335,7 @@ static void apple_nvme_submit_cmd_t8103(struct apple_nvme_queue *q,
|
||||
u32 tag = nvme_tag_from_cid(cmd->common.command_id);
|
||||
struct apple_nvmmu_tcb *tcb = &q->tcbs[tag];
|
||||
|
||||
tcb->opcode = cmd->common.opcode;
|
||||
tcb->opcode = 0;
|
||||
tcb->prp1 = cmd->common.dptr.prp1;
|
||||
tcb->prp2 = cmd->common.dptr.prp2;
|
||||
tcb->length = cmd->rw.length;
|
||||
|
||||
Reference in New Issue
Block a user