The NetBSD Project

CVS log for src/sys/arch/arm/sa11x0/sa11x0_irq.S

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.21 / (download) - annotate - [select for diffs], Mon Nov 8 23:57:23 2021 UTC (2 years, 5 months ago) by rin
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.20: +14 -13 lines
Diff to previous 1.20 (colored) to selected 1.6 (colored)

irq_entry(): Do not clobber fp (= r11), in order not to confuse DDB.

Use r10 instead; no need to preserve saipic_base, previous content of
r10, throughout this function, except for the case of INTR_DEBUG.

For INTR_DEBUG, load saipic_base to scratch register every time it
becomes necessary. This is no performance penalty compared with
subsequent printf() calls.

XXX
Rewrite this function by C. There seems no particular reason to
use assembler, and no major performance regression is expected.

Revision 1.18.42.1 / (download) - annotate - [select for diffs], Mon Dec 14 14:37:50 2020 UTC (3 years, 4 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.18: +12 -15 lines
Diff to previous 1.18 (colored) next main 1.19 (colored) to selected 1.6 (colored)

Sync w/ HEAD.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Nov 21 19:59:10 2020 UTC (3 years, 4 months ago) by skrll
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-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.19: +11 -14 lines
Diff to previous 1.19 (colored) to selected 1.6 (colored)

Adjust egister usage so that r4 and r5 are preserved as cur{cpu,lwp}
respectively as required by the change to make ASTs operate per-LWP
rather than per-CPU.  DO_AST_AND_RESTORE_ALIGNMENT_FAULTS expects this.

Remove the call to dosoftints while I'm here as it's dont in DO_AST...

XXX untested

Revision 1.19 / (download) - annotate - [select for diffs], Sat Nov 21 09:36:27 2020 UTC (3 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored) to selected 1.6 (colored)

Trailing whitespace

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:47 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.16: +7 -7 lines
Diff to previous 1.16 (colored) next main 1.17 (colored) to selected 1.6 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.15.8.2 / (download) - annotate - [select for diffs], Thu May 22 11:39:34 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.15.8.1: +7 -7 lines
Diff to previous 1.15.8.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored) to selected 1.6 (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.16.4.2 / (download) - annotate - [select for diffs], Sun May 18 17:44:59 2014 UTC (9 years, 11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.16.4.1: +4 -4 lines
Diff to previous 1.16.4.1 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored) to selected 1.6 (colored)

sync with head

Revision 1.18 / (download) - annotate - [select for diffs], Mon Dec 2 18:36:11 2013 UTC (10 years, 4 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base-20171202, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, 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, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-futex
Changes since 1.17: +4 -4 lines
Diff to previous 1.17 (colored) to selected 1.6 (colored)

Don't use cpsr_all/spsr_all with mrs, it doesn't take a mask.

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Wed Aug 28 23:59:12 2013 UTC (10 years, 7 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored) to selected 1.6 (colored)

sync with head

Revision 1.17 / (download) - annotate - [select for diffs], Sun Aug 18 06:28:18 2013 UTC (10 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored) to selected 1.6 (colored)

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

Revision 1.15.8.1 / (download) - annotate - [select for diffs], Tue Oct 30 17:19:09 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.15: +10 -8 lines
Diff to previous 1.15 (colored) to selected 1.6 (colored)

sync with head

Revision 1.16 / (download) - annotate - [select for diffs], Wed Aug 29 07:06:27 2012 UTC (11 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Changes since 1.15: +10 -8 lines
Diff to previous 1.15 (colored) to selected 1.6 (colored)

Avoid using r7 (which is being reserved for a different purpose).

Revision 1.14.18.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:49:39 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.14: +12 -8 lines
Diff to previous 1.14 (colored) next main 1.15 (colored) to selected 1.6 (colored)

sync with head

Revision 1.15 / (download) - annotate - [select for diffs], Mon Dec 20 00:25:29 2010 UTC (13 years, 4 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, uebayasi-xip-base7, 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, matt-nb6-plus, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, 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, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache
Changes since 1.14: +12 -8 lines
Diff to previous 1.14 (colored) to selected 1.6 (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.12.10.2 / (download) - annotate - [select for diffs], Mon May 4 08:10:45 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.12.10.1: +13 -7 lines
Diff to previous 1.12.10.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored) to selected 1.6 (colored)

sync with head.

Revision 1.12.6.2 / (download) - annotate - [select for diffs], Sun Jun 29 09:32:54 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.12.6.1: +12 -6 lines
Diff to previous 1.12.6.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored) to selected 1.6 (colored)

Sync with HEAD.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:10 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.13: +13 -7 lines
Diff to previous 1.13 (colored) next main 1.14 (colored) to selected 1.6 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.13.4.1 / (download) - annotate - [select for diffs], Wed Jun 18 16:32:39 2008 UTC (15 years, 10 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.13: +13 -7 lines
Diff to previous 1.13 (colored) next main 1.14 (colored) to selected 1.6 (colored)

Sync with head.

Revision 1.12.8.2 / (download) - annotate - [select for diffs], Tue Jun 17 09:13:55 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.12.8.1: +13 -7 lines
Diff to previous 1.12.8.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored) to selected 1.6 (colored)

sync with head.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Jun 13 13:24:10 2008 UTC (15 years, 10 months ago) by rafal
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-nfs-mp-base9, 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-base11, yamt-nfs-mp-base10, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, simonb-wapbl-nbase, simonb-wapbl-base, 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-premerge-20091211, 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, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: rmind-uvmplock
Changes since 1.13: +13 -7 lines
Diff to previous 1.13 (colored) to selected 1.6 (colored)

Let hpcarm kernels boot again after the merge of the armv6 branch.  Fixes
PR port-hpcarm/38591

XXX: There is still a hard hang that I've seen on both shark and hpcarm in
the process exit path; I don't know much beyond that yet.

Revision 1.12.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:21:56 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.12: +10 -21 lines
Diff to previous 1.12 (colored) to selected 1.6 (colored)

Sync with HEAD.

Revision 1.12.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:31:40 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.12: +10 -21 lines
Diff to previous 1.12 (colored) to selected 1.6 (colored)

sync with head.

Revision 1.12.10.1 / (download) - annotate - [select for diffs], Fri May 16 02:22:02 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.12: +10 -21 lines
Diff to previous 1.12 (colored) to selected 1.6 (colored)

sync with head.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Apr 27 18:58:45 2008 UTC (15 years, 11 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, simonb-wapbl
Changes since 1.12: +10 -21 lines
Diff to previous 1.12 (colored) to selected 1.6 (colored)

Merge kernel changes in matt-armv6 to HEAD.

Revision 1.10.16.1 / (download) - annotate - [select for diffs], Thu Feb 28 21:47:46 2008 UTC (16 years, 1 month ago) by rjs
Branch: hpcarm-cleanup
Changes since 1.10: +4 -2 lines
Diff to previous 1.10 (colored) next main 1.11 (colored) to selected 1.6 (colored)

Sync with HEAD.

Revision 1.10.28.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:04:24 2008 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.10: +4 -2 lines
Diff to previous 1.10 (colored) next main 1.11 (colored) to selected 1.6 (colored)

Sync with HEAD.

Revision 1.10.22.3 / (download) - annotate - [select for diffs], Mon Jan 28 18:29:09 2008 UTC (16 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.10.22.2: +2 -2 lines
Diff to previous 1.10.22.2 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored) to selected 1.6 (colored)

Given the that there are only 4 IPLs (ignoring soft IPLs), a number of
cleanups can be done:
Remove _SPL_* aliases.
Don't store irqmasks in ci_cpl, just make it an ipl level.
Add fast softint switching support.

Revision 1.6.16.3 / (download) - annotate - [select for diffs], Mon Jan 21 09:35:49 2008 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.16.2: +4 -2 lines
Diff to previous 1.6.16.2 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored) to selected 1.6 (colored)

sync with head

Revision 1.10.20.1 / (download) - annotate - [select for diffs], Sun Jan 20 16:04:06 2008 UTC (16 years, 3 months ago) by chris
Branch: chris-arm-intr-rework
Changes since 1.10: +4 -2 lines
Diff to previous 1.10 (colored) next main 1.11 (colored) to selected 1.6 (colored)

Sync to HEAD.

Revision 1.10.22.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:45:25 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.10.22.1: +3 -1 lines
Diff to previous 1.10.22.1 (colored) to branchpoint 1.10 (colored) to selected 1.6 (colored)

sync with HEAD

Revision 1.10.34.1 / (download) - annotate - [select for diffs], Tue Jan 8 22:09:32 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.10: +4 -2 lines
Diff to previous 1.10 (colored) next main 1.11 (colored) to selected 1.6 (colored)

Sync with HEAD

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jan 8 02:07:52 2008 UTC (16 years, 3 months ago) by matt
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, matt-armv6-base, 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.11: +3 -1 lines
Diff to previous 1.11 (colored) to selected 1.6 (colored)

As of this commit, all arm32 kernel now build.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jan 6 03:45:27 2008 UTC (16 years, 3 months ago) by matt
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored) to selected 1.6 (colored)

Truly kill current_intr_depth once and for all.

Revision 1.10.22.1 / (download) - annotate - [select for diffs], Fri Nov 9 05:37:42 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.10: +9 -20 lines
Diff to previous 1.10 (colored) to selected 1.6 (colored)

Make all the evbarm kernels build again.  Fix lossage from rebase.

Revision 1.6.16.2 / (download) - annotate - [select for diffs], Mon Sep 3 14:23:25 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.16.1: +5 -1 lines
Diff to previous 1.6.16.1 (colored) to branchpoint 1.6 (colored) to selected 1.6 (colored)

sync with head.

Revision 1.10.8.1 / (download) - annotate - [select for diffs], Wed Apr 18 07:34:43 2007 UTC (17 years ago) by thorpej
Branch: thorpej-atomic
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored) next main 1.11 (colored) to selected 1.6 (colored)

Remove _lock_cas() in favor of atomic_cas_32().

Revision 1.9.20.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:47:08 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.9: +5 -1 lines
Diff to previous 1.9 (colored) next main 1.10 (colored) to selected 1.6 (colored)

Sync with HEAD.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Mar 9 19:21:59 2007 UTC (17 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, ppcoea-renovation-base, ppcoea-renovation, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, jmcneill-pm-base, jmcneill-pm, jmcneill-base, cube-autoconf-base, cube-autoconf, chris-arm-intr-rework-base3, chris-arm-intr-rework-base2, chris-arm-intr-rework-base, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: thorpej-atomic, mjf-devfs, matt-armv6, hpcarm-cleanup, chris-arm-intr-rework, bouyer-xeni386
Changes since 1.9: +5 -1 lines
Diff to previous 1.9 (colored) to selected 1.6 (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.8.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:38:10 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored) next main 1.9 (colored) to selected 1.6 (colored)

sync with head

Revision 1.6.16.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:49:40 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6: +5 -5 lines
Diff to previous 1.6 (colored)

sync with head.

Revision 1.8.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:37:17 2006 UTC (18 years ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored) next main 1.9 (colored) to selected 1.6 (colored)

Sync with head.

Revision 1.9.2.2 / (download) - annotate - [select for diffs], Sun Mar 5 11:30:59 2006 UTC (18 years, 1 month ago) by peter
Branch: yamt-pdpolicy
Changes since 1.9.2.1: +298 -0 lines
Diff to previous 1.9.2.1 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored) to selected 1.6 (colored)

Prefix dbg_str with "L".

Revision 1.9.2.1, Sun Mar 5 11:30:58 2006 UTC (18 years, 1 month ago) by peter
Branch: yamt-pdpolicy
Changes since 1.9: +0 -298 lines
FILE REMOVED

file sa11x0_irq.S was added on branch yamt-pdpolicy on 2006-03-05 11:30:59 +0000

Revision 1.9 / (download) - annotate - [select for diffs], Sun Mar 5 11:30:58 2006 UTC (18 years, 1 month ago) by peter
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, 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, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, post-newlock2-merge, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, newlock2, 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, matt-nb4-arm-base, matt-nb4-arm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-pdpolicy, yamt-idlelwp
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored) to selected 1.6 (colored)

