[Skiboot] [PATCH] pci: Do a dummy config write to devices to establish bus number
Benjamin Herrenschmidt
benh at kernel.crashing.org
Thu Jun 9 18:02:49 AEST 2016
On Thu, 2016-06-09 at 15:43 +1000, Gavin Shan wrote:
> >+
> >+ /* Perform a dummy write to the device in order for it to
> >+ * capture it's own bus number, so any subsequent error
> >+ * messages will be properly tagged
> >+ */
> >+ pci_cfg_write32(phb, bdfn, 0, &vdid);
> >+
>
> Ben, I guess it's vdid, not &vdid though the target register is read-
> only.
Hah, oops, forgot to commt the compile fix before sending the patch.
Yes, it is. I will resend tmr.
Cheers,
Ben.
More information about the Skiboot
mailing list