On Wed, Jan 2, 2019 at 2:24 PM Jintack Lim <jintack@xxxxxxxxxxxxxxx> wrote: > > Hi, > > I found that VFIO hides capabilities to userspace if a capability ID > is not in the defined range (PCI_CAP_ID_MAX). What's the reason for > this? Is it because it's not safe to expose an unknown capability to > userspace? > > While we are at it, where can I get the list of all capability IDs > defined other than Linux kernel source (pci_regs.h)? It seems like > each capability ID is defined in PCI-SIG ECNs, but I wonder if there > is an official document having all the IDs fro PCI-SIG? I found that "PCI Code and ID Assignment Specification, Revision 1.10 Agreement" is the one. > > Thanks, > Jintack