The NetBSD Project

CVS log for src/sys/arch/arm/fdt/acpi_fdt.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / arm / fdt

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.24 / (download) - annotate - [select for diffs], Fri Nov 25 22:17:20 2022 UTC (15 months ago) by mrg
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, 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.23: +2 -30 lines
Diff to previous 1.23 (colored)

move the creation of machdep.smbios into platform_init().

"dmidecode -d /dev/smbios" now works on x86.  also tested on arm64 (lx2k.)

Revision 1.23 / (download) - annotate - [select for diffs], Sat Aug 7 16:18:43 2021 UTC (2 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

Merge thorpej-cfargs2.

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Wed Aug 4 16:51:27 2021 UTC (2 years, 6 months ago) by thorpej
Branch: thorpej-cfargs2
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Adapt to CFARGS().

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Sun Aug 1 22:42:04 2021 UTC (2 years, 7 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.19: +107 -13 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Sync with HEAD.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Jul 24 11:39:19 2021 UTC (2 years, 7 months ago) by jmcneill
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base
Branch point for: thorpej-cfargs2
Changes since 1.21: +6 -2 lines
Diff to previous 1.21 (colored)

smbios: Add character device for accessing SMBIOS tables

The /dev/smbios character device gives an aperture into physical memory
that allows read-only access to the SMBIOS header and tables.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Jul 23 21:33:35 2021 UTC (2 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.20: +67 -23 lines
Diff to previous 1.20 (colored)

smbios: Support SMBIOS 2.x tables.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Jul 22 00:47:55 2021 UTC (2 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.19: +59 -13 lines
Diff to previous 1.19 (colored)

Expose SMBIOS tables using sysctl machdep.dmi.*, same as x86.

Revision 1.19 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:26 2021 UTC (2 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
  actually needed.
- Don't be explicit about what interface attribute is attaching if
  the device only has one.  (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
  situations, making is visibly easier to see when indirect config is
  in play, and allowing for future change in semantics.  (As of now,
  this is just a wrapper around config_match(), but that is an
  implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance.  This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:16 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.16: +7 -7 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Sync with HEAD.

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Tue Mar 23 07:14:43 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Convert config_found_ia() call sites where the device only carries
a single interface attribute to bare config_found() calls.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Jan 27 03:10:19 2021 UTC (3 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-cfargs-base
Branch point for: thorpej-cfargs
Changes since 1.17: +6 -6 lines
Diff to previous 1.17 (colored)

Rename of_match_compat_data() to of_compatible_match().  Similarly,
rename of_search_compatible() to of_compatible_lookup().

Standardize on of_compatible_match() for driver matching, and adapt
all call sites.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Jan 17 19:53:05 2021 UTC (3 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

trailing whitespace

Revision 1.16 / (download) - annotate - [select for diffs], Sat Oct 10 15:34:05 2020 UTC (3 years, 4 months ago) by jmcneill
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.15: +2 -85 lines
Diff to previous 1.15 (colored)

Support using EFI runtime services for RTC when booting in devicetree mode.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Sep 15 10:33:58 2020 UTC (3 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

If acpi_probe() falis, just panic now instead of failing mysteriously later.

Revision 1.9.4.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:34 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.9.4.2: +5 -13 lines
Diff to previous 1.9.4.2 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Fri Jan 17 21:47:24 2020 UTC (4 years, 1 month ago) by ad
Branch: ad-namecache
Changes since 1.13: +2 -10 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Sync with head.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Jan 17 17:06:33 2020 UTC (4 years, 1 month 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.13: +2 -10 lines
Diff to previous 1.13 (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.13 / (download) - annotate - [select for diffs], Sun Dec 29 23:47:56 2019 UTC (4 years, 2 months ago) by jmcneill
Branch: MAIN
CVS Tags: ad-namecache-base
Branch point for: ad-namecache
Changes since 1.12: +4 -6 lines
Diff to previous 1.12 (colored)

Allow MD code to provide custom bus_dma tags on a per-node basis. On Arm
this is required to return non-coherent bus_dma tags for device nodes with
_CCA=0

Revision 1.12 / (download) - annotate - [select for diffs], Sat Jun 22 19:47:27 2019 UTC (4 years, 8 months ago) by jmcneill
Branch: MAIN
CVS Tags: phil-wifi-20191119, 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
Changes since 1.11: +5 -5 lines
Diff to previous 1.11 (colored)

Finish the job

Revision 1.11 / (download) - annotate - [select for diffs], Sat Jun 22 17:57:10 2019 UTC (4 years, 8 months ago) by jakllsch
Branch: MAIN
Changes since 1.10: +3 -4 lines
Diff to previous 1.10 (colored)

Restore previous range of aa_dmat.

Should fix ahcisata_acpi on OverDrive 1000, which has no DRAM below 4GiB.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jun 19 13:39:18 2019 UTC (4 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.9: +7 -4 lines
Diff to previous 1.9 (colored)

Provide a 64-bit dma tag and use a coherent tag unless CCA=0

Revision 1.9.4.2 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:53 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.9.4.1: +249 -0 lines
Diff to previous 1.9.4.1 (colored) to branchpoint 1.9 (colored)

Sync with HEAD

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:18 2018 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.3.2.2: +145 -7 lines
Diff to previous 1.3.2.2 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.9.4.1, Mon Nov 12 12:56:05 2018 UTC (5 years, 3 months ago) by christos
Branch: phil-wifi
Changes since 1.9: +0 -249 lines
FILE REMOVED

file acpi_fdt.c was added on branch phil-wifi on 2019-06-10 22:05:53 +0000

Revision 1.9 / (download) - annotate - [select for diffs], Mon Nov 12 12:56:05 2018 UTC (5 years, 3 months ago) by jmcneill
Branch: MAIN
CVS Tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi
Changes since 1.8: +11 -7 lines
Diff to previous 1.8 (colored)

Support building kernels with ACPI and no PCI.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Oct 31 15:42:54 2018 UTC (5 years, 4 months ago) by jmcneill
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Add MSI-X support

Revision 1.7 / (download) - annotate - [select for diffs], Sun Oct 28 10:21:42 2018 UTC (5 years, 4 months ago) by jmcneill
Branch: MAIN
Changes since 1.6: +96 -3 lines
Diff to previous 1.6 (colored)

Add support for EFI runtime services on aarch64.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Oct 23 10:13:34 2018 UTC (5 years, 4 months ago) by jmcneill
Branch: MAIN
Changes since 1.5: +34 -2 lines
Diff to previous 1.5 (colored)

Expose SMBIOS table pointer via machdep.smbios sysctl

Revision 1.5 / (download) - annotate - [select for diffs], Sun Oct 21 12:06:22 2018 UTC (5 years, 4 months ago) by jmcneill
Branch: MAIN
Changes since 1.4: +9 -3 lines
Diff to previous 1.4 (colored)

Some parts of the ACPI subsystem depend on a valid PCI chipset tag in the
ACPI softc. Provide one here, and assume segment 0.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Oct 21 00:42:05 2018 UTC (5 years, 4 months ago) by jmcneill
Branch: MAIN
Changes since 1.3: +5 -2 lines
Diff to previous 1.3 (colored)

Add support for PCI MSI using ARM GICv2m.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Sat Oct 20 06:58:25 2018 UTC (5 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.3.2.1: +111 -0 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored)

Sync with head

Revision 1.3.2.1, Mon Oct 15 11:35:03 2018 UTC (5 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.3: +0 -111 lines
FILE REMOVED

file acpi_fdt.c was added on branch pgoyette-compat on 2018-10-20 06:58:25 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Mon Oct 15 11:35:03 2018 UTC (5 years, 4 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-1020
Branch point for: pgoyette-compat
Changes since 1.2: +6 -4 lines
Diff to previous 1.2 (colored)

Add ARM ACPI PCI support.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Oct 13 00:15:10 2018 UTC (5 years, 4 months ago) by jmcneill
Branch: MAIN
Changes since 1.1: +21 -2 lines
Diff to previous 1.1 (colored)

Support poweroff via PSCI

Revision 1.1 / (download) - annotate - [select for diffs], Fri Oct 12 22:20:48 2018 UTC (5 years, 4 months ago) by jmcneill
Branch: MAIN

Add acpi @ fdt glue

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>