heads icon indicating copy to clipboard operation
heads copied to clipboard

PCIe bifurcation doesn't work

Open vejmarie opened this issue 6 years ago • 4 comments

If a PCIe slot is using bifurcation to implement a dual x8 ports as an example on a x16 port, the attached PCIe device is not recognized. That is an issue on most OCP nodes which are intensively using PCIe bifurcation. A workaround is to directly plugged the PCI card into the master slot.

vejmarie avatar Mar 09 '18 15:03 vejmarie

Is this something that the PEI is supposed to setup? Or are we perhaps missing a DXE module that does this configuration? It doesn't look to me like the Linux kernel has anything related to bifurcation on x86.

osresearch avatar Mar 29 '18 20:03 osresearch

There are a couple of registers which could be set at CPU level (not PCH) to set it up. This is definitly something which is transparent to the kernel and can be setup currently through AMITSE screen. I believe we have to re-implement it into the kernel to check if this is PEI or could be performed later.

vejmarie avatar Mar 29 '18 20:03 vejmarie

has there been any progress on this topic?

nospam2000 avatar May 05 '24 08:05 nospam2000

There are a couple of registers which could be set at CPU level (not PCH) to set it up. This is definitly something which is transparent to the kernel and can be setup currently through AMITSE screen. I believe we have to re-implement it into the kernel to check if this is PEI or could be performed later.

@vejmarie ping?

I have not followed linuxboot integration for a really long while to be honest and the Heads tree for those boards is totally UNMAINTAINED as of now. If there was desire, we could team up to add supported linuxboot boards back into Heads and build the ROMs from Circleci.

AFAIK, there was no progress on this @nospam2000 .

tlaurion avatar May 05 '24 14:05 tlaurion