]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
nvme-apple: Prevent shared tags across queues on Apple A11
authorNick Chan <towinchenmi@gmail.com>
Sun, 7 Jun 2026 06:10:58 +0000 (14:10 +0800)
committerKeith Busch <kbusch@kernel.org>
Mon, 8 Jun 2026 19:44:23 +0000 (12:44 -0700)
commit6fe0687245e8406bf26143bd45eb16441bbe5280
tree1b61bfdf896c7d1ec63db1ed1b3234f5d0154130
parent7ed4aab1381f3439f45032eb860f89d9da5e45c2
nvme-apple: Prevent shared tags across queues on Apple A11

On Apple A11, tags of pending commands must be unique across the admin
and IO queues, else the firmware crashes with
"duplicate tag error for tag N", with N being the tag.

Apply the existing workaround for M1 of reserving two tags for the admin
queue to A11.

Cc: stable@vger.kernel.org
Fixes: 04d8ecf37b5e ("nvme: apple: Add Apple A11 support")
Reviewed-by: Sven Peter <sven@kernel.org>
Signed-off-by: Nick Chan <towinchenmi@gmail.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/apple.c