Opened 5 weeks ago

Last modified 5 weeks ago

#19440 new bug

PCI bus manager does not support multiple domains on x86_64

Reported by: kuku929 Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Drivers Version: R1/beta5
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

PCI::_CreateVirtualBus() at https://cgit.haiku-os.org/haiku/tree/src/add-ons/kernel/bus_managers/pci/pci.cpp#n574 panics when domain > 0 for x86_64 architecture specifically and I don't see any specific reason as to why the pci bus manager does not support multiple domains. Is it for legacy reasons?

Change History (3)

comment:1 by waddlesplash, 5 weeks ago

There could be code in the x86 port elsewhere that does not expect domains > 0, I'm not sure (I think this was added during the big PCI refactor.) I guess you will have to disable that code and see what happens.

comment:2 by waddlesplash, 5 weeks ago

It appears this branch was added in hrev23944, which mentions #1774. But this might just be a "debug assertion" and we can drop it now?

comment:3 by kuku929, 5 weeks ago

I think so. Testing on a VM worked fine, I will try out a few things before creating a pull request and closing the ticket.

Thanks!

Note: See TracTickets for help on using tickets.