The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.42 / (download) - annotate - [select for diffs], Thu Mar 3 06:26:05 2022 UTC (2 years ago) by riastradh
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, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.41: +3 -12 lines
Diff to previous 1.41 (colored) to selected 1.4.2.7 (colored)

arm: Use device_set_private for cpuN.

For cpu at fdt, nix the fdt softc -- this was leaked and never used
for anything.  The device's private storage is the cpu_info.

Revision 1.41 / (download) - annotate - [select for diffs], Mon Aug 30 23:16:17 2021 UTC (2 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.40: +16 -6 lines
Diff to previous 1.40 (colored) to selected 1.4.2.7 (colored)

Inspect #address-cells to determine if the cpu-release-addr requires
a 32- or 64-bit write.

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

Merge thorpej-cfargs2.

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

Adapt to CFARGS().

Revision 1.39 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:26 2021 UTC (2 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-cfargs2
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored) to selected 1.4.2.7 (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.38.2.1 / (download) - annotate - [select for diffs], Sun Mar 21 21:08:55 2021 UTC (3 years ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored) next main 1.39 (colored) to selected 1.4.2.7 (colored)

Give config_found() the same variadic arguments treatment as
config_search().  This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls.  Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Mon Dec 14 14:37:48 2020 UTC (3 years, 3 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.36: +4 -4 lines
Diff to previous 1.36 (colored) next main 1.37 (colored) to selected 1.4.2.7 (colored)

Sync w/ HEAD.

Revision 1.38 / (download) - annotate - [select for diffs], Thu Dec 3 07:45:52 2020 UTC (3 years, 3 months ago) by skrll
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-cfargs-base
Branch point for: thorpej-cfargs
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored) to selected 1.4.2.7 (colored)

Provide and use a sev() macro for the sev instruction.

While here use the correct barrier to ensure completion of memory accesses
before a couple of the sev() calls.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Nov 25 19:50:06 2020 UTC (3 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored) to selected 1.4.2.7 (colored)

Fix comment.  Spotted by jmcneill@

Revision 1.36 / (download) - annotate - [select for diffs], Wed Jun 10 19:29:48 2020 UTC (3 years, 9 months ago) by jmcneill
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.35: +18 -9 lines
Diff to previous 1.35 (colored) to selected 1.4.2.7 (colored)

If enable-method is missing, try psci

Revision 1.7.2.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:34 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.7.2.2: +9 -2 lines
Diff to previous 1.7.2.2 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored) to selected 1.4.2.7 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:29 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.7.2.1: +21 -64 lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored) to selected 1.4.2.7 (colored)

Merge changes from current as of 20200406

Revision 1.30.2.3 / (download) - annotate - [select for diffs], Sat Feb 29 20:18:18 2020 UTC (4 years ago) by ad
Branch: ad-namecache
Changes since 1.30.2.2: +9 -64 lines
Diff to previous 1.30.2.2 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored) to selected 1.4.2.7 (colored)

Sync with head.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Feb 21 13:15:54 2020 UTC (4 years, 1 month ago) by skrll
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
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored) to selected 1.4.2.7 (colored)

Improve a comment

Revision 1.34 / (download) - annotate - [select for diffs], Sat Feb 15 08:16:11 2020 UTC (4 years, 1 month ago) by skrll
Branch: MAIN
Changes since 1.33: +3 -2 lines
Diff to previous 1.33 (colored) to selected 1.4.2.7 (colored)

Various updates and improvements to cpu start up on arm/aarch64

- start sharing more code around the AP startup messaging.
- call arm_cpu_topology_set early so that ci_core_id is available for
  drivers, e.g. bcm2835_intr.c
- both arm and aarch64 now have
  - a static cpu_info_store array
  - the same arm_cpu_{hatched,mbox}

Revision 1.33 / (download) - annotate - [select for diffs], Mon Jan 27 23:26:15 2020 UTC (4 years, 2 months ago) by jmcneill
Branch: MAIN
Changes since 1.32: +7 -63 lines
Diff to previous 1.32 (colored) to selected 1.4.2.7 (colored)