Prefix dbg_str with "L".

Revision 1.8 / (download) - annotate - [select for diffs], Sun Dec 11 12:16:51 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace
Branch point for: simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.7: +1 -1 lines
Diff to previous 1.7 (colored) to selected 1.6 (colored)

merge ktrace-lwp.

Revision 1.5.2.4 / (download) - annotate - [select for diffs], Thu Nov 10 13:55:27 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5.2.3: +4 -4 lines
Diff to previous 1.5.2.3 (colored) next main 1.6 (colored)

Sync with HEAD. Here we go again...

Revision 1.6.18.1 / (download) - annotate - [select for diffs], Wed Oct 26 08:32:44 2005 UTC (18 years, 5 months ago) by yamt
Branch: yamt-vop
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

sync with head

Revision 1.7 / (download) - annotate - [select for diffs], Sun Oct 23 15:04:43 2005 UTC (18 years, 5 months ago) by peter
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored)

Fix some typos.

Revision 1.5.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:13:42 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5.2.2: +1 -1 lines
Diff to previous 1.5.2.2 (colored) to selected 1.6 (colored)

Fix the sync with head I botched.

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

Sync with HEAD.

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:32:58 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5: +5 -56 lines
Diff to previous 1.5 (colored) to selected 1.6 (colored)

