Home | History | Annotate | Download | only in include
History log of /src/sys/arch/x86/include/mpacpi.h
RevisionDateAuthorComments
 1.12  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.11  23-May-2017  nonaka x86: Add preliminary x2APIC support.

x2APIC is used only when x2APIC is enabled in BIOS/UEFI.
LAPIC ID is not supported above 256.
 1.10  31-Mar-2013  chs branches: 1.10.12;
remove unused variable declaration.
 1.9  17-Apr-2009  dyoung branches: 1.9.12; 1.9.22;
Introduce sys/arch/x86/x86/mp.c for common x86 MP configuration code.
mpacpi_scan_pci() and mpbios_scan_pci() are identical code, so replace
them with mp_pci_scan().

Introduce mp_pci_childdetached(), which helps us to detach root PCI
buses that were enumerated either by MP BIOS or by ACPI.

Let us detach and re-attach PCI buses from mainbus0 on i386. This is
necessarily a work-in-progress, because testing detach and re-attach
is very difficult: to detach and re-attach the entire PCI tree on most
x86 computers that I own is not possible because some essential device
attaches under the PCI subtree: the console, com0, NIC, or storage
controller always attaches in the PCI tree.
 1.8  09-Nov-2008  cegger branches: 1.8.4;
struct device * -> device_t
 1.7  09-Nov-2008  cegger Nuke last parameter from mpaci_scan_apics() and mpbios_scan().
It is unused.
 1.6  17-Oct-2007  garbled branches: 1.6.16; 1.6.20; 1.6.26; 1.6.28;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.5  06-Oct-2007  joerg Merge from mpacpi.h 1.4.32.1, acpi_machdep.c 1.13.22.5 and
mpacpi.c 1.48.12.2 from jmcneill-pm:

Don't process the MADT and modify the interrupt config at one moment and
later trying to figure out if an entry was overriden and matches the
ACPI SCI. This is brain-dead and breaks in various situations.

Just check for each ISA override entry, if it matches the SCI. If it
does, remember it and use it for the interrupt setup. If there's no such
override assume that it is not changed, but override the polarity and
level from ISA settings to PCI settings.
 1.4  04-Jul-2006  christos branches: 1.4.8; 1.4.14; 1.4.22; 1.4.24; 1.4.32; 1.4.34; 1.4.36;
Apply fvdl's acpi pci interrupt configuration code.
- MPACPI is no more.
- MPACPI_SCANPCI -> ACPI_SCANPCI
 1.3  16-Apr-2005  yamt branches: 1.3.2; 1.3.12; 1.3.16; 1.3.24;
make multi inclusion protection macros consistent.
 1.2  29-May-2003  fvdl branches: 1.2.2; 1.2.10; 1.2.16;
Add the options MPBIOS_SCANPCI and MPACPI_SCANPCI to configure PCI roots
with the MPBIOS/ACPI bus information, by walking through the buses, and
descending down every bus that hasn't been marked configured yet.
 1.1  11-May-2003  fvdl Make this include file shareable (moved here from sys/arch/i386/include)
 1.2.16.1  21-Apr-2005  tron Pull up revision 1.3 (requested by yamt in ticket #174):
make multi inclusion protection macros consistent.
 1.2.10.1  29-Apr-2005  kent sync with -current
 1.2.2.1  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.3.24.1  13-Jul-2006  gdamore Merge from HEAD.
 1.3.16.1  11-Aug-2006  yamt sync with head
 1.3.12.1  09-Sep-2006  rpaulo sync with head
 1.3.2.2  27-Oct-2007  yamt sync with head.
 1.3.2.1  30-Dec-2006  yamt sync with head.
 1.4.36.1  14-Oct-2007  yamt sync with head.
 1.4.34.1  06-Nov-2007  matt sync with HEAD
 1.4.32.2  07-Oct-2007  joerg Sync with HEAD.
 1.4.32.1  02-Oct-2007  joerg Don't process the MADT and modify the interrupt config at one moment and
later trying to figure out if an entry was overriden and matches the
ACPI SCI. This is brain-dead and breaks in various situations.

Just check for each ISA override entry, if it matches the SCI. If it
does, remember it and use it for the interrupt setup. If there's no such
override assume that it is not changed, but override the polarity and
level from ISA settings to PCI settings.
 1.4.24.1  29-Oct-2007  wrstuden Catch up with 4.0 RC3
 1.4.22.1  16-Oct-2007  garbled Sync with HEAD
 1.4.14.1  09-Oct-2007  ad Sync with head.
 1.4.8.1  14-Oct-2007  xtraeme Pull up following revision(s) (requested by joerg in ticket #925):
sys/arch/x86/x86/mpacpi.c: revision 1.50
sys/arch/x86/include/mpacpi.h: revision 1.5
sys/arch/x86/x86/acpi_machdep.c: revision 1.16

Merge from mpacpi.h 1.4.32.1, acpi_machdep.c 1.13.22.5 and
mpacpi.c 1.48.12.2 from jmcneill-pm:

Don't process the MADT and modify the interrupt config at one moment and
later trying to figure out if an entry was overriden and matches the
ACPI SCI. This is brain-dead and breaks in various situations.
Just check for each ISA override entry, if it matches the SCI. If it
does, remember it and use it for the interrupt setup. If there's no such
override assume that it is not changed, but override the polarity and
level from ISA settings to PCI settings.
 1.6.28.2  28-Apr-2009  skrll Sync with HEAD.
 1.6.28.1  19-Jan-2009  skrll Sync with HEAD.
 1.6.26.1  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.6.20.1  04-May-2009  yamt sync with head.
 1.6.16.1  17-Jan-2009  mjf Sync with HEAD.
 1.8.4.2  01-Nov-2009  jym Sync with HEAD.
 1.8.4.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.9.22.2  03-Dec-2017  jdolecek update from HEAD
 1.9.22.1  23-Jun-2013  tls resync from head
 1.9.12.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.10.12.1  28-Aug-2017  skrll Sync with HEAD

RSS XML Feed