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=1796275640; b=UYpyk0KIK89587shWMGpfsEJ3AY5bLjPRGMl2nhB2TDRO2Wzp+kUS2JF+6ScmgZu+mjD x9KEsuXdVSC2T+q31NW5vZV9VU6tFb0q+SWisbiqggc5eak3FladuFx6OFLBetBUZ7u6N QSDmFiqDgDBY+fyNQA/wZK0qaoqRTgumSt8JVOUVC6AZ0nbSpu+B4KGyQUDnR6k4SDXOh sCwVgF4KBvO9+4qgjTdX+DwkbQCktwY+j4LCHHUwihGwyk55ruJfcSHZmKFnLQE0PVlQl 5U8j3WOzYHRVe7AX8MaSVYBbcGMb3nCV7DOcHwrkGMBatizC67dnB6ScxRZejDj46CQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796275640; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=6IRJxpdfZ/FwIbDfR8AAnfvtfCad1mjswcWflCo+CAs=; b=HunAPLg1SIuOIyS1IDtNr61GPxx0RNmHHeJDbnEfLJr7Y6O3Ib17dsmYArX/c60k8xTT fD32772px080VvITEES2OialEomWfAc7u1cBncaWVEtFFQyxoIQZ48Fl5ia/ogqGssJ0s AMtIPYPY/cKfdEXLdAvVCwvmMLP7JFmvdERJnoAifCZSi1yWDnGE5bdx5JOw/v+WFZkGk qe8Zed9ggJ9xcc2UcQnUgb2NQiBt1U3nipoNtQmCkpfMijQ/2qhkkS6vP5zmSmtsw/6jw 8A5IA73B/5ZNRuIsy+FDqTxZyjQQXZHhb/W4o7nq0P2n7RoDcWJyrA0RcQFJJIbIHxw== 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=K6kwv7+1; 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 ACEFE606A322 for ; Thu, 3 Dec 2026 05:27:20 +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=K6kwv7+1 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6154C1F00893; Thu, 3 Dec 2026 05:27:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796275640; bh=6IRJxpdfZ/FwIbDfR8AAnfvtfCad1mjswcWflCo+CAs=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=K6kwv7+1IaaY1UvuL1esSmqnfB/x6+IURPlw7/i39JoKkIPGwMnLoJvlSHhWFdOq4 Z7ZU8DsuSPS1g4Vj241+pPgNtnS3wVe0LMSuSCOFBNntuB4enuKSBU0Pfn4iqX/y19 YZ4qzrAz5wMrgVlyjM8PSpI07TTNtkSudfFXNRa1S8cSVF18mm7BLF/HTRpjbFhFGP QTtRC7cc0/OrVggpzacVkORkkz6ggxWHAzal4/aMnLDwQVLruAn3SarC1GpOlTzFXH NIqEXXfy7nmOHBeTrOTViMZ3bJkOu2a7W9ln/AABD7Cl+YwbuLf5yyp2iz5wC8FH4D GvajZ/NBObkHw== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH] nvdimm: virtio_pmem: reset the device if nvdimm_bus_register() fails Reply-To: sashiko-reviews@lists.linux.dev To: "Yuho Choi" Cc: virtualization@lists.linux.dev, "Michael S. Tsirkin" , "Eugenio Perez" In-Reply-To: <20261203050747.1683432-2-oss.patchbox@gmail.com> References: <20261203050747.1683432-2-oss.patchbox@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Dec 2026 05:27:19 +0000 X-Mailing-List: virtualization@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list > init_vq() enables the request queue on the device. If > nvdimm_bus_register() then fails, probe deletes the queue without > resetting the device, so the queue stays enabled and the next probe of > the device fails in setup_vq() with -ENOENT. Reset the device before > deleting the queue, as the later error path and remove() do. >=20 > Fixes: 6e84200c0a29 ("virtio-pmem: Add virtio pmem driver") > Signed-off-by: Yuho Choi Sashiko has reviewed this patch and found no issues. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261203050747.1683= 432-2-oss.patchbox@gmail.com?part=3D1