linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PCIe 3.0 AtomicOp capabilities
@ 2015-08-10 18:36 Jay Cornwall
  2015-08-11 15:10 ` Bjorn Helgaas
  0 siblings, 1 reply; 4+ messages in thread
From: Jay Cornwall @ 2015-08-10 18:36 UTC (permalink / raw)
  To: linux-pci

Hi,

There is some interest in using the PCIe 3.0 AtomicOp capability with a 
subset of devices supported by drm/amdgpu.

Adding this line to drm/amdgpu produced correct results in our tests:
pcie_capability_set_word(adev->pdev, PCI_EXP_DEVCTL2, 0x40);

I have found only a handful of examples of capability use throughout 
drivers/. I see that the ARI capability is enabled if supported in 
drivers/pci/pci.c.

Should the AtomicOp capabilities be similarly enabled if available? Or 
might there be a reason for doing this on a per-driver basis?

-- 
Jay Cornwall

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-08-13 20:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-10 18:36 PCIe 3.0 AtomicOp capabilities Jay Cornwall
2015-08-11 15:10 ` Bjorn Helgaas
2015-08-12  0:39   ` Jay Cornwall
2015-08-13 20:40     ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).