OpenGrok
Cross Reference: acpi_mcfg.h
xref
: /
src
/
sys
/
dev
/
acpi
/
acpi_mcfg.h
Home
|
History
|
Annotate
|
Download
|
only in
acpi
History log of
/src/sys/dev/acpi/acpi_mcfg.h
Revision
Date
Author
Comments
1.6
06-Oct-2025
riastradh
x86: Wire up PCI resource manager if enabled.
Enable in your kernel config with `options PCI_RESOURCE'.
Adapted from a patch by mlelstv@.
PR port-amd64/59118: Thinkpad T495s - iwm PCI BAR is zero
1.5
14-Oct-2022
jmcneill
Add a PCI resource manager and use it on Arm ACPI platforms.
The Arm ACPI code relied on PCI_NETBSD_CONFIGURE to configure devices that
were not enabled by system firmware. This is not safe to do unless the
firmware explicitly permits it using a device specific method defined in
the PCI firmware spec.
Introduce a new PCI resource manager that discovers what has already been
configured by firmware and allocates from the remaining space. This will
ensure that devices setup by firmware are untouched and only will program
BARs of devices that are not enabled at boot time.
The current implementation assumes that the parent PCI-PCI bridge's
are already configured. A worthwhile improvement in the future would be
to support programming windows for bridges that are not fully configured.
1.4
07-Aug-2021
jmcneill
acpi: expose acpimcfg_configure_bus_cb
1.3
02-Feb-2020
jmcneill
Add acpimcfg_conf_valid helper for pcie controllers with nonstandard
config space layouts.
1.2
15-Oct-2018
jmcneill
branches: 1.2.6;
Add acpimcfg_configure_bus, which can be used by MD code to implement
PCI_NETBSD_CONFIGURE using ACPI MCFG tables.
1.1
02-Oct-2015
msaitoh
branches: 1.1.2; 1.1.18; 1.1.20; 1.1.22;
PCI Extended Configuration stuff written by nonaka@:
- Add PCI Extended Configuration Space support into x86.
- Check register offset of pci_conf_read() in MD part. It returns (pcireg_t)-1
if it isn't accessible.
- Decode Extended Capability in PCI Extended Configuration Space.
Currently the following extended capabilities are decoded:
- Advanced Error Reporting
- Virtual Channel
- Device Serial Number
- Power Budgeting
- Root Complex Link Declaration
- Root Complex Event Collector Association
- Access Control Services
- Alternative Routing-ID Interpretation
- Address Translation Services
- Single Root IO Virtualization
- Page Request
- TPH Requester
- Latency Tolerance Reporting
- Secondary PCI Express
- Process Address Space ID
- LN Requester
- L1 PM Substates
The following extended capabilities are not decoded yet:
- Root Complex Internal Link Control
- Multi-Function Virtual Channel
- RCRB Header
- Vendor Unique
- Configuration Access Correction
- Multiple Root IO Virtualization
- Multicast
- Resizable BAR
- Dynamic Power Allocation
- Protocol Multiplexing
- Downstream Port Containment
- Precision Time Management
- M-PCIe
- Function Reading Status Queueing
- Readiness Time Reporting
- Designated Vendor-Specific
1.1.22.2
08-Apr-2020
martin
Merge changes from current as of 20200406
1.1.22.1
10-Jun-2019
christos
Sync with HEAD
1.1.20.1
20-Oct-2018
pgoyette
Sync with head
1.1.18.2
03-Dec-2017
jdolecek
update from HEAD
1.1.18.1
02-Oct-2015
jdolecek
file acpi_mcfg.h was added on branch tls-maxphys on 2017-12-03 11:36:58 +0000
1.1.2.2
27-Dec-2015
skrll
Sync with HEAD (as of 26th Dec)
1.1.2.1
02-Oct-2015
skrll
file acpi_mcfg.h was added on branch nick-nhusb on 2015-12-27 12:09:48 +0000
1.2.6.1
29-Feb-2020
ad
Sync with head.
Indexes created Fri Oct 17 22:10:11 GMT 2025