Match any node with device_type = "cpu"

Revision 1.30.2.2 / (download) - annotate - [select for diffs], Sat Jan 25 22:38:38 2020 UTC (4 years, 2 months ago) by ad
Branch: ad-namecache
Changes since 1.30.2.1: +4 -3 lines
Diff to previous 1.30.2.1 (colored) to branchpoint 1.30 (colored) to selected 1.4.2.7 (colored)

Sync with head.

Revision 1.32 / (download) - annotate - [select for diffs], Sat Jan 25 18:21:37 2020 UTC (4 years, 2 months ago) by skrll
Branch: MAIN
CVS Tags: ad-namecache-base2
Changes since 1.31: +4 -3 lines
Diff to previous 1.31 (colored) to selected 1.4.2.7 (colored)

Wrap a long line

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Fri Jan 17 21:47:24 2020 UTC (4 years, 2 months ago) by ad
Branch: ad-namecache
Changes since 1.30: +13 -2 lines
Diff to previous 1.30 (colored) to selected 1.4.2.7 (colored)

Sync with head.

Revision 1.31 / (download) - annotate - [select for diffs], Sun Jan 12 09:29:18 2020 UTC (4 years, 2 months ago) by mrg
Branch: MAIN
CVS Tags: ad-namecache-base1
Changes since 1.30: +13 -2 lines
Diff to previous 1.30 (colored) to selected 1.4.2.7 (colored)

provide some semblance of valid cpu topology for big.little systems.

while attaching cpus, if the FDT provides "capacity-dmips-mhz" track
the fastest set, and call cpu_topology_set() with slow=true for any
cpus that are not the fastest.

bug fix for cpu_topology_set(): actually set ci_is_slow for slow cpus.

with this change, and -current's recent scheduler changes, this means
that long running processes run on the faster cores.  on RK3399 based
systems, i am seeing 20-50% speed ups for many tasks.


XXX: all this can be made common with armv7 big.little.

Revision 1.25.4.2 / (download) - annotate - [select for diffs], Fri Nov 1 18:12:26 2019 UTC (4 years, 4 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Changes since 1.25.4.1: +10 -2 lines
Diff to previous 1.25.4.1 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored) to selected 1.4.2.7 (colored)

Pull up following revision(s) (requested by bad in ticket #342):

	sys/arch/arm/fdt/cpu_fdt.c: revision 1.29
	sys/arch/arm/fdt/cpu_fdt.c: revision 1.30

re-apply r1.26:
  flush the dcache in cpu_enable_psci() before calling psci_cpu_on().
  fixes the kernel hanging with multiple "mpstart" on (at least) NanoPi R1.
but only #if !defined(AARCH64).

not necessary on armv8 and cache ops are not available that early there.

fix typos in comment in previous.

Revision 1.30 / (download) - annotate - [select for diffs], Fri Nov 1 13:22:08 2019 UTC (4 years, 4 months ago) by bad
Branch: MAIN
CVS Tags: phil-wifi-20191119, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored) to selected 1.4.2.7 (colored)

fix typos in comment in previous.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Nov 1 12:44:54 2019 UTC (4 years, 4 months ago) by bad
Branch: MAIN
Changes since 1.28: +10 -2 lines
Diff to previous 1.28 (colored) to selected 1.4.2.7 (colored)

re-apply r1.26. but only #if !defined(AARCH64).

not necessary on armv8 and cache ops are not available that early there.

