From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.forwardemail.net (smtp.forwardemail.net [149.28.215.223]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A6CE74734C2 for ; Fri, 7 Aug 2026 15:36:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=149.28.215.223 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786116990; cv=none; b=QsrXXu7sqi0OR4t2ksfsY64Rl4sCqnlaDJSuVloIkzpnDHc8neAXfOVZZUnp30yNjavZBeVhWeTWlX3MW8BtX4WaZLSdvS4fzuo6U2mdT1hY8B3tTFjla4BLzNQCNQfhWI4iWiJRqw5NmrintXha0YpMHMQDjzaXgk/gRN7xCYc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786116990; c=relaxed/simple; bh=IDpY1+KfrdeDpS9BOMeRp2ST5NX0el1Fq1Ngk5UX0mc=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=erRTXMQdpqWoB0wJfH/rgcAOL7i7kMOo35Kgtb7qGy3H0JdWIDmhm2RSafqYGCHIxLRDaVsjVUc1EJYytEXbnMqvJN/drQp9nFxhFUtRFa92z3z3PlzmCXli+8bfGZ/jJrdDxwogQvB4DiT3+FMEmJiBftG0EtaJziw8Y9NtrGU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ubuntu.com; spf=pass smtp.mailfrom=fe-bounces.ubuntu.com; dkim=pass (2048-bit key) header.d=ubuntu.com header.i=@ubuntu.com header.b=bGA5O8fM; arc=none smtp.client-ip=149.28.215.223 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ubuntu.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fe-bounces.ubuntu.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ubuntu.com header.i=@ubuntu.com header.b="bGA5O8fM" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ubuntu.com; h=In-Reply-To: References: To: From: Subject: Cc: Message-Id: Date: Content-Type: Content-Transfer-Encoding: Mime-Version; q=dns/txt; s=fe-953a8a3ca9; t=1786116982; bh=zzOSRUF+7X160qCUSiX8xJSfS6L9qF78Knb+9kxZ4EU=; b=bGA5O8fMx+3mpa8dEAsVX8gBzEWMf4qfDC60f+O3XgBiWCGfy3I9BUoBYBK3sWfVqT+kHXHKg Fjwui7aU1NLWwM7GavUV0Owzz3q6nzbtGMbOy5aUuKmZy9Vuhxdgfp/qfORFjw3Dl4EGnACy3Lm 0ZhFK+AO6okoRpqhwfu75jFQdxZWLs41b/GP+S2dvD2Lk+LnCjtusGYXRdcprXRoV4C2T/e9K4U txMl1A5YoPfJOcXk9QgDJQF/wYOkOaKWn0G+xnqtDWkPAx9r40A+zcdnHaB+zUeugSHGZSoE6fK eP6oX8/kLUfPvORen/7K1md2xVs84ymy7cWFaJQtdoCQ== X-Forward-Email-ID: 6a75fb6318a12650795556ff X-Forward-Email-Sender: rfc822; jpeisach@ubuntu.com, smtp.forwardemail.net, 149.28.215.223 X-Forward-Email-Version: 2.13.10 X-Forward-Email-Website: https://forwardemail.net X-Complaints-To: abuse@forwardemail.net X-Report-Abuse: abuse@forwardemail.net X-Report-Abuse-To: abuse@forwardemail.net Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8; format=Flowed Date: Fri, 07 Aug 2026 11:36:01 -0400 Message-Id: Cc: , , , Subject: Re: [PATCH 0/6] Apple NVMe fixes for macOS 15+ firmware / M4 support From: "Joshua Peisach" To: "Sven Peter" , "Janne Grunau" , "Neal Gompa" , "Keith Busch" , "Jens Axboe" , "Christoph Hellwig" , "Sagi Grimberg" , "Arnd Bergmann" X-Mailer: aerc 0.21.0 References: <20260806-b4-nvme-fwabi-v1-0-bde19ce8db04@kernel.org> In-Reply-To: <20260806-b4-nvme-fwabi-v1-0-bde19ce8db04@kernel.org> On Thu Aug 6, 2026 at 11:27 AM EDT, Sven Peter wrote: > Hi, > > This series fixes a bunch of bugs that were working fine with M1/M2 NVMe > controllers with older firmware but are now starting to bite us. > With macOS 15 a new firmware is installed for the controller and both > XNU and the controller are a bit more strict now. This firmware is > required once we add M4 support. > > The first patch fixes a panic that can happen when the controller fails > to initialize, which now happens for the first time with the new > firmware. The other fixes then make it work again. > > Best, > > Sven > > Signed-off-by: Sven Peter > --- > Sven Peter (6): > nvme-apple: Destroy the admin queue on removal > nvme-apple: Don't set a DMA direction for commands without a data t= ransfer > nvme-apple: Never set the opcode in the NVMMU TCB > nvme: Add a quirk for page aligned admin queue buffers > nvme-apple: Require page aligned buffers on the admin queue > nvme-apple: Drop the PRP null check chicken bit > > drivers/nvme/host/apple.c | 32 +++++++++++++++----------------- > drivers/nvme/host/core.c | 5 ++++- > drivers/nvme/host/nvme.h | 7 +++++++ > 3 files changed, 26 insertions(+), 18 deletions(-) > --- > base-commit: dc59e4fea9d83f03bad6bddf3fa2e52491777482 > change-id: 20260806-b4-nvme-fwabi-000386148b21 > > Best regards, > -- =20 > Sven Peter On MacBookPro18,1 (J316s, 2021) with macOS 27 beta installed. Tested-by: Joshua Peisach