Page MenuHomeFreeBSD

powerpcspe: fix PCI enumeration on ppce500
ClosedPublic

Authored by alfredo on Mar 21 2022, 11:07 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 10, 3:56 AM
Unknown Object (File)
Mar 18 2024, 3:29 AM
Unknown Object (File)
Feb 3 2024, 12:00 AM
Unknown Object (File)
Jan 13 2024, 10:09 PM
Unknown Object (File)
Dec 30 2023, 1:33 AM
Unknown Object (File)
Dec 20 2023, 7:55 AM
Unknown Object (File)
Dec 12 2023, 7:24 AM
Unknown Object (File)
Dec 3 2023, 5:00 AM

Details

Summary

This fixes PCI devices not being found on QEMU ppce500. This
generic board used to have its first PCI slot at 0x11, like the
mpc8544dsi and some real HW. After commit [1], it was changed to
0x1 and our driver wasn't prepared for that.

[1] https://gitlab.com/qemu-project/qemu/-/commit/3bb7e02a9725a24e5bf915b35f914f82f5b07a1f

Sponsored by: Institudo de Pesquisas Eldorado (eldorado.org.br)

Test Plan

Boot/run test on ppce500 and mpc8544ds under QEMU 6.2.0

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Mar 21 2022, 3:37 PM

Looks good to me on inspection. That was always something annoying about trying to configure the PCI bus on ppce500 in qemu. Things should be a lot easier to work with now, before this, we had to manually assign slots high enough.

This revision was automatically updated to reflect the committed changes.