I don’t know where I would report this issue so that it could be fixed upstream, or what upstream even is in this case, is it directly in the Linux kernel?
I see that Linux a denylist XHCI_SPURIOUS_WAKEUP, but that is only for USB, right?
I think nixos-hardware is the place to be for this. Different hardware will have different things that should be prevented from causing wakeups. I imagine this particular one doesn’t normally cause that, except on specific hardware.
I guess I’ll submit it there. But it does feel unsatisfying, in an ideal world nixos-hardware would not need to exists, making it grow is like a signal that Linux hardware support is still not quite there yet.
I don’t think I have any uncommon hardware in particular, having an NVMe drive seems to be the cause of the issue.
Here’s are some examples of people with the same problem on different motherboards and different operating systems:
All these problems are marked as “solved”, but me and many other people still had it, a bug is not solved until it never happens to anyone else, if you ask me.