The NetBSD Project

CVS log for src/sys/arch/arm/arm32/genassym.cf

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.95 / (download) - annotate - [select for diffs], Fri Aug 28 13:36:52 2020 UTC (3 years, 7 months ago) by skrll
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, 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, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.94: +6 -1 lines
Diff to previous 1.94 (colored)

Some KASAN fixes and tweaks

- don't access BSS variables when __md_early
- centralise the INIT_ARM_STACK_{SHIFT,SIZE} defines and create a new
  INIT_ARM_TOTAL_STACK
- Only create L1PT entries in kasan_md_shadow_map_page if
  arm32_kernel_vm_init hasn't created the L2PTs (and their L1PT entries)
- Add some comments to explain what's going on

Revision 1.94 / (download) - annotate - [select for diffs], Fri Aug 14 16:18:36 2020 UTC (3 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.93: +2 -2 lines
Diff to previous 1.93 (colored)

Mirror the changes to aarch64 and

- Switch to TPIDRPRW_IS_CURLWP, because curlwp is accessed much more often
  by MI code.  It also makes curlwp preemption safe,

- Make ASTs operate per-LWP rather than per-CPU, otherwise sometimes LWPs
  can see spurious ASTs (which doesn't cause a problem, it just means some
  time may be wasted).

- Make sure ASTs are always set on the same CPU as the target LWP, and
  delivered via IPI if posted from a remote CPU so that they are resolved
  quickly.

- Add some cache line padding to struct cpu_info.

- Add a memory barrier in a couple of places where ci_curlwp is set.  This
  is needed whenever an LWP that is resuming on the CPU could hold an
  adaptive mutex.  The barrier needs to drain the CPU's store buffer, so
  that the update to ci_curlwp becomes globally visible before the LWP can
  resume and call mutex_exit().

Revision 1.93 / (download) - annotate - [select for diffs], Wed Jul 8 10:18:00 2020 UTC (3 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.92: +6 -2 lines
Diff to previous 1.92 (colored)

Use the stack provided by armv6_start.S rather than svcstk.  This saves
some bss too.

Revision 1.92 / (download) - annotate - [select for diffs], Wed Jul 8 10:04:20 2020 UTC (3 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.91: +7 -7 lines
Diff to previous 1.91 (colored)

Sort the __HAVE_* defines

Revision 1.91 / (download) - annotate - [select for diffs], Wed Jul 8 10:02:44 2020 UTC (3 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.90: +2 -2 lines
Diff to previous 1.90 (colored)

Sort include "opt_..."s

Revision 1.90 / (download) - annotate - [select for diffs], Fri Jul 3 17:22:14 2020 UTC (3 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.89: +7 -4 lines
Diff to previous 1.89 (colored)

KNF (sort includes)

Revision 1.78.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:28 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.78.2.1: +16 -21 lines
Diff to previous 1.78.2.1 (colored) to branchpoint 1.78 (colored) next main 1.79 (colored)

Merge changes from current as of 20200406

Revision 1.89 / (download) - annotate - [select for diffs], Fri Mar 20 19:48:03 2020 UTC (4 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Changes since 1.88: +2 -1 lines
Diff to previous 1.88 (colored)

Really use armv7 noncache memory attribute for early kernel mapping and
not SO

Revision 1.82.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.82.2.1: +9 -13 lines
Diff to previous 1.82.2.1 (colored) to branchpoint 1.82 (colored) next main 1.83 (colored)

Sync with head.

Revision 1.88 / (download) - annotate - [select for diffs], Tue Feb 18 10:33:38 2020 UTC (4 years, 2 months ago) by skrll
Branch: MAIN
CVS Tags: is-mlppp-base, is-mlppp, ad-namecache-base3
Changes since 1.87: +1 -5 lines
Diff to previous 1.87 (colored)

G/C

Revision 1.87 / (download) - annotate - [select for diffs], Sat Feb 15 08:16:11 2020 UTC (4 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.86: +4 -1 lines
Diff to previous 1.86 (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.86 / (download) - annotate - [select for diffs], Fri Feb 14 07:23:24 2020 UTC (4 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.85: +6 -6 lines
Diff to previous 1.85 (colored)

Sort define CI_*. NFCI.

Revision 1.85 / (download) - annotate - [select for diffs], Wed Jan 29 19:29:23 2020 UTC (4 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.84: +1 -3 lines
Diff to previous 1.84 (colored)

G/C some more

Revision 1.84 / (download) - annotate - [select for diffs], Wed Jan 29 19:21:51 2020 UTC (4 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.83: +1 -2 lines
Diff to previous 1.83 (colored)

G/C

Revision 1.82.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.82: +1 -2 lines
Diff to previous 1.82 (colored)

Sync with head.

Revision 1.83 / (download) - annotate - [select for diffs], Wed Jan 8 17:38:41 2020 UTC (4 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: ad-namecache-base2, ad-namecache-base1
Changes since 1.82: +1 -2 lines
Diff to previous 1.82 (colored)

Hopefully fix some problems seen with MP support on non-x86, in particular
where curcpu() is defined as curlwp->l_cpu:

- mi_switch(): undo the ~2007ish optimisation to unlock curlwp before
  calling cpu_switchto().  It's not safe to let other actors mess with the
  LWP (in particular l->l_cpu) while it's still context switching.  This
  removes l->l_ctxswtch.

- Move the LP_RUNNING flag into l->l_flag and rename to LW_RUNNING since
  it's now covered by the LWP's lock.

- Ditch lwp_exit_switchaway() and just call mi_switch() instead.  Everything
  is in cache anyway so it wasn't buying much by trying to avoid saving old
  state.  This means cpu_switchto() will never be called with prevlwp ==
  NULL.

- Remove some KERNEL_LOCK handling which hasn't been needed for years.

Revision 1.82 / (download) - annotate - [select for diffs], Sun Nov 24 11:23:16 2019 UTC (4 years, 4 months ago) by skrll
Branch: MAIN
CVS Tags: ad-namecache-base
Branch point for: ad-namecache
Changes since 1.81: +7 -7 lines
Diff to previous 1.81 (colored)

corect #include order

Revision 1.81 / (download) - annotate - [select for diffs], Sat Nov 23 19:40:34 2019 UTC (4 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.80: +1 -2 lines
Diff to previous 1.80 (colored)

cpu_need_resched():

- Remove all code that should be MI, leaving the bare minimum under arch/.
- Make the required actions very explicit.
- Pass in LWP pointer for convenience.
- When a trap is required on another CPU, have the IPI set it locally.
- Expunge cpu_did_resched().

Revision 1.78.2.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.78: +10 -8 lines
Diff to previous 1.78 (colored)

Sync with HEAD

Revision 1.77.2.2 / (download) - annotate - [select for diffs], Sat Oct 20 06:58:24 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.77.2.1: +10 -8 lines
Diff to previous 1.77.2.1 (colored) to branchpoint 1.77 (colored) next main 1.78 (colored)

Sync with head

Revision 1.80 / (download) - annotate - [select for diffs], Thu Oct 18 09:01:52 2018 UTC (5 years, 6 months ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, 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
Changes since 1.79: +9 -6 lines
Diff to previous 1.79 (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.79 / (download) - annotate - [select for diffs], Mon Oct 15 05:44:09 2018 UTC (5 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.78: +2 -3 lines
Diff to previous 1.78 (colored)

Group/sort struct arm_cache_info members

Revision 1.77.2.1 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:27 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.77: +3 -1 lines
Diff to previous 1.77 (colored)

Sync with HEAD

Revision 1.78 / (download) - annotate - [select for diffs], Wed Jun 27 11:12:14 2018 UTC (5 years, 9 months ago) by ryo
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728
Branch point for: phil-wifi
Changes since 1.77: +3 -1 lines
Diff to previous 1.77 (colored)

on evbarm/RPI,RPI2, VERBOSE_INIT_ARM had broken.

XPUTC() of evbarm/rpi/rpi*_start.S uses bcm283[567]_platform_early_putchar() and it requires stack.
fixed to allocate stack when starting from rpi*_start.S and a9_mpsubr.S if needed.

to work XPUTC(), need to define VERBOSE_INIT_ARM and EARLYCONS option.

Revision 1.77 / (download) - annotate - [select for diffs], Wed Jan 24 09:04:44 2018 UTC (6 years, 2 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-base, 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
Branch point for: pgoyette-compat
Changes since 1.76: +10 -10 lines
Diff to previous 1.76 (colored)

Remove port-acorn26

OK core@

Revision 1.54.2.5 / (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.54.2.4: +19 -10 lines
Diff to previous 1.54.2.4 (colored) next main 1.55 (colored)

update from HEAD

Revision 1.69.4.4 / (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.69.4.3: +9 -6 lines
Diff to previous 1.69.4.3 (colored) to branchpoint 1.69 (colored) next main 1.70 (colored)

Sync with HEAD

Revision 1.69.2.2 / (download) - annotate - [select for diffs], Sun Jul 23 06:14:04 2017 UTC (6 years, 8 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-2-RELEASE
Changes since 1.69.2.1: +4 -1 lines
Diff to previous 1.69.2.1 (colored) to branchpoint 1.69 (colored) next main 1.70 (colored)

Pull up following revision(s) (requested by skrll in ticket #1452):
	sys/arch/arm/arm32/genassym.cf: revision 1.75
	sys/arch/arm/arm/cpufunc_asm_arm11x6.S: revision 1.8
In idcache_wbinv_range if the range size is bigger than the dcache size
then call idcache_wbinv_all
Avoids a problem with large ranges as seen in
port-evbarm/52169: setting dtrace module to load cause Pi to hang on boot

Revision 1.74.10.1 / (download) - annotate - [select for diffs], Wed Jul 12 13:44:47 2017 UTC (6 years, 9 months ago) by martin
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.74: +4 -1 lines
Diff to previous 1.74 (colored) next main 1.75 (colored)

Pull up following revision(s) (requested by skrll in ticket #122):
	sys/arch/arm/arm32/genassym.cf: revision 1.75
	sys/arch/arm/arm/cpufunc_asm_arm11x6.S: revision 1.8
In idcache_wbinv_range if the range size is bigger than the dcache size
then call idcache_wbinv_all
Avoids a problem with large ranges as seen in
port-evbarm/52169: setting dtrace module to load cause Pi to hang on boot

Revision 1.76 / (download) - annotate - [select for diffs], Wed Jul 12 09:49:08 2017 UTC (6 years, 9 months ago) by skrll
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825
Changes since 1.75: +6 -6 lines
Diff to previous 1.75 (colored)

Alignment whitespace.  No functional change.

Revision 1.75 / (download) - annotate - [select for diffs], Wed Jul 12 07:22:31 2017 UTC (6 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.74: +4 -1 lines
Diff to previous 1.74 (colored)

In idcache_wbinv_range if the range size is bigger than the dcache size
then call idcache_wbinv_all

Avoids a problem with large ranges as seen in
port-evbarm/52169: setting dtrace module to load cause Pi to hang on boot

Revision 1.69.4.3 / (download) - annotate - [select for diffs], Tue Sep 22 12:05:37 2015 UTC (8 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.69.4.2: +4 -1 lines
Diff to previous 1.69.4.2 (colored) to branchpoint 1.69 (colored)

Sync with HEAD

Revision 1.74 / (download) - annotate - [select for diffs], Tue Jun 9 08:09:24 2015 UTC (8 years, 10 months ago) by skrll
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, netbsd-8-base, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Changes since 1.73: +2 -2 lines
Diff to previous 1.73 (colored)

Trailing whitespace.

Revision 1.73 / (download) - annotate - [select for diffs], Tue Jun 9 08:08:14 2015 UTC (8 years, 10 months ago) by skrll
Branch: MAIN
Changes since 1.72: +4 -1 lines
Diff to previous 1.72 (colored)

Use TTBR_[UM]PATTR in a9_mpsubr.S as well as cpufunc_asm_armv7

Prompted by matt@

Revision 1.69.4.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.69.4.1: +6 -6 lines
Diff to previous 1.69.4.1 (colored) to branchpoint 1.69 (colored)

Sync with HEAD

Revision 1.72 / (download) - annotate - [select for diffs], Wed Apr 15 15:44:19 2015 UTC (9 years ago) by matt
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606
Changes since 1.71: +5 -1 lines
Diff to previous 1.71 (colored)

define __HAVE_PREEMPTION

Revision 1.71 / (download) - annotate - [select for diffs], Tue Apr 7 20:38:20 2015 UTC (9 years ago) by matt
Branch: MAIN
Changes since 1.70: +1 -5 lines
Diff to previous 1.70 (colored)

__HAVE_UNNESTED_INTRS is never used.

Revision 1.69.4.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.69: +4 -1 lines
Diff to previous 1.69 (colored)

Sync with HEAD

Revision 1.69.2.1 / (download) - annotate - [select for diffs], Fri Mar 27 11:27:39 2015 UTC (9 years ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, 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.69: +4 -1 lines
Diff to previous 1.69 (colored)

Pull up following revision(s) (requested by skrll in ticket #646):
	sys/arch/arm/arm32/genassym.cf: revision 1.70
	sys/arch/arm/arm32/cpuswitch.S: revision 1.86-1.89

Only set vfp & tpid registers and do ras lookups if new
lwp is not LW_SYSTEM.

Revision 1.70 / (download) - annotate - [select for diffs], Mon Mar 23 17:28:14 2015 UTC (9 years ago) by matt
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406
Changes since 1.69: +4 -1 lines
Diff to previous 1.69 (colored)

Add L_FLAG/LW_SYSTEM

Revision 1.54.2.4 / (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.54.2.3: +32 -1 lines
Diff to previous 1.54.2.3 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.68.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:53:50 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.68: +5 -1 lines
Diff to previous 1.68 (colored) next main 1.69 (colored)

Rebase.

Revision 1.46.4.4 / (download) - annotate - [select for diffs], Thu May 22 11:39:31 2014 UTC (9 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.46.4.3: +42 -2 lines
Diff to previous 1.46.4.3 (colored) to branchpoint 1.46 (colored) next main 1.47 (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.62.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.62.2.1: +26 -1 lines
Diff to previous 1.62.2.1 (colored) next main 1.63 (colored)

sync with head

Revision 1.69 / (download) - annotate - [select for diffs], Thu Apr 10 02:48:40 2014 UTC (10 years ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, rmind-smpnet-nbase, rmind-smpnet-base, nick-nhusb-base, netbsd-7-base
Branch point for: nick-nhusb, netbsd-7
Changes since 1.68: +5 -1 lines
Diff to previous 1.68 (colored)

emit VERBOSE_INIT_ARM

Revision 1.68 / (download) - annotate - [select for diffs], Fri Mar 28 21:56:02 2014 UTC (10 years ago) by matt
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Changes since 1.67: +19 -1 lines
Diff to previous 1.67 (colored)

Add ARM_MMU_EXTENDED support.

Revision 1.67 / (download) - annotate - [select for diffs], Wed Feb 26 02:07:58 2014 UTC (10 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.66: +2 -1 lines
Diff to previous 1.66 (colored)

Move pmap_recent_user to ci->ci_pmap_lastuser and
pmap_previous_active_lwp to ci->ci_lastlwp.  Fix some comments.

Revision 1.41.12.1 / (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.41: +77 -19 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

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

Revision 1.66 / (download) - annotate - [select for diffs], Sat Nov 9 17:28:58 2013 UTC (10 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.65: +3 -1 lines
Diff to previous 1.65 (colored)

wrap opt_* includes with if defined(_KERNEL_OPT)

Revision 1.62.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.62: +8 -2 lines
Diff to previous 1.62 (colored)

sync with head

Revision 1.65 / (download) - annotate - [select for diffs], Sun Aug 18 07:55:28 2013 UTC (10 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.64: +2 -2 lines
Diff to previous 1.64 (colored)

include <arm/locore.h>

Revision 1.64 / (download) - annotate - [select for diffs], Sun Aug 18 04:52:19 2013 UTC (10 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.63: +6 -1 lines
Diff to previous 1.63 (colored)

Add more TF_* symbols

Revision 1.63 / (download) - annotate - [select for diffs], Tue Jul 2 05:52:14 2013 UTC (10 years, 9 months ago) by matt
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Changes since 1.62: +2 -1 lines
Diff to previous 1.62 (colored)

Add L2_S_SIZE

Revision 1.54.2.3 / (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.54.2.2: +10 -1 lines
Diff to previous 1.54.2.2 (colored)

resync from head

Revision 1.62 / (download) - annotate - [select for diffs], Mon Jun 17 04:41:12 2013 UTC (10 years, 10 months ago) by matt
Branch: MAIN
Branch point for: rmind-smpnet
Changes since 1.61: +2 -1 lines
Diff to previous 1.61 (colored)

Add L1_S_V6_S

Revision 1.61 / (download) - annotate - [select for diffs], Mon Apr 29 12:47:14 2013 UTC (10 years, 11 months ago) by kiyohara
Branch: MAIN
CVS Tags: khorben-n900
Changes since 1.60: +9 -1 lines
Diff to previous 1.60 (colored)

Add some defines for epoc32.

Revision 1.54.2.2 / (download) - annotate - [select for diffs], Mon Feb 25 00:28:24 2013 UTC (11 years, 1 month ago) by tls
Branch: tls-maxphys
Changes since 1.54.2.1: +12 -2 lines
Diff to previous 1.54.2.1 (colored)

resync with head

Revision 1.46.4.3 / (download) - annotate - [select for diffs], Wed Jan 23 00:05:40 2013 UTC (11 years, 2 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.46.4.2: +5 -1 lines
Diff to previous 1.46.4.2 (colored) to branchpoint 1.46 (colored)

sync with head

Revision 1.46.4.2 / (download) - annotate - [select for diffs], Wed Jan 16 05:32:43 2013 UTC (11 years, 3 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.46.4.1: +8 -2 lines
Diff to previous 1.46.4.1 (colored) to branchpoint 1.46 (colored)

sync with (a bit old) head

Revision 1.60 / (download) - annotate - [select for diffs], Mon Dec 17 17:10:48 2012 UTC (11 years, 4 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base8, agc-symver-base, agc-symver
Changes since 1.59: +5 -1 lines
Diff to previous 1.59 (colored)

Add CPU_VFP_ID and PCB_VFP_FPEXC

Revision 1.59 / (download) - annotate - [select for diffs], Mon Dec 10 06:50:28 2012 UTC (11 years, 4 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base7
Changes since 1.58: +5 -1 lines
Diff to previous 1.58 (colored)

add __HAVE_MM_MD_DIRECT_MAPPED_PHYS

Revision 1.58 / (download) - annotate - [select for diffs], Mon Dec 10 05:03:42 2012 UTC (11 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.57: +3 -1 lines
Diff to previous 1.57 (colored)

Add VFP_FPEXC_EN

Revision 1.57 / (download) - annotate - [select for diffs], Mon Dec 10 01:37:30 2012 UTC (11 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored)

Rename pcb_sp/PCB_SP to pcb_ksp/PCB_KSP so that ipsec.c will compile.

Revision 1.46.12.1 / (download) - annotate - [select for diffs], Wed Nov 28 22:40:19 2012 UTC (11 years, 4 months ago) by matt
Branch: matt-nb6-plus
Changes since 1.46: +23 -9 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

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

Revision 1.54.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.54: +5 -1 lines
Diff to previous 1.54 (colored)

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

Revision 1.46.4.1 / (download) - annotate - [select for diffs], Tue Oct 30 17:18:57 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.46: +23 -9 lines
Diff to previous 1.46 (colored)

sync with head

Revision 1.56 / (download) - annotate - [select for diffs], Sun Oct 21 15:46:00 2012 UTC (11 years, 6 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Changes since 1.55: +3 -1 lines
Diff to previous 1.55 (colored)

Change to use symbolic constants from assym.h and fix a typo in a comment.

Revision 1.55 / (download) - annotate - [select for diffs], Sun Oct 21 09:25:16 2012 UTC (11 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.54: +3 -1 lines
Diff to previous 1.54 (colored)

Implement a "fast" path for IRQ handling out of the idle loop.  Since we
are in SVC32 already we only need to save a few registers.  Processing is
also simplified since we know we can't return to user-mode.

Revision 1.54 / (download) - annotate - [select for diffs], Fri Sep 7 11:48:59 2012 UTC (11 years, 7 months ago) by matt
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.53: +4 -1 lines
Diff to previous 1.53 (colored)

Switch cortex_a9 back to need_ptesync = 1
Add code to disable the L2 cache on cortex-a9 (for now).
Add evcnt for all the fault types.
Move cache info in a structure and have one for the pcache and one for scache.
Probe L1/L2 caches properly for ARMv7

Revision 1.53 / (download) - annotate - [select for diffs], Sat Sep 1 14:46:25 2012 UTC (11 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.52: +2 -1 lines
Diff to previous 1.52 (colored)

Add __BITS to asm.h  (remove from imxuartreg.h)
Add L1_S_AP_KR to genassym.h
Use L1_S_AP_* in omap_start.S and don't include pmap.h

Revision 1.52 / (download) - annotate - [select for diffs], Fri Aug 31 23:59:51 2012 UTC (11 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.51: +5 -1 lines
Diff to previous 1.51 (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

Revision 1.51 / (download) - annotate - [select for diffs], Wed Aug 29 23:10:31 2012 UTC (11 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.50: +4 -1 lines
Diff to previous 1.50 (colored)

Don't use locations in .data to store exception temporaries, use decidicated
space in cpu_info instead.  This also moves undefined_handler_address into
cpu_info as well.
Use the new armreg* inlines for getting TPIDRPRW register.
Add MULTIPROCESSOR version of CPU_INFO_FOREACH

Revision 1.50 / (download) - annotate - [select for diffs], Wed Aug 29 07:09:12 2012 UTC (11 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)

Use ARMV6+ cpsi{d,f} instructions whenever possible.  Use r7 to hold previous
mode and avoid recomputing it.  Add support for obtaining kernel_lock on
exception entry and exit.

Revision 1.49 / (download) - annotate - [select for diffs], Thu Aug 16 17:35:01 2012 UTC (11 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.48: +6 -4 lines
Diff to previous 1.48 (colored)

small rototill.
pcb_flags is dead.  PCB_NOALIGNFLT is now in stored l_md.md_flags as
MDLWP_NOALIGNFLT.  This avoids a few loads of the PCB in exception handling.
pcb_tf has been moved to l_md.md_tf.  Again this avoids a lot of pcb
references just to access or set this.  It also means that pcb doesn't
need to accessed by MI code.
Move pcb_onfault to after the pcb union.
Add pcb_sp macro to make code prettier.
Add lwp_settrapframe(l, tf) to set the l_md.md_tf field.
Use lwp_trapframe to access it (was process_frame but that name was changed
in a previous commit).
Kill off curpcb in acorn26.
Kill the checks for curlwp being NULL.
Move TRAP_USERMODE from arm32/fault.c to frame.h and a __PROG26 version.
Replace tests for usermode with that macro.

Revision 1.48 / (download) - annotate - [select for diffs], Tue Aug 14 20:42:33 2012 UTC (11 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.47: +1 -2 lines
Diff to previous 1.47 (colored)

Kill curpcb/ci_curpcb.  Use device_t in cpu_info.
Add ci_softc (where ci_curpcb was so cpu_info doesn't change).

Revision 1.47 / (download) - annotate - [select for diffs], Thu Aug 2 15:56:06 2012 UTC (11 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.46: +1 -3 lines
Diff to previous 1.46 (colored)

Remove irqframe and replace with identical trapframe.

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:05:01 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.44: +20 -2 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

Sync with HEAD.

Revision 1.42.4.2 / (download) - annotate - [select for diffs], Thu Apr 21 01:40:51 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.42.4.1: +1 -1 lines
Diff to previous 1.42.4.1 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored)

sync with head

Revision 1.46 / (download) - annotate - [select for diffs], Thu Apr 7 10:03:47 2011 UTC (13 years ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, 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, jym-xensuspend-nbase, jym-xensuspend-base, 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
Branch point for: yamt-pagecache, matt-nb6-plus
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

Fetch user read-only thread and process id from l->l_private, not the pcb.
(need to g/c the pcb field formerly used for this).

Revision 1.42.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:49:30 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.42: +24 -6 lines
Diff to previous 1.42 (colored)

sync with head

Revision 1.44.4.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:19:12 2011 UTC (13 years, 2 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.44: +19 -1 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

Sync with HEAD

Revision 1.45 / (download) - annotate - [select for diffs], Mon Jan 31 06:26:54 2011 UTC (13 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: uebayasi-xip-base7, bouyer-quota2-nbase, bouyer-quota2-base
Changes since 1.44: +19 -1 lines
Diff to previous 1.44 (colored)

Define the L1* pte values.  Now pmap.h and pte.h no longer needed in .S files.

Revision 1.44 / (download) - annotate - [select for diffs], Fri Jan 14 02:06:23 2011 UTC (13 years, 3 months ago) by rmind
Branch: MAIN
CVS Tags: jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored)

Retire struct user, remove sys/user.h inclusions.  Note sys/user.h header
as obsolete.  Remove USER_TO_UAREA/UAREA_TO_USER macros.

Various #include fixes and review by matt@.

Revision 1.43 / (download) - annotate - [select for diffs], Mon Dec 20 00:25:27 2010 UTC (13 years, 4 months ago) by matt
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231
Changes since 1.42: +5 -5 lines
Diff to previous 1.42 (colored)

Move counting of faults, traps, intrs, soft[intr]s, syscalls, and nswtch
from uvmexp to per-cpu cpu_data and move them to 64bits.  Remove unneeded
includes of <uvm/uvm_extern.h> and/or <uvm/uvm.h>.

Revision 1.38.10.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:04 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.38.10.2: +2 -3 lines
Diff to previous 1.38.10.2 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

sync with head

Revision 1.42 / (download) - annotate - [select for diffs], Thu Dec 10 05:10:01 2009 UTC (14 years, 4 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, matt-premerge-20091211
Branch point for: rmind-uvmplock
Changes since 1.41: +2 -3 lines
Diff to previous 1.41 (colored)

Rename L_ADDR to L_PCB and amend some comments accordingly.

Revision 1.38.10.2 / (download) - annotate - [select for diffs], Mon May 4 08:10:38 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.38.10.1: +9 -6 lines
Diff to previous 1.38.10.1 (colored) to branchpoint 1.38 (colored)

sync with head.

Revision 1.39.6.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:15:41 2008 UTC (15 years, 6 months ago) by haad
Branch: haad-dm
Changes since 1.39: +9 -6 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

Sync with HEAD.

Revision 1.39.2.2 / (download) - annotate - [select for diffs], Fri Oct 10 22:29:03 2008 UTC (15 years, 6 months ago) by skrll
Branch: wrstuden-revivesa
Changes since 1.39.2.1: +2 -6 lines
Diff to previous 1.39.2.1 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored)

Sync with HEAD.

Revision 1.38.6.2 / (download) - annotate - [select for diffs], Sun Sep 28 10:39:47 2008 UTC (15 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.38.6.1: +8 -5 lines
Diff to previous 1.38.6.1 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

Sync with HEAD.

Revision 1.41 / (download) - annotate - [select for diffs], Sat Sep 20 18:29:05 2008 UTC (15 years, 7 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, wrstuden-revivesa-base-4, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jymxensuspend-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: matt-nb5-mips64
Changes since 1.40: +2 -6 lines
Diff to previous 1.40 (colored)

Remove advertising clause for UCB in various genassym.cf files,
which were derived from genassym.c in 4.4BSD-Lite2 (or 386BSD).
Closes PR misc/39573.  Approved by martin@.

Revision 1.39.2.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:33:18 2008 UTC (15 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.39: +8 -1 lines
Diff to previous 1.39 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Aug 7 03:58:15 2008 UTC (15 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2
Changes since 1.39: +8 -1 lines
Diff to previous 1.39 (colored)

Do fast softint processing in DO_AST_AND_RESTORE_ALIGNMENT_FAULTS.
Redo the softint mask so ci_softints >> ci_cpl != 0 becomes an easy
test for work to be done.

Revision 1.38.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:21:53 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.38: +11 -4 lines
Diff to previous 1.38 (colored)

Sync with HEAD.

Revision 1.38.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:31:34 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.38: +11 -4 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

sync with head.

Revision 1.38.10.1 / (download) - annotate - [select for diffs], Fri May 16 02:21:56 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.38: +11 -4 lines
Diff to previous 1.38 (colored)

sync with head.

Revision 1.39 / (download) - annotate - [select for diffs], Sun Apr 27 18:58:44 2008 UTC (15 years, 11 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, haad-dm
Changes since 1.38: +11 -4 lines
Diff to previous 1.38 (colored)

Merge kernel changes in matt-armv6 to HEAD.

Revision 1.33.12.5 / (download) - annotate - [select for diffs], Sun Mar 23 02:03:54 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.33.12.4: +1 -2 lines
Diff to previous 1.33.12.4 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

sync with HEAD

Revision 1.33.6.2 / (download) - annotate - [select for diffs], Thu Feb 28 21:47:41 2008 UTC (16 years, 1 month ago) by rjs
Branch: hpcarm-cleanup
Changes since 1.33.6.1: +6 -2 lines
Diff to previous 1.33.6.1 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

Sync with HEAD.

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:04:22 2008 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.35: +6 -2 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

Sync with HEAD.

Revision 1.33.12.4 / (download) - annotate - [select for diffs], Mon Jan 28 18:17:27 2008 UTC (16 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.33.12.3: +3 -1 lines
Diff to previous 1.33.12.3 (colored) to branchpoint 1.33 (colored)

Add assym symbols needed for fast softint switching

Revision 1.27.16.5 / (download) - annotate - [select for diffs], Mon Jan 21 09:35:36 2008 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.27.16.4: +6 -2 lines
Diff to previous 1.27.16.4 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

sync with head

Revision 1.35.8.2 / (download) - annotate - [select for diffs], Sun Jan 20 17:51:02 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.35.8.1: +0 -1 lines
Diff to previous 1.35.8.1 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)

Sync with HEAD

Revision 1.33.10.2 / (download) - annotate - [select for diffs], Sun Jan 20 16:03:56 2008 UTC (16 years, 3 months ago) by chris
Branch: chris-arm-intr-rework
Changes since 1.33.10.1: +6 -2 lines
Diff to previous 1.33.10.1 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

Sync to HEAD.

Revision 1.38 / (download) - annotate - [select for diffs], Sat Jan 19 15:04:10 2008 UTC (16 years, 3 months ago) by chris
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, chris-arm-intr-rework-base7, chris-arm-intr-rework-base6, chris-arm-intr-rework-base5, chris-arm-intr-rework-base4, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.37: +1 -2 lines
Diff to previous 1.37 (colored)

With the removal of IPKDB on arm, the undefined stack is only used to
bounce into SVC32 mode, there is no per-process data stored on it.

We can therefore use the undefined stack setup by the platform machdep.c
as a system wide undefined stack.

This removes the need for a per-process undefined stack, and the processor
mode switching overhead it causes in cpu_switchto.

The space freed in the USPACE is used to increase the per process kernel
stack size.

Revision 1.33.12.3 / (download) - annotate - [select for diffs], Wed Jan 9 01:45:11 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.33.12.2: +5 -1 lines
Diff to previous 1.33.12.2 (colored) to branchpoint 1.33 (colored)

sync with HEAD

Revision 1.35.8.1 / (download) - annotate - [select for diffs], Tue Jan 8 22:09:25 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.35: +6 -1 lines
Diff to previous 1.35 (colored)

Sync with HEAD

Revision 1.37 / (download) - annotate - [select for diffs], Tue Jan 8 02:07:50 2008 UTC (16 years, 3 months ago) by matt
Branch: MAIN
CVS Tags: matt-armv6-base
Changes since 1.36: +5 -1 lines
Diff to previous 1.36 (colored)

As of this commit, all arm32 kernel now build.

Revision 1.36 / (download) - annotate - [select for diffs], Sun Jan 6 01:19:42 2008 UTC (16 years, 3 months ago) by matt
Branch: MAIN
Changes since 1.35: +2 -1 lines
Diff to previous 1.35 (colored)

Make sure interrupt handler is updating curcpu()->ci_depth

Revision 1.33.10.1 / (download) - annotate - [select for diffs], Tue Jan 1 15:39:16 2008 UTC (16 years, 3 months ago) by chris
Branch: chris-arm-intr-rework
Changes since 1.33: +1 -15 lines
Diff to previous 1.33 (colored)

Sync with HEAD.

Revision 1.33.12.2 / (download) - annotate - [select for diffs], Tue Nov 6 23:14:59 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.33.12.1: +1 -15 lines
Diff to previous 1.33.12.1 (colored) to branchpoint 1.33 (colored)

sync with HEAD

Revision 1.33.6.1 / (download) - annotate - [select for diffs], Thu Nov 1 16:06:46 2007 UTC (16 years, 5 months ago) by rjs
Branch: hpcarm-cleanup
Changes since 1.33: +1 -15 lines
Diff to previous 1.33 (colored)

Sync with HEAD.

Revision 1.27.16.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:25:21 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.27.16.3: +1 -15 lines
Diff to previous 1.27.16.3 (colored) to branchpoint 1.27 (colored)

sync with head.

Revision 1.35 / (download) - annotate - [select for diffs], Wed Oct 17 19:53:31 2007 UTC (16 years, 6 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, jmcneill-base, cube-autoconf-base, cube-autoconf, chris-arm-intr-rework-base3, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs, bouyer-xeni386
Changes since 1.34: +1 -1 lines
Diff to previous 1.34 (colored)

Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

Revision 1.32.2.2 / (download) - annotate - [select for diffs], Tue Oct 9 13:37:29 2007 UTC (16 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.32.2.1: +1 -15 lines
Diff to previous 1.32.2.1 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

Sync with head.

Revision 1.32.10.2 / (download) - annotate - [select for diffs], Wed Oct 3 19:22:37 2007 UTC (16 years, 6 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.32.10.1: +1 -15 lines
Diff to previous 1.32.10.1 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

Sync with HEAD

Revision 1.33.8.1 / (download) - annotate - [select for diffs], Tue Oct 2 18:26:52 2007 UTC (16 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.33: +1 -15 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Sync with HEAD.

Revision 1.34 / (download) - annotate - [select for diffs], Sat Sep 15 09:25:21 2007 UTC (16 years, 7 months ago) by scw
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, bouyer-xenamd64
Changes since 1.33: +1 -15 lines
Diff to previous 1.33 (colored)

ARM cpu_switchto() has been partially broken since yamt-idlelwp was merged
as its cache/tlb management smarts relied too heavily on pre-merge context-
switch behaviour. See PR kern/36548 for one manifestation of the breakage.

To address this:
 - Ditch the shadow pmap variables in the PCB (pagedir, l1vec, dacr, cstate)
   as it was too easy for them to get out of sync with the pmap.
 - Re-write (and fix) the convoluted cpuswitch.S cache/tlb ASM code in C.
   It's only slightly less efficient, but is much more readable/maintainable.
 - Document cpufuncs.cf_context_switch() as being C-callable.
 - pmap_activate() becomes a no-op if the lwp's vmspace is already active.
   (Good performance win, since pmap_activate() is now invoked on every
   context-switch, even though ARM's cpu_switchto() already does all the
   grunt work)

XXX: Some CPU-specific armXX_context_switch() implementations (arm67,
arm7tdmi, arm8) always flush the I+D caches. This should not be necessary.
Someone with access to hardware (acorn32?) needs to deal with this.

Revision 1.27.16.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:23:15 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.27.16.2: +3 -6 lines
Diff to previous 1.27.16.2 (colored) to branchpoint 1.27 (colored)

sync with head.

Revision 1.33.12.1 / (download) - annotate - [select for diffs], Wed Aug 29 04:16:04 2007 UTC (16 years, 7 months ago) by matt
Branch: matt-armv6
Changes since 1.33: +9 -3 lines
Diff to previous 1.33 (colored)

Update to new world order.

Revision 1.32.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 19:58:06 2007 UTC (16 years, 9 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.32: +1 -6 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Sync with head.

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Sun May 27 12:27:07 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.32: +1 -6 lines
Diff to previous 1.32 (colored)

Sync with head.

Revision 1.32.10.1 / (download) - annotate - [select for diffs], Tue May 22 17:26:39 2007 UTC (16 years, 11 months ago) by matt
Branch: ppcoea-renovation
Changes since 1.32: +1 -6 lines
Diff to previous 1.32 (colored)

Update to HEAD.

Revision 1.33 / (download) - annotate - [select for diffs], Thu May 17 14:51:16 2007 UTC (16 years, 11 months ago) by yamt
Branch: MAIN
CVS Tags: nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, chris-arm-intr-rework-base2, chris-arm-intr-rework-base
Branch point for: matt-armv6, jmcneill-pm, hpcarm-cleanup, chris-arm-intr-rework
Changes since 1.32: +1 -6 lines
Diff to previous 1.32 (colored)

merge yamt-idlelwp branch.  asked by core@.  some ports still needs work.

from doc/BRANCHES:

	idle lwp, and some changes depending on it.

	1. separate context switching and thread scheduling.
	   (cf. gmcgarry_ctxsw)
	2. implement idle lwp.
	3. clean up related MD/MI interfaces.
	4. make scheduler(s) modular.

Revision 1.29.4.4 / (download) - annotate - [select for diffs], Fri Apr 27 07:23:13 2007 UTC (16 years, 11 months ago) by skrll
Branch: yamt-idlelwp
Changes since 1.29.4.3: +1 -4 lines
Diff to previous 1.29.4.3 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

Remove process/LWP status constants.

Revision 1.29.4.3 / (download) - annotate - [select for diffs], Thu Mar 29 10:52:27 2007 UTC (17 years ago) by skrll
Branch: yamt-idlelwp
Changes since 1.29.4.2: +1 -3 lines
Diff to previous 1.29.4.2 (colored) to branchpoint 1.29 (colored)

Adapt arm32. Thanks to scw for helping out.

Tested on my cats (SA1)

XXX hydra should die. i've made some changes, but no guarantees.

Revision 1.29.4.2 / (download) - annotate - [select for diffs], Mon Mar 12 05:47:02 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.29.4.1: +3 -1 lines
Diff to previous 1.29.4.1 (colored) to branchpoint 1.29 (colored)

Sync with HEAD.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Mar 9 19:21:57 2007 UTC (17 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, ppcoea-renovation, mjf-ufs-trans
Changes since 1.31: +3 -1 lines
Diff to previous 1.31 (colored)

Rewrite the ARM mutex implementation to be of the simple-mutex variety.
Because pre-v6 ARM lacks support for an atomic compare-and-swap, we
implement _lock_cas() as a restartable atomic squence that is checked
in the IRQ handler right before AST processing.  (This is safe because,
for all practical purposes, there are no SMP pre-v6 ARM systems.)

This can serve as a model for other non-MP platforms that lack the
necessary atomic operations for mutexes (SuperH, for example).

Upshots of this change:
- kmutex_t is now down to 8 bytes on ARM; about as good as we can get.
- ARM2 systems don't have to trap and emulate SWP or SWPB for mutexes.

The acorn26 port is not updated by this commit to do the LOCK_CAS_CHECK.
That is left as an exercise for the port maintainer.

Reviewed and tested by Matt Thomas.

Revision 1.29.2.2 / (download) - annotate - [select for diffs], Sun Mar 4 12:15:39 2007 UTC (17 years, 1 month ago) by bouyer
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.29.2.1: +0 -1 lines
Diff to previous 1.29.2.1 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

Pull up following revision(s) (requested by matt in ticket #470):
	sys/arch/evbarm/iq80310/iq80310_timer.c: revision 1.20
	sys/arch/evbarm/ifpga/pl030_rtc.c: revision 1.8
	sys/arch/evbarm/include/types.h: revision 1.7
	sys/arch/arm/arm32/genassym.cf: revision 1.30
	sys/arch/arm/arm32/cpuswitch.S: revision 1.46
Get DOMAIN_CLIENT directly from arm/arm32/pte.h instead of from genassym
to avoid redefinition when both assymh and pte.h are included (as in
INTEGRATOR's intmmu.S, which uses more macros from pte.h).
Convert evbarm to __HAVE_GENERIC_TODR.

Revision 1.29.4.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:49:31 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.27.16.2 / (download) - annotate - [select for diffs], Mon Feb 26 09:05:55 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.27.16.1: +2 -2 lines
Diff to previous 1.27.16.1 (colored) to branchpoint 1.27 (colored)

sync with head.

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Sat Feb 24 19:04:08 2007 UTC (17 years, 1 month ago) by snj
Branch: netbsd-4
Changes since 1.29: +2 -1 lines
Diff to previous 1.29 (colored)

Pull up following revision(s) (requested by matt in ticket #457):
	sys/arch/arm/arm32/genassym.cf: revision 1.31
Add KERNEL_BASE

Revision 1.31 / (download) - annotate - [select for diffs], Tue Feb 20 00:05:14 2007 UTC (17 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Changes since 1.30: +2 -1 lines
Diff to previous 1.30 (colored)

Add KERNEL_BASE

Revision 1.30 / (download) - annotate - [select for diffs], Mon Feb 19 01:59:23 2007 UTC (17 years, 2 months ago) by briggs
Branch: MAIN
Changes since 1.29: +1 -2 lines
Diff to previous 1.29 (colored)

Get DOMAIN_CLIENT directly from arm/arm32/pte.h instead of from genassym
to avoid redefinition when both assymh and pte.h are included (as in
INTEGRATOR's intmmu.S, which uses more macros from pte.h).

Revision 1.27.16.1 / (download) - annotate - [select for diffs], Sat Dec 30 20:45:32 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

sync with head.

Revision 1.28.20.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:29:06 2006 UTC (17 years, 5 months ago) by ad
Branch: newlock2
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Sync with head.

Revision 1.28.22.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:04:34 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

sync with head

Revision 1.29 / (download) - annotate - [select for diffs], Wed Sep 27 21:42:05 2006 UTC (17 years, 6 months ago) by manu
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-base
Branch point for: yamt-idlelwp, netbsd-4
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

- Document COMPAT_15 as doing nothing
- Add COMPAT_15 to all the kernel that had COMPAT_14, for the sake of coherency
- Remove the only occurences of #ifdef COMPAT_15 in the tree: for the ARM
ports, COMPAT_15 was always used in conjunction with EXEC_AOUT. Only EXEC_AOUT
matters here.

This address kern/18407

Revision 1.28 / (download) - annotate - [select for diffs], Sun Dec 11 12:16:41 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.27: +1 -1 lines
Diff to previous 1.27 (colored)

merge ktrace-lwp.

Revision 1.24.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:13:10 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.24.2.2: +1 -1 lines
Diff to previous 1.24.2.2 (colored) next main 1.25 (colored)

Fix the sync with head I botched.

Revision 1.24.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:32:17 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.24.2.1: +0 -0 lines
Diff to previous 1.24.2.1 (colored)

Sync with HEAD.

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:32:29 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.24: +22 -2 lines
Diff to previous 1.24 (colored)

Sync with HEAD

Revision 1.27 / (download) - annotate - [select for diffs], Tue Nov 4 10:33:16 2003 UTC (20 years, 5 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, thorpej-vnode-attr-base, thorpej-vnode-attr, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, ktrace-lwp-base, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-lazymbuf
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

Remove p_nras from struct proc - use LIST_EMPTY(&p->p_raslist) instead.
Remove p_raslock and rename p_lwplock p_lock (one lock is enough).
Simplify window test when adding a ras and correct test on VM_MAXUSER_ADDRESS.
Avoid unpredictable branch in i386 locore.S
(pad fields left in struct proc to avoid kernel bump)

Revision 1.26 / (download) - annotate - [select for diffs], Sat Oct 25 19:44:42 2003 UTC (20 years, 5 months ago) by scw
Branch: MAIN
Changes since 1.25: +8 -1 lines
Diff to previous 1.25 (colored)

Enable alignment faults on arm32 for both kernel and userland.

If COMPAT_15 and EXEC_AOUT are defined, support per-process
alignment checking where AFLTs are always enabled when running
kernel code and userland ELF binaries, and dynamically disabled/
enabled when switching to/from a.out binaries. This is necessary
in order to execute older a.out binaries, where gcc made
deliberate use of misaligned loads under certain circumstances.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Sep 11 18:54:33 2003 UTC (20 years, 7 months ago) by scw
Branch: MAIN
Changes since 1.24: +14 -1 lines
Diff to previous 1.24 (colored)

Hand-optimised in_cksum/in4_cksum for ARM and XSCALE.
Contributed by Wasabi Systems, with input from Chris Gilbert,
Richard Earnshaw and David Laight.

Revision 1.24 / (download) - annotate - [select for diffs], Thu May 22 19:18:31 2003 UTC (20 years, 11 months ago) by thorpej
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.23: +1 -11 lines
Diff to previous 1.23 (colored)

Remove old pmap support.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Apr 22 00:24:49 2003 UTC (21 years ago) by thorpej
Branch: MAIN
Changes since 1.22: +5 -1 lines
Diff to previous 1.22 (colored)

Some ARM32_PMAP_NEW-related cleanup:
* Define a new "MMU type", ARM_MMU_SA1.  While the SA-1's MMU is basically
  compatible with the generic, the SA-1 cache does not have a write-through
  mode, and it is useful to know have an indication of this.
* Add a new PMAP_NEEDS_PTE_SYNC indicator, and try to evaluate it at
  compile time.  We evaluate it like so:
  - If SA-1-style MMU is the only type configured -> 1
  - If SA-1-style MMU is not configured -> 0
  - Otherwise, defer to a run-time variable.
  If PMAP_NEEDS_PTE_SYNC might evaluate to true (SA-1 only or run-time
  check), then we also define PMAP_INCLUDE_PTE_SYNC so that e.g. assembly
  code can include the necessary run-time support.  PMAP_INCLUDE_PTE_SYNC
  largely replaces the ARM32_PMAP_NEEDS_PTE_SYNC manual setting Steve
  included with the original new pmap.
* In the new pmap, make pmap_pte_init_generic() check to see if the CPU
  has a write-back cache.  If so, init the PT cache mode to C=1,B=0 to get
  write-through mode.  Otherwise, init the PT cache mode to C=1,B=1.
* Add a new pmap_pte_init_arm8().  Old pmap, same as generic.  New pmap,
  sets page table cacheability to 0 (ARM8 has a write-back cache, but
  flushing it is quite expensive).
* In the new pmap, make pmap_pte_init_arm9() reset the PT cache mode to
  C=1,B=0, since the write-back check in generic gets it wrong for ARM9,
  since we use write-through mode all the time on ARM9 right now.  (What
  this really tells me is that the test for write-through cache is less
  than perfect, but we can fix that later.)
* Add a new pmap_pte_init_sa1().  Old pmap, same as generic.  New pmap,
  does generic initialization, then resets page table cache mode to
  C=1,B=1, since C=1,B=0 does not produce write-through on the SA-1.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Apr 18 11:08:25 2003 UTC (21 years ago) by scw
Branch: MAIN
Changes since 1.21: +28 -1 lines
Diff to previous 1.21 (colored)

Add the generic arm32 bits of the new pmap, contributed by Wasabi Systems.

Some features of the new pmap are:

 - It allows L1 descriptor tables to be shared efficiently between
   multiple processes. A typical "maxusers 32" kernel, where NPROC is set
   to 532, requires 35 L1s. A "maxusers 2" kernel runs quite happily
   with just 4 L1s. This completely solves the problem of running out
   of contiguous physical memory for allocating new L1s at runtime on a
   busy system.

 - Much improved cache/TLB management "smarts". This change ripples
   out to encompass the low-level context switch code, which is also
   much smarter about when to flush the cache/TLB, and when not to.

 - Faster allocation of L2 page tables and associated metadata thanks,
   in part, to the pool_cache enhancements recently contributed to
   NetBSD by Wasabi Systems.

 - Faster VM space teardown due to accurate referenced tracking of L2
   page tables.

 - Better/faster cache-alias tracking.

The new pmap is enabled by adding options ARM32_PMAP_NEW to the kernel
config file, and making the necessary changes to the port-specific
initarm() function. Several ports have already been converted and will
be committed shortly.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Apr 8 22:57:53 2003 UTC (21 years ago) by thorpej
Branch: MAIN
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (colored)

Use PAGE_SIZE rather than NBPG.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Jan 17 22:28:49 2003 UTC (21 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.19: +13 -17 lines
Diff to previous 1.19 (colored)

Merge the nathanw_sa branch.

Revision 1.19.2.3 / (download) - annotate - [select for diffs], Thu Oct 24 21:22:05 2002 UTC (21 years, 6 months ago) by bjh21
Branch: bjh21-hydra
Changes since 1.19.2.2: +2 -1 lines
Diff to previous 1.19.2.2 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

Add CI_IDLEPCB for cpu_switch().

Revision 1.19.2.2 / (download) - annotate - [select for diffs], Sat Oct 19 11:59:36 2002 UTC (21 years, 6 months ago) by bjh21
Branch: bjh21-hydra
Changes since 1.19.2.1: +128 -0 lines
Diff to previous 1.19.2.1 (colored) to branchpoint 1.19 (colored)

Re-do the following revisions, this time on a branch where they won't
interfere with the nathanw_sa merge:

syssrc/sys/arch/arm/arm32/cpuswitch.S			1.26
syssrc/sys/arch/arm/arm32/genassym.cf			1.18
syssrc/sys/arch/arm/arm32/vm_machdep.c			1.21
syssrc/sys/arch/arm/include/pcb.h			1.5

Original commit message:

In cpu_switch(), stack more registers at the start of the function,
and hence save fewer into the PCB.  This should give me enough free
registers in cpu_switch to tidy things up and support MULTIPROCESSOR
properly.  While we're here, make the stacked registers into an
APCS stack frame, so that DDB backtraces through cpu_switch() will
work.

This also affects cpu_fork(), which has to fabricate a switchframe and
PCB for the new process.

Revision 1.19.2.1, Sat Oct 19 00:10:53 2002 UTC (21 years, 6 months ago) by bjh21
Branch: bjh21-hydra
Changes since 1.19: +0 -131 lines
FILE REMOVED

file genassym.cf was added on branch bjh21-hydra on 2002-10-19 11:59:36 +0000

Revision 1.19 / (download) - annotate - [select for diffs], Sat Oct 19 00:10:53 2002 UTC (21 years, 6 months ago) by bjh21
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base, bjh21-hydra-base
Branch point for: bjh21-hydra
Changes since 1.18: +3 -0 lines
Diff to previous 1.18 (colored)

Undo recent cpu_switch register usage changes in order to decrease nathanw_sa
merge pain.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Oct 18 21:32:58 2002 UTC (21 years, 6 months ago) by bjh21
Branch: MAIN
Changes since 1.17: +1 -4 lines
Diff to previous 1.17 (colored)

In cpu_switch(), stack more registers at the start of the function,
and hence save fewer into the PCB.  This should give me enough free
registers in cpu_switch to tidy things up and support MULTIPROCESSOR
properly.  While we're here, make the stacked registers into an
APCS stack frame, so that DDB backtraces through cpu_switch() will
work.

This also affects cpu_fork(), which has to fabricate a switchframe and
PCB for the new process.

Revision 1.5.4.11 / (download) - annotate - [select for diffs], Fri Oct 18 02:35:21 2002 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.5.4.10: +8 -1 lines
Diff to previous 1.5.4.10 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

Catch up to -current.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Oct 12 12:20:10 2002 UTC (21 years, 6 months ago) by bjh21
Branch: MAIN
Changes since 1.16: +2 -1 lines
Diff to previous 1.16 (colored)

Move curpcb into struct cpu_info in MULTIPROCESSOR kernels.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Oct 5 13:47:00 2002 UTC (21 years, 6 months ago) by bjh21
Branch: MAIN
Changes since 1.15: +7 -1 lines
Diff to previous 1.15 (colored)

Minimal changes to allow a kernel with "options MULTIPROCESSOR" to compile
and boot multi-user on a single-processor machine.  Many of these changes
are wildly inappropriate for actual multi-processor operation, and correcting
this will be my next task.

Revision 1.5.4.10 / (download) - annotate - [select for diffs], Tue Sep 17 23:12:30 2002 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.5.4.9: +2 -1 lines
Diff to previous 1.5.4.9 (colored) to branchpoint 1.5 (colored)

This need L_PROC now, for the RAS code.

Revision 1.5.4.9 / (download) - annotate - [select for diffs], Tue Sep 17 21:13:20 2002 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.5.4.8: +3 -1 lines
Diff to previous 1.5.4.8 (colored) to branchpoint 1.5 (colored)

Catch up to -current.

Revision 1.1.2.8 / (download) - annotate - [select for diffs], Fri Sep 6 08:32:25 2002 UTC (21 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.1.2.7: +3 -4 lines
Diff to previous 1.1.2.7 (colored) next main 1.2 (colored)

sync kqueue branch with HEAD

Revision 1.13.2.2 / (download) - annotate - [select for diffs], Sat Aug 31 16:38:04 2002 UTC (21 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.13.2.1: +3 -1 lines
Diff to previous 1.13.2.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

catch up with -current.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Aug 31 03:07:32 2002 UTC (21 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-base, gehenna-devsw-base
Changes since 1.14: +3 -1 lines
Diff to previous 1.14 (colored)

Add machine-dependent bits of RAS for arm32.

Revision 1.5.4.8 / (download) - annotate - [select for diffs], Thu Aug 1 02:41:13 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.5.4.7: +1 -4 lines
Diff to previous 1.5.4.7 (colored) to branchpoint 1.5 (colored)

Catch up to -current.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Tue Jul 16 00:55:26 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.13: +1 -4 lines
Diff to previous 1.13 (colored)

catch up with -current.

Revision 1.5.4.7 / (download) - annotate - [select for diffs], Fri Jul 5 02:36:35 2002 UTC (21 years, 9 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.5.4.6: +1 -3 lines
Diff to previous 1.5.4.6 (colored) to branchpoint 1.5 (colored)

When delivering an upcall, arrange to have the kernel return to
the upcall directly, and use the upcall trampoline only to exit
if the upcall returns.

Revision 1.1.2.7 / (download) - annotate - [select for diffs], Sun Jun 23 17:34:45 2002 UTC (21 years, 10 months ago) by jdolecek
Branch: kqueue
Changes since 1.1.2.6: +2 -3 lines
Diff to previous 1.1.2.6 (colored)

catch up with -current on kqueue branch

Revision 1.14 / (download) - annotate - [select for diffs], Sun Jun 23 00:16:59 2002 UTC (21 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.13: +1 -4 lines
Diff to previous 1.13 (colored)

Garbage-collect sigframe references.

Revision 1.5.4.6 / (download) - annotate - [select for diffs], Wed Apr 17 00:02:26 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.5.4.5: +1 -2 lines
Diff to previous 1.5.4.5 (colored) to branchpoint 1.5 (colored)

Catch up to -current.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Apr 5 16:58:04 2002 UTC (22 years ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Branch point for: gehenna-devsw
Changes since 1.12: +1 -2 lines
Diff to previous 1.12 (colored)

* Rewrite the 32-bit ARM pte.h based on the ARM architecture manual.
  Significant cleanup, here, including better PTE bit names.
* Add XScale PTE extensions (ECC enable, write-allocate cache mode).
* Mechanical changes everywhere else to update for new pte.h.  While
  doing this, two bugs (as a result of typos) were fixed in

	arm/arm32/bus_dma.c
	evbarm/integrator/int_bus_dma.c

Revision 1.5.4.5 / (download) - annotate - [select for diffs], Mon Apr 1 07:39:08 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.5.4.4: +2 -3 lines
Diff to previous 1.5.4.4 (colored) to branchpoint 1.5 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.12 / (download) - annotate - [select for diffs], Sat Mar 23 02:22:57 2002 UTC (22 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

* Rename PROCESS_PAGE_TBLS_BASE -> PTE_BASE
* Rename ALT_PAGE_TBLS_BASE -> APTE_BASE
* Garbage-collect PAGE_TABLE_SPACE_START

Revision 1.1.2.6 / (download) - annotate - [select for diffs], Sat Mar 16 15:56:03 2002 UTC (22 years, 1 month ago) by jdolecek
Branch: kqueue
Changes since 1.1.2.5: +1 -2 lines
Diff to previous 1.1.2.5 (colored)

Catch up with -current.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Mar 3 11:22:59 2002 UTC (22 years, 1 month ago) by chris
Branch: MAIN
CVS Tags: newlock-base, newlock, eeh-devprop-base, eeh-devprop
Changes since 1.10: +1 -2 lines
Diff to previous 1.10 (colored)

Implement pmap_growkernel for arm32 based ports.
Note that this has been compiled on some systems, cats, IQ80310, IPAQ, netwinder and shark (note that shark's build is currently broken due to other reasons), but only actually run on cats.
Shark doesn't make use of the functionality as I believe there has to be a correlation between OFW and the kernel tables so that calls into OFW work.

Revision 1.5.4.4 / (download) - annotate - [select for diffs], Thu Feb 28 04:07:22 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.5.4.3: +5 -2 lines
Diff to previous 1.5.4.3 (colored) to branchpoint 1.5 (colored)

Catch up to -current.

Revision 1.1.2.5 / (download) - annotate - [select for diffs], Mon Feb 11 20:07:18 2002 UTC (22 years, 2 months ago) by jdolecek
Branch: kqueue
Changes since 1.1.2.4: +5 -2 lines
Diff to previous 1.1.2.4 (colored)

Sync w/ -current.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Feb 5 18:26:08 2002 UTC (22 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: ifpoll-base
Changes since 1.9: +4 -1 lines
Diff to previous 1.9 (colored)

Allow platforms to use an extra level of indirection for FIQs,
enabled by definining __ARM_FIQ_INDIRECT in <machine/types.h>.
This is needed for OpenFirmware systems (like the Shark), where
the OFW vector page is used, and kernel entries merely patched
into it.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Jan 25 19:19:25 2002 UTC (22 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Overhaul of the ARM cache code.  This is mostly a simplification
pass.  Rather than providing a whole slew of cache operations that
aren't ever used, distill them down to some useful primitives:

	icache_sync_all         Synchronize I-cache
	icache_sync_range       Synchronize I-cache range

	dcache_wbinv_all        Write-back and Invalidate D-cache
	dcache_wbinv_range      Write-back and Invalidate D-cache range
	dcache_inv_range        Invalidate D-cache range
	dcache_wb_range         Write-back D-cache range

	idcache_wbinv_all       Write-back and Invalidate D-cache,
				Invalidate I-cache
	idcache_wbinv_range     Write-back and Invalidate D-cache,
				Invalidate I-cache range

Note: This does not yet include an overhaul of the actual asm files
that implement the primitives.  Instead, we've provided a safe default
for each CPU type, and the individual CPU types can now be optimized
one at a time.

Revision 1.1.2.4 / (download) - annotate - [select for diffs], Thu Jan 10 19:37:49 2002 UTC (22 years, 3 months ago) by thorpej
Branch: kqueue
Changes since 1.1.2.3: +5 -24 lines
Diff to previous 1.1.2.3 (colored)

Sync kqueue branch with -current.

Revision 1.5.4.3 / (download) - annotate - [select for diffs], Tue Jan 8 00:23:08 2002 UTC (22 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.5.4.2: +5 -24 lines
Diff to previous 1.5.4.2 (colored) to branchpoint 1.5 (colored)

Catch up to -current.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Dec 20 01:20:22 2001 UTC (22 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.7: +3 -1 lines
Diff to previous 1.7 (colored)

* Share a common vector page between arm26 and arm32.
* Use a common set of exception handlers for all arm32 platforms.
* New FIQ framework based on discussions with Ben Harris, shared
  between arm26 and arm32.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Nov 28 00:18:13 2001 UTC (22 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.6: +1 -24 lines
Diff to previous 1.6 (colored)

Don't define interrupt handler-related offsets here.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Nov 23 16:50:48 2001 UTC (22 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.5: +3 -1 lines
Diff to previous 1.5 (colored)

Provide __PROG32 to assembly code.

Revision 1.5.4.2 / (download) - annotate - [select for diffs], Thu Nov 15 06:39:22 2001 UTC (22 years, 5 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.5.4.1: +140 -0 lines
Diff to previous 1.5.4.1 (colored) to branchpoint 1.5 (colored)

Machine-dependent kernel mods for scheduler activations on
32-bit ARM processors.  Kernel boots multi-user on an XScale,
but upcalls not yet tested.

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:37:33 2001 UTC (22 years, 6 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.4: +10 -10 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Catch up with -current.

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Thu Sep 13 01:13:07 2001 UTC (22 years, 7 months ago) by thorpej
Branch: kqueue
Changes since 1.1.2.2: +32 -36 lines
Diff to previous 1.1.2.2 (colored)

Update the kqueue branch to HEAD.

Revision 1.5.4.1, Sun Sep 9 10:33:43 2001 UTC (22 years, 7 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.5: +0 -143 lines
FILE REMOVED

file genassym.cf was added on branch nathanw_sa on 2001-11-15 06:39:22 +0000

Revision 1.5 / (download) - annotate - [select for diffs], Sun Sep 9 10:33:43 2001 UTC (22 years, 7 months ago) by toshii
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: nathanw_sa
Changes since 1.4: +10 -10 lines
Diff to previous 1.4 (colored)

Don't define pcb_* register macros.
pcb_sp macro conflicts with sys/netinet6/ipsec.c.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Sep 5 17:08:41 2001 UTC (22 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: thorpej-devvp-base
Branch point for: thorpej-devvp
Changes since 1.3: +7 -3 lines
Diff to previous 1.3 (colored)

Don't compile SPL/INTR stuff if NEWINTR is defined.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Sep 5 16:23:10 2001 UTC (22 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.2: +19 -19 lines
Diff to previous 1.2 (colored)

Change <machine/irqhandler.h> to <machine/intr.h>.  Change
{irq,fiq}handler_t to struct XXXhandler

Revision 1.2 / (download) - annotate - [select for diffs], Mon Aug 27 11:39:43 2001 UTC (22 years, 7 months ago) by chris
Branch: MAIN
Changes since 1.1: +1 -9 lines
Diff to previous 1.1 (colored)

Remove unused entries from the pcb.  This is with a long term view of merging the arm26 and arm32 pcb's.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Fri Aug 3 04:10:58 2001 UTC (22 years, 8 months ago) by lukem
Branch: kqueue
Changes since 1.1.2.1: +147 -0 lines
Diff to previous 1.1.2.1 (colored)

update to -current

Revision 1.1.2.1, Sat Jul 28 15:08:11 2001 UTC (22 years, 8 months ago) by lukem
Branch: kqueue
Changes since 1.1: +0 -147 lines
FILE REMOVED

file genassym.cf was added on branch kqueue on 2001-08-03 04:10:58 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Sat Jul 28 15:08:11 2001 UTC (22 years, 8 months ago) by chris
Branch: MAIN
Branch point for: kqueue

finish moving common arm32 bits out into arm/arm32.

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>