Revision 1.25.4.1 / (download) - annotate - [select for diffs], Wed Oct 23 19:14:19 2019 UTC (4 years, 5 months ago) by martin
Branch: netbsd-9
Changes since 1.25: +3 -4 lines
Diff to previous 1.25 (colored) to selected 1.4.2.7 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #359):

	sys/arch/aarch64/aarch64/locore.S: revision 1.42
	sys/arch/aarch64/aarch64/locore.S: revision 1.43
	sys/arch/aarch64/aarch64/locore.S: revision 1.44
	sys/arch/arm/fdt/cpu_fdt.c: revision 1.28
	sys/arch/aarch64/include/cpu.h: revision 1.14
	sys/arch/aarch64/include/param.h: revision 1.12
	sys/arch/arm/arm32/cpu.c: revision 1.133
	sys/arch/arm/arm32/cpu.c: revision 1.134
	sys/arch/arm/include/cpu.h: revision 1.101
	sys/arch/arm/acpi/cpu_acpi.c: revision 1.7
	sys/arch/aarch64/aarch64/cpu.c: revision 1.23
	sys/arch/aarch64/aarch64/cpu.c: revision 1.24
	sys/arch/aarch64/aarch64/cpu.c: revision 1.25

Increase aarch64 MAXCPUS to 256.

 -

Invalidate dcache before polling AP hatched status

 -

Avoid overlap between BP and last AP stack. AP stacks are now in order of
increasing address order.

Spotted by and idea from mlelstv.

 -

Use separate cacheline aligned arrays for mbox and hatched as before.

 -

cpu_hatched_p only for MULTIPROCESSOR

