From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796042170; b=inzScpCUpOvrGWteIYvaMDf9kZA4sZbujq2hzVYtUeqtyEam8Gf8eCagaHPpQDF+zAUl QnVE4byQVAZJKczFK80wv6kFrAqkY/23s6MxGZTV8/FrLkyENzZCmqUCIkepXuUlSdSb3 xmhf7xKUAh4ttw8SvN82adlsvXL4jmu3mH79HnrjBdLFf+MOZq53O5BXxzg2KUYclwu+G J/b5CcfNSFw1c7cyFxyDh2XrPxKx9QcZpAaNTtZB1VE3V652n3BL2xRErbI6ROmf342EQ km/h1SQTRlqdizUNuDUA5NbJAEs03o43mOKEz2xUTDyDTEjGLb/kk4jtkKBdEXloypA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796042170; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=abvFMDr6Ws68sNRb+mxJB7vLeTJgEqtxHTWL0oOYKHA=; b=sAAzYH/vHc5/d6Vn7h6QMcOwlpJxbzimsqZmzM0z+ZjU8ftDMVf15jgRvHvgFWiCTtBC TML2jnwSmfyxyi6holqVHX24a+QMO/kWXM+LfrTnZzCknpsv398SvWCmZbY0u1gfcGzhR +mNcwhLam27hqnaoeVQJbKVavt/FvKJcSisw2lqaOQcx7FYZx4Ty/iaaifvnfuwCunH8Q 1bOC8mBkC1oaOQ2obNsufs6CPjBdjWssraVLaBg2sfRqHyK5I+kCmeIGH0APV/b3uaVuR vRaZea+N6fynJRWP/u0aq0i7TNh6qeYOKiQo+7GIbdOtxbEqdBAZ0u5VeSLehwVsmPA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=N6gpeiNX; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B291F606A320 for ; Mon, 30 Nov 2026 12:36:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=N6gpeiNX Received: by smtp.kernel.org (Postfix) with ESMTPSA id 33D481F000C1; Mon, 30 Nov 2026 12:36:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796042170; bh=abvFMDr6Ws68sNRb+mxJB7vLeTJgEqtxHTWL0oOYKHA=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=N6gpeiNXAKoYNPBLBgdhByA/eVza5YEfu0hpUHEm9wpbl6x/2Z1TxyOWV/DjG9AYA JKoRq9dwTpxY2q5GzFayqb4vs6UUtwhfaI89DWsAFu7iau85AzYZz8HkHBFMJ9Z1yE tRnm2RUpMvsu1TurusgRnSTptpUqSi5hhXcSfgUAB+3nORHwACOosuRr7QRTmlx7Oq kSHXimdfLyKbakAN7THumaDEEYMsA1ZbhCIguCgQ8ZO8IiIA6oginkkyedksbzkKLe +NpAK45KnA+zwwMSaw13hRyrKCeStem9Vx+u9cQIvPmnbXn8WfEF78b9Pm4XWE7wQ5 tApHQcuysoLHA== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v2 2/5] Bluetooth: btnxpuart: Add auxiliary driver for PCIe M.2 modules Reply-To: sashiko-reviews@lists.linux.dev To: "Manivannan Sadhasivam" Cc: linux-pci@vger.kernel.org In-Reply-To: <20261130-pci-m2-bt-rework-v2-2-922fcad88987@oss.qualcomm.com> References: <20261130-pci-m2-bt-rework-v2-0-922fcad88987@oss.qualcomm.com> <20261130-pci-m2-bt-rework-v2-2-922fcad88987@oss.qualcomm.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Mon, 30 Nov 2026 12:36:09 +0000 X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Medium] Bluetooth: btnxpuart: missing pm and coredump callbacks on nxp_bt_aux_driver -- commit b3a1fe9207c7f630feccf3c2a0ae8626929cc84a Author: Manivannan Sadhasivam Bluetooth: btnxpuart: Add auxiliary driver for PCIe M.2 modules This commit factors the shared HCI controller registration and teardown into helpers and adds an auxiliary driver for PCIe M.2 modules such as 88W8987. > diff --git a/drivers/bluetooth/btnxpuart.c b/drivers/bluetooth/btnxpuart.c > index 5c730e3361141..c7209b3b59aa1 100644 > --- a/drivers/bluetooth/btnxpuart.c > +++ b/drivers/bluetooth/btnxpuart.c [ ... ] > @@ -2075,7 +2149,44 @@ static struct serdev_device_driver nxp_serdev_driv= er =3D { > }, > }; > =20 > -module_serdev_device_driver(nxp_serdev_driver); > +static const struct auxiliary_device_id nxp_bt_aux_id_table[] =3D { > + { > + .name =3D "pwrseq_pcie_m2.88w8987-bt", > + .driver_data =3D (kernel_ulong_t)&w8987_data, > + }, > + { } > +}; > +MODULE_DEVICE_TABLE(auxiliary, nxp_bt_aux_id_table); > + > +static struct auxiliary_driver nxp_bt_aux_driver =3D { > + .name =3D "nxp_bt", > + .probe =3D nxp_bt_aux_probe, > + .remove =3D nxp_bt_aux_remove, > + .id_table =3D nxp_bt_aux_id_table, > +}; [Severity: Medium] Should nxp_bt_aux_driver also wire .driver.pm =3D &nxp_pm_ops and .driver.coredump =3D nxp_serdev_coredump (under CONFIG_DEV_COREDUMP), like nxp_serdev_driver does? For PCIe M.2 modules, nxp_bt_aux_driver binds to the auxiliary device while the underlying serdev has no driver attached. Without those callbacks on nxp_bt_aux_driver, system suspend and resume will not run nxp_serdev_suspend() and nxp_serdev_resume() to transition the controller power-save state, and the sysfs coredump trigger attribute will not be created even though nxp_register_dev() sets up power save and registers devcoredump. Both nxp_pm_ops and nxp_serdev_coredump() take a generic struct device * and look up nxpdev via dev_get_drvdata(dev), which matches auxiliary_set_drvdata(adev, nxpdev) in nxp_bt_aux_probe(). --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261130-pci-m2-bt-= rework-v2-0-922fcad88987@oss.qualcomm.com?part=3D2