PCI Quirk - UGreen DXP8800 Plus
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hello everyone. At the advice of Bjorn Helgaas, I’m forwarding this message to all of you. Hope it’s helpful for future kernel revisions!
Begin forwarded message:
From: Patrick Bianchi <[email protected]>
Subject: PCI Quirk - UGreen DXP8800 Plus
Date: December 20, 2025 at 9:56:10 PM EST
To: [email protected]
Hello!
Let me start this off by saying that I’ve never submitted anything like this before and I am not 100% sure I’m even in the right place. I was advised by a member on the Proxmox community forums to submit my findings/request to the PCI subsystem maintainer and they gave me a link to this e-mail. If I’m in the wrong place, please feel free to redirect me.
I stumbled upon this thread (https://forum.proxmox.com/threads/problems-with-pcie-passthrough-with-two-identical-devices.149003/) when looking for solutions to passing through the SATA controllers in my UGreen DXP8800 Plus NAS to a Proxmox VM. In post #12 by user “celemine1gig” they explain that adding a PCI quirk and building a test kernel, which I did - over the course of three days and with a lot of help from Google Gemini! I’m not very fluent in Linux or this type of thing at all, but I’m also not afraid to try by following some directions. Thankfully, the proposed solution did work and now both of the NAS’s SATA controllers stay awake and are passed through to the VM. I’ve pasted the quirk below.
I guess the end goal would be to have this added to future kernels so that people with this particular hardware combination don’t run into PCI reset problems and don’t have to build their own kernels at ever update. Or at least that’s how I understand it from reading through that thread a few times.
I hope this was the right procedure for making this request. Please let me know if there’s anything else you need from me. Thank you!
-Patrick Bianchi
C:
/*
* Test patch for Asmedia SATA controller issues with PCI-pass-through
* Some Asmedia ASM1164 controllers do not seem to successfully
* complete a bus reset.
*/
Quoted 2 lines · On Mon, 22 Dec 2025 18:37:32 -0500 Patrick Bianchi…
Hello everyone. At the advice of Bjorn Helgaas, I’m forwarding this message to all of you. Hope it’s helpful for future kernel revisions!
I'm not sure what the proposed change is, but the comment at the end of the previous message seems to be leading to the quirk_no_bus_reset patch proposed here:
IIRC QEMU will favor the bus reset if the device otherwise only supports PM reset and interfaces like reset_method only influence the reset-function path rather than the bus/slot reset interface available through the vfio-pci hot reset ioctl.
Disabling bus reset appears reasonable given the corroboration in the thread and the fact that the device still seems to support PM reset.
Do you confirm the quirk you were testing is:
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ASMEDIA, 0x1164, quirk_no_bus_reset);
ie. vendor:device ID 1b21:1164?
Thanks,
Alex
Quoted 48 lines
Begin forwarded message:
From: Patrick Bianchi <[email protected]>
Subject: PCI Quirk - UGreen DXP8800 Plus
Date: December 20, 2025 at 9:56:10 PM EST
To: [email protected]Hello!
Let me start this off by saying that I’ve never submitted anything like this before and I am not 100% sure I’m even in the right place. I was advised by a member on the Proxmox community forums to submit my findings/request to the PCI subsystem maintainer and they gave me a link to this e-mail. If I’m in the wrong place, please feel free to redirect me.
I stumbled upon this thread
(https://forum.proxmox.com/threads/problems-with-pcie-passthrough-with-two-identical-devices.149003/)
when looking for solutions to passing through the SATA controllers in my UGreen DXP8800 Plus NAS to a Proxmox VM. In post #12 by user “celemine1gig” they explain that adding a PCI quirk and building a test kernel, which I did - over the course of three days and with a lot of help from Google Gemini! I’m not very fluent in Linux or this type of thing at all, but I’m also not afraid to try by following some directions. Thankfully, the proposed solution did work and now both of the NAS’s SATA controllers stay awake and are passed through to the VM. I’ve pasted the quirk below.I guess the end goal would be to have this added to future kernels so that people with this particular hardware combination don’t run into PCI reset problems and don’t have to build their own kernels at ever update. Or at least that’s how I understand it from reading through that thread a few times.
I hope this was the right procedure for making this request. Please let me know if there’s anything else you need from me. Thank you!
-Patrick Bianchi
C:
/*
* Test patch for Asmedia SATA controller issues with PCI-pass-through
* Some Asmedia ASM1164 controllers do not seem to successfully
* complete a bus reset.
*/
Yes. I used the exact code from Post #12 in that thread and it has been running stably for 3 weeks and through multiple reboots of host and VM.
-Patrick Bianchi
Sent from my iPhone
Quoted 80 lines · Alex Williamson
On Mon, 22 Dec 2025 18:37:32 -0500
Quoted 2 lines · Patrick Bianchi
Hello everyone. At the advice of Bjorn Helgaas, I’m forwarding this message to all of you. Hope it’s helpful for future kernel revisions!
I'm not sure what the proposed change is, but the comment at the end of the previous message seems to be leading to the
quirk_no_bus_resetpatch proposed here:IIRC QEMU will favor the bus reset if the device otherwise only supports PM reset and interfaces like
reset_methodonly influence the reset-function path rather than the bus/slot reset interface available through the vfio-pci hot reset ioctl.Disabling bus reset appears reasonable given the corroboration in the thread and the fact that the device still seems to support PM reset.
Do you confirm the quirk you were testing is:
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ASMEDIA, 0x1164, quirk_no_bus_reset);ie. vendor:device ID 1b21:1164?
Thanks,
AlexQuoted 48 lines
Begin forwarded message:
From: Patrick Bianchi <[email protected]>
Subject: PCI Quirk - UGreen DXP8800 Plus
Date: December 20, 2025 at 9:56:10 PM EST
To: [email protected]Hello!
Let me start this off by saying that I’ve never submitted anything like this before and I am not 100% sure I’m even in the right place. I was advised by a member on the Proxmox community forums to submit my findings/request to the PCI subsystem maintainer and they gave me a link to this e-mail. If I’m in the wrong place, please feel free to redirect me.
I stumbled upon this thread
(https://forum.proxmox.com/threads/problems-with-pcie-passthrough-with-two-identical-devices.149003/)
when looking for solutions to passing through the SATA controllers in my UGreen DXP8800 Plus NAS to a Proxmox VM. In post #12 by user “celemine1gig” they explain that adding a PCI quirk and building a test kernel, which I did - over the course of three days and with a lot of help from Google Gemini! I’m not very fluent in Linux or this type of thing at all, but I’m also not afraid to try by following some directions. Thankfully, the proposed solution did work and now both of the NAS’s SATA controllers stay awake and are passed through to the VM. I’ve pasted the quirk below.I guess the end goal would be to have this added to future kernels so that people with this particular hardware combination don’t run into PCI reset problems and don’t have to build their own kernels at ever update. Or at least that’s how I understand it from reading through that thread a few times.
I hope this was the right procedure for making this request. Please let me know if there’s anything else you need from me. Thank you!
-Patrick Bianchi
C:
/*
* Test patch for Asmedia SATA controller issues with PCI-pass-through
* Some Asmedia ASM1164 controllers do not seem to successfully
* complete a bus reset.
*/