Revision 1.28 / (download) - annotate - [select for diffs], Sat Oct 19 18:04:26 2019 UTC (4 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.27: +3 -4 lines
Diff to previous 1.27 (colored) to selected 1.4.2.7 (colored)

Increase aarch64 MAXCPUS to 256.

Revision 1.27 / (download) - annotate - [select for diffs], Thu Oct 17 21:52:26 2019 UTC (4 years, 5 months ago) by bad
Branch: MAIN
Changes since 1.26: +2 -3 lines
Diff to previous 1.26 (colored) to selected 1.4.2.7 (colored)

back out r1.26. it makes the pinebook fail to boot.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Oct 15 17:25:02 2019 UTC (4 years, 5 months ago) by bad
Branch: MAIN
Changes since 1.25: +3 -2 lines
Diff to previous 1.25 (colored) to selected 1.4.2.7 (colored)

flush the dcache in cpu_enable_psci() before calling psci_cpu_on().

fixes the kernel hanging with multiple "mpstart" on (at least) NanoPi R1.

OK jmcneill@, skrll@

XXX pullup-9

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:53 2019 UTC (4 years, 9 months ago) by christos
Branch: phil-wifi
Changes since 1.7: +268 -13 lines
Diff to previous 1.7 (colored) to selected 1.4.2.7 (colored)

Sync with HEAD

Revision 1.25 / (download) - annotate - [select for diffs], Sat Apr 13 19:15:25 2019 UTC (4 years, 11 months ago) by jmcneill
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base, isaki-audio2-base, isaki-audio2
Branch point for: netbsd-9
Changes since 1.24: +29 -16 lines
Diff to previous 1.24 (colored) to selected 1.4.2.7 (colored)

If an enable-method property is present on the cpu node and not supported
by the kernel, try to use the enable-method from the cpus node instead.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Apr 13 17:34:38 2019 UTC (4 years, 11 months ago) by jmcneill
Branch: MAIN
Changes since 1.23: +5 -3 lines
Diff to previous 1.23 (colored) to selected 1.4.2.7 (colored)

Fix build w/o PSCI

Revision 1.23 / (download) - annotate - [select for diffs], Sat Apr 13 17:21:49 2019 UTC (4 years, 11 months ago) by jmcneill
Branch: MAIN
Changes since 1.22: +28 -30 lines
Diff to previous 1.22 (colored) to selected 1.4.2.7 (colored)

The spin-table CPU enable method is only valid for 64-bit kernels.

Revision 1.22 / (download) - annotate - [select for diffs], Thu Jan 31 13:06:10 2019 UTC (5 years, 1 month ago) by skrll
Branch: MAIN
Changes since 1.21: +10 -5 lines
Diff to previous 1.21 (colored) to selected 1.4.2.7 (colored)

Change ap_mpstart to return non-zero value if any/all APs don't start.

Revision 1.4.2.8 / (download) - annotate - [select for diffs], Sat Jan 26 22:00:00 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.4.2.7: +3 -3 lines
Diff to previous 1.4.2.7 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Sync with HEAD

Revision 1.21 / (download) - annotate - [select for diffs], Sat Jan 19 20:56:03 2019 UTC (5 years, 2 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-20190127
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored) to selected 1.4.2.7 (colored)

Add support for (FDT-ized) Amlogic Meson8b.

Revision 1.4.2.7 / (download) - annotate - [selected], Fri Jan 18 08:50:14 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.4.2.6: +88 -69 lines
Diff to previous 1.4.2.6 (colored) to branchpoint 1.4 (colored)

Synch with HEAD

Revision 1.20 / (download) - annotate - [select for diffs], Thu Jan 3 14:14:08 2019 UTC (5 years, 2 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-20190118
Changes since 1.19: +5 -7 lines
Diff to previous 1.19 (colored) to selected 1.4.2.7 (colored)

No need to swap cpu-release-addr twice

Revision 1.19 / (download) - annotate - [select for diffs], Thu Jan 3 12:52:40 2019 UTC (5 years, 2 months ago) by jmcneill
Branch: MAIN
Changes since 1.18: +89 -44 lines
Diff to previous 1.18 (colored) to selected 1.4.2.7 (colored)

Add a link set for cpu enable methods.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Jan 3 10:26:41 2019 UTC (5 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.17: +3 -27 lines
Diff to previous 1.17 (colored) to selected 1.4.2.7 (colored)

Start CPUs more like aarch64 by using a cpu_mpidr array (if populated)
to map MPIDRs to an index for each CPU.

Towards big.LITTLE support.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Jan 2 16:13:49 2019 UTC (5 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.16: +5 -5 lines
Diff to previous 1.16 (colored) to selected 1.4.2.7 (colored)

Avoid double negative

Revision 1.4.2.6 / (download) - annotate - [select for diffs], Sat Oct 20 06:58:25 2018 UTC (5 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.4.2.5: +63 -22 lines
Diff to previous 1.4.2.5 (colored) to branchpoint 1.4 (colored) to selected 1.4.2.7 (colored)

Sync with head

Revision 1.16 / (download) - annotate - [select for diffs], Thu Oct 18 09:01:52 2018 UTC (5 years, 5 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020
Changes since 1.15: +60 -22 lines
Diff to previous 1.15 (colored) to selected 1.4.2.7 (colored)

Provide generic start code that assumes the MMU is off and caches are
disabled as per the linux booting protocol for ARMv6 and ARMv7 boards.
u-boot image type should be changed to 'linux' for correct behaviour.

The new start code builds a minimal "bootstrap" L1PT with cached access
disabled and uses the same table for all processors.  AP startup is
performed in less steps and more code is written in C.

The bootstrap tables and stack are placed into an (orphaned) section
"_init_memory" which is given to uvm when it is no longer used.

Various kernels have been converted to use this code and tested.  Some
boards were provided by TNF. Thanks!

The GENERIC kernel now boots on boards using the TEGRA, SUNXI and EXYNOS
kernels. The GENERIC kernel will also work on RPI2 using u-boot.

Thanks to martin@ and aymeric@ for testing on parallella and nanosoc
respectively

Revision 1.15 / (download) - annotate - [select for diffs], Thu Oct 4 08:58:13 2018 UTC (5 years, 5 months ago) by ryo
Branch: MAIN
Changes since 1.14: +7 -4 lines
Diff to previous 1.14 (colored) to selected 1.4.2.7 (colored)

fix to boot APs of RPI3 with GENERIC64.
if no psci, try other methods.

Revision 1.4.2.5 / (download) - annotate - [select for diffs], Sun Sep 30 01:45:38 2018 UTC (5 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.4.2.4: +173 -4 lines
Diff to previous 1.4.2.4 (colored) to branchpoint 1.4 (colored) to selected 1.4.2.7 (colored)

Ssync with HEAD

Revision 1.14 / (download) - annotate - [select for diffs], Thu Sep 13 12:53:00 2018 UTC (5 years, 6 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-0930
Changes since 1.13: +4 -2 lines
Diff to previous 1.13 (colored) to selected 1.4.2.7 (colored)

Wrap arm_fdt_cpu_okay with #ifdef MULTIPROCESSOR

Revision 1.13 / (download) - annotate - [select for diffs], Mon Sep 10 19:15:16 2018 UTC (5 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.12: +25 -7 lines
Diff to previous 1.12 (colored) to selected 1.4.2.7 (colored)

Re-add support for cpu nodes with status = "disabled", lost in previous commit

Revision 1.12 / (download) - annotate - [select for diffs], Mon Sep 10 11:05:12 2018 UTC (5 years, 6 months ago) by ryo
Branch: MAIN
Changes since 1.11: +152 -2 lines
Diff to previous 1.11 (colored) to selected 1.4.2.7 (colored)

cleanup aarch64 mpstart and fdt bootstrap
 * arm_cpu_hatch_arg is a bad idea. avoid serializing CPU startup, and eliminate arm_cpu_hatch_arg.
   in mpstart, resolve own cpu index using array of cpu_mpidr[] (aarch64)
 * add support fdt enable-method "spin-table"
 * add support fdt enable-method "brcm,bcm2836-smp" (for 32bit RaspberryPi)
 * use arm_fdt_cpu_bootstrap() instead of psci_fdt_bootstrap()
 * rename "arm/fdt/psci_fdt.h" to "arm/fdt/psci_fdtvar.h" because of conflict of include file for needs-flag
 * add devmap for cpu spin-table of raspberrypi3/aarch64
 * no need to force hatch APs for raspberrypi3/arm32 ifndef MULTIPROCESSOR.
 * fix to work pmap_extract(kerneltext/data/bss) even if before calling pmap_bootstrap

idea to use cpu_mpidr[] by jmcneill@. reviewd by skrll@. thanks.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Sep 9 13:22:50 2018 UTC (5 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.10: +3 -4 lines
Diff to previous 1.10 (colored) to selected 1.4.2.7 (colored)

Ditch arm,arm-v8 compatible string (everything uses arm,armv8)

Revision 1.4.2.4 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:26 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.4.2.3: +10 -5 lines
Diff to previous 1.4.2.3 (colored) to branchpoint 1.4 (colored) to selected 1.4.2.7 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.10 / (download) - annotate - [select for diffs], Wed Sep 5 10:38:29 2018 UTC (5 years, 6 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-0906
Changes since 1.9: +3 -2 lines
Diff to previous 1.9 (colored) to selected 1.4.2.7 (colored)

Match non-standard compat string "arm,armv8" (should be "arm,arm-v8")

Revision 1.9 / (download) - annotate - [select for diffs], Sun Aug 26 18:15:49 2018 UTC (5 years, 7 months ago) by ryo
Branch: MAIN
Changes since 1.8: +9 -5 lines
Diff to previous 1.8 (colored) to selected 1.4.2.7 (colored)

add support multiple cpu clusters.
* pass cpu index as an argument to secondary processors when hatching.
* keep cpu cache confituration per cpu clusters.

Hello big.LITTLE!

Revision 1.4.2.3 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:28 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.4.2.2: +5 -2 lines
Diff to previous 1.4.2.2 (colored) to branchpoint 1.4 (colored) to selected 1.4.2.7 (colored)

Sync with HEAD

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jul 2 16:36:49 2018 UTC (5 years, 8 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-0728
Changes since 1.7: +5 -2 lines
Diff to previous 1.7 (colored) to selected 1.4.2.7 (colored)

Attach cpufreq scaling provider to ourself, as cpus doesn't do this anymore

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:39 2018 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.4.2.1: +5 -2 lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored) to selected 1.4.2.7 (colored)

Sync with HEAD

Revision 1.7 / (download) - annotate - [select for diffs], Fri Jun 22 23:46:04 2018 UTC (5 years, 9 months ago) by jmcneill
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0625
Branch point for: phil-wifi
Changes since 1.6: +4 -2 lines
Diff to previous 1.6 (colored) to selected 1.4.2.7 (colored)

Match generic arm,arm-v8 compatible string

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jun 15 14:27:57 2018 UTC (5 years, 9 months ago) by jakllsch
Branch: MAIN
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored) to selected 1.4.2.7 (colored)

Add "arm,arm-v7" to compatible strings.

(for `qemu-system-arm -M virt`)

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Sat Apr 7 04:12:11 2018 UTC (5 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.4: +10 -6 lines
Diff to previous 1.4 (colored) to selected 1.4.2.7 (colored)

Sync with HEAD.  77 conflicts resolved - all of them $NetBSD$

Revision 1.5 / (download) - annotate - [select for diffs], Sun Apr 1 04:35:04 2018 UTC (5 years, 11 months ago) by ryo
Branch: MAIN
CVS Tags: pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407
Changes since 1.4: +10 -6 lines
Diff to previous 1.4 (colored) to selected 1.4.2.7 (colored)

Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)

- sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@)
- add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)

Revision 1.4 / (download) - annotate - [select for diffs], Sun Dec 10 21:38:26 2017 UTC (6 years, 3 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-base, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.3: +3 -2 lines
Diff to previous 1.3 (colored) to selected 1.4.2.7 (colored)

FDTise RapberryPI support. Thanks for jmcneill for a lot of help with this.

The kernel image that the RPI firmware boots is now netbsd.img in the
kernel build directory.

XXX fdtbus_get_reg needs reworking

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:35:52 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.3.2.1: +141 -0 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored) to selected 1.4.2.7 (colored)

update from HEAD

Revision 1.3.2.1, Mon Sep 18 16:58:04 2017 UTC (6 years, 6 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.3: +0 -141 lines
FILE REMOVED

file cpu_fdt.c was added on branch tls-maxphys on 2017-12-03 11:35:52 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Mon Sep 18 16:58:04 2017 UTC (6 years, 6 months ago) by jmcneill
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202
Branch point for: tls-maxphys
Changes since 1.2: +64 -30 lines
Diff to previous 1.2 (colored) to selected 1.4.2.7 (colored)

Add support for arm,arm1176jzf-s

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:30 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.2.4.1: +107 -0 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.4.2.7 (colored)

Sync with HEAD

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 18:10:40 2017 UTC (6 years, 9 months ago) by snj
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek
Changes since 1.1: +20 -4 lines
Diff to previous 1.1 (colored) next main 1.2 (colored) to selected 1.4.2.7 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #49):
	sys/arch/arm/fdt/cpu_fdt.c: revision 1.2
Only try to attach to CPUs with the same cluster ID as the boot processor.

Revision 1.2.4.1, Sun Jun 18 23:20:20 2017 UTC (6 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.2: +0 -107 lines
FILE REMOVED

file cpu_fdt.c was added on branch nick-nhusb on 2017-08-28 17:51:30 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Sun Jun 18 23:20:20 2017 UTC (6 years, 9 months ago) by jmcneill
Branch: MAIN
CVS Tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825
Branch point for: nick-nhusb
Changes since 1.1: +20 -4 lines
Diff to previous 1.1 (colored) to selected 1.4.2.7 (colored)

Only try to attach to CPUs with the same cluster ID as the boot processor.

Revision 1.1 / (download) - annotate - [select for diffs], Sun May 28 00:40:20 2017 UTC (6 years, 10 months ago) by jmcneill
Branch: MAIN
CVS Tags: netbsd-8-base
Branch point for: netbsd-8
Diff to selected 1.4.2.7 (colored)

Enumerate CPUs, GIC, and generic timer using FDT data instead of relying
on hard-coded tables in mainbus.

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>