On Wed Nov 11, 2026 at 8:05 PM GMT, John Hubbard wrote: > The nova-core driver has to send the GPU's PCI location to the GPU's > firmware as one word that holds the domain, the bus and the device > number. > > The PCI abstraction has dev_id(), which packs the bus, the device and > the function into one value. It has no accessor that reports the domain. > > Add an accessor for the domain number. > > Signed-off-by: John Hubbard <[email protected]>
Reviewed-by: Gary Guo <[email protected]> > --- > rust/helpers/pci.c | 5 +++++ > rust/kernel/pci.rs | 16 ++++++++++++++++ > 2 files changed, 21 insertions(+)
