The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.37 / (download) - annotate - [selected], 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.36: +2 -67 lines
Diff to previous 1.36 (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.36 / (download) - annotate - [select for diffs], Sun Feb 27 14:19:07 2022 UTC (2 years, 1 month ago) by riastradh
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.35: +2 -6 lines
Diff to previous 1.35 (colored) to selected 1.37 (colored)

acpi: Nix conditional pci_get_segment use.

New MI default of 0 serves.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Feb 11 23:19:59 2022 UTC (2 years, 2 months ago) by riastradh
Branch: MAIN
Changes since 1.34: +2 -5 lines
Diff to previous 1.34 (colored) to selected 1.37 (colored)

acpi(9): No need to test dv_locators.

It is always initialized by config_devalloc before config_devlink
makes it visible to device iteration.  No need to reach into private
autoconf internals.

Revision 1.34 / (download) - annotate - [select for diffs], Sat Jan 22 11:49:17 2022 UTC (2 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored) to selected 1.37 (colored)

Change the devhandle_from_*() functions to also take a "super handle",
from which the newly created handle will inherit it's implementation.
The root implementation for a new handle type is used if an invalid
"super handle" is passed.

Revision 1.33 / (download) - annotate - [select for diffs], Mon Dec 20 11:17:40 2021 UTC (2 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.32: +4 -4 lines
Diff to previous 1.32 (colored) to selected 1.37 (colored)

Fix struct member prefix to be consistent.  same code before and after.

Revision 1.32 / (download) - annotate - [select for diffs], Wed Sep 15 17:33:08 2021 UTC (2 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.31: +5 -3 lines
Diff to previous 1.31 (colored) to selected 1.37 (colored)

Adjust the device_call() calling convention so as to provide type checking
of the arguments passed to the call, using auto-generated argument
structures and binding macros.

Revision 1.30.6.1 / (download) - annotate - [select for diffs], Mon May 31 22:15:17 2021 UTC (2 years, 10 months ago) by cjep
Branch: cjep_staticlib_x
Changes since 1.30: +38 -2 lines
Diff to previous 1.30 (colored) next main 1.31 (colored) to selected 1.37 (colored)

sync with head

Revision 1.30.4.1 / (download) - annotate - [select for diffs], Thu May 13 00:47:29 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.30: +38 -2 lines
Diff to previous 1.30 (colored) next main 1.31 (colored) to selected 1.37 (colored)

Sync with HEAD.

Revision 1.31 / (download) - annotate - [select for diffs], Wed May 12 23:22:33 2021 UTC (2 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1
Changes since 1.30: +38 -2 lines
Diff to previous 1.30 (colored) to selected 1.37 (colored)

- Define a device call for PCI bus instances to fetch a direct child's
  device handle given the device's device/function #s (extracted from
  a pcitag_t).  Use it to associate the handle with the child device
  at config_found() time.
- Implement this device call for ACPI and OpenFirmware.
- Enable the OpenFirmware variant for evbarm FDT, macppc, ofppc, sparc64.
- Obsolete acpi_device_register(); it is no longer needed.
- Obsolete setting the OpenFirmware handle in PCI devices in the
  sparc64 device_register(); it is no longer needed.

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:43 2021 UTC (3 years ago) by thorpej
Branch: thorpej-futex
Changes since 1.29: +38 -32 lines
Diff to previous 1.29 (colored) next main 1.30 (colored) to selected 1.37 (colored)

Sync with HEAD.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Jan 14 14:37:17 2021 UTC (3 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-cfargs-base, thorpej-cfargs, cjep_staticlib_x-base
Branch point for: thorpej-i2c-spi-conf, cjep_staticlib_x
Changes since 1.29: +38 -32 lines
Diff to previous 1.29 (colored) to selected 1.37 (colored)

In acpi_pci_ignore_boot_config(), use acpi_dsm() and add some comments
describing the (somewhat confusing) semantics of the _DSM method used
here.

Revision 1.29 / (download) - annotate - [select for diffs], Fri May 8 14:42:38 2020 UTC (3 years, 11 months ago) by jmcneill
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.28: +3 -4 lines
Diff to previous 1.28 (colored) to selected 1.37 (colored)

expose acpi_pcidev_pciroot_bus

Revision 1.22.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:02 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.22.2.1: +31 -12 lines
Diff to previous 1.22.2.1 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored) to selected 1.37 (colored)

Merge changes from current as of 20200406

Revision 1.26.6.2 / (download) - annotate - [select for diffs], Sat Jan 25 22:38:45 2020 UTC (4 years, 2 months ago) by ad
Branch: ad-namecache
Changes since 1.26.6.1: +4 -4 lines
Diff to previous 1.26.6.1 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored) to selected 1.37 (colored)

Sync with head.

Revision 1.28 / (download) - annotate - [select for diffs], Sat Jan 18 12:32:57 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
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 (colored) to selected 1.37 (colored)

Ignore PCI boot config unless the _DSM for ignoring PCI boot config is
explicitly set to 0.

Revision 1.26.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.26: +29 -10 lines
Diff to previous 1.26 (colored) to selected 1.37 (colored)

Sync with head.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Jan 17 17:06:32 2020 UTC (4 years, 3 months ago) by jmcneill
Branch: MAIN
CVS Tags: ad-namecache-base1
Changes since 1.26: +29 -10 lines
Diff to previous 1.26 (colored) to selected 1.37 (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.22.2.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.22: +90 -4 lines
Diff to previous 1.22 (colored) to selected 1.37 (colored)

Sync with HEAD

Revision 1.26 / (download) - annotate - [select for diffs], Fri Mar 1 09:26:00 2019 UTC (5 years, 1 month ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, 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.25: +4 -4 lines
Diff to previous 1.25 (colored) to selected 1.37 (colored)

- Almost all ppbreg.h's definitions are also in pcireg.h. Remove duplicated
  definitions from ppbreg.h and move some definitions from ppbreg.h to
  pcireg.h.
- Change fast back-to-back "capable" to "enable" in pci_subr.c.
- Print Primary Discard Timer, Secondary Discard Timer, Discard Timer Status
  and Discard Timer SERR# Enable bit in pci_subr.c.
- PCI_BRIDGE_PREFETCHBASE32_REG and PCI_BRIDGE_PREFETCHLIMIT32_REG are
  "upper" 32bit registers, rename to *UP32_REG to avoid confusion.
- Use macro.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Jan 27 02:08:41 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored) to selected 1.37 (colored)

Merge the [pgoyette-compat] branch

Revision 1.20.8.4 / (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.20.8.3: +61 -3 lines
Diff to previous 1.20.8.3 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored) to selected 1.37 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.24 / (download) - annotate - [select for diffs], Sun Oct 21 11:04:26 2018 UTC (5 years, 5 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126
Changes since 1.23: +61 -2 lines
Diff to previous 1.23 (colored) to selected 1.37 (colored)

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

Revision 1.20.8.3 / (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.20.8.2: +29 -2 lines
Diff to previous 1.20.8.2 (colored) to branchpoint 1.20 (colored) to selected 1.37 (colored)

Sync with head

Revision 1.23 / (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.22: +29 -2 lines
Diff to previous 1.22 (colored) to selected 1.37 (colored)

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

Revision 1.20.8.2 / (download) - annotate - [select for diffs], Mon May 21 04:36:05 2018 UTC (5 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.20.8.1: +5 -2 lines
Diff to previous 1.20.8.1 (colored) to branchpoint 1.20 (colored) to selected 1.37 (colored)

Sync with HEAD

Revision 1.22 / (download) - annotate - [select for diffs], Sat May 5 17:16:23 2018 UTC (5 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi
Changes since 1.21: +5 -2 lines
Diff to previous 1.21 (colored) to selected 1.37 (colored)

introduce acpi_device_present() to replace the previous _STA checks.

Revision 1.20.8.1 / (download) - annotate - [select for diffs], Mon Apr 16 01:59:57 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.20: +2 -5 lines
Diff to previous 1.20 (colored) to selected 1.37 (colored)

Sync with HEAD, resolve some conflicts

Revision 1.21 / (download) - annotate - [select for diffs], Sat Apr 7 15:49:52 2018 UTC (6 years ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415
Changes since 1.20: +2 -5 lines
Diff to previous 1.20 (colored) to selected 1.37 (colored)

Merge conflicts; STA methods and fields are not present anymore.

Revision 1.18.18.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:58 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.18: +4 -10 lines
Diff to previous 1.18 (colored) next main 1.19 (colored) to selected 1.37 (colored)

update from HEAD

Revision 1.18.36.2 / (download) - annotate - [select for diffs], Mon Aug 28 17:52:01 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.18.36.1: +2 -8 lines
Diff to previous 1.18.36.1 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored) to selected 1.37 (colored)

Sync with HEAD

Revision 1.20 / (download) - annotate - [select for diffs], Thu Jun 1 02:45:09 2017 UTC (6 years, 10 months ago) by chs
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, pgoyette-compat-base, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, 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, matt-nb8-mediatek-base, matt-nb8-mediatek
Branch point for: pgoyette-compat
Changes since 1.19: +2 -8 lines
Diff to previous 1.19 (colored) to selected 1.37 (colored)

remove checks for failure after memory allocation calls that cannot fail:

  kmem_alloc() with KM_SLEEP
  kmem_zalloc() with KM_SLEEP
  percpu_alloc()
  pserialize_create()
  psref_class_create()

all of these paths include an assertion that the allocation has not failed,
so callers should not assert that again.

Revision 1.18.36.1 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:06 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.18: +4 -4 lines
Diff to previous 1.18 (colored) to selected 1.37 (colored)

Sync with HEAD

Revision 1.19 / (download) - annotate - [select for diffs], Mon Apr 13 18:32:50 2015 UTC (9 years ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, 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, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.18: +4 -4 lines
Diff to previous 1.18 (colored) to selected 1.37 (colored)

sync with new acpica struct shuffling.

Revision 1.4.4.3 / (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.4.4.2: +137 -25 lines
Diff to previous 1.4.4.2 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored) to selected 1.37 (colored)

sync with head

Revision 1.18 / (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, 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, nick-nhusb-base-20150406, nick-nhusb-base, 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-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, 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, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Branch point for: tls-maxphys, nick-nhusb
Changes since 1.17: +10 -4 lines
Diff to previous 1.17 (colored) to selected 1.37 (colored)

acpi_pcidev_find_dev(): take struct acpi_devnode as a parameter.

Revision 1.17 / (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.16: +49 -2 lines
Diff to previous 1.16 (colored) to selected 1.37 (colored)

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

Revision 1.2.2.4 / (download) - annotate - [select for diffs], Sat Nov 6 08:08:27 2010 UTC (13 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.2.2.3: +40 -20 lines
Diff to previous 1.2.2.3 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.37 (colored)

Sync with HEAD.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Oct 26 22:27:44 2010 UTC (13 years, 5 months ago) by gsutre
Branch: MAIN
CVS Tags: uebayasi-xip-base4
Changes since 1.15: +40 -20 lines
Diff to previous 1.15 (colored) to selected 1.37 (colored)

An _ADR object is not required for PCI root bridges.  To solve
this, the structure acpi_pciinfo now tells whether the ACPI
device node is a PCI bridge, a regular PCI device, or both.

Problem reported by jmcneill@, who also suggested the solution.

ok jmcneill@, jruoho@

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Fri Oct 22 07:21:53 2010 UTC (13 years, 6 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.2.2.2: +25 -11 lines
Diff to previous 1.2.2.2 (colored) to branchpoint 1.2 (colored) to selected 1.37 (colored)

Sync with HEAD (-D20101022).

Revision 1.4.2.4 / (download) - annotate - [select for diffs], Sat Oct 9 03:32:04 2010 UTC (13 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.4.2.3: +27 -13 lines
Diff to previous 1.4.2.3 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored) to selected 1.37 (colored)

sync with head

Revision 1.15 / (download) - annotate - [select for diffs], Fri Sep 24 07:48:59 2010 UTC (13 years, 6 months ago) by gsutre
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, uebayasi-xip-base3
Changes since 1.14: +27 -13 lines
Diff to previous 1.14 (colored) to selected 1.37 (colored)

Do not discard ACPI PCI addresses with function number 0xFFFF: the
ACPI specification allows them (ACPI 4.0a, p. 200).

ok jruoho@

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:46:00 2010 UTC (13 years, 8 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.2.2.1: +31 -9 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) to selected 1.37 (colored)

Sync with HEAD.

Revision 1.4.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.4.2.2: +270 -128 lines
Diff to previous 1.4.2.2 (colored) to branchpoint 1.4 (colored) to selected 1.37 (colored)

sync with head.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Aug 9 09:36:42 2010 UTC (13 years, 8 months ago) by gsutre
Branch: MAIN
CVS Tags: yamt-nfs-mp-base10, uebayasi-xip-base2
Changes since 1.13: +12 -2 lines
Diff to previous 1.13 (colored) to selected 1.37 (colored)

acpi_pcidev_scan: attach PCI information only to working devices.

ok jruoho@

Revision 1.13 / (download) - annotate - [select for diffs], Sun Aug 8 16:26:47 2010 UTC (13 years, 8 months ago) by gsutre
Branch: MAIN
Changes since 1.12: +22 -7 lines
Diff to previous 1.12 (colored) to selected 1.37 (colored)

acpi_pcidev_scan: discard invalid PCI addresses.

Revision 1.4.4.2 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:34 2010 UTC (13 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.4.4.1: +3 -6 lines
Diff to previous 1.4.4.1 (colored) to branchpoint 1.4 (colored) to selected 1.37 (colored)

sync with head

Revision 1.12 / (download) - annotate - [select for diffs], Wed Jun 9 04:20:10 2010 UTC (13 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.11: +3 -6 lines
Diff to previous 1.11 (colored) to selected 1.37 (colored)

pci_chipset_tag_t is opaque - don't compare it to NULL, just use it.
shouldn't be a problem because "acpi_softc" variable isn't setup until
the "sc_pc" member is set.

fixes ia64 build.  tested on amd64.  ok jruoho.

Revision 1.4.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.4: +249 -129 lines
Diff to previous 1.4 (colored) to selected 1.37 (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: +254 -137 lines
Diff to previous 1.2 (colored) to selected 1.37 (colored)

Sync with HEAD.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Apr 26 13:30:31 2010 UTC (13 years, 11 months ago) by jruoho
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.10: +38 -35 lines
Diff to previous 1.10 (colored) to selected 1.37 (colored)

Improve and rearrange comments.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Apr 23 15:46:59 2010 UTC (13 years, 11 months ago) by jruoho
Branch: MAIN
Changes since 1.9: +15 -18 lines
Diff to previous 1.9 (colored) to selected 1.37 (colored)

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

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

Some pretty printing for ACPIVERBOSE.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Apr 22 15:25:46 2010 UTC (14 years ago) by jruoho
Branch: MAIN
Changes since 1.7: +32 -19 lines
Diff to previous 1.7 (colored) to selected 1.37 (colored)

Wrap long lines, add some white space for readability, remove unnecessary
variable assignments, misc KNF. No functional change.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Apr 22 15:14:24 2010 UTC (14 years ago) by jruoho
Branch: MAIN
Changes since 1.6: +16 -12 lines
Diff to previous 1.6 (colored) to selected 1.37 (colored)

Shorten the long lines with two custom macros.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Apr 22 14:50:31 2010 UTC (14 years ago) by jruoho
Branch: MAIN
Changes since 1.5: +260 -123 lines
Diff to previous 1.5 (colored) to selected 1.37 (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.5 / (download) - annotate - [select for diffs], Sun Apr 18 14:05:26 2010 UTC (14 years ago) by jruoho
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored) to selected 1.37 (colored)

From Gregoire Sutre:

  Modify the main ACPI namespace scan by including a parent-child
  relationship for each node. The result is a bi-directional tree.

ok jmcneill@

Revision 1.4.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.4.2.1: +211 -0 lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored) to selected 1.37 (colored)

sync with head

Revision 1.4.2.1, Tue Mar 9 18:15:22 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.4: +0 -211 lines
FILE REMOVED

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

Revision 1.4 / (download) - annotate - [select for diffs], Tue Mar 9 18:15:22 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.3: +16 -15 lines
Diff to previous 1.3 (colored) to selected 1.37 (colored)

Remove the namespace scopes.

These are neither used nor useful beyond the parser and interpreter.

ok jmcneill@, joerg@

Revision 1.3 / (download) - annotate - [select for diffs], Fri Mar 5 14:00:17 2010 UTC (14 years, 1 month ago) by jruoho
Branch: MAIN
Changes since 1.2: +4 -8 lines
Diff to previous 1.2 (colored) to selected 1.37 (colored)

Remove <dev/acpi/acpica.h> from all files. It is included from
<dev/acpi/acpivar.h>. Ditto for <dev/sysmon/sysmonvar.h>, <sys/bus.h>,
<dev/pci/pcivar.h>, and <dev/isa/isavar.h>.

Also nuke a lot of unused and invalid headers. Some of these are audibly
provided by standard headers (namely <sys/param.h> and <sys/device.h>), some
have nothing to do with ACPI devices (e.g. <sys/syslog.h>), and some are
nonexistent local includes (e.g. "mpu_ym.h"). Moreoever, try to group the
includes into their respective blocks.

Tested with GENERIC and ALL (i386). No functional change.

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: +2 -2 lines
Diff to previous 1.1 (colored) to selected 1.37 (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.37 (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>