The NetBSD Project

CVS log for src/sys/arch/alpha/alpha/ipifuncs.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.55 / (download) - annotate - [select for diffs], Sat Apr 9 23:42:56 2022 UTC (10 months ago) by riastradh
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.54: +8 -6 lines
Diff to previous 1.54 (colored)

alpha: Convert ipifuncs.c to membar_release/acquire.

No semantic change is possible because all of these membars are just
mb on alpha -- change just makes the intent clearer.  (Only
membar_producer is weaker, wmb.)

Revision 1.54 / (download) - annotate - [select for diffs], Sat Oct 10 03:05:04 2020 UTC (2 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: 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, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.53: +9 -8 lines
Diff to previous 1.53 (colored)

Fix cycle counter-based time keeping on Alpha in MP environments by using
a simpler calibration algorithm for the CC timecounter.  Proposed in 2018
by Naruaki Etomi:

    https://mail-index.netbsd.org/tech-kern/2018/01/14/msg022940.html

This patch is largely based on the proposed change, but avoids changing
any other timecounter logic, and re-factors things a bit to keep them
as MI as possible.

Revision 1.53 / (download) - annotate - [select for diffs], Thu Sep 3 02:03:14 2020 UTC (2 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.52: +31 -16 lines
Diff to previous 1.52 (colored)

- alpha_ipi_process(): Continue processing IPIs until the ipimask
  reads 0.  Issue a memory barrier between the atomic swap and performing
  the work.
- alpha_send_ipi(): Issue a memory barrier before setting the ipimask
  to ensure all memory accesses prior to signalling the IPI have
  completed.  Also issue a memory barrier getween setting the ipimask
  and calling PALcode to write the IPIR.

Revision 1.52 / (download) - annotate - [select for diffs], Sat Aug 29 20:06:59 2020 UTC (2 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.51: +28 -37 lines
Diff to previous 1.51 (colored)

- Centralize per-CPU pmap initialization into a new pmap_init_cpu()
  function.  Call in from pmap_bootstrap() for the boot CPU, and
  from cpu_hatch() for secondaary CPUs.
- Eliminiate the dedicated I-stream memory barrier IPI; handle it all from
  the TLB shootdown IPI.  Const poison, and add some additional memory
  barriers and a TBIA to the PAUSE IPI.
- Completly rewrite TLB management in the alpha pmap module, borrowing
  somoe ideas from the x86 pmap and adapting them to the alpha environment.
  See the comments for theory of operation.  Add a bunch of stats that
  can be reported (disabled by default).
- Add some additional symbol decorations to improve cache behavior on
  MP systems.  Ensure coherency unit alignment for several structures
  in the pmap module.  Use hashed locks for pmap structures.
- Start out all new processes on the kernel page tables until their
  first trip though pmap_activate() to avoid the potential of polluting
  the current ASN in TLB with cross-process mappings.

Revision 1.51 / (download) - annotate - [select for diffs], Sat Aug 15 16:09:07 2020 UTC (2 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.50: +5 -9 lines
Diff to previous 1.50 (colored)

Convert some #ifdef DIAGNOSTIC checks to KASSERTs.  NFCI.

Revision 1.48.28.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:25 2020 UTC (2 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.48: +4 -4 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Merge changes from current as of 20200406

Revision 1.50 / (download) - annotate - [select for diffs], Sun Dec 1 15:34:44 2019 UTC (3 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.49: +4 -4 lines
Diff to previous 1.49 (colored)

Fix false sharing problems with cpu_info.  Identified with tprof(8).
This was a very nice win in my tests on a 48 CPU box.

- Reorganise cpu_data slightly according to usage.
- Put cpu_onproc into struct cpu_info alongside ci_curlwp (now is ci_onproc).
- On x86, put some items in their own cache lines according to usage, like
  the IPI bitmask and ci_want_resched.

Revision 1.49 / (download) - annotate - [select for diffs], Thu Nov 21 19:02:43 2019 UTC (3 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.48: +4 -4 lines
Diff to previous 1.48 (colored)

alpha_ipi_ast: use ci_data.cpu_onproc, not ci_curlwp.

Revision 1.47.12.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:41 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.47: +41 -18 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.47.26.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:53:49 2014 UTC (8 years, 6 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.47: +41 -18 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

Rebase.

Revision 1.48 / (download) - annotate - [select for diffs], Mon May 19 22:47:53 2014 UTC (8 years, 8 months ago) by rmind
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, tls-maxphys-base, tls-earlyentropy-base, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20191119, phil-wifi-20190609, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, 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, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, 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, 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, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi
Changes since 1.47: +41 -18 lines
Diff to previous 1.47 (colored)

Implement MI IPI interface with cross-call support.

Revision 1.45.6.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:18:51 2011 UTC (11 years, 7 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.45: +24 -47 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.47 / (download) - annotate - [select for diffs], Tue Jun 14 15:34:22 2011 UTC (11 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, 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, agc-symver-base, agc-symver
Branch point for: tls-maxphys, tls-earlyentropy
Changes since 1.46: +7 -7 lines
Diff to previous 1.46 (colored)

Major cleanup of alpha device drivers.
Switch to CFATTACH_DECL_NEW.
struct device * -> device_t
struct cfdata * -> cfdata_t
Use of device_xname.  No direct access to struct device members.
Use aprint* (not complete).

Revision 1.41.4.2 / (download) - annotate - [select for diffs], Sun Jun 12 00:23:51 2011 UTC (11 years, 8 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.41.4.1: +19 -42 lines
Diff to previous 1.41.4.1 (colored) to branchpoint 1.41 (colored) next main 1.42 (colored)

sync with head

Revision 1.46 / (download) - annotate - [select for diffs], Tue Jun 7 00:48:30 2011 UTC (11 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base
Changes since 1.45: +19 -42 lines
Diff to previous 1.45 (colored)

Switch alpha to use PCU to manage the FPU.
Tested by mhitch and review by rmind.

Revision 1.45 / (download) - annotate - [select for diffs], Fri Dec 17 02:36:35 2010 UTC (12 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: uebayasi-xip-base7, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: cherry-xenmp
Changes since 1.44: +4 -2 lines
Diff to previous 1.44 (colored)

Fix build by pulling in uvm/uvm_extern.h.

Revision 1.44 / (download) - annotate - [select for diffs], Wed Dec 15 01:32:31 2010 UTC (12 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.43: +2 -4 lines
Diff to previous 1.43 (colored)

remove unneeded <uvm/uvm_extern.h> includes

Revision 1.41.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:43:50 2010 UTC (12 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.41: +33 -2 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

Sync with HEAD.

Revision 1.39.4.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:51:31 2010 UTC (12 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.39.4.2: +33 -2 lines
Diff to previous 1.39.4.2 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored)

sync with head.

Revision 1.41.4.1 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:11 2010 UTC (12 years, 7 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.41: +33 -2 lines
Diff to previous 1.41 (colored)

sync with head

Revision 1.43 / (download) - annotate - [select for diffs], Wed Jun 23 13:52:26 2010 UTC (12 years, 7 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2
Changes since 1.42: +4 -3 lines
Diff to previous 1.42 (colored)

Fix build for Alpha.

Revision 1.42 / (download) - annotate - [select for diffs], Tue Jun 22 18:29:01 2010 UTC (12 years, 7 months ago) by rmind
Branch: MAIN
Changes since 1.41: +32 -2 lines
Diff to previous 1.41 (colored)

Implement high priority (XC_HIGHPRI) xcall(9) mechanism - a facility
to execute functions from software interrupt context, at SOFTINT_CLOCK.
Functions must be lightweight.  Will be used for passive serialization.

OK ad@.

Revision 1.39.4.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:01:57 2010 UTC (12 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.39.4.1: +2 -4 lines
Diff to previous 1.39.4.1 (colored) to branchpoint 1.39 (colored)

sync with head

Revision 1.41 / (download) - annotate - [select for diffs], Mon Oct 26 03:51:42 2009 UTC (13 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.40: +2 -4 lines
Diff to previous 1.40 (colored)

Garbage-collect pmap_do_reactivate() and the associated IPI -- nothing has
used them for a long time.

Revision 1.38.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:21:45 2008 UTC (14 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.38.6.1: +0 -7 lines
Diff to previous 1.38.6.1 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

Sync with HEAD.

Revision 1.39.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:31:20 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.39: +2 -9 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

sync with head.

Revision 1.39.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:21:44 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.39: +2 -9 lines
Diff to previous 1.39 (colored)

sync with head.

Revision 1.40 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:10 2008 UTC (14 years, 9 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, 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-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jymxensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Changes since 1.39: +2 -9 lines
Diff to previous 1.39 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.38.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:10 2008 UTC (14 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.38: +9 -9 lines
Diff to previous 1.38 (colored)

Sync with HEAD.

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:14:51 2008 UTC (14 years, 10 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.38: +9 -9 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

sync with head.

Revision 1.36.6.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:03:51 2008 UTC (14 years, 10 months ago) by matt
Branch: matt-armv6
Changes since 1.36.6.1: +9 -11 lines
Diff to previous 1.36.6.1 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored)

sync with HEAD

Revision 1.33.18.4 / (download) - annotate - [select for diffs], Mon Mar 17 09:14:13 2008 UTC (14 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.33.18.3: +9 -9 lines
Diff to previous 1.33.18.3 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

sync with head.

Revision 1.39 / (download) - annotate - [select for diffs], Mon Mar 10 13:43:33 2008 UTC (14 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.38: +9 -9 lines
Diff to previous 1.38 (colored)

Use MI atomic operations.

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:04:19 2008 UTC (14 years, 11 months ago) by mjf
Branch: mjf-devfs
Changes since 1.37: +2 -4 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Sync with HEAD.

Revision 1.33.18.3 / (download) - annotate - [select for diffs], Mon Feb 11 14:59:26 2008 UTC (15 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.33.18.2: +2 -4 lines
Diff to previous 1.33.18.2 (colored) to branchpoint 1.33 (colored)

sync with head.

Revision 1.38 / (download) - annotate - [select for diffs], Mon Feb 4 12:46:30 2008 UTC (15 years ago) by ad
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, hpcarm-cleanup-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.37: +2 -4 lines
Diff to previous 1.37 (colored)

Don't call printf from an IPI handler.

Revision 1.36.6.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:13:43 2007 UTC (15 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

sync with HEAD

Revision 1.37 / (download) - annotate - [select for diffs], Wed Oct 17 19:52:55 2007 UTC (15 years, 3 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, matt-armv6-base, jmcneill-pm-base, jmcneill-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (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.34.14.2 / (download) - annotate - [select for diffs], Wed Oct 3 19:21:56 2007 UTC (15 years, 4 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.34.14.1: +3 -3 lines
Diff to previous 1.34.14.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

Sync with HEAD

Revision 1.33.18.2 / (download) - annotate - [select for diffs], Mon Sep 3 14:22:16 2007 UTC (15 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.33.18.1: +4 -4 lines
Diff to previous 1.33.18.1 (colored) to branchpoint 1.33 (colored)

sync with head.

Revision 1.34.6.2 / (download) - annotate - [select for diffs], Mon Aug 20 18:36:47 2007 UTC (15 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.34.6.1: +3 -3 lines
Diff to previous 1.34.6.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

Sync with HEAD.

Revision 1.35.4.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:46:57 2007 UTC (15 years, 5 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

Sync with HEAD.

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Tue Aug 7 18:04:51 2007 UTC (15 years, 6 months ago) by matt
Branch: matt-mips64
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

Sync with HEAD.

Revision 1.36 / (download) - annotate - [select for diffs], Sat Jul 21 11:59:56 2007 UTC (15 years, 6 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, matt-mips64-base, jmcneill-pm, hpcarm-cleanup, bouyer-xenamd64
Branch point for: matt-armv6
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored)

Add MI todr(9) support and timercounter(9) support with kern_cctr.c to alpha:
- use todr(9) API with MI mc146818(4) driver and remove homegrown
  todr stuff from MD alpha/clock.c and alpha/mcclock.c
- also remove obsolete cc_microtime stuff from MD code
- add ci_pcc_freq member in struct cpu_info for cpu_frequency(), and
  calibrate it with mc146818 interval clock in mcclock attachment
- call cc_init() in cpu_initclocks(9) because all alpha cpus have
  a pcc counter

Tested on DEC 3000/300 and AlphaPC 164, but not on any SMP machines yet.

Revision 1.34.8.1 / (download) - annotate - [select for diffs], Wed Jul 11 19:57:21 2007 UTC (15 years, 7 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

Sync with head.

Revision 1.34.6.1 / (download) - annotate - [select for diffs], Sun May 27 12:26:52 2007 UTC (15 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored)

Sync with head.

Revision 1.34.14.1 / (download) - annotate - [select for diffs], Tue May 22 17:26:27 2007 UTC (15 years, 8 months ago) by matt
Branch: ppcoea-renovation
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored)

Update to HEAD.

Revision 1.35 / (download) - annotate - [select for diffs], Thu May 17 14:51:12 2007 UTC (15 years, 8 months ago) by yamt
Branch: MAIN
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base
Branch point for: nick-csl-alignment, matt-mips64
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (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.34.12.1 / (download) - annotate - [select for diffs], Wed Apr 18 04:16:36 2007 UTC (15 years, 9 months ago) by thorpej
Branch: thorpej-atomic
Changes since 1.34: +7 -7 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

Convert to the new atomic op API.

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Tue Mar 20 12:07:11 2007 UTC (15 years, 10 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

adapt alpha.

Revision 1.33.18.1 / (download) - annotate - [select for diffs], Mon Feb 26 09:05:32 2007 UTC (15 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

sync with head.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:01 2007 UTC (16 years ago) by ad
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, reinoud-bufcleanup, post-newlock2-merge, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp, vmlocking, thorpej-atomic, ppcoea-renovation, mjf-ufs-trans
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

Merge newlock2 to head.

Revision 1.33.48.1 / (download) - annotate - [select for diffs], Thu Jan 11 22:22:56 2007 UTC (16 years, 1 month ago) by ad
Branch: newlock2
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Checkpoint work in progress.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Feb 5 12:16:42 2003 UTC (20 years ago) by nakayama
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, 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, yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, thorpej-vnode-attr-base, thorpej-vnode-attr, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, netbsd-4-base, 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, netbsd-4, 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, matt-nb4-arm-base, matt-nb4-arm, ktrace-lwp-base, ktrace-lwp, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1, 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-lazymbuf, newlock2
Changes since 1.32: +11 -3 lines
Diff to previous 1.32 (colored)

Share alpha/microtime.c with i386 and sparc64 as kern_microtime.c.
(approved by martin)

Revision 1.32 / (download) - annotate - [select for diffs], Fri Jan 17 22:11:17 2003 UTC (20 years ago) by thorpej
Branch: MAIN
Changes since 1.31: +4 -4 lines
Diff to previous 1.31 (colored)

Merge the nathanw_sa branch.

Revision 1.30.2.3 / (download) - annotate - [select for diffs], Mon Jun 24 22:03:10 2002 UTC (20 years, 7 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.30.2.2: +4 -4 lines
Diff to previous 1.30.2.2 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)

Curproc->curlwp renaming.

Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".

"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).

Revision 1.29.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:36:58 2002 UTC (21 years, 1 month ago) by thorpej
Branch: kqueue
Changes since 1.29.2.1: +3 -2 lines
Diff to previous 1.29.2.1 (colored) next main 1.30 (colored)

Sync kqueue branch with -current.

Revision 1.30.2.2 / (download) - annotate - [select for diffs], Mon Oct 8 20:10:43 2001 UTC (21 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.30.2.1: +314 -0 lines
Diff to previous 1.30.2.1 (colored) to branchpoint 1.30 (colored)

Catch up to -current.

Revision 1.30.4.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:36:53 2001 UTC (21 years, 4 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.30: +3 -2 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Catch up with -current.

Revision 1.31 / (download) - annotate - [select for diffs], Fri Sep 28 11:59:51 2001 UTC (21 years, 4 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, newlock-base, newlock, 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, nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, ifpoll-base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, fvdl_fs64_base, eeh-devprop-base, eeh-devprop
Changes since 1.30: +3 -2 lines
Diff to previous 1.30 (colored)

don't depend on other headers to include sys/proc.h for us.

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Fri Aug 3 04:10:39 2001 UTC (21 years, 6 months ago) by lukem
Branch: kqueue
Changes since 1.29: +2 -32 lines
Diff to previous 1.29 (colored)

update to -current

Revision 1.30.2.1, Sun Jul 15 16:42:18 2001 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.30: +0 -313 lines
FILE REMOVED

file ipifuncs.c was added on branch nathanw_sa on 2001-10-08 20:10:43 +0000

Revision 1.30 / (download) - annotate - [select for diffs], Sun Jul 15 16:42:18 2001 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp, nathanw_sa
Changes since 1.29: +2 -32 lines
Diff to previous 1.29 (colored)

- Tweak the pmap locking protocol slightly -- require that a pmap must
  be locked before it can be marked as `active' on a processor.
- Require that pmaps other than the kernel pmap be locked when they
  are passed to pmap_tlb_shootdown().  This, combined with the locking
  protocol tweak, allow us to get a consistent view of `activeness' of
  a pmap, which means we can optmize away a lot of TLB shootdown traffic
  for user pmaps.
- Borrow an idea from the i386mp branch; use the normal SHOOTDOWN IPI
  to deal with hitting the entire TLB, and garbage-collect the TBIA
  and TBIAP IPIs.

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Thu Jun 21 18:12:55 2001 UTC (21 years, 7 months ago) by nathanw
Changes since 1.24: +24 -13 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Catch up to -current.

Revision 1.29 / (download) - annotate - [select for diffs], Tue May 1 05:16:44 2001 UTC (21 years, 9 months ago) by thorpej
Branch: MAIN
Branch point for: kqueue
Changes since 1.28: +13 -10 lines
Diff to previous 1.28 (colored)

Use CPU_INFO_FOREACH().

Revision 1.28 / (download) - annotate - [select for diffs], Sat Apr 28 06:10:49 2001 UTC (21 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.27: +4 -2 lines
Diff to previous 1.27 (colored)

Add a microtime() implementation that interpolates between ticks
using the cycle counter.  MP-safeness is achieved by giving each
CPU its own PCC frequency variables, and kicking the non-primary
processors via an IPI once per second.

Based on the sample code from David Mills' "A Kernel Model for
Precision Timekeeping".

Revision 1.6.2.5 / (download) - annotate - [select for diffs], Mon Apr 23 09:41:27 2001 UTC (21 years, 9 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.6.2.4: +11 -5 lines
Diff to previous 1.6.2.4 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

Sync with HEAD.

Revision 1.27 / (download) - annotate - [select for diffs], Sat Apr 21 16:27:10 2001 UTC (21 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.26: +4 -4 lines
Diff to previous 1.26 (colored)

Adjust the way the cpu_info[] array works (array of pointers
rather than array of structures).  Keep a list of active
CPUs and define a CPU_INFO_FOREACH to traverse them.

This fixes cpustates statistics tracking.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Apr 20 16:22:33 2001 UTC (21 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.25: +5 -3 lines
Diff to previous 1.25 (colored)

pmap_asn_alloc(): In a multiprocessor configuration, it's possible
to arrive here referencing the kernel_lev1map without having the
RESERVED ASN -- another CPU may have caused pmap_lev1map_destroy()
to be called, and that routine only invalidates the ASN for the
CPU that called it.  So, in the MULTIPROCESSOR case, simply assign
the RESERVED ASN if we reference the kernel_lev1map rather than
asserting that we already have the RESERVED ASN.  Thanks to Bill
Sommerfeld for helping me track down the problem.

Also add a new IPI that causes a CPU to re-activate its address
space if the pmap it's using changes level 1 maps (this probably
won't happen very often, but it's correct to have it).

This makes Alpha MP kernels boot multiuser.  In fact, this commit
is being made from my dual-CPU AlphaServer 1200 running an MP kernel.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Apr 20 00:10:17 2001 UTC (21 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.24: +6 -2 lines
Diff to previous 1.24 (colored)

Eliminate race conditions in the FP-switch code.  MP kernels get
much further on the way to multi-user now.

Revision 1.6.2.4 / (download) - annotate - [select for diffs], Sun Feb 11 19:08:32 2001 UTC (22 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.6.2.3: +4 -3 lines
Diff to previous 1.6.2.3 (colored) to branchpoint 1.6 (colored)

Sync with HEAD.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Jan 19 18:51:17 2001 UTC (22 years ago) by thorpej
Branch: MAIN
Changes since 1.23: +4 -3 lines
Diff to previous 1.23 (colored)

Make ASTs per-process.

Revision 1.6.2.3 / (download) - annotate - [select for diffs], Fri Dec 8 09:23:22 2000 UTC (22 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.6.2.2: +63 -47 lines
Diff to previous 1.6.2.2 (colored) to branchpoint 1.6 (colored)

Sync with HEAD.

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Wed Nov 22 15:59:40 2000 UTC (22 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.6.2.1: +75 -3 lines
Diff to previous 1.6.2.1 (colored) to branchpoint 1.6 (colored)

Sync with HEAD.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Nov 22 08:39:48 2000 UTC (22 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.22: +65 -49 lines
Diff to previous 1.22 (colored)

Several changes, which get us generally further along with
multiprocessor support:
- Implement MP-safe halt.
- Make the FPU saving code more like Bill's on the i386 MP branch.
  XXX This code will no doubt be revisited again.
- Pass the cpu_info and trapframe to IPI handlers, saving some work
  in the handlers themselves, and also making it possible for the
  "pause" handler to reference register state for DDB.
- Add "machine cpu" to DDB, making it possible to reference other
  CPUs registers (and thus get e.g. a traceback) from whichever
  CPU is actually running the debugger.
- Garbage-collect "machine halt" and "machine reboot" DDB commands.
  They don't have a prayer of working properly in multiprocessor
  kernels, and didn't really work all that well in uniprocessor kernels.

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 19:56:34 2000 UTC (22 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.6: +121 -27 lines
Diff to previous 1.6 (colored)

Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Nov 20 19:24:36 2000 UTC (22 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.21: +41 -2 lines
Diff to previous 1.21 (colored)

Move IPI processing into a separate function.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Nov 19 20:05:25 2000 UTC (22 years, 2 months ago) by sommerfeld
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

Fix obvious typo (don't mark current cpu as not running when doing a
broadcast IPI).

Revision 1.20 / (download) - annotate - [select for diffs], Sat Nov 18 19:25:36 2000 UTC (22 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.19: +35 -2 lines
Diff to previous 1.19 (colored)

Count individual interprocessor interrupts -- it's good to know where
they all come from.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Sep 4 00:31:59 2000 UTC (22 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.18: +15 -12 lines
Diff to previous 1.18 (colored)

Define the biglock perimeter for the Alpha port, and generally clean
up a bunch of the MP code.  Still doens't work properly yet, this is
just a snapshot of work-in-progress.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Aug 26 03:33:49 2000 UTC (22 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

Thinko in previous.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Aug 26 03:27:44 2000 UTC (22 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.16: +6 -2 lines
Diff to previous 1.16 (colored)

Snapshot of TLB shootdown bugfixes.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Aug 21 02:03:12 2000 UTC (22 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.15: +32 -2 lines
Diff to previous 1.15 (colored)

Add experimental code for pausing other CPUs upon a CPU's
entry into the debugger.  While I'm here, add splsched()
as per spl(9).

Revision 1.15 / (download) - annotate - [select for diffs], Tue Aug 15 22:16:17 2000 UTC (22 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.14: +21 -2 lines
Diff to previous 1.14 (colored)

Implement MP-safe lazy FP context switching, modeled on the
way Bill Sommerfeld implemented it for x86 (and bug fixes
fed back to Bill :-)

Revision 1.14 / (download) - annotate - [select for diffs], Sun Aug 13 18:20:55 2000 UTC (22 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.13: +39 -20 lines
Diff to previous 1.13 (colored)

Add alpha_multicast_ipi().

Revision 1.13 / (download) - annotate - [select for diffs], Thu Jun 29 09:02:54 2000 UTC (22 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 16:58:15 2000 UTC (22 years, 7 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.10: +8 -6 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Jun 5 21:47:12 2000 UTC (22 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5
Changes since 1.11: +7 -5 lines
Diff to previous 1.11 (colored)

Switch to the new `evcnt' mechanism for counting interrupts.  Maintain
a per-CPU interrupt counter for clock, device, and interprocessor
interrupts.

Revision 1.11 / (download) - annotate - [select for diffs], Wed May 31 05:14:28 2000 UTC (22 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

- In the MULTIPROCESSOR case, initialize p_cpu before a process is
  marked SONPROC.
- Always make curproc, fpcurproc, astpending, and want_resched per-CPU
  variables in struct cpu_info.  Restructure code accordingly, and trim
  a few instructions from a few spots in various places in locore.

Revision 1.10 / (download) - annotate - [select for diffs], Tue May 23 05:12:54 2000 UTC (22 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.9: +5 -5 lines
Diff to previous 1.9 (colored)

Rename the atomic operations to have generic machine-independent
names, and define __HAVE_ATOMIC_OPERATIONS to indicate their
existence.

Revision 1.6.8.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:31:21 1999 UTC (23 years, 1 month ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.6: +20 -3 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Pull up to last week's -current.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Dec 2 01:09:11 1999 UTC (23 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, chs-ubc2-newbase
Changes since 1.8: +3 -2 lines
Diff to previous 1.8 (colored)

Move atomic operations into <machine/atomic.h>, and make them in-line
assembly, rather than function calls.

...except alpha_atomic_testset_l(), which will go away completely once
I commit the new <machine/lock.h>.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Nov 30 00:26:55 1999 UTC (23 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.7: +10 -3 lines
Diff to previous 1.7 (colored)

Vector to a local function for the IMB IPI.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Nov 29 20:00:04 1999 UTC (23 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.6: +11 -2 lines
Diff to previous 1.6 (colored)

Add an IPI which causes the target CPU to perform AST processing when
it returns to userspace.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Aug 10 23:35:44 1999 UTC (23 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize, thorpej_scsipi
Changes since 1.5: +2 -4 lines
Diff to previous 1.5 (colored)

Move cpu_info and related info into <machine/cpu.h>, and implement the
other MP API components discussed on tech-smp.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Feb 24 19:17:09 1999 UTC (23 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, chs-ubc2-base, chs-ubc2
Changes since 1.4: +37 -19 lines
Diff to previous 1.4 (colored)

Restructure the IPI code a little, allowing multiple IPIs to be sent at
once.  Add a way to broadcast an IPI to all processors (except the sender,
obviously).  Add an IPI for TLB shootdown.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Feb 23 03:20:01 1999 UTC (23 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.3: +6 -7 lines
Diff to previous 1.3 (colored)

Now that we have the kthread mechanism, massively clean up the way
additional processors are spun up on multiprocessor Alpha systems.
Now, each processor gets its own idle thread (the primary processor
uses proc0).  This idle thread is used in switch_exit(), rather than
explicitly referencing proc0.

Also, make `curproc', `fpcurproc', and `curpcb' per-cpu values.  This
required some data structure rearrangement; cpu info is now statically
allocated in the BSS, rather than via malloc(), and cpu_softc is gone.
(Modeled somewhat after NetBSD/sparc's multiprocessor info structures.)

Revision 1.3 / (download) - annotate - [select for diffs], Tue Sep 29 19:40:33 1998 UTC (24 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Changes since 1.2: +4 -2 lines
Diff to previous 1.2 (colored)

some temporary debugging printfs in the IPI code.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Sep 29 07:06:02 1998 UTC (24 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.1: +16 -4 lines
Diff to previous 1.1 (colored)

First try at a HALT interprocessor interrupt handler.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Sep 26 00:03:52 1998 UTC (24 years, 4 months ago) by thorpej
Branch: MAIN

Add basic interprocessor interrupt sending and receiving code.  Current
IPI functions: HALT, IMB, TBIA, TBIAP.

XXX HALT is not yet implemented, it's just a stub.

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>