Sync with HEAD

Revision 1.6 / (download) - annotate - [selected], Wed Nov 5 21:10:59 2003 UTC (20 years, 5 months ago) by scw
Branch: MAIN
CVS Tags: yamt-vop-base, yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, 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, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-vop, yamt-lazymbuf
Changes since 1.5: +5 -56 lines
Diff to previous 1.5 (colored)

Enable/Restore alignment fault state on interrupt handler entry/exit.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Mar 31 19:52:35 2003 UTC (21 years ago) by chris
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.4: +7 -1 lines
Diff to previous 1.4 (colored) to selected 1.6 (colored)

Fix for PR arm/17971.  Used patch as provided

Compiled, but no hardware to test on.

Revision 1.1.8.4 / (download) - annotate - [select for diffs], Fri Oct 18 02:35:40 2002 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.1.8.3: +9 -10 lines
Diff to previous 1.1.8.3 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored) to selected 1.6 (colored)

Catch up to -current.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Oct 14 22:32:52 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, bjh21-hydra
Changes since 1.3: +9 -10 lines
Diff to previous 1.3 (colored) to selected 1.6 (colored)

Continue the " - . - 8" purge.  Specifically:

add	rd, pc, #foo - . - 8		->	adr	rd, foo
ldr	rd, [pc, #foo - . - 8]		->	ldr	rd, foo

Also, when saving the return address for a function pointer call, use
"mov lr, pc" just before the call unless the return address is somewhere
other than just after the call site.

Finally, a few obvious little micro-optimisations like using LDR directly
rather than ADR followed by LDR, and loading directly into PC rather than
bouncing via R0.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Fri Sep 6 08:33:01 2002 UTC (21 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.1.2.1: +2 -2 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored) to selected 1.6 (colored)

sync kqueue branch with HEAD

Revision 1.1.8.3 / (download) - annotate - [select for diffs], Thu Aug 1 02:41:19 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1.8.2: +2 -2 lines
Diff to previous 1.1.8.2 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

Catch up to -current.

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Sun Jul 21 13:00:32 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored) next main 1.3 (colored) to selected 1.6 (colored)

catch up with -current.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jul 19 18:36:26 2002 UTC (21 years, 9 months ago) by ichiro
Branch: MAIN
CVS Tags: kqueue-base, gehenna-devsw-base
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored) to selected 1.6 (colored)

change include path

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Sun Jun 23 17:34:56 2002 UTC (21 years, 10 months ago) by jdolecek
Branch: kqueue
Changes since 1.1: +1 -2 lines
Diff to previous 1.1 (colored) to selected 1.6 (colored)

catch up with -current on kqueue branch

Revision 1.1.8.2 / (download) - annotate - [select for diffs], Wed Apr 17 00:02:35 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.1.8.1: +344 -0 lines
Diff to previous 1.1.8.1 (colored) to branchpoint 1.1 (colored) to selected 1.6 (colored)

Catch up to -current.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Apr 12 18:50:32 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.1: +1 -2 lines
Diff to previous 1.1 (colored) to selected 1.6 (colored)

Centralize ARM CPU configuration information by adding a new header
file, <arm/cpuconf.h>, which pulls in "opt_cputypes.h" and then defines
the following:
* CPU_NTYPES -- now many CPU types are configured into the kernel.  What
  you really want to know is "== 1" or "> 1".
* Defines ARM_ARCH_2, ARM_ARCH_3, ARM_ARCH_4, ARM_ARCH_5, depending
  on which ARM architecture versions are configured (based on CPU_*
  options).  Also defines ARM_NARCH to determins how many architecture
  versions are configured.
* Defines ARM_MMU_MEMC, ARM_MMU_GENERIC, ARM_MMU_XSCALE depending on
  which classes of ARM MMUs are configured into the kernel, and ARM_NMMUS
  to determine how many MMU classes are configured.

Remove the needless inclusion of "opt_cputypes.h" in several places.
Convert remaining users to <arm/cpuconf.h>.

Revision 1.1.8.1, Sun Jul 8 23:37:53 2001 UTC (22 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1: +0 -345 lines
FILE REMOVED

file sa11x0_irq.S was added on branch nathanw_sa on 2002-04-17 00:02:35 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Sun Jul 8 23:37:53 2001 UTC (22 years, 9 months ago) by rjs
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf, newlock-base, newlock, ifpoll-base, eeh-devprop-base, eeh-devprop
Branch point for: nathanw_sa, kqueue
Diff to selected 1.6 (colored)

Initial copy of SA11x0 support from hpcarm.

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>