The NetBSD Project

CVS log for src/sys/dev/acpi/acpi_pci.h

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / acpi

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.13 / (download) - annotate - [select for diffs], Fri Oct 14 22:10:15 2022 UTC (18 months ago) by jmcneill
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Changes since 1.12: +1 -2 lines
Diff to previous 1.12 (colored) to selected 1.8.60.2 (colored)

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.

Revision 1.12 / (download) - annotate - [select for diffs], Fri May 8 14:42:38 2020 UTC (3 years, 11 months ago) by jmcneill
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored) to selected 1.8.60.2 (colored)

expose acpi_pcidev_pciroot_bus

Revision 1.8.60.2 / (download) - annotate - [selected], Wed Apr 8 14:08:02 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.8.60.1: +5 -2 lines
Diff to previous 1.8.60.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

Merge changes from current as of 20200406

Revision 1.10.6.1 / (download) - annotate - [select for diffs], Fri Jan 17 21:47:30 2020 UTC (4 years, 3 months ago) by ad
Branch: ad-namecache
Changes since 1.10: +5 -2 lines
Diff to previous 1.10 (colored) next main 1.11 (colored) to selected 1.8.60.2 (colored)

Sync with head.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Jan 17 17:06:32 2020 UTC (4 years, 3 months ago) by jmcneill
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1
Changes since 1.10: +5 -2 lines
Diff to previous 1.10 (colored) to selected 1.8.60.2 (colored)

Add support for Arm N1 SDP PCIe host controller.

The N1 SDP has a few bugs that we need to work around:
 - PCIe root port config space lives in a non-standard location.
 - Access to PCIe config space of devices that do not exist results in
   an sync SError. Firmware creates a "known devices" table at a fixed
   physical address that we use to filter PCI conf access to only known
   devices.

This change splits the Arm ACPI PCI quirks into separate files for each
host controller, and allows per-segment quirks to be applied.

These changes exposed some bugs in the MI ACPI layer related to
multi-segment support. The MI ACPI PCI code was using a shared PCI
chipset tag to access devices, and these accesses can happen before our
PCI host bridge drivers are attached! The global chipset tag is now gone,
and an MD callback can provide a custom tag on a per-segment basis.

Revision 1.8.60.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:05 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.8: +3 -1 lines
Diff to previous 1.8 (colored) to selected 1.8.60.2 (colored)

Sync with HEAD

Revision 1.8.58.2 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:30 2018 UTC (5 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.8.58.1: +2 -1 lines
Diff to previous 1.8.58.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored) to selected 1.8.60.2 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.10 / (download) - annotate - [select for diffs], Sun Oct 21 11:04:26 2018 UTC (5 years, 5 months ago) by jmcneill
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored) to selected 1.8.60.2 (colored)

Add a function to report whether the operating system may ignore the boot
configuration of PCI resources for a given bus.

Revision 1.8.58.1 / (download) - annotate - [select for diffs], Sat Oct 20 06:58:30 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.8: +2 -1 lines
Diff to previous 1.8 (colored) to selected 1.8.60.2 (colored)

Sync with head

Revision 1.9 / (download) - annotate - [select for diffs], Mon Oct 15 10:00:30 2018 UTC (5 years, 6 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-1020
Changes since 1.8: +2 -1 lines
Diff to previous 1.8 (colored) to selected 1.8.60.2 (colored)

Add a function to find a PCI root bridge by segment and bus number.

Revision 1.3.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:53:03 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.3.4.1: +4 -3 lines
Diff to previous 1.3.4.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored) to selected 1.8.60.2 (colored)

sync with head

Revision 1.8 / (download) - annotate - [select for diffs], Fri Dec 31 10:56:39 2010 UTC (13 years, 3 months ago) by jruoho
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base-20171202, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb8-mediatek-base, matt-nb8-mediatek, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, localcount-20160914, khorben-n900, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, jdolecek-ncqfixes-base, jdolecek-ncqfixes, jdolecek-ncq-base, jdolecek-ncq, cherry-xenmp-base, cherry-xenmp, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored) to selected 1.8.60.2 (colored)

acpi_pcidev_find_dev(): take struct acpi_devnode as a parameter.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Dec 31 10:23:44 2010 UTC (13 years, 3 months ago) by jruoho
Branch: MAIN
Changes since 1.6: +4 -3 lines
Diff to previous 1.6 (colored) to selected 1.8.60.2 (colored)

Move the function that finds a device_t for the corresponding ACPI device
node from ACPIVERBOSE to the ACPI PCI code.

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:53:16 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.3.2.2: +6 -3 lines
Diff to previous 1.3.2.2 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored) to selected 1.8.60.2 (colored)

sync with head.

Revision 1.3.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:17 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.3: +6 -3 lines
Diff to previous 1.3 (colored) to selected 1.8.60.2 (colored)

sync with head

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:05 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.2: +6 -3 lines
Diff to previous 1.2 (colored) next main 1.3 (colored) to selected 1.8.60.2 (colored)

Sync with HEAD.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Apr 23 15:46:59 2010 UTC (13 years, 11 months ago) by jruoho
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1
Changes since 1.5: +6 -6 lines
Diff to previous 1.5 (colored) to selected 1.8.60.2 (colored)

Simplify acpi_pcidev_find(): directly return a pointer to the device node.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Apr 22 21:58:08 2010 UTC (14 years ago) by jruoho
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored) to selected 1.8.60.2 (colored)

Some pretty printing for ACPIVERBOSE.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Apr 22 14:50:31 2010 UTC (14 years ago) by jruoho
Branch: MAIN
Changes since 1.3: +6 -3 lines
Diff to previous 1.3 (colored) to selected 1.8.60.2 (colored)

From Gregoire Sutre: rework the ACPI PCI support. This makes ACPI to
correctly pick PCI segment groups, PCI bus numbers, PCI root bridges,
PCI-to-PCI bridges, and PCI devices, among other things. In short: it is
more robust than the old code or anything in sys/arch/x86/x86/mpacpi.c.

ok cegger@, jmcneill@

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:22 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.3.2.1: +37 -0 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored) to selected 1.8.60.2 (colored)

sync with head

Revision 1.3.2.1, Fri Mar 5 08:30:48 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.3: +0 -37 lines
FILE REMOVED

file acpi_pci.h was added on branch yamt-nfs-mp on 2010-03-11 15:03:22 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Fri Mar 5 08:30:48 2010 UTC (14 years, 1 month ago) by jruoho
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9
Branch point for: yamt-nfs-mp, rmind-uvmplock
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored) to selected 1.8.60.2 (colored)

Protect all header files against multiple inclusions.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Dec 4 10:42:39 2009 UTC (14 years, 4 months ago) by njoly
Branch: MAIN
CVS Tags: uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored) to selected 1.8.60.2 (colored)

Fix NetBSD keyword expansion.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Dec 3 21:04:29 2009 UTC (14 years, 4 months ago) by cegger
Branch: MAIN
Diff to selected 1.8.60.2 (colored)

Enumerate ACPI PCI devices. Allows to link PCI with ACPI devices.
Patch presented on tech-kern@
http://mail-index.netbsd.org/tech-kern/2009/11/28/msg006552.html

'nice work' Jukka Ruohonen

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>