Please change the line in the patch from "return NVME_QUIRK_PCI_RESET_RESUME"; to "return (NVME_QUIRK_PCI_RESET_RESUME | NVME_QUIRK_NO_DEEPEST_PS);
And see if this still happens.
Please change the line in the patch from PCI_RESET_ RESUME" ; PCI_RESET_ RESUME | NVME_QUIRK_ NO_DEEPEST_ PS);
"return NVME_QUIRK_
to
"return (NVME_QUIRK_
And see if this still happens.