On Thu, Jan 22, 2026 at 05:49:09PM +0900, Koichiro Den wrote: > The current documentation implies that pci_epc_set_bar() is only used > before the host enumerates the endpoint. > > In practice, some Endpoint Controllers support calling pci_epc_set_bar() > multiple times for the same BAR (without clearing it) in order to update > inbound address translations after the host has programmed the BAR base > address, which some Endpoint Functions such as vNTB already rely on. > Add document text for that. > > Also document the expected call flow for BAR subrange mapping > (pci_epf_bar.num_submap / pci_epf_bar.submap), which may require a > second pci_epc_set_bar() call after the host has programmed the BAR base > address. > > Reviewed-by: Frank Li <[email protected]> > Signed-off-by: Koichiro Den <[email protected]> > ---
Reviewed-by: Niklas Cassel <[email protected]>
