[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <40058d79-7363-9474-2af0-b8e02b7b01ab@augustwikerfors.se>
Date: Mon, 31 Jul 2023 21:11:39 +0200
From: August Wikerfors <git@...ustwikerfors.se>
To: Mario Limonciello <mario.limonciello@....com>
Cc: kbusch@...nel.org, axboe@...com, hch@....de, sagi@...mberg.me,
linux-nvme@...ts.infradead.org, linux-kernel@...r.kernel.org,
nilskruse97@...il.com, David.Chang@....com
Subject: Re: [PATCH] nvme: Don't fail to resume if NSIDs change
On 2023-07-31 20:51, Mario Limonciello wrote:
> Samsung PM9B1 has problems after resume because NSID has changed.
> This has been reported in the past on OEM varities of PM9B1 parts
> and fixed by firmware updates on 'some' of those parts.
>
> However this same issue also happens on 'retail' PM9B1 parts which
> Samsung has not released firmware updates for.
>
> As the check has been relaxed at startup for multiple disks with
> duplicate NSIDs with commit ac522fc6c3165 ("nvme: don't reject
> probe due to duplicate IDs for single-ported PCIe devices") also
> relax the check that runs on resume for NSIDs and mark them bogus
> if this occurs on resume.
>
> Fixes: 1d5df6af8c74 ("nvme: don't blindly overwrite identifiers on disk revalidate")
> Cc: stable@...r.kernel.org # 6.1+
> Cc: Nils Kruse <nilskruse97@...il.com>
> Cc: August Wikerfors <git@...ustwikerfors.se>
> Cc: David Chang <David.Chang@....com>
> Link: https://github.com/tomsom/yoga-linux/issues/9
> Link: https://lore.kernel.org/linux-nvme/b99a5149-c3d6-2a9b-1298-576a1b4b22c1@gmail.com/
> Link: https://lore.kernel.org/all/20221116171727.4083-1-git@augustwikerfors.se/t/
> Link: https://lore.kernel.org/all/d0ce0f3b-9407-9207-73a4-3536f0948653@augustwikerfors.se/
> Signed-off-by: Mario Limonciello <mario.limonciello@....com>
Tested-by: August Wikerfors <git@...ustwikerfors.se>
Thanks!
Powered by blists - more mailing lists