Understanding pci address in lspci/dmesg
lspci without any flags lists bus:device.function.

dmesg lists domain:bus:device.function, where domain is the root complex.

More here: https://wiki.xen.org/wiki/Bus:Device.Function_(BDF)_Notation

If you do lspci -D, it shows domain also, same as what you see in dmesg.

lspci -t also shows domain.