The NetBSD Project

CVS log for src/sys/arch/arm/arm32/arm32_boot.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.44.4.1 / (download) - annotate - [select for diffs], Fri Dec 23 08:09:48 2022 UTC (15 months, 3 weeks ago) by martin
Branch: netbsd-10
CVS Tags: 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
Changes since 1.44: +3 -2 lines
Diff to previous 1.44 (colored) next main 1.45 (colored) to selected 1.8 (colored)

Pull up following revision(s) (requested by ryo in ticket #20):

	sys/arch/arm/arm/cpufunc.c: revision 1.185
	sys/dev/tprof/tprof.c: revision 1.22
	sys/arch/arm/arm32/arm32_boot.c: revision 1.45
	sys/dev/tprof/tprof_armv8.c: revision 1.19
	sys/dev/tprof/tprof_armv7.c: revision 1.12
	sys/arch/aarch64/aarch64/cpu.c: revision 1.71
	sys/arch/aarch64/aarch64/cpu.c: revision 1.72

tprof_lock is not a spin mutex. use mutex_{enter,exit}(). oops

Explicitly disable overflow interrupts before enabling the cycle counter.

PMCR_EL0.LC should be set. ARM deprecates use of PMCR_EL0.LC=0

Even if an overflow interrupt is occured for a counter outside tprof management,
the bit of onverflow status register must be cleared to prevent an interrupt storm.

Revision 1.45 / (download) - annotate - [select for diffs], Thu Dec 22 06:58:08 2022 UTC (15 months, 3 weeks ago) by ryo
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.44: +3 -2 lines
Diff to previous 1.44 (colored) to selected 1.8 (colored)

Explicitly disable overflow interrupts before enabling the cycle counter.

Revision 1.44 / (download) - annotate - [select for diffs], Sun Oct 31 16:23:47 2021 UTC (2 years, 5 months ago) by skrll
Branch: MAIN
CVS Tags: netbsd-10-base, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Changes since 1.43: +9 -18 lines
Diff to previous 1.43 (colored) to selected 1.8 (colored)

Rework Arm (32bit and 64bit) AP startup so that cpu_hatch doesn't sleep.

The AP initialisation code in cpu_init_secondary_processor will read and
initialise the required system registers and state for the BP to attach
and report.

Rework the interrupt handler code for this new sequence. Thankfully,
this removes a bunch of code for bcm2836mp.

The VFP detection handler on <= armv7 relies on the global undefined
handler being in place until the BP attaches vfp. That is, after the
APs have been spun up.

gicv3_its.c has a serialisation issue which is protected against in
the gicv3_its_cpu_init, which is called from cpu_hatch, with a spin
lock. The serialisation issue needs addressing more completely.

Tested on RPI3, Apple M1, QEMU, and lx2k

Fixes PR port-arm/56264:
   diagnostic assertion "l->l_stat == LSONPROC" failed on RPI3

Revision 1.41.4.1 / (download) - annotate - [select for diffs], Thu Jun 17 04:46:17 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.41: +14 -6 lines
Diff to previous 1.41 (colored) next main 1.42 (colored) to selected 1.8 (colored)

Sync w/ HEAD.

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Sun Jun 6 20:30:49 2021 UTC (2 years, 10 months ago) by cjep
Branch: cjep_sun2x
Changes since 1.42: +14 -6 lines
Diff to previous 1.42 (colored) next main 1.43 (colored) to selected 1.8 (colored)

sync with head

Revision 1.33.4.1 / (download) - annotate - [select for diffs], Sat Jun 5 10:27:10 2021 UTC (2 years, 10 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE
Changes since 1.33: +14 -6 lines
Diff to previous 1.33 (colored) next main 1.34 (colored) to selected 1.8 (colored)

Pull up following revision(s) (requested by skrll in ticket #1279):

	sys/arch/arm/arm32/arm32_boot.c: revision 1.42
	sys/arch/arm/arm32/arm32_boot.c: revision 1.43

G/C

 -

Mirror the changes around passing pages to UVM in aarch64_machdep.c:

Two fixes for loading free pages into UVM

- Only consider a boot_physmem (inner loop) range that has its end
   (bp_end) after the bootconfig.dram (outer loop) range start (start).
   This was harmless as a later condition correctly checks there is only
   something to do if start < bp_end.

- Stop processing boot_physmem ranges if all the bootconfig.dram range has
   been passed to UVM.  This fixes a boot problem for simon@

Copy a comment over and do the VPRINTF before the uvm_page_physload in
the same way as aarch64_machdep.c as well.

Revision 1.43 / (download) - annotate - [select for diffs], Thu Jun 3 07:06:22 2021 UTC (2 years, 10 months ago) by skrll
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
Changes since 1.42: +14 -6 lines
Diff to previous 1.42 (colored) to selected 1.8 (colored)

Mirror changes to passing pages to UVM into aarch64_machdep.c

Two fixes for loading free pages into UVM

- Only consider a boot_physmem (inner loop) range that has its end
  (bp_end) after the bootconfig.dram (outer loop) range start (start).
  This was harmless as a later condition correctly checks there is only
  something to do if start < bp_end.

- Stop processing boot_physmem ranges if all the bootconfig.dram range has
  been passed to UVM.  This fixes a boot problem for simon@

Copy a comment over and do the VPRINTF before the uvm_page_physload in
the same way as aarch64_machdep.c as well.

Revision 1.42 / (download) - annotate - [select for diffs], Tue Jun 1 16:55:07 2021 UTC (2 years, 10 months ago) by skrll
Branch: MAIN
CVS Tags: cjep_sun2x-base
Branch point for: cjep_sun2x
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored) to selected 1.8 (colored)

G/C

Revision 1.40.2.1 / (download) - annotate - [select for diffs], Mon Dec 14 14:37:47 2020 UTC (3 years, 4 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.40: +4 -5 lines
Diff to previous 1.40 (colored) next main 1.41 (colored) to selected 1.8 (colored)

Sync w/ HEAD.

Revision 1.41 / (download) - annotate - [select for diffs], Tue Dec 1 02:43:14 2020 UTC (3 years, 4 months ago) by rin
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-cfargs-base, thorpej-cfargs, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf
Changes since 1.40: +4 -5 lines
Diff to previous 1.40 (colored) to selected 1.8 (colored)

Switch earmv6{,hf}eb to BE8 in kernel side.

My strategy here is to define _ARM_ARCH_BE8 macro in arm/cdefs.h, if
__ARMEB__ && _ARM_ARCH_6.

Use this macro to determine whether system is compiled for and running on
BE8 mode or not.

Note that, for __ARMEB__, some conditions become compile-time constants
determined by _ARM_ARCH_BE8 macro, e.g., whether BE8 or BE32 are accepted
as a userland binary, or unaligned memory access is possible or not.

Revision 1.40 / (download) - annotate - [select for diffs], Fri Sep 11 06:40:25 2020 UTC (3 years, 7 months ago) by skrll
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.39: +6 -3 lines
Diff to previous 1.39 (colored) to selected 1.8 (colored)

Wrap a long comment

Revision 1.39 / (download) - annotate - [select for diffs], Fri Jul 10 12:25:09 2020 UTC (3 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.38: +5 -2 lines
Diff to previous 1.38 (colored) to selected 1.8 (colored)

Add support for KASAN on ARMv[67]

Thanks to maxv for many pointers and reviews.

Revision 1.38 / (download) - annotate - [select for diffs], Sat Jun 6 09:03:59 2020 UTC (3 years, 10 months ago) by skrll
Branch: MAIN
Changes since 1.37: +6 -5 lines
Diff to previous 1.37 (colored) to selected 1.8 (colored)

KNF

Revision 1.19.6.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:27 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.19.6.1: +4 -23 lines
Diff to previous 1.19.6.1 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored) to selected 1.8 (colored)

Merge changes from current as of 20200406

Revision 1.35.2.2 / (download) - annotate - [select for diffs], Sat Feb 29 20:18:17 2020 UTC (4 years, 1 month ago) by ad
Branch: ad-namecache
Changes since 1.35.2.1: +4 -14 lines
Diff to previous 1.35.2.1 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored) to selected 1.8 (colored)

Sync with head.

Revision 1.37 / (download) - annotate - [select for diffs], Sat Feb 15 08:16:11 2020 UTC (4 years, 2 months 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.36: +4 -14 lines
Diff to previous 1.36 (colored) to selected 1.8 (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.35.2.1 / (download) - annotate - [select for diffs], Fri Jan 17 21:47:23 2020 UTC (4 years, 3 months ago) by ad
Branch: ad-namecache
Changes since 1.35: +2 -16 lines
Diff to previous 1.35 (colored) to selected 1.8 (colored)

Sync with head.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Jan 8 18:47:43 2020 UTC (4 years, 3 months ago) by jmcneill
Branch: MAIN
CVS Tags: ad-namecache-base2, ad-namecache-base1
Changes since 1.35: +2 -16 lines
Diff to previous 1.35 (colored) to selected 1.8 (colored)

cpu_hatch is too late to report AP topology, do it at attach time instead

Revision 1.35 / (download) - annotate - [select for diffs], Fri Dec 20 21:05:33 2019 UTC (4 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: ad-namecache-base
Branch point for: ad-namecache
Changes since 1.34: +5 -3 lines
Diff to previous 1.34 (colored) to selected 1.8 (colored)

Some more CPU topology stuff:

- Use cegger@'s ACPI SRAT parsing code to figure out NUMA node ID for each
  CPU as it is attached.

- For scheduler experiments with SMT, flag CPUs with the lowest numbered SMT
  IDs as "primaries", link back to the primaries from secondaries, and build
  a circular list of CPUs in each package with identical SMT IDs.

- No need for package/core/smt/numa IDs to be anything other than a u_int.

Revision 1.34 / (download) - annotate - [select for diffs], Mon Dec 2 23:22:43 2019 UTC (4 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.33: +10 -7 lines
Diff to previous 1.33 (colored) to selected 1.8 (colored)

Take the basic CPU topology information we already collect, and use it
to make circular lists of CPU siblings in the same core, and in the
same package.  Nothing fancy, just enough to have a bit of fun in the
scheduler trying out different tactics.

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

Sync with HEAD

Revision 1.33 / (download) - annotate - [select for diffs], Sat Mar 16 10:05:40 2019 UTC (5 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, isaki-audio2-base, isaki-audio2
Branch point for: netbsd-9
Changes since 1.32: +8 -2 lines
Diff to previous 1.32 (colored) to selected 1.8 (colored)

Flush the BP cache just before starting APs so that cache coherency starts
with a correct view.

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

Merge the [pgoyette-compat] branch

Revision 1.19.4.6 / (download) - annotate - [select for diffs], Sat Jan 26 21:59:59 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.19.4.5: +7 -7 lines
Diff to previous 1.19.4.5 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored) to selected 1.8 (colored)

Sync with HEAD

Revision 1.31 / (download) - annotate - [select for diffs], Fri Jan 25 18:31:44 2019 UTC (5 years, 2 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-20190127
Changes since 1.30: +7 -7 lines
Diff to previous 1.30 (colored) to selected 1.8 (colored)

Make sure ci_{smt,core,package}_id are all filled in appropriately.

Previously the BP was missed and __SHIFTOUT wasn't used.

Revision 1.19.4.5 / (download) - annotate - [select for diffs], Fri Jan 18 08:50:14 2019 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.19.4.4: +16 -11 lines
Diff to previous 1.19.4.4 (colored) to branchpoint 1.19 (colored) to selected 1.8 (colored)

Synch with HEAD

Revision 1.30 / (download) - annotate - [select for diffs], Thu Jan 3 15:33:06 2019 UTC (5 years, 3 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-20190118
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored) to selected 1.8 (colored)

Simplify

Revision 1.29 / (download) - annotate - [select for diffs], Thu Jan 3 15:12:00 2019 UTC (5 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.28: +7 -2 lines
Diff to previous 1.28 (colored) to selected 1.8 (colored)

Read mpidr and cpuid from the secondary processor itself instead of the
boot processor. While here, add Cortex-A15 r4p0 to supported list.

Revision 1.28 / (download) - annotate - [select for diffs], Thu Jan 3 10:26:41 2019 UTC (5 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.27: +11 -11 lines
Diff to previous 1.27 (colored) to selected 1.8 (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.19.4.4 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:17 2018 UTC (5 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.19.4.3: +6 -5 lines
Diff to previous 1.19.4.3 (colored) to branchpoint 1.19 (colored) to selected 1.8 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.27 / (download) - annotate - [select for diffs], Wed Oct 31 09:31:01 2018 UTC (5 years, 5 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-1226, pgoyette-compat-1126
Changes since 1.26: +5 -4 lines
Diff to previous 1.26 (colored) to selected 1.8 (colored)

Tidyup VERBOSE_INIT_ARM output

Revision 1.26 / (download) - annotate - [select for diffs], Sun Oct 28 14:30:30 2018 UTC (5 years, 5 months ago) by skrll
Branch: MAIN
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored) to selected 1.8 (colored)

Fix a commit

Revision 1.19.4.3 / (download) - annotate - [select for diffs], Sat Oct 20 06:58:24 2018 UTC (5 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.19.4.2: +47 -35 lines
Diff to previous 1.19.4.2 (colored) to branchpoint 1.19 (colored) to selected 1.8 (colored)

Sync with head

Revision 1.25 / (download) - annotate - [select for diffs], Thu Oct 18 16:44:36 2018 UTC (5 years, 6 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-1020
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored) to selected 1.8 (colored)

Fix VPRINTF

Revision 1.24 / (download) - annotate - [select for diffs], Thu Oct 18 09:01:52 2018 UTC (5 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.23: +46 -34 lines
Diff to previous 1.23 (colored) to selected 1.8 (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.23 / (download) - annotate - [select for diffs], Sun Oct 14 14:31:05 2018 UTC (5 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored) to selected 1.8 (colored)

Use __nothing

Revision 1.19.4.2 / (download) - annotate - [select for diffs], Sun Sep 30 01:45:37 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.19.4.1: +2 -9 lines
Diff to previous 1.19.4.1 (colored) to branchpoint 1.19 (colored) to selected 1.8 (colored)

Ssync with HEAD

Revision 1.22 / (download) - annotate - [select for diffs], Sun Sep 16 11:34:20 2018 UTC (5 years, 7 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-0930
Changes since 1.21: +2 -9 lines
Diff to previous 1.21 (colored) to selected 1.8 (colored)

G/C

Revision 1.19.4.1 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:25 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.19: +29 -60 lines
Diff to previous 1.19 (colored) to selected 1.8 (colored)

Sync with HEAD

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

Revision 1.21 / (download) - annotate - [select for diffs], Wed Aug 15 06:00:02 2018 UTC (5 years, 8 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-0906
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored) to selected 1.8 (colored)

Sprinkle #include "opt_cputypes.h"

Revision 1.20 / (download) - annotate - [select for diffs], Tue Jul 31 07:00:48 2018 UTC (5 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.19: +28 -59 lines
Diff to previous 1.19 (colored) to selected 1.8 (colored)

Define and use VPRINTF

Revision 1.1.2.4 / (download) - annotate - [select for diffs], Sun Dec 3 11:35:51 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.1.2.3: +51 -9 lines
Diff to previous 1.1.2.3 (colored) next main 1.2 (colored) to selected 1.8 (colored)

update from HEAD

Revision 1.10.2.5 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:29 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.10.2.4: +24 -3 lines
Diff to previous 1.10.2.4 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored) to selected 1.8 (colored)

Sync with HEAD

Revision 1.19 / (download) - annotate - [select for diffs], Sun Jul 2 16:16:44 2017 UTC (6 years, 9 months ago) by skrll
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, phil-wifi-base, pgoyette-compat-base, 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
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.18: +24 -3 lines
Diff to previous 1.18 (colored) to selected 1.8 (colored)

Consistency around the user trapframe for all LWPs and there's no need to
keep assigning it in kernel entry points.

Revision 1.10.2.4 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:03 2017 UTC (7 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.10.2.3: +3 -3 lines
Diff to previous 1.10.2.3 (colored) to branchpoint 1.10 (colored) to selected 1.8 (colored)

Sync with HEAD

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:10 2017 UTC (7 years, 3 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored) next main 1.18 (colored) to selected 1.8 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.18 / (download) - annotate - [select for diffs], Thu Dec 22 14:47:54 2016 UTC (7 years, 3 months ago) by cherry
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, nick-nhusb-base-20170204, 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, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored) to selected 1.8 (colored)

switch all ports to use uvm_init.c:uvm_md_init()

uvm_setpagesize() is now subsumed within this funciton.

Revision 1.10.2.3 / (download) - annotate - [select for diffs], Sat Mar 19 11:29:55 2016 UTC (8 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.10.2.2: +4 -2 lines
Diff to previous 1.10.2.2 (colored) to branchpoint 1.10 (colored) to selected 1.8 (colored)

Sync with HEAD

Revision 1.17 / (download) - annotate - [select for diffs], Tue Mar 8 08:01:23 2016 UTC (8 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.16: +7 -5 lines
Diff to previous 1.16 (colored) to selected 1.8 (colored)

#if 0 a KASSERT for now as it doesn't apply to Raspberry Pi 3

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Sat Jun 6 14:39:55 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.10.2.1: +10 -5 lines
Diff to previous 1.10.2.1 (colored) to branchpoint 1.10 (colored) to selected 1.8 (colored)

Sync with HEAD

Revision 1.16 / (download) - annotate - [select for diffs], Sun May 17 05:34:53 2015 UTC (8 years, 11 months ago) by matt
Branch: MAIN
CVS Tags: nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606
Changes since 1.15: +7 -2 lines
Diff to previous 1.15 (colored) to selected 1.8 (colored)

KASSERT in cpu_hatch that AUXCTL.SMP is set for Cortex CPUs.

Revision 1.15 / (download) - annotate - [select for diffs], Mon May 4 00:55:30 2015 UTC (8 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.14: +2 -10 lines
Diff to previous 1.14 (colored) to selected 1.8 (colored)

Deal with 4GB overflow in arm32_kvminit.c

Revision 1.14 / (download) - annotate - [select for diffs], Mon May 4 00:41:42 2015 UTC (8 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.13: +6 -5 lines
Diff to previous 1.13 (colored) to selected 1.8 (colored)

Fix 4GB wraparound math.

Revision 1.13 / (download) - annotate - [select for diffs], Mon May 4 00:12:56 2015 UTC (8 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.12: +9 -2 lines
Diff to previous 1.12 (colored) to selected 1.8 (colored)

If not using LPAE, if memory ends at 4GB ignore the last page so physical_end
doesn't wrap to 0.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:17:52 2015 UTC (9 years ago) by skrll
Branch: nick-nhusb
Changes since 1.10: +14 -2 lines
Diff to previous 1.10 (colored) to selected 1.8 (colored)

Sync with HEAD

Revision 1.7.4.3 / (download) - annotate - [select for diffs], Mon Jan 12 21:00:29 2015 UTC (9 years, 3 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, 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
Changes since 1.7.4.2: +3 -3 lines
Diff to previous 1.7.4.2 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #412):
	sys/arch/arm/arm32/arm32_boot.c: revision 1.12
use IPL_NONE for CPU attach message serialization mutex

Revision 1.12 / (download) - annotate - [select for diffs], Mon Jan 12 01:18:38 2015 UTC (9 years, 3 months ago) by jakllsch
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored) to selected 1.8 (colored)

use IPL_NONE for CPU attach message serialization mutex

Revision 1.7.4.2 / (download) - annotate - [select for diffs], Sat Dec 13 19:32:43 2014 UTC (9 years, 4 months ago) by martin
Branch: netbsd-7
Changes since 1.7.4.1: +14 -2 lines
Diff to previous 1.7.4.1 (colored) to branchpoint 1.7 (colored) to selected 1.8 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #319):
	sys/arch/arm/arm32/arm32_boot.c: revision 1.11
serialize printing of secondary cpu info

Revision 1.11 / (download) - annotate - [select for diffs], Sat Dec 13 16:11:01 2014 UTC (9 years, 4 months ago) by jmcneill
Branch: MAIN
Changes since 1.10: +14 -2 lines
Diff to previous 1.10 (colored) to selected 1.8 (colored)

serialize printing of secondary cpu info

Revision 1.7.4.1 / (download) - annotate - [select for diffs], Sun Nov 9 16:05:25 2014 UTC (9 years, 5 months ago) by martin
Branch: netbsd-7
Changes since 1.7: +8 -6 lines
Diff to previous 1.7 (colored) to selected 1.8 (colored)

Pull up following revision(s) (requested by skrll in ticket #188):
	sys/arch/arm/include/arm32/pmap.h: revision 1.136
	sys/arch/arm/include/armreg.h: revision 1.100
	sys/arch/arm/cortex/gic.c: revision 1.11
	sys/arch/arm/arm32/db_interface.c: revision 1.54
	sys/arch/arm/include/armreg.h: revision 1.101
	sys/arch/arm/cortex/gic.c: revision 1.12
	sys/arch/arm/arm32/arm32_machdep.c: revision 1.107
	sys/arch/arm/arm/cpufunc_asm_armv7.S: revision 1.19
	sys/arch/arm/cortex/a9_mpsubr.S: revision 1.20
	sys/arch/evbarm/conf/BPI: revision 1.5
	sys/arch/arm/cortex/a9_mpsubr.S: revision 1.21
	sys/arch/arm/arm32/pmap.c: revision 1.306
	sys/arch/arm/arm32/db_machdep.c: revision 1.22
	sys/arch/arm/arm32/arm32_tlb.c: revision 1.3
	sys/arch/arm/arm/undefined.c: revision 1.55
	sys/arch/arm/cortex/a9_mpsubr.S: revision 1.22
	sys/arch/arm/arm32/pmap.c: revision 1.307
	sys/arch/arm/arm32/arm32_tlb.c: revision 1.4
	sys/arch/arm/cortex/a9_mpsubr.S: revision 1.23
	sys/arch/arm/arm32/arm32_tlb.c: revision 1.5
	sys/arch/evbarm/conf/BPI: revision 1.8
	sys/arch/arm/cortex/a9_mpsubr.S: revision 1.24
	sys/arch/arm/arm32/arm32_tlb.c: revision 1.6
	sys/arch/arm/arm32/arm32_tlb.c: revision 1.7
	sys/arch/evbarm/conf/CUBIETRUCK: revision 1.5
	sys/arch/arm/pic/pic.c: revision 1.23
	sys/arch/arm/pic/pic.c: revision 1.24
	sys/arch/arm/pic/picvar.h: revision 1.11
	sys/arch/arm/arm/cpufunc_asm_armv7.S: revision 1.20
	sys/arch/arm/mainbus/cpu_mainbus.c: revision 1.16
	sys/arch/arm/arm32/pmap.c: revision 1.298
	sys/arch/arm/arm/cpufunc_asm_arm11.S: revision 1.17
	sys/arch/arm/arm/cpufunc_asm_pj4b.S: revision 1.5
	sys/arch/arm/arm32/pmap.c: revision 1.310
	sys/arch/arm/arm32/pmap.c: revision 1.311
	sys/arch/arm/arm32/arm32_kvminit.c: revision 1.32
	sys/arch/arm/cortex/a9_mpsubr.S: revision 1.19
	sys/arch/arm/arm32/arm32_boot.c: revision 1.10
	sys/arch/arm/arm/ast.c: revision 1.25
	sys/arch/arm/include/armreg.h: revision 1.98
	sys/uvm/pmap/pmap_tlb.c: revision 1.10
	sys/arch/arm/arm32/arm32_boot.c: revision 1.8
	sys/arch/arm/arm32/arm32_boot.c: revision 1.9
	sys/arch/arm/arm/arm_machdep.c: revision 1.43
Various ARM MP fixes.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Nov 4 22:37:09 2014 UTC (9 years, 5 months ago) by matt
Branch: MAIN
CVS Tags: nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.9: +6 -6 lines
Diff to previous 1.9 (colored) to selected 1.8 (colored)

Fix the stacks used by the other CPU to not overlap with the boot cpu's stacks.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Oct 29 14:14:14 2014 UTC (9 years, 5 months ago) by skrll
Branch: MAIN
Changes since 1.8: +3 -2 lines
Diff to previous 1.8 (colored)

Sprinkle #include "opt_multiprocessor.h"

Revision 1.8 / (download) - annotate - [selected], Sun Sep 14 20:35:45 2014 UTC (9 years, 7 months ago) by ryo
Branch: MAIN
Changes since 1.7: +3 -2 lines
Diff to previous 1.7 (colored)

add memory access barrier

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:45 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.1.2.2: +46 -15 lines
Diff to previous 1.1.2.2 (colored) to selected 1.8 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:39:31 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.2.2.2: +61 -17 lines
Diff to previous 1.2.2.2 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.8 (colored)

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")

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Sun May 18 17:44:56 2014 UTC (9 years, 11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.4.2.1: +47 -17 lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored) to selected 1.8 (colored)

sync with head

Revision 1.7 / (download) - annotate - [select for diffs], Fri Mar 28 21:39:09 2014 UTC (10 years ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.6: +39 -13 lines
Diff to previous 1.6 (colored) to selected 1.8 (colored)

Various MP changes.

Revision 1.5.2.3 / (download) - annotate - [select for diffs], Mon Mar 24 18:44:43 2014 UTC (10 years ago) by matt
Branch: matt-nb5-mips64
Changes since 1.5.2.2: +4 -3 lines
Diff to previous 1.5.2.2 (colored) next main 1.6 (colored) to selected 1.8 (colored)

Need to deal with proc0paddr.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Mar 3 08:52:30 2014 UTC (10 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.5: +11 -7 lines
Diff to previous 1.5 (colored) to selected 1.8 (colored)

Further cpu_info inits in cpu_hatch

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Sat Feb 15 16:18:36 2014 UTC (10 years, 2 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.5.2.1: +384 -0 lines
Diff to previous 1.5.2.1 (colored) to selected 1.8 (colored)

Merge armv7 support from HEAD, specifically support for the BCM5301X
and BCM56340 evbarm kernels.

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Wed Aug 28 23:59:11 2013 UTC (10 years, 7 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.4: +3 -2 lines
Diff to previous 1.4 (colored) to selected 1.8 (colored)

sync with head

Revision 1.5.2.1, Sun Aug 18 06:28:18 2013 UTC (10 years, 8 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.5: +0 -383 lines
FILE REMOVED

file arm32_boot.c was added on branch matt-nb5-mips64 on 2014-02-15 16:18:36 +0000

Revision 1.5 / (download) - annotate - [select for diffs], Sun Aug 18 06:28:18 2013 UTC (10 years, 8 months ago) by matt
Branch: MAIN
Branch point for: matt-nb5-mips64
Changes since 1.4: +3 -2 lines
Diff to previous 1.4 (colored) to selected 1.8 (colored)

Move parts of cpu.h that are not needed by MI code in <arm/locore.h>
Don't include <machine/cpu.h> or <machine/frame.h>, use <arm/locore.h>
Use <arm/asm.h> instead of <machine/arm.h>

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:19:59 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.1.2.1: +15 -2 lines
Diff to previous 1.1.2.1 (colored) to selected 1.8 (colored)

resync from head

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jun 12 07:14:26 2013 UTC (10 years, 10 months ago) by matt
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Branch point for: rmind-smpnet
Changes since 1.3: +8 -2 lines
Diff to previous 1.3 (colored) to selected 1.8 (colored)

Add printfs around initializing the vector_page.

Revision 1.3 / (download) - annotate - [select for diffs], Sat May 11 10:15:10 2013 UTC (10 years, 11 months ago) by skrll
Branch: MAIN
Changes since 1.2: +9 -2 lines
Diff to previous 1.2 (colored) to selected 1.8 (colored)

Include opt_{ddb,kgdb} and fix KGDB build

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Wed Nov 28 22:40:16 2012 UTC (11 years, 4 months ago) by matt
Branch: matt-nb6-plus
Changes since 1.2.4.1: +369 -0 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.8 (colored)

Merge improved arm support (especially Cortex) from HEAD
including OMAP and BCM53xx support.

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:01:02 2012 UTC (11 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.1: +37 -22 lines
Diff to previous 1.1 (colored) to selected 1.8 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:18:56 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.2.2.1: +369 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) to selected 1.8 (colored)

sync with head

Revision 1.2.4.1, Wed Oct 17 18:53:45 2012 UTC (11 years, 6 months ago) by matt
Branch: matt-nb6-plus
Changes since 1.2: +0 -369 lines
FILE REMOVED

file arm32_boot.c was added on branch matt-nb6-plus on 2012-11-28 22:40:16 +0000

Revision 1.2.2.1, Wed Oct 17 18:53:45 2012 UTC (11 years, 6 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.2: +0 -369 lines
FILE REMOVED

file arm32_boot.c was added on branch yamt-pagecache on 2012-10-30 17:18:56 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Wed Oct 17 18:53:45 2012 UTC (11 years, 6 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, matt-nb6-plus-nbase, matt-nb6-plus-base, khorben-n900, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, matt-nb6-plus
Changes since 1.1: +37 -22 lines
Diff to previous 1.1 (colored) to selected 1.8 (colored)

Change the semantics of the boot_physmem array to select a freelist to use
with uvm_page_physload.  Reduces duplication of work.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Aug 31 23:59:51 2012 UTC (11 years, 7 months ago) by matt
Branch: MAIN
Branch point for: tls-maxphys
Diff to selected 1.8 (colored)

Make cpu_reset, most of initarm and the kvm init code common.
Add MP hooks for cpu_need_resced
Add idlestck which is allocated in arm32_kvminit

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>