mirror of
https://github.com/opnsense/src.git
synced 2026-03-20 18:02:17 -04:00
The goal of reserving firmware-assigned resources is to ensure that "wildcard" resource allocation requests will not claim an address range that is actually in use even if no attached driver is actively using that range. However, the current approach can break in some cases. In particular, ACPI can enumerate devices behind PCI bridges that don't show up in a normal PCI scan, but those device_t objects can end up as direct children of acpi0. Reserving resources for those devices directly from acpi0 ends up conflicting with later attempts to reserve the PCI bridge windows. As a workaround, defer reserving unclaimed resources until after the initial probe and attach scan. Eventually this pass of reserving unclaimed resources can be moved earlier, but it requires changes to other drivers in the tree to permit enumerating devices and reserving firmware-assigned resources in a depth-first traversal before attaching devices whose drivers request wildcard allocations. PR: 272507 Reported by: Justin Tocci <justin@tocci.org> Reported by: john@feith.com, many others Tested by: Oleg Sidorkin <osidorkin@gmail.com>, dch (cherry picked from commit f2fcb68074a51a8b399dc80d4c03fbe98a0ab92c) |
||
|---|---|---|
| .. | ||
| Osd | ||
| acpi.c | ||
| acpi_acad.c | ||
| acpi_apei.c | ||
| acpi_battery.c | ||
| acpi_bus_if.m | ||
| acpi_button.c | ||
| acpi_cmbat.c | ||
| acpi_container.c | ||
| acpi_cpu.c | ||
| acpi_dock.c | ||
| acpi_ec.c | ||
| acpi_ged.c | ||
| acpi_hpet.c | ||
| acpi_hpet.h | ||
| acpi_if.m | ||
| acpi_isab.c | ||
| acpi_lid.c | ||
| acpi_package.c | ||
| acpi_pci.c | ||
| acpi_pci_link.c | ||
| acpi_pcib.c | ||
| acpi_pcib_acpi.c | ||
| acpi_pcib_pci.c | ||
| acpi_pcibvar.h | ||
| acpi_pcivar.h | ||
| acpi_perf.c | ||
| acpi_powerres.c | ||
| acpi_pxm.c | ||
| acpi_quirk.c | ||
| acpi_quirks | ||
| acpi_resource.c | ||
| acpi_smbat.c | ||
| acpi_smbus.h | ||
| acpi_thermal.c | ||
| acpi_throttle.c | ||
| acpi_timer.c | ||
| acpi_video.c | ||
| acpiio.h | ||
| acpivar.h | ||