Linux PCI subsystem development
 help / color / mirror / Atom feed
* Problem with kernel rescan and realloc BAR resource for endponts
@ 2025-04-24 16:49 Maverickk 78
  2025-04-24 17:13 ` Bjorn Helgaas
  0 siblings, 1 reply; 3+ messages in thread
From: Maverickk 78 @ 2025-04-24 16:49 UTC (permalink / raw)
  To: linux-pci

Hello,

The command line parameter

pciehp.pciehp_force=1 pciehp.pciehp_debug=1 pcie_ports=native
pci=nocrs pci=hpmemsize=256M,realloc pci=noacpi pci=realloc=on
pci=nobios


There are a couple of endpoints connected to downstream ports on a
switch, and the endpoints are not visible during the BIOS (seabios)
enumeration, but they are brought out of reset just before kernel
starts pci scan.

Even though the kernel enumerates the endpoint with proper bdf and is
able to read the config space but its not able to properly program the
BAR register, the lspci lists as


Region 0: Memory at <unassigned> (32-bit, non-prefetchable) [disabled]
[size=32M]


This is an emulation platform.


Any inputs is appreciated


Raghu

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

end of thread, other threads:[~2025-04-25  4:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-24 16:49 Problem with kernel rescan and realloc BAR resource for endponts Maverickk 78
2025-04-24 17:13 ` Bjorn Helgaas
2025-04-25  4:19   ` Maverickk 78

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox