[Bug 202055] Failed to PCI passthrough SSD with SMI SM2262 controller.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=202055

--- Comment #19 from Dongli Zhang (dongli.zhang@xxxxxxxxxx) ---
(In reply to Alex Williamson from comment #14)
> Hi Dongli, you're getting an ACS violation, I wonder if it's related to an
> issue your colleague resolved recently:
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/
> ?id=aa667c6408d20a84c7637420bc3b7aa0abab59a2
> 
> Is there an IDT switch in your topology or is the NVMe drive connected
> directly to the Intel root port?  If the former, perhaps James' patch
> doesn't account for the invalid source ID propagating upstream.  If directly
> connected to the Intel root port, perhaps IDT isn't the only downstream port
> with the issue.
> 
> You could try disabling Source Validation on the root port via setpci to see
> if we're dealing with a similar issue:
> 
> # setpci -s 1b.0 ECAP_ACS+6.w=0:1
> 
> However, you're using an Intel system with a non-standard (aka broken) ACS
> capability, therefore the ACS capability and control registers are actually
> dwords, so I think the correct command would be:
> 
> # setpci -s 1b.0 ECAP_ACS+8.l=0:1
> 
> Also you won't be able to trust lspci for decoding of the ACS capability.

Hi Alex,

The kernel I use is the most recent upstream version including commit
aa667c6408d20a84c7637420bc3b7aa0abab59a2.

Is there a way to know if IDT switch is in the topology?

The env is an dell desktop I use at home to debug program myself.

# lspci
00:00.0 Host bridge: Intel Corporation Device 591f (rev 05)
00:02.0 VGA compatible controller: Intel Corporation Device 5912 (rev 04)
00:14.0 USB controller: Intel Corporation Device a2af
00:14.2 Signal processing controller: Intel Corporation Device a2b1
00:16.0 Communication controller: Intel Corporation Device a2ba
00:17.0 SATA controller: Intel Corporation Device a282
00:1b.0 PCI bridge: Intel Corporation Device a2e7 (rev f0)
00:1d.0 PCI bridge: Intel Corporation Device a298 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Device a2c6
00:1f.2 Memory controller: Intel Corporation Device a2a1
00:1f.3 Audio device: Intel Corporation Device a2f0
00:1f.4 SMBus: Intel Corporation Device a2a3
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (5) I219-V
01:00.0 Non-Volatile memory controller: Intel Corporation Device f1a6 (rev 03)
02:00.0 Ethernet controller: Intel Corporation I350 Gigabit Network Connection
(rev 01)
02:00.1 Ethernet controller: Intel Corporation I350 Gigabit Network Connection
(rev 01)

Dongli Zhang

-- 
You are receiving this mail because:
You are watching the assignee of the bug.



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux