The NetBSD Project

CVS log for src/sys/arch/mips/mips/mipsX_subr.S

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.115: download - view: text, markup, annotated - select for diffs
Tue May 31 08:43:14 2022 UTC (2 years, 8 months ago) by andvar
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-1-RELEASE, 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
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +3 -3 lines
fix various typos in comments, documentation and messages.

Revision 1.114: download - view: text, markup, annotated - select for diffs
Sun Mar 13 17:50:55 2022 UTC (2 years, 11 months ago) by andvar
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +3 -3 lines
s/hander/handler/ and s/hader/header/ in comments and documentation.

Revision 1.112.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:31 2021 UTC (3 years, 10 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.112: preferred, colored; next MAIN 1.113: preferred, colored
Changes since revision 1.112: +5 -3 lines
Sync with HEAD.

Revision 1.113: download - view: text, markup, annotated - select for diffs
Tue Feb 16 06:06:58 2021 UTC (3 years, 11 months ago) by simonb
Branches: 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
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +5 -3 lines
Working kernel profiling for n32/n64:
 - Different MCOUNT and _KERN_MCOUNT macros for n32/n64.
 - Don't profile mipsXX_lwp_trampoline().
 - Allow a few new instructions in the stub fixups.

Revision 1.112: download - view: text, markup, annotated - select for diffs
Sun Sep 27 10:35:57 2020 UTC (4 years, 4 months ago) by mrg
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +3 -3 lines
only look for cpunode.h on OCTEON.  that's the only direct
caller of *_kern_nonmaskable_intr().

Revision 1.111: download - view: text, markup, annotated - select for diffs
Thu Sep 24 08:14:08 2020 UTC (4 years, 4 months ago) by mrg
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +8 -3 lines
fix build on non rmx or octeon systems.

Revision 1.110: download - view: text, markup, annotated - select for diffs
Thu Sep 24 02:12:01 2020 UTC (4 years, 4 months ago) by mrg
Branches: MAIN
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +8 -4 lines
fix octeon !DDB builds.

Revision 1.109: download - view: text, markup, annotated - select for diffs
Sun Aug 23 10:23:38 2020 UTC (4 years, 5 months ago) by simonb
Branches: MAIN
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +8 -5 lines
Use a 16kB USPACE (and larger kernel stack) for LP64 kernels.  Invert
the logic for setting the USPACE size.  Define a desired USPACE size
(16kB for LP64, 8kB otherwise) then divide by PAGE_SIZE to get UPAGES.

Fixes random segmap lossage, since the uarea usually sits immediately
above the segmap for a process.  Thanks to mrg@, skrll@ and dholland@
for testing, debugging and general help tracking down this problem.

Revision 1.108: download - view: text, markup, annotated - select for diffs
Sat Jun 13 12:53:42 2020 UTC (4 years, 8 months ago) by simonb
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +3 -3 lines
Add a comment to say that instruction encoding 0x7c03e83b is "rdhwr $3,$29".

Revision 1.104.4.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:00 2020 UTC (4 years, 10 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.104.4.1: preferred, colored; branchpoint 1.104: preferred, colored; next MAIN 1.105: preferred, colored
Changes since revision 1.104.4.1: +1 -1 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.104.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:45 2020 UTC (4 years, 10 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +4 -4 lines
Merge changes from current as of 20200406

Revision 1.105.4.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:18:27 2020 UTC (4 years, 11 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.105: preferred, colored; next MAIN 1.106: preferred, colored
Changes since revision 1.105: +4 -4 lines
Sync with head.

Revision 1.107: download - view: text, markup, annotated - select for diffs
Sat Feb 15 17:01:00 2020 UTC (4 years, 11 months ago) by skrll
Branches: 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
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +3 -3 lines
Fix two comments

Revision 1.106: download - view: text, markup, annotated - select for diffs
Sat Feb 15 16:56:15 2020 UTC (4 years, 11 months ago) by skrll
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +2 -2 lines
typo in comment

Revision 1.105: download - view: text, markup, annotated - select for diffs
Tue Jun 25 21:26:04 2019 UTC (5 years, 7 months ago) by skrll
Branches: MAIN
CVS tags: phil-wifi-20191119, netbsd-9-base, netbsd-9-4-RELEASE, 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, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +2 -2 lines
s/cpulwp/curlwp/

Revision 1.56.2.1: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:28 2017 UTC (7 years, 2 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +762 -443 lines
update from HEAD

Revision 1.100.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 29 12:47:29 2017 UTC (7 years, 5 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE, 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
Diff to: previous 1.100: preferred, colored; next MAIN 1.101: preferred, colored
Changes since revision 1.100: +12 -21 lines
Pull up following revision(s) (requested by maya in ticket #246):
	sys/arch/evbmips/conf/std.loongson: revision 1.2
	usr.sbin/sysinst/arch/evbmips/md.h: revision 1.2
	sys/arch/mips/mips/mipsX_subr.S: revision 1.101
	sys/arch/mips/mips/mipsX_subr.S: revision 1.102
	sys/arch/mips/mips/mipsX_subr.S: revision 1.103
	sys/arch/mips/mips/mipsX_subr.S: revision 1.104
In working around loongson errata clear BTB and RAS, same as
other operating systems.
15 Errata: Issue of Out-of-order in loongson (translated)
In loongson 2F, because of the branch prediction, sometimes the CPU
may fetch the instructions from some unexpected area (for example I/O
space). It is an invalid operation. There are two ways for the CPU to
choose the branch target. The first one is predicting the branch
target according to the branch target history. The second one is
calculating the branch target by the ALU. There are most 8
instructions in the instruction window at the same time in loongson2f
(Remember the loongson 2f is superscalar, right?). Hence, the
branch target of an indirect branch(such as jr) could be got(may be
predicted by the branch target history) earlier and the instrctions of
the branch target could be prefetched even if there are branch
instructions before it. As a result, it is possible to fetch the
instructions from I/O region( say out-of the physical address range of
[0- 0x100000]) in kernel model because of the instruction prefetch of
the branch target.
There are some suggestions to prevent prefetching instructions from
the I/O region in kernel mode.
(1) When switching from user model to kernel model, you should flush
the branch target history such as BTB and RAS.
(2) Doing some tricks to the indirect branch target to make sure that
the indirect branch target can not be in the I/O region.
Remove whitespace I just introduced
Build the loongson kernels with all the binutils loongson2f errata workarounds
From Zhang Fuxin via <a  rel="nofollow" href="https://sourceware.org/ml/binutils/2009-11/msg00387.html">https://sourceware.org/ml/binutils/2009-11/msg00387.html</a>
  - The NOP issue
"The nature of the erratum is deeply related to the microarchitecture of
Loongson-2. It uses roughly a 4-way superscalar dynamically scheduled core,
instructions are excuted as much as possible in parallel with technics like
branch prediction etc. We use a 8-entry internal branch prediction queue to
keep track of each predicted branches, if some branches are proved to be
wrongly predicted, all the instructions following it will be cancelled,together
with the resources used by them, including the registers used for renaming, and
the queue entry will be freeed. There is a bug that might cause a hang when the
queue is full(some resources might been leaked due to conflict branch entries),
the workaround is to reduce the possiblity of branch queue full by using
renaming registers(they are also limited, can prevent too many simutaneos
branches). In theory this is still not enough to fully eliminate possible
hangs, but the possiblity is extremely low now and hard to be hit in real
code."
  - The JUMP instructions issue
"The Loongson-2 series processors have quite complex micro-architecture, it will
try to execute instructions from the predicated branch of coming instruction
stream before they are confirmed to be run, if the predication of branch
direction is proved wrong later, the instructions will be cancelled, but if the
instructions is a read from memory, the read action might not be cancelled(but
the changes to register will) to enable some prefetch. This will lead to some
problems when compining with some chipsets. E.g. the AMD CS5536 used in
Yeeloong/Fuloong will hang if it gets an address in the physical address range
of 0x100000-0x200000(might be more other ranges). Speculative reads can perform
read at any address in theory(due to wrong prediction of branch directions and
the use of branch target buffer), thus in very few occasions they might cause a
hard lock of the machine.
To prevent this, we need to prevent some addresses from entering branch
target buffers. A way to do this is that to modify all jump targets, e.g.,
     calulations of t9
     ...
     jalr t9  =>
     calculations of t9
     or t9, t9, 0x80000000;  // to make sure t9 is in kseg0
     jalr t9
Of course, we have to consider 64/32bit, and modules addresses etc.
This only need to be performed on kernel code, because only there we can have
accesses not translated/limited by TLB. For user code, it is impossible to
generate accesses to unwanted physical address. So it is safe.
Also, to prevent addresses generated by user mode code to be used by the
kernel, we add a few empty jumps to flush the BTB upon entrance to kernel."
evbmips can "boot root FFSv2"
It typically uses a non-NetBSD bootloader (PMON, u-boot...) and those
don't differentiate from v1 from v2 - both are unsupported and it requires
a separate boot partition.
Don't need the errata workaround on user return
It's reported that the MMU will block such invalid reads in userland,
and it's only needed on entry.
use meaningful name for errata hack, dedup

Revision 1.56.16.6: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:45 2017 UTC (7 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.56.16.5: preferred, colored; branchpoint 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56.16.5: +33 -42 lines
Sync with HEAD

Revision 1.104: download - view: text, markup, annotated - select for diffs
Sun Aug 20 09:47:13 2017 UTC (7 years, 5 months ago) by maya
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, phil-wifi-base, phil-wifi-20190609, 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, nick-nhusb-base-20170825, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +12 -17 lines
use meaningful name for errata hack, dedup

Revision 1.103: download - view: text, markup, annotated - select for diffs
Sun Aug 20 09:21:54 2017 UTC (7 years, 5 months ago) by maya
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +1 -5 lines
Don't need the errata workaround on user return
It's reported that the MMU will block such invalid reads in userland,
and it's only needed on entry.

Revision 1.102: download - view: text, markup, annotated - select for diffs
Tue Aug 8 09:34:59 2017 UTC (7 years, 6 months ago) by maya
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +2 -2 lines
Remove whitespace I just introduced

Revision 1.101: download - view: text, markup, annotated - select for diffs
Tue Aug 8 09:33:41 2017 UTC (7 years, 6 months ago) by maya
Branches: MAIN
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +6 -6 lines
In working around loongson errata clear BTB and RAS, same as
other operating systems.

15 Errata: Issue of Out-of-order in loongson (translated)

In loongson 2F, because of the branch prediction, sometimes the CPU
may fetch the instructions from some unexpected area (for example I/O
space). It is an invalid operation. There are two ways for the CPU to
choose the branch target. The first one is predicting the branch
target according to the branch target history. The second one is
calculating the branch target by the ALU. There are most 8
instructions in the instruction window at the same time in loongson2f
(Remember the loongson 2f is superscalar, right?). Hence, the
branch target of an indirect branch(such as jr) could be got(may be
predicted by the branch target history) earlier and the instrctions of
the branch target could be prefetched even if there are branch
instructions before it. As a result, it is possible to fetch the
instructions from I/O region( say out-of the physical address range of
[0- 0x100000]) in kernel model because of the instruction prefetch of
the branch target.

There are some suggestions to prevent prefetching instructions from
the I/O region in kernel mode.

(1) When switching from user model to kernel model, you should flush
the branch target history such as BTB and RAS.
(2) Doing some tricks to the indirect branch target to make sure that
the indirect branch target can not be in the I/O region.

Revision 1.96.6.2: download - view: text, markup, annotated - select for diffs
Fri May 19 00:22:56 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.96.6.1: preferred, colored; branchpoint 1.96: preferred, colored; next MAIN 1.97: preferred, colored
Changes since revision 1.96.6.1: +2 -2 lines
Resolve conflicts from previous merge (all resulting from $NetBSD
keywork expansion)

Revision 1.100: download - view: text, markup, annotated - select for diffs
Mon May 15 10:59:24 2017 UTC (7 years, 9 months ago) by skrll
Branches: MAIN
CVS tags: prg-localcount2-base3, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base
Branch point for: netbsd-8
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +2 -2 lines
Fix off-by-one in tlb_record_asids

Revision 1.96.6.1: download - view: text, markup, annotated - select for diffs
Thu May 11 02:58:35 2017 UTC (7 years, 9 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +21 -21 lines
Sync with HEAD

Revision 1.99: download - view: text, markup, annotated - select for diffs
Sun May 7 05:50:39 2017 UTC (7 years, 9 months ago) by skrll
Branches: MAIN
CVS tags: prg-localcount2-base2
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +9 -11 lines
Check the TLB entry ASID against base (a0) and limit (a1), and not
limit (a1) and random register value (a2)

While here shave an instruction off

Revision 1.98: download - view: text, markup, annotated - select for diffs
Sun May 7 05:48:01 2017 UTC (7 years, 9 months ago) by skrll
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +3 -1 lines
Save/restore pgMask in tlb_record_asids

Revision 1.97: download - view: text, markup, annotated - select for diffs
Sun May 7 04:59:19 2017 UTC (7 years, 9 months ago) by skrll
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +11 -11 lines
Call an ASID an ASID in comments

Revision 1.71.2.4: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:21 2017 UTC (8 years, 1 month ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.71.2.3: preferred, colored; branchpoint 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71.2.3: +9 -16 lines
Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.56.16.5: download - view: text, markup, annotated - select for diffs
Mon Dec 5 10:54:55 2016 UTC (8 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.56.16.4: preferred, colored; branchpoint 1.56: preferred, colored
Changes since revision 1.56.16.4: +9 -16 lines
Sync with HEAD

Revision 1.96: download - view: text, markup, annotated - select for diffs
Sat Nov 19 09:05:50 2016 UTC (8 years, 2 months ago) by skrll
Branches: MAIN
CVS tags: prg-localcount2-base1, prg-localcount2-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, nick-nhusb-base-20170204, nick-nhusb-base-20161204, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: prg-localcount2
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +9 -10 lines
Optimise the interrupt vector a litte.  From matt@

Revision 1.95: download - view: text, markup, annotated - select for diffs
Wed Nov 9 11:50:09 2016 UTC (8 years, 3 months ago) by maya
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +1 -7 lines
Move MFC0_HAZARD definition to asm.h instead of defining it twice

Revision 1.71.2.3: download - view: text, markup, annotated - select for diffs
Fri Nov 4 14:49:02 2016 UTC (8 years, 3 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.71.2.2: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.2: +2 -6 lines
Sync with HEAD

Revision 1.56.16.4: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:32 2016 UTC (8 years, 4 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.56.16.3: preferred, colored; branchpoint 1.56: preferred, colored
Changes since revision 1.56.16.3: +558 -417 lines
Sync with HEAD

Revision 1.94: download - view: text, markup, annotated - select for diffs
Sun Oct 2 09:06:35 2016 UTC (8 years, 4 months ago) by maya
Branches: MAIN
CVS tags: pgoyette-localcount-20161104, nick-nhusb-base-20161004
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +1 -5 lines
Simplify. LOONGSON2 and MIPSNNR2 not possible.

Revision 1.93: download - view: text, markup, annotated - select for diffs
Sat Aug 27 07:22:14 2016 UTC (8 years, 5 months ago) by skrll
Branches: MAIN
CVS tags: localcount-20160914
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +17 -8 lines
Comment consistency.  No functional change.

Revision 1.92: download - view: text, markup, annotated - select for diffs
Wed Aug 17 20:59:08 2016 UTC (8 years, 5 months ago) by skrll
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +4 -3 lines
loongson whack-a-mole.

- clear the top bits so the legal address check is correct.
- need to sign-extend the seg offset for kernel fault check

Revision 1.91: download - view: text, markup, annotated - select for diffs
Tue Aug 16 09:55:14 2016 UTC (8 years, 5 months ago) by skrll
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +2 -2 lines
Code consistency.  No functional change.

Revision 1.90: download - view: text, markup, annotated - select for diffs
Mon Aug 15 14:45:31 2016 UTC (8 years, 5 months ago) by skrll
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +2 -2 lines
Fix copy&pasto shift value - hopefully this will fix LOONGSON/GDIUM

Revision 1.89: download - view: text, markup, annotated - select for diffs
Mon Aug 15 14:44:44 2016 UTC (8 years, 5 months ago) by skrll
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +2 -2 lines
Typo in comment

Revision 1.88: download - view: text, markup, annotated - select for diffs
Mon Aug 15 14:26:48 2016 UTC (8 years, 5 months ago) by skrll
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +3 -3 lines
Fix an instruction number in a comment

Revision 1.87: download - view: text, markup, annotated - select for diffs
Tue Aug 9 09:06:31 2016 UTC (8 years, 6 months ago) by skrll
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +18 -4 lines
Disable the USPACE cpu_switch_resume optimisation for 16KB PAGE_SIZE

Always check for existing TLB entry and remove it

Add a comment to say what's going on

Revision 1.86: download - view: text, markup, annotated - select for diffs
Tue Aug 9 08:59:08 2016 UTC (8 years, 6 months ago) by skrll
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +3 -3 lines
Fixup the #if to reflect when we can have non-direct mappable USPACE

Revision 1.85: download - view: text, markup, annotated - select for diffs
Tue Aug 9 08:56:23 2016 UTC (8 years, 6 months ago) by skrll
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +2 -2 lines
Correct a comment

Revision 1.84: download - view: text, markup, annotated - select for diffs
Mon Aug 8 10:21:34 2016 UTC (8 years, 6 months ago) by skrll
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +2 -4 lines
Use MFC0_HAZARD - no functional change

Revision 1.83: download - view: text, markup, annotated - select for diffs
Sun Aug 7 07:13:57 2016 UTC (8 years, 6 months ago) by skrll
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +8 -5 lines
Fix two bugs for tlb_invalidate_addr for (PGSHIFT & 1) == 0

- t0/t1 weren't being updated when both lo0/lo1 become invalid
- the global bit (G) needs to be preserved if the entry becomes invalid

The MIPSNN optimisation is disabled for now as it needs to be updated
appropriately

Revision 1.82: download - view: text, markup, annotated - select for diffs
Sun Aug 7 06:15:49 2016 UTC (8 years, 6 months ago) by skrll
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +2 -1 lines
Restore a MFC0_HAZARD lost in r1.68

Revision 1.81: download - view: text, markup, annotated - select for diffs
Sun Aug 7 06:12:24 2016 UTC (8 years, 6 months ago) by skrll
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +4 -4 lines
Fix incorrect register usage in #if (PGSHIFT & 1) == 0 code

Revision 1.71.2.2: download - view: text, markup, annotated - select for diffs
Sat Aug 6 00:19:06 2016 UTC (8 years, 6 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.71.2.1: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.1: +11 -11 lines
Sync with HEAD

Revision 1.80: download - view: text, markup, annotated - select for diffs
Fri Aug 5 15:39:09 2016 UTC (8 years, 6 months ago) by skrll
Branches: MAIN
CVS tags: pgoyette-localcount-20160806
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +2 -2 lines
Fix register usage in the swap operation in tlb_update_addr.

This should help LOONGSON and hpcmips

Revision 1.79: download - view: text, markup, annotated - select for diffs
Fri Aug 5 15:35:32 2016 UTC (8 years, 6 months ago) by skrll
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +2 -2 lines
Fix a comment

Revision 1.78: download - view: text, markup, annotated - select for diffs
Fri Aug 5 15:33:28 2016 UTC (8 years, 6 months ago) by skrll
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +5 -5 lines
Whitespace (comment alignment)

Revision 1.77: download - view: text, markup, annotated - select for diffs
Fri Aug 5 10:39:49 2016 UTC (8 years, 6 months ago) by skrll
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +3 -3 lines
Typo in comments

Revision 1.76: download - view: text, markup, annotated - select for diffs
Sat Jul 30 07:10:42 2016 UTC (8 years, 6 months ago) by skrll
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +2 -2 lines
Correct comment

Revision 1.75: download - view: text, markup, annotated - select for diffs
Sat Jul 30 07:09:03 2016 UTC (8 years, 6 months ago) by skrll
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +2 -2 lines
Don't always include PARANOIA code

Revision 1.71.2.1: download - view: text, markup, annotated - select for diffs
Tue Jul 26 03:24:17 2016 UTC (8 years, 6 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +98 -94 lines
Sync with HEAD

Revision 1.74: download - view: text, markup, annotated - select for diffs
Thu Jul 21 12:17:07 2016 UTC (8 years, 6 months ago) by skrll
Branches: MAIN
CVS tags: pgoyette-localcount-20160726
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +2 -2 lines
Fix typo in comment

Revision 1.73: download - view: text, markup, annotated - select for diffs
Sun Jul 17 16:44:39 2016 UTC (8 years, 6 months ago) by skrll
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +10 -6 lines
Fixup some Loongson code after recent changes to pmap and PAGE_SIZE

Revision 1.72: download - view: text, markup, annotated - select for diffs
Sun Jul 17 12:56:12 2016 UTC (8 years, 6 months ago) by skrll
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +91 -91 lines
Update instruction numbers in comments

Revision 1.71: download - view: text, markup, annotated - select for diffs
Tue Jul 12 03:34:50 2016 UTC (8 years, 7 months ago) by matt
Branches: MAIN
CVS tags: pgoyette-localcount-base
Branch point for: pgoyette-localcount
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +3 -3 lines
Fix busted #if/endif

Revision 1.70: download - view: text, markup, annotated - select for diffs
Mon Jul 11 19:00:04 2016 UTC (8 years, 7 months ago) by skrll
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +8 -8 lines
Trailing whitespace

Revision 1.69: download - view: text, markup, annotated - select for diffs
Mon Jul 11 18:07:33 2016 UTC (8 years, 7 months ago) by matt
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +1 -2 lines
Remove extra #endif

Revision 1.68: download - view: text, markup, annotated - select for diffs
Mon Jul 11 16:15:36 2016 UTC (8 years, 7 months ago) by matt
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +505 -389 lines
Change MIPS to use the common pmap code.
Switch to 8KB pages on CPUs with a R4K MMU.
Simplify cache code.
Merge in most of changes from matt-mips64 branch

Revision 1.56.16.3: download - view: text, markup, annotated - select for diffs
Sat Jul 9 20:24:54 2016 UTC (8 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.56.16.2: preferred, colored; branchpoint 1.56: preferred, colored
Changes since revision 1.56.16.2: +43 -11 lines
Sync with HEAD

Revision 1.67: download - view: text, markup, annotated - select for diffs
Mon Jul 4 15:52:31 2016 UTC (8 years, 7 months ago) by dholland
Branches: MAIN
CVS tags: nick-nhusb-base-20160907
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +8 -3 lines
More of previous, so both kern_intr and user_intr have the comment.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Mon Jul 4 15:47:04 2016 UTC (8 years, 7 months ago) by dholland
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +6 -2 lines
Improve comments after some discussion with Nick.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Mon Jul 4 14:47:39 2016 UTC (8 years, 7 months ago) by dholland
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +2 -2 lines
typo in comment

Revision 1.64: download - view: text, markup, annotated - select for diffs
Mon Jul 4 14:29:55 2016 UTC (8 years, 7 months ago) by skrll
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +4 -4 lines
Fix code inversion in an #ifdef NOFPU case

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sat Jul 2 19:40:57 2016 UTC (8 years, 7 months ago) by maya
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +27 -4 lines
Sprinkle MFC0_HAZARD everywhere.

ok dholland@

Revision 1.56.16.2: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:05:47 2015 UTC (9 years, 4 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.56.16.1: preferred, colored; branchpoint 1.56: preferred, colored
Changes since revision 1.56.16.1: +155 -10 lines
Sync with HEAD

Revision 1.62: download - view: text, markup, annotated - select for diffs
Thu Jun 11 07:30:10 2015 UTC (9 years, 8 months ago) by matt
Branches: MAIN
CVS tags: nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +1 -3 lines
Don't include <machine/param.h> in .S files, get the needed values from assym.h
Define NBPG as UL to avoid integer over with NBXSEG on LP64 systems.
(.S files don't like numbers with UL appended to them).

Revision 1.61: download - view: text, markup, annotated - select for diffs
Tue Jun 9 14:40:42 2015 UTC (9 years, 8 months ago) by matt
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +2 -2 lines
Fix corruption of EntryHi (restored from wrong register).

Revision 1.60: download - view: text, markup, annotated - select for diffs
Sun Jun 7 08:03:10 2015 UTC (9 years, 8 months ago) by matt
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +2 -2 lines
Define COP0 register that use select value in <mips/cpuregs.h>
Use those new definitions

Revision 1.59: download - view: text, markup, annotated - select for diffs
Sat Jun 6 21:48:45 2015 UTC (9 years, 8 months ago) by matt
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +152 -5 lines
Add mipsX_nonmaskable_intr if DDB is defined.
Add missing */ at end of comment.
Use trap instructon on mipsNN in paranoia sections instead of endless loop.

Revision 1.56.16.1: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:02 2015 UTC (9 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +19 -2 lines
Sync with HEAD

Revision 1.58: download - view: text, markup, annotated - select for diffs
Thu Jun 4 02:27:25 2015 UTC (9 years, 8 months ago) by matt
Branches: MAIN
CVS tags: nick-nhusb-base-20150606
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +17 -1 lines
Use ei/di on mipsNNr2 where possible.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Tue May 26 02:18:20 2015 UTC (9 years, 8 months ago) by matt
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +3 -2 lines
Use COP0_SYNC after writing the exception PC.

Revision 1.26.36.1.2.58: download - view: text, markup, annotated - select for diffs
Sat Aug 4 07:20:31 2012 UTC (12 years, 6 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.57: preferred, colored; branchpoint 1.26.36.1: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26.36.1.2.57: +145 -48 lines
Make MIPS use a multi-level page table for the kernel address space.
(just like the user address does).   XXX fix mips1

Revision 1.26.36.1.2.57: download - view: text, markup, annotated - select for diffs
Mon Jul 9 17:11:32 2012 UTC (12 years, 7 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.56: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.56: +14 -1 lines
Add code to panic if/when a kthread return to lwp_startup.
Add a workaround for the XLP which requires a EHB at the start of the interrupt
vector.

Revision 1.54.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:06:39 2012 UTC (12 years, 9 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.54.2.1: preferred, colored; branchpoint 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54.2.1: +3 -19 lines
sync with head

Revision 1.26.36.1.2.56: download - view: text, markup, annotated - select for diffs
Mon Feb 27 17:04:39 2012 UTC (12 years, 11 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.55: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.55: +42 -25 lines
Count all traps types.

Revision 1.55.4.1: download - view: text, markup, annotated - select for diffs
Fri Feb 24 09:11:31 2012 UTC (12 years, 11 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55: +3 -19 lines
sync to -current.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Sun Feb 19 21:06:18 2012 UTC (12 years, 11 months ago) by rmind
Branches: MAIN
CVS tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, 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, nick-nhusb-base-20150406, nick-nhusb-base, 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, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, nick-nhusb
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +3 -19 lines
Remove COMPAT_SA / KERN_SA.  Welcome to 6.99.3!
Approved by core@.

Revision 1.26.36.1.2.55: download - view: text, markup, annotated - select for diffs
Thu Feb 9 20:01:21 2012 UTC (13 years ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.54: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.54: +2 -1 lines
Update mips_fixup.c to version from -HEAD.
Move cpu_switchto to locore jumpvec and create a stub for it.

Revision 1.26.36.1.2.54: download - view: text, markup, annotated - select for diffs
Thu Jan 19 08:28:49 2012 UTC (13 years ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.53: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.53: +2 -2 lines
When running an N32 kernel, run it with 64-bit addresses even though the
kernel itself will only use 32-bit addresses.  There are exceptions.
bus_space_handles are now register_t instead of intptr_t.  This allows them
to contain XKPHYS addresses.  Now bus_space can use XKPHYS addresses and
not required non-KSEG1 devices to be mapped in KSEG2 thereby leaving more
KSEG2 space for the kernel to use.

The cache range routines (but not index routines) now take a register_t
instead of vaddr_t so they can too take a XKPHYS address.  This allows the
pmap to use a page's XKPHYS address to clean sync the icache thereby avoiding
massive icache invalidations.

Since "cache" instruction effects are global to all CPUs and their caches, we
can use the above to greatly simplify MP page isyncs.  If using an O32 kernel
with pages outside KSEG0, index ops still need to be performed since there
isn't an a quick way of mapping the page.

Revision 1.26.36.1.2.53: download - view: text, markup, annotated - select for diffs
Tue Jan 3 03:32:23 2012 UTC (13 years, 1 month ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.52: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.52: +8 -12 lines
If MIPS64R2_XLP, just let MIPSX(exception) do the work on cache exceptions.
(this might be generalized to all mipsNN with more testing).

Revision 1.26.36.1.2.52: download - view: text, markup, annotated - select for diffs
Fri Dec 23 23:40:00 2011 UTC (13 years, 1 month ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.51: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.51: +133 -88 lines
Rework the tlb routines to more consistend on register usage.
Always try to keep TLB_INDEX invalid (to cause unintended tlbwi to fail).

Revision 1.26.36.1.2.51: download - view: text, markup, annotated - select for diffs
Tue Dec 13 07:14:51 2011 UTC (13 years, 2 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.50: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.50: +6 -2 lines
Make MIPS64R2_RMIXL use .set arch=xlp

Revision 1.26.36.1.2.50: download - view: text, markup, annotated - select for diffs
Sat Dec 3 01:56:55 2011 UTC (13 years, 2 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.49: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.49: +231 -106 lines
Rework things a bit for the XLR/XLS/XLP TLB.  Before dealing with the TLB when
MP on the XL?, disable interrupts and take out a lock to prevent concurrent
updates to the TLB.  In the TLB miss and invalid exception handlers, if the
lock is already owned by another CPU, simply return from the exception and
let it continue or restart as appropriate.  This prevents concurrent TLB
exceptions in multiple threads from possibly updating the TLB multiple times
for a single address.

Revision 1.26.36.1.2.49: download - view: text, markup, annotated - select for diffs
Fri Dec 2 00:01:37 2011 UTC (13 years, 2 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.48: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.48: +77 -12 lines
Add support for 8KB pages.

Revision 1.26.36.1.2.48: download - view: text, markup, annotated - select for diffs
Thu Dec 1 03:50:08 2011 UTC (13 years, 2 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.47: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.47: +12 -3 lines
When trying to map the stack of the current lwp into TLB, if the stack was
mapped via KSEGX skip the load.

Revision 1.54.2.1: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:31:41 2011 UTC (13 years, 3 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +2 -2 lines
sync with head

Revision 1.26.36.1.2.47: download - view: text, markup, annotated - select for diffs
Thu Nov 3 18:29:27 2011 UTC (13 years, 3 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.46: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.46: +2 -2 lines
Fix brain fart

Revision 1.55: download - view: text, markup, annotated - select for diffs
Thu Nov 3 18:27:07 2011 UTC (13 years, 3 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, 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, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: jmcneill-usbmp
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +2 -2 lines
Fix brain fart.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Sat Aug 27 13:23:52 2011 UTC (13 years, 5 months ago) by bouyer
Branches: MAIN
CVS tags: yamt-pagecache-base
Branch point for: yamt-pagecache
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +90 -30 lines
loongson2f support:
- Add some loongson2 definitions to cpuregs.h, from OpenBSD
- Make sure that the at register is useable before every jump register
  instruction (exept when register is k0 or k1) because -mfix-loongson2f-btb
  needs the at register for its workaround
- add code to mips_fixup.c to handle the instructions added by
  -mfix-loongson2f-btb
- Add a ls2-specific tlb miss handler: it doesn't have separate handler
  for the xtlbmiss exeption.
- Fixes for some #ifdef MIPS3_LOONGSON2 assembly code (using the wrong
  register)

Revision 1.53: download - view: text, markup, annotated - select for diffs
Tue Aug 16 06:55:12 2011 UTC (13 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +25 -10 lines
Only jump through t9/ra (or k0) to help avoid hitting
the Loongson2 jump problem.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Tue Aug 2 05:13:21 2011 UTC (13 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +23 -11 lines
Clear the BTB on user->kernel entry on Loongson2

Revision 1.51: download - view: text, markup, annotated - select for diffs
Sun Jul 31 15:39:29 2011 UTC (13 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +54 -7 lines
Add support for a loongson2_subr.S.  This is needed since that chip needs
special handling to manually flush the ITLB on TLB updates.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Sun Jul 10 23:21:59 2011 UTC (13 years, 7 months ago) by matt
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -2 lines
More <machine/ include cleanup

Revision 1.26.36.1.2.46: download - view: text, markup, annotated - select for diffs
Fri Jul 1 02:04:15 2011 UTC (13 years, 7 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.45: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.45: +6 -2 lines
Some RMI TLB locking fixes.

Revision 1.26.36.1.2.45: download - view: text, markup, annotated - select for diffs
Mon Jun 6 21:53:42 2011 UTC (13 years, 8 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.44: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.44: +5 -1 lines
Make sure to free the TLB when exiting from tlb_invalid_exception

Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:06:07 2011 UTC (13 years, 8 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +1760 -1584 lines
Sync with HEAD.

Revision 1.35.4.4: download - view: text, markup, annotated - select for diffs
Tue May 31 03:04:09 2011 UTC (13 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.35.4.3: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.4.3: +45 -46 lines
sync with head

Revision 1.49: download - view: text, markup, annotated - select for diffs
Sat May 28 14:40:13 2011 UTC (13 years, 8 months ago) by matt
Branches: MAIN
CVS tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +1 -3 lines
Since we mostly use RAS (even if we have LL/SC), need to check for lock ras
addresses even on ll/sc capable CPUs.

Revision 1.26.36.1.2.44: download - view: text, markup, annotated - select for diffs
Sat May 28 02:20:13 2011 UTC (13 years, 8 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.43: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.43: +1 -3 lines
Since we mostly use RAS (even if we have LL/SC), need to check for lock ras
addresses even on ll/sc capable CPUs.

Revision 1.26.36.1.2.43: download - view: text, markup, annotated - select for diffs
Thu May 26 19:21:56 2011 UTC (13 years, 8 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.42: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.42: +145 -49 lines
Add MIPS64_RMIXL (XLR/XLS) and MIPS64R2_RMIXL (XLP).  This allows the kernel
to treat this special which is needed for MP support. When accessing the TLB,
always lock the TLB before hand.  If in the miss handlers, the TLB is already
locked let trap deal with the exeception.

Revision 1.26.36.1.2.42: download - view: text, markup, annotated - select for diffs
Thu May 26 15:42:17 2011 UTC (13 years, 8 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.41: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.41: +2 -2 lines
Fix cut & paste error in previous commit.

Revision 1.26.36.1.2.41: download - view: text, markup, annotated - select for diffs
Thu May 26 01:46:40 2011 UTC (13 years, 8 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.40: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.40: +53 -5 lines
Use some mipsNNr2 instructions to extract the non-wired bits from a pte.
(Saves on instruction per use).

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sat May 7 18:16:54 2011 UTC (13 years, 9 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +9 -8 lines
Tweak some comments in mipsN_tlb_record_asids() to reduce diffs.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sat May 7 17:52:43 2011 UTC (13 years, 9 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +8 -8 lines
Remove trailing spaces and tabs.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri Apr 29 22:16:49 2011 UTC (13 years, 9 months ago) by matt
Branches: MAIN
CVS tags: jym-xensuspend-nbase, jym-xensuspend-base
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +31 -31 lines
Add/move some COP0_SYNC.  increment tlb miss counter on mips3 and mips64r2
#ifdef MIPS3 / #endif more nops

Revision 1.26.36.1.2.40: download - view: text, markup, annotated - select for diffs
Fri Apr 29 08:26:28 2011 UTC (13 years, 9 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.39: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.39: +229 -370 lines
Major merge to/from current.
Adds MIPS32/MIPS64 R2 support (24k, 74k, etc.) including COP0_USERLOCAL
Adds support for emulation of rdhwr $3,$29 instruction.
Major cleanup of SMP code.  (stable on multi-core / single thread per core)
llsc locking code only used in MP capable kernels.

Revision 1.35.4.3: download - view: text, markup, annotated - select for diffs
Thu Apr 21 01:41:12 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.35.4.2: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.4.2: +179 -243 lines
sync with head

Revision 1.45: download - view: text, markup, annotated - select for diffs
Thu Apr 14 09:25:05 2011 UTC (13 years, 10 months ago) by matt
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +5 -2 lines
Use .set arch=xlr to access RMI specific instructions.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Thu Apr 14 05:51:27 2011 UTC (13 years, 10 months ago) by cliff
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +8 -7 lines
- add loocoresw slot for lsw_cpu_run
- fix comments for locoresw fields

Revision 1.43: download - view: text, markup, annotated - select for diffs
Wed Apr 6 14:04:32 2011 UTC (13 years, 10 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +7 -9 lines
Sync with locore_mips1.S:
>> Load pc into ta0 instead of ra and then saving to ta0.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Wed Apr 6 05:13:36 2011 UTC (13 years, 10 months ago) by matt
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +23 -19 lines
Rename kernel_tlb_miss to kern_tlb_miss (everything else kern_xxx)
Don't load k1 in delay slot to MIPS_CURLWP before branching to
kern_gen_exception since that doesn't use the lwp pointer in k1
(since it can the lwp in MIPS_CURLWP instead).  Use nop instead.
Rework tlb_invalid_exception a bit so the result of the tlbp is
done before seeing if the tlb slot was even or odd.  Makes the
routine slightly smaller.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Tue Mar 15 07:39:22 2011 UTC (13 years, 11 months ago) by matt
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +141 -211 lines
Add separate support for MIPS32R2 and MIPS64R2.
Use EHB/SSNOP and jr.hb ra as appropriate (COP0_SYNC now uses them).
Add support for COP_0_HWRENA and COP_0_USERLOCAL (use by rdhwr $3,$29
instruction for TLS support).
Add mips3+ reserved instruction handler to emulate rdhwr is many fewer
instructions.

Revision 1.35.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:51:07 2011 UTC (13 years, 11 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.35.4.1: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.4.1: +1663 -1423 lines
sync with head

Revision 1.37.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 15:09:50 2011 UTC (13 years, 11 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +1662 -1421 lines
Sync with HEAD

Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Feb 23 07:03:50 2011 UTC (13 years, 11 months ago) by matt
Branches: MAIN
CVS tags: bouyer-quota2-nbase
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +1 -3 lines
Remove a few more lines that should have been removed in the previous commit

Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Feb 22 08:19:47 2011 UTC (13 years, 11 months ago) by matt
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +1 -5 lines
Always include mipsX_tlb_write_indexed.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sun Feb 20 07:45:48 2011 UTC (13 years, 11 months ago) by matt
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +1681 -1434 lines
Major merge forward from matt-nb5-mips64.
New fixup code.
New common SPL code.
New common interrupt code.
Move related variables into structures.
Cleanup locore (move MD variable into it).
Kill StudlyCaps
Use PCU for FPU

Revision 1.26.36.1.2.39: download - view: text, markup, annotated - select for diffs
Wed Dec 29 08:13:38 2010 UTC (14 years, 1 month ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231
Diff to: previous 1.26.36.1.2.38: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.38: +2 -1 lines
Add wbflush to jumpvec while leaving it in locoresw.  This allows to
overwrite wbflush in locoresw but still be able to call it via jumpvec.

Revision 1.26.36.1.2.38: download - view: text, markup, annotated - select for diffs
Wed Dec 29 00:39:39 2010 UTC (14 years, 1 month ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.37: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.37: +13 -8 lines
Janitorial work.
Move emulation prototypes here and get rid of StudLyCaps.
Remove kludgery for lwp/setfunc trampoline and just grab them of the damn
structure.
Make mips_locore_jumpvec contain the routines that don't get reassigned
and move wbflush to mips_locoresw since it does get overridden.

Revision 1.26.36.1.2.37: download - view: text, markup, annotated - select for diffs
Fri Dec 24 07:21:12 2010 UTC (14 years, 1 month ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.36: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.36: +1362 -1405 lines
Bring locore_mips1.S into the new world order.  You can diff locore_mips1.S
against mipsX_subr.S and have reasonable output.  A lot of comments have
been changed to be common between the two.  The ordering of vectors/functions
have also changed to improve diff output.

Revision 1.26.36.1.2.36: download - view: text, markup, annotated - select for diffs
Wed Dec 22 05:59:13 2010 UTC (14 years, 1 month ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.35: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.35: +5 -9 lines
Just call splcheck directly.  The stub fixer will make it right.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed Dec 22 01:34:17 2010 UTC (14 years, 1 month ago) by nisimura
Branches: MAIN
CVS tags: uebayasi-xip-base7, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-base
Branch point for: jruoho-x86intr, bouyer-quota2
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -4 lines
- make sure cpu_switchto() not to touch MIPS_CURLWP register at newlwp
  switchframe restoration stage.
- discard MIPS_CURLWP assignments exposed in cpu_lwp_fork() and
  cpu_setfunc().
- use plain 'jal' instruction to call lwp_startup().

Revision 1.26.36.1.2.35: download - view: text, markup, annotated - select for diffs
Fri Aug 20 03:21:41 2010 UTC (14 years, 5 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-k15
Diff to: previous 1.26.36.1.2.34: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.34: +6 -1 lines
Save and restore TLB_HI in cpu_switch_resume

Revision 1.26.36.1.2.34: download - view: text, markup, annotated - select for diffs
Thu Aug 19 07:21:37 2010 UTC (14 years, 5 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.33: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.33: +17 -14 lines
in the xtlb miss handler, make sure the user address is below
VM_MAXUSER_ADDRESS

Revision 1.35.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:44:52 2010 UTC (14 years, 6 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +10 -3 lines
Sync with HEAD.

Revision 1.26.36.1.2.33: download - view: text, markup, annotated - select for diffs
Mon Aug 16 18:01:13 2010 UTC (14 years, 6 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.32: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.32: +64 -64 lines
Support user VAs > 4GB (but less than 1TB for now) using a 3 level page table.
Add debug code to help find redundant faults (PMAP_FAULTINFO).

Revision 1.26.20.5: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:52:23 2010 UTC (14 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.26.20.4: preferred, colored; branchpoint 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26.20.4: +10 -3 lines
sync with head.

Revision 1.35.4.1: download - view: text, markup, annotated - select for diffs
Sat Jul 3 01:19:23 2010 UTC (14 years, 7 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +10 -3 lines
sync with head

Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Jun 22 12:42:21 2010 UTC (14 years, 7 months ago) by simonb
Branches: 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
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +10 -3 lines
Restore (and update) half of the TLB miss handler that went missing
during the mips64 merge.  This gets my sbmips kernel booting to the
login prompt.  This code could not possibly have been tested after
the merge.

Should fix PR port-mips/43431.

Revision 1.26.36.1.2.32: download - view: text, markup, annotated - select for diffs
Thu Jun 10 00:37:12 2010 UTC (14 years, 8 months ago) by cliff
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.31: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.31: +2 -2 lines
in MIPSX(kern_intr), before "Call the interrupt handler",
store s1 to TF_BASE+TF_REG_SR(sp) to save STATUS there.
no big deal, it seems to be unused;  at least now it is unused correctly.

Revision 1.26.36.1.2.31: download - view: text, markup, annotated - select for diffs
Wed Apr 28 03:14:45 2010 UTC (14 years, 9 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.30: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.30: +7 -17 lines
Now that the Atheros HAL is gone, remove the hacks in place for it.
(also fixes a stupid bug).

Revision 1.26.20.4: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:02:40 2010 UTC (14 years, 11 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.26.20.3: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.20.3: +405 -318 lines
sync with head

Revision 1.26.36.1.2.30: download - view: text, markup, annotated - select for diffs
Mon Mar 1 19:29:41 2010 UTC (14 years, 11 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.29: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.29: +2 -2 lines
Add secondary processor spinup support (cpu_trampoline is in locore_mips3.S).
Nuke lse_boot_secondary_processors (not needed).
Move cpu_info_store to cpu_subr.C

Revision 1.26.36.1.2.29: download - view: text, markup, annotated - select for diffs
Sun Feb 28 03:28:54 2010 UTC (14 years, 11 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.28: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.28: +5 -9 lines
Change from indirect calls to direct calls to spl* routines.

Revision 1.26.36.1.2.28: download - view: text, markup, annotated - select for diffs
Sat Feb 27 20:32:04 2010 UTC (14 years, 11 months ago) by snj
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.27: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.27: +6 -6 lines
Fix some typos in comments.

Revision 1.26.36.1.2.27: download - view: text, markup, annotated - select for diffs
Sat Feb 27 07:58:52 2010 UTC (14 years, 11 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.26: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.26: +112 -1 lines
Add mipsXX_tlb_enter which modifies/sets a specific TLB entry with a new
mapping (useful for wired TLB entries).
Add mips_fixup_exceptions which will walk through the exception vectors
and allows the fixup of any cpu_info references to be changed to a more
MP-friendly incarnation.
Define a common fixup method to use a wired TLB entry at -PAGE_SIZE allowing
direct loads using a negative based from the zero register.
Change varible pmap_tlb_info t pmap_tlb0_info.

Revision 1.26.36.1.2.26: download - view: text, markup, annotated - select for diffs
Thu Feb 25 05:45:12 2010 UTC (14 years, 11 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.25: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.25: +93 -1 lines
Add mipsXX_tlb_record_asids - records what ASIDs have valid TLB entries in
the TLB.
Move some mips3 specific routines from locore.S to locore_mips3.S

Revision 1.26.36.1.2.25: download - view: text, markup, annotated - select for diffs
Tue Feb 23 20:33:48 2010 UTC (14 years, 11 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.24: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.24: +145 -87 lines
Make sure <mips/locore.h> is not included by MI code.
Add send_ipi and cpu_offline_md hooks to locoresw.
Add MP support to pmap (pvlist locking, tlb locking).
Add TLB shootdown support (see comment at the top of mips/pmap_tlb.c).
Add mipsXX_tlb_invalidate_globals routine

Revision 1.26.36.1.2.24: download - view: text, markup, annotated - select for diffs
Tue Feb 16 08:13:57 2010 UTC (14 years, 11 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.23: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.23: +26 -11 lines
Add __HAVE_PREEMPTION support for NetBSD/mips.  Kill IPL_PREEMPT since it
isn't needed.

Revision 1.26.36.1.2.23: download - view: text, markup, annotated - select for diffs
Mon Feb 15 07:36:04 2010 UTC (15 years ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.22: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.22: +562 -561 lines
Completely redo how interrupts and SPL are handled in NetBSD/mips.
[XXX locore_mips1.S still needs to adapted.]

Nested interrupts now work.  Except for MIPS_SOFT_MASK and MIPS_SR_INT_IE,
how interrupts work is completely abstracted.  spl is handled through the
mips_splsw table.  Direct manipulation of the status register is no longer
done (except for MIPS_SR_INT_IE).  A new <mips/intr.h> contains the common
IPL/IST/spl* definitions for all ports.

Interrupt delivery is completely different.  Clock interrupts may interrupt
device interrupts.  ci_idepth is now handled by the caller of cpu_intr as
are softints (both can be optimized/simplified in the case of interrupts of
usermode code).  cpu_intr has new arguments and now get called at IPL_HIGH
with MIPS_SR_INT_IE set and its logic is:

void
cpu_intr(int ppl, vaddr_t pc, uint32_t status)
{
	int ipl;
	uint32_t pending;
	while (ppl < (ipl = splintr(&pending))) {
		splx(ipl);		/* enable interrupts */
		<handle pending interrupts>
		(void)splhigh();	/* disable interrupts */
	}
}

mipsX_subr.S has been reworked.  All user handlers (user_intr, systemcall,
user_gen_exception) now use common return to usermode code in lwp_trampoline.
ast() has changed to void ast(void) since the previous pc argument was never
used.

The playstation IPL_ICU_MASK support has been nuked.
MIPS_DYNAMIC_STATUS_MASK may soon be nuked soon.

A bunch of debugging code was left conditionalized by PARANOIA.  If this
code detects a bug, it will enter an infinite loop.  It is expected that
the kernel will be debugged in a simulator or with a hardware debugger so
that the state at that point can be analyzed.

Revision 1.26.36.1.2.22: download - view: text, markup, annotated - select for diffs
Mon Feb 1 04:16:19 2010 UTC (15 years ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.21: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.21: +271 -278 lines
Merge frame into trapframe.  While this costs a bit more stack space on
kernel exceptions, the resulting simplifications are worth it.  This is
a step to fast softints and kernel preemption.

trapframe now includes a struct reg instead of a separate array of registers.

Revision 1.26.36.1.2.21: download - view: text, markup, annotated - select for diffs
Sat Jan 30 23:49:31 2010 UTC (15 years ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.20: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.20: +4 -4 lines
Change MIPS_CURLWP from s7 to t8.  In a MALTA64 kernel, s6 is used 9155 times
which means the compiler could really use s7 is was free to do so.  The least
used temporary was t8 (288 times).  Once the kernel was switched to use t8 for
MIPS_CURLWP, s7 was used 7524 times.

Additionally a MALTA32 kernel shrunk by 6205 instructions (24820 bytes) or
about 1% of its text size.

[For some reason, pre-change t1 was never used and post change t2 was never
used.  Not sure why.]

Revision 1.26.36.1.2.20: download - view: text, markup, annotated - select for diffs
Wed Jan 20 06:58:36 2010 UTC (15 years ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.19: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.19: +5 -4 lines
Revamp things a bit.  Move of the globals mips uses into either cpu_info,
mips_options, or mips_cache_info.  Make MALT64 be able to boot MULTIPROCESSOR.
(some pmap MP work).

Revision 1.26.36.1.2.19: download - view: text, markup, annotated - select for diffs
Sun Jan 17 00:20:14 2010 UTC (15 years ago) by cliff
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.18: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.18: +2 -2 lines
fix print format for EPC in cache error format string

Revision 1.26.36.1.2.18: download - view: text, markup, annotated - select for diffs
Sat Jan 16 20:56:33 2010 UTC (15 years ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.17: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.17: +203 -164 lines
Rework the exception code.  All the exceptions (except for mips3_5900) are
now padded to 128 bytes each and placed in the right order so they can be
copied with one memcpy.  This also allows us to branch to unused space space
since the relative locations will remain the same.

When leaving the exception vectors, k1 will now always contain the address
of CURLWP for that CPU.  The rest of the exception code no longer needs (and
is not allowed to) to access CPUVAR(CURLWP).

kill outofworld and just let trap panic, if it can.  Allow for sb1_subr.S
or rmixl_subr.S in the future.  Fix TLB read/write code.

Revision 1.26.36.1.2.17: download - view: text, markup, annotated - select for diffs
Fri Jan 15 06:46:59 2010 UTC (15 years, 1 month ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.16: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.16: +131 -134 lines
Get rid of most of the studly caps.
First to MULTIPROCESSOR support for pmap: move some pmap globals to cpu_info.
Define per-cpu ASID number spaces.
Remove some mips1/!mips1 difference in db_interface.c
Add mips32/64 knowledge to stacktrace.

Revision 1.26.36.1.2.16: download - view: text, markup, annotated - select for diffs
Thu Dec 31 00:53:00 2009 UTC (15 years, 1 month ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.15: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.15: +4 -1 lines
Indicate that some RMI mfcr/mtcr can't be used in O32

Revision 1.35: download - view: text, markup, annotated - select for diffs
Mon Dec 14 00:46:06 2009 UTC (15 years, 2 months ago) by matt
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +396 -309 lines
Merge from matt-nb5-mips64
Merge mips-specific arch files.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Dec 10 05:10:02 2009 UTC (15 years, 2 months ago) by rmind
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +12 -12 lines
Rename L_ADDR to L_PCB and amend some comments accordingly.

Revision 1.26.36.1.2.15: download - view: text, markup, annotated - select for diffs
Fri Dec 4 04:42:09 2009 UTC (15 years, 2 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20091211
Diff to: previous 1.26.36.1.2.14: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.14: +18 -18 lines
Be consistent in use of _SLL/_SRL and WIRED_SHIFT

Revision 1.26.36.1.2.14: download - view: text, markup, annotated - select for diffs
Fri Dec 4 04:37:08 2009 UTC (15 years, 2 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.13: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.13: +7 -7 lines
Repeat after me: Hardwired constants are bad.

Revision 1.26.36.1.2.13: download - view: text, markup, annotated - select for diffs
Sun Nov 22 05:37:39 2009 UTC (15 years, 2 months ago) by cyber
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.12: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.12: +2 -2 lines
Correct register renaming oversight.
This makes sbmips GENERIC run again.

Revision 1.26.36.1.2.12: download - view: text, markup, annotated - select for diffs
Sat Nov 14 21:49:34 2009 UTC (15 years, 3 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.11: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.11: +2 -2 lines
Fix comment.

Revision 1.26.36.1.2.11: download - view: text, markup, annotated - select for diffs
Fri Nov 13 05:25:15 2009 UTC (15 years, 3 months ago) by cliff
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.10: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.10: +24 -3 lines
- KSEG and XK labels, useful for address representation in ddb,
moved here from RMI specific code
- replace .word XXX with proper mnemonics for mfcr ops in cacheException
now that binutils knows these ops

Revision 1.26.36.1.2.10: download - view: text, markup, annotated - select for diffs
Mon Nov 9 10:01:14 2009 UTC (15 years, 3 months ago) by cliff
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.9: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.9: +11 -4 lines
- in cacheException, pass L1D_CACHE_ERROR_LOG and L1D_CACHE_INTERRUPT,
  to the panic call
        >>> TBD make this runtime, not ifdef switched per PRID

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat Oct 24 13:28:16 2009 UTC (15 years, 3 months ago) by he
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2 lines
Fix the previous by terminating the comment.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Oct 21 21:12:01 2009 UTC (15 years, 3 months ago) by rmind
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -3 lines
Remove uarea swap-out functionality:

- Addresses the issue described in PR/38828.
- Some simplification in threading and sleepq subsystems.
- Eliminates pmap_collect() and, as a side note, allows pmap optimisations.
- Eliminates XS_CTL_DATA_ONSTACK in scsipi code.
- Avoids few scans on LWP list and thus potentially long holds of proc_lock.
- Cuts ~1.5k lines of code.  Reduces amd64 kernel size by ~4k.
- Removes __SWAP_BROKEN cases.

Tested on x86, mips, acorn32 (thanks <mpumford>) and partly tested on
acorn26 (thanks to <bjh21>).

Discussed on <tech-kern>, reviewed by <ad>.

Revision 1.26.36.1.2.9: download - view: text, markup, annotated - select for diffs
Sun Sep 13 03:31:05 2009 UTC (15 years, 5 months ago) by cliff
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.8: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.8: +7 -1 lines
CP0 ECC and CACHE_ERR "not implemented" on RMI XLS, so avoid accessing them

Revision 1.26.36.1.2.8: download - view: text, markup, annotated - select for diffs
Tue Sep 8 00:51:14 2009 UTC (15 years, 5 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-u2-k2-k4-k7-k8-k9
Diff to: previous 1.26.36.1.2.7: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.7: +40 -20 lines
Teach cpu_switch_resume to deal with upages in XKSEG/KSEG0/XKSEG.
(don't use s0, use t0)

Revision 1.26.36.1.2.7: download - view: text, markup, annotated - select for diffs
Mon Sep 7 22:32:52 2009 UTC (15 years, 5 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb4-mips64-k7-u2a-k9b
Diff to: previous 1.26.36.1.2.6: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.6: +38 -22 lines
Make sure KX is set on LP64 kernels.  Use VM_MIN_KERNEL_ADDRESS instead of
MIPS_KSEG2_START.  Deal with VM_MIN_KERNEL_ADDRESS being below KSEG0 in
addition to being above it.

Revision 1.26.36.1.2.6: download - view: text, markup, annotated - select for diffs
Sat Sep 5 03:25:07 2009 UTC (15 years, 5 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.5: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.5: +39 -36 lines
More LP64 cleanup.

Revision 1.26.36.1.2.5: download - view: text, markup, annotated - select for diffs
Wed Sep 2 15:56:52 2009 UTC (15 years, 5 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.4: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.4: +15 -1 lines
If N32/N64, in SystemCall save and restore A4-A7 into/from the frame.

Revision 1.26.36.1.2.4: download - view: text, markup, annotated - select for diffs
Wed Sep 2 01:34:55 2009 UTC (15 years, 5 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.3: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.3: +6 -6 lines
t3 needs to be saved in the frame so that when a lwp is forked, it can be
restored from the frame instead of the saved regsters

Revision 1.26.36.1.2.3: download - view: text, markup, annotated - select for diffs
Mon Aug 24 05:18:03 2009 UTC (15 years, 5 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-u1-k1-k5
Diff to: previous 1.26.36.1.2.2: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.2: +18 -18 lines
Don't bother saving/restore t0-t3/ta0-ta3 in the trapframe.  Instead use
the just saved s0-s7 to hold them.  any function we call will preserve
them and we just do moves on the way back.

Revision 1.26.36.1.2.2: download - view: text, markup, annotated - select for diffs
Mon Aug 24 04:04:53 2009 UTC (15 years, 5 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1.2.1: preferred, colored; branchpoint 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1.2.1: +9 -9 lines
SyscallCall exception didn't save the temporaries which libc no longer likes.
So now it saves them.

Revision 1.26.36.1.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 21 17:50:35 2009 UTC (15 years, 5 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.26.36.1: preferred, colored
Changes since revision 1.26.36.1: +248 -235 lines
Make ABI agnostic.  Move locoresw to .rdata

Revision 1.26.20.3: download - view: text, markup, annotated - select for diffs
Wed Aug 19 18:46:31 2009 UTC (15 years, 5 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.26.20.2: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.20.2: +32 -26 lines
sync with head.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Aug 9 22:24:53 2009 UTC (15 years, 6 months ago) by matt
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +4 -1 lines
If using 16KB pages and VMSWAP_UAREA isn't defined, then cpu_switch_resume
becomes a empty routine since the UAREA is now mapped via KSEG0 instead of
via TLB.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Aug 9 05:36:22 2009 UTC (15 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +8 -5 lines
Use PGSHIFT + 1 instead hardcoding 13.
Don't set Page Mask to 0 when invalidating a TLB entry.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Aug 9 04:08:14 2009 UTC (15 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +22 -22 lines
Change TLBMiss to use values based on NBPG and PGSHIFT instead of magic
numbers.
Use REG_S instead of sw in a few more places.  Use _MFCO as well.

Revision 1.26.20.2: download - view: text, markup, annotated - select for diffs
Sat Jun 20 07:20:07 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.26.20.1: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.20.1: +19 -1 lines
sync with head

Revision 1.26.36.1: download - view: text, markup, annotated - select for diffs
Tue Jun 9 17:48:20 2009 UTC (15 years, 8 months ago) by snj
Branches: netbsd-5-0
CVS tags: netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE
Branch point for: matt-nb5-mips64
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +19 -1 lines
Pull up following revision(s) (requested by martin in ticket #799):
	sys/arch/mips/include/locore.h: revision 1.79
	sys/arch/mips/mips/locore_mips1.S: revision 1.65
	sys/arch/mips/mips/mipsX_subr.S: revision 1.28
	sys/arch/mips/mips/mips_machdep.c: revision 1.211
	sys/arch/mips/mips/vm_machdep.c: revision 1.123
Do not use the same trampoline for cpu_lwp_fork and cpu_setfunc - only
the former needs to call lwp_startup().

Revision 1.26.30.1: download - view: text, markup, annotated - select for diffs
Tue Jun 9 17:45:01 2009 UTC (15 years, 8 months ago) by snj
Branches: netbsd-5
CVS tags: 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, matt-nb5-pq3-base, matt-nb5-pq3
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +19 -1 lines
Pull up following revision(s) (requested by martin in ticket #799):
	sys/arch/mips/include/locore.h: revision 1.79
	sys/arch/mips/mips/locore_mips1.S: revision 1.65
	sys/arch/mips/mips/mipsX_subr.S: revision 1.28
	sys/arch/mips/mips/mips_machdep.c: revision 1.211
	sys/arch/mips/mips/vm_machdep.c: revision 1.123
Do not use the same trampoline for cpu_lwp_fork and cpu_setfunc - only
the former needs to call lwp_startup().

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat May 30 18:26:06 2009 UTC (15 years, 8 months ago) by martin
Branches: MAIN
CVS tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5, jymxensuspend-base
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +19 -1 lines
Do not use the same trampoline for cpu_lwp_fork and cpu_setfunc - only
the former needs to call lwp_startup().

Revision 1.26.34.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:18:02 2009 UTC (15 years, 9 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +1 -4 lines
Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.26.20.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:11:31 2009 UTC (15 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +1 -4 lines
sync with head.

Revision 1.26.28.1: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:34:25 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +1 -4 lines
Sync with HEAD.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Tue Mar 24 21:36:46 2009 UTC (15 years, 10 months ago) by martin
Branches: MAIN
CVS tags: yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +1 -4 lines
Now that we compile the Atheros HAL from source we pass all the right
flags to the compiler so it obeys the same ABI as the rest of the kernel.
Remove the hacks used to work around the abi differences (using %s7 as
curlwp) intruduced for the binary hal.

Revision 1.24.2.2: download - view: text, markup, annotated - select for diffs
Fri Mar 20 04:48:26 2009 UTC (15 years, 10 months ago) by uebayasi
Branches: matt-mips64
Diff to: previous 1.24.2.1: preferred, colored; branchpoint 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24.2.1: +13 -13 lines
Fix wrong ADDR_L in some places.

Revision 1.25.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:19:10 2007 UTC (17 years, 3 months ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +1 -1 lines
sync with HEAD

Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:55:39 2007 UTC (17 years, 4 months ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, nick-hppapmap-base2, netbsd-5-base, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, mjf-devfs, matt-mips64-base2, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, nick-hppapmap, netbsd-5-0, netbsd-5, jym-xensuspend
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +1 -1 lines
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.22.6.3: download - view: text, markup, annotated - select for diffs
Tue Oct 9 13:38:13 2007 UTC (17 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.22.6.2: preferred, colored; branchpoint 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22.6.2: +4 -1 lines
Sync with head.

Revision 1.22.14.3: download - view: text, markup, annotated - select for diffs
Wed Oct 3 19:24:23 2007 UTC (17 years, 4 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.22.14.2: preferred, colored; branchpoint 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22.14.2: +4 -1 lines
Sync with HEAD

Revision 1.24.8.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:47:34 2007 UTC (17 years, 5 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +4 -1 lines
Sync with HEAD.

Revision 1.16.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:28:02 2007 UTC (17 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.16.2.3: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.2.3: +39 -24 lines
sync with head.

Revision 1.24.4.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 10:19:28 2007 UTC (17 years, 5 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +4 -1 lines
Sync with HEAD.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Fri Aug 24 23:52:10 2007 UTC (17 years, 5 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, bouyer-xenamd64
Branch point for: matt-armv6
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +4 -1 lines
The Atheros HAL on MIPS uses %s7 as a general purpose register, but the
rest of the kernel uses it to store the value of curlwp. Sam won't
recompile the HAL for us (fair enough), and we can't modify the HAL
to use another register because doing so could put us in breach of
the license (v. crappy). So, do a save/set/restore on %s7 in KernIntr()
and in the stubs that the HAL uses to call back into the kernel.

Revision 1.24.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 7 18:05:30 2007 UTC (17 years, 6 months ago) by matt
Branches: matt-mips64
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +43 -43 lines
Sync with HEAD.

Revision 1.22.8.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:00:50 2007 UTC (17 years, 7 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +36 -24 lines
Sync with head.

Revision 1.22.14.2: download - view: text, markup, annotated - select for diffs
Tue Jun 26 18:13:02 2007 UTC (17 years, 7 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.22.14.1: preferred, colored; branchpoint 1.22: preferred, colored
Changes since revision 1.22.14.1: +2 -2 lines
Sync with HEAD.

Revision 1.22.6.2: download - view: text, markup, annotated - select for diffs
Sat Jun 9 23:55:18 2007 UTC (17 years, 8 months ago) by ad
Branches: vmlocking
Diff to: previous 1.22.6.1: preferred, colored; branchpoint 1.22: preferred, colored
Changes since revision 1.22.6.1: +2 -2 lines
Sync with head.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun May 27 13:57:30 2007 UTC (17 years, 8 months ago) by tsutsui
Branches: MAIN
CVS tags: nick-csl-alignment-base, mjf-ufs-trans-base, matt-mips64-base, hpcarm-cleanup
Branch point for: nick-csl-alignment, matt-mips64, jmcneill-pm
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2 lines
Pass correct args to lwp_startup() in lwp_trampoline().
Should fix "panic: TLB out of universe" on MIPS3 machines.

Revision 1.22.6.1: download - view: text, markup, annotated - select for diffs
Sun May 27 12:27:48 2007 UTC (17 years, 8 months ago) by ad
Branches: vmlocking
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +36 -24 lines
Sync with head.

Revision 1.22.14.1: download - view: text, markup, annotated - select for diffs
Tue May 22 17:27:12 2007 UTC (17 years, 8 months ago) by matt
Branches: ppcoea-renovation
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +36 -24 lines
Update to HEAD.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu May 17 14:51:24 2007 UTC (17 years, 9 months ago) by yamt
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +36 -24 lines
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.22.2.3: download - view: text, markup, annotated - select for diffs
Wed Apr 18 21:00:48 2007 UTC (17 years, 9 months ago) by ad
Branches: yamt-idlelwp
Diff to: previous 1.22.2.2: preferred, colored; branchpoint 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22.2.2: +2 -2 lines
Fix a typo.

Revision 1.22.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 18 20:27:54 2007 UTC (17 years, 10 months ago) by ad
Branches: yamt-idlelwp
Diff to: previous 1.22.2.1: preferred, colored; branchpoint 1.22: preferred, colored
Changes since revision 1.22.2.1: +36 -24 lines
- Further adaptations to MIPS for the yamt-idlelwp branch.
- Make curlwp a register variable on MIPS.

Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Wed Mar 21 21:21:43 2007 UTC (17 years, 10 months ago) by ad
Branches: yamt-idlelwp
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2 lines
Initial changes for MIPS. Not yet working under gxemul.

Revision 1.16.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:07:29 2007 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.16.2.2: preferred, colored
Changes since revision 1.16.2.2: +35 -11 lines
sync with head.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:06 2007 UTC (18 years ago) by ad
Branches: MAIN
CVS tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp, vmlocking, ppcoea-renovation, mjf-ufs-trans
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +35 -11 lines
Merge newlock2 to head.

Revision 1.19.20.5: download - view: text, markup, annotated - select for diffs
Fri Feb 2 09:01:23 2007 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.19.20.4: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.20.4: +1 -85 lines
The TLB miss handler doesn't need to worry about RAS, oops.

Revision 1.19.20.4: download - view: text, markup, annotated - select for diffs
Sat Jan 27 14:00:51 2007 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.19.20.3: preferred, colored; branchpoint 1.19: preferred, colored
Changes since revision 1.19.20.3: +3 -3 lines
Make mips systems work.

Revision 1.19.20.3: download - view: text, markup, annotated - select for diffs
Fri Jan 12 01:00:54 2007 UTC (18 years, 1 month ago) by ad
Branches: newlock2
Diff to: previous 1.19.20.2: preferred, colored; branchpoint 1.19: preferred, colored
Changes since revision 1.19.20.2: +2 -2 lines
Sync with head.

Revision 1.19.20.2: download - view: text, markup, annotated - select for diffs
Thu Jan 11 22:22:57 2007 UTC (18 years, 1 month ago) by ad
Branches: newlock2
Diff to: previous 1.19.20.1: preferred, colored; branchpoint 1.19: preferred, colored
Changes since revision 1.19.20.1: +114 -4 lines
Checkpoint work in progress.

Revision 1.16.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:46:33 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.16.2.1: preferred, colored
Changes since revision 1.16.2.1: +2 -2 lines
sync with head.

Revision 1.19.20.1: download - view: text, markup, annotated - select for diffs
Fri Dec 29 20:27:42 2006 UTC (18 years, 1 month ago) by ad
Branches: newlock2
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +6 -8 lines
Checkpoint work in progress.

Revision 1.19.22.1: download - view: text, markup, annotated - select for diffs
Mon Dec 18 11:42:05 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +2 -2 lines
sync with head.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Dec 12 12:03:45 2006 UTC (18 years, 2 months ago) by simonb
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, newlock2-nbase, newlock2-base
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -2 lines
Fix a grammatical nit near the previous typo fix.
Left the now somewhat bogus mips3_ prefixes in comments as is for now...

Thanks Pooka.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Dec 12 08:44:18 2006 UTC (18 years, 2 months ago) by simonb
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2 lines
Fix a tyop in a comment.

Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:53:44 2006 UTC (18 years, 7 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +64 -2 lines
sync with head.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:18:09 2005 UTC (19 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base3, yamt-splraiseipl-base2, 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, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, peter-altq-base, peter-altq, 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, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +1 -1 lines
merge ktrace-lwp.

Revision 1.12.2.6: download - view: text, markup, annotated - select for diffs
Thu Nov 10 13:57:33 2005 UTC (19 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.12.2.5: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.2.5: +71 -50 lines
Sync with HEAD. Here we go again...

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Nov 5 09:46:07 2005 UTC (19 years, 3 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, ktrace-lwp-base
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +64 -1 lines
Add MI mips3 wired map functions based on patch in port-mips/31915
from Garrett D'Amore of Tadpole Computer Inc.
Please refer discussion filed in the PR for details.

Revision 1.13.6.2: download - view: text, markup, annotated - select for diffs
Tue Sep 13 21:31:06 2005 UTC (19 years, 5 months ago) by riz
Branches: netbsd-2
CVS tags: netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1
Diff to: previous 1.13.6.1: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.6.1: +1 -2 lines
Pull up following revision(s) (requested by tsutsui in ticket #5829):
	sys/arch/mips/mips/mipsX_subr.S: revision 1.17
This file no longer has "#if defined(MIPS3_4100)" so remove
"XXX MIPS3_4100 is still special" comment.
(though some other files still have "special" code which should go away)

Revision 1.15.2.2: download - view: text, markup, annotated - select for diffs
Sun Sep 11 22:11:07 2005 UTC (19 years, 5 months ago) by tron
Branches: netbsd-3
CVS tags: 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
Diff to: previous 1.15.2.1: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.2.1: +0 -1 lines
Pull up following revision(s) (requested by tsutsui in ticket #758):
	sys/arch/mips/mips/mipsX_subr.S: revision 1.17
This file no longer has "#if defined(MIPS3_4100)" so remove
"XXX MIPS3_4100 is still special" comment.
(though some other files still have "special" code which should go away)

Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Sep 8 15:19:58 2005 UTC (19 years, 5 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, thorpej-vnode-attr-base, thorpej-vnode-attr
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +1 -2 lines
This file no longer has "#if defined(MIPS3_4100)" so remove
"XXX MIPS3_4100 is still special" comment.
(though some other files still have "special" code which should go away)

Revision 1.13.6.1: download - view: text, markup, annotated - select for diffs
Mon May 16 04:55:38 2005 UTC (19 years, 9 months ago) by riz
Branches: netbsd-2
CVS tags: netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +8 -49 lines
Pull up revision 1.16 (requested by chs in ticket #1508):
change *_TLBUpdate for the MIPS3-style two-entry TLBs to only update existing
entries and not create new ones.  the problem with creating an entry is that
we only have the data for one side of the entry, so the other side could be
out of sync with the software PTEs, which the fault handlers are not prepared
to deal with.  fixes PR 14801.

Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Tue May 10 12:39:45 2005 UTC (19 years, 9 months ago) by tron
Branches: netbsd-3
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +8 -49 lines
Pull up revision 1.16 (requested by chs in ticket #269):
change *_TLBUpdate for the MIPS3-style two-entry TLBs to only update existing
entries and not create new ones.  the problem with creating an entry is that
we only have the data for one side of the entry, so the other side could be
out of sync with the software PTEs, which the fault handlers are not prepared
to deal with.  fixes PR 14801.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Apr 30 15:56:32 2005 UTC (19 years, 9 months ago) by chs
Branches: MAIN
Branch point for: yamt-lazymbuf
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +8 -49 lines
change *_TLBUpdate for the MIPS3-style two-entry TLBs to only update existing
entries and not create new ones.  the problem with creating an entry is that
we only have the data for one side of the entry, so the other side could be
out of sync with the software PTEs, which the fault handlers are not prepared
to deal with.  fixes PR 14801.

Revision 1.14.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:16 2005 UTC (19 years, 9 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +4 -1 lines
sync with -current

Revision 1.14.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:33:05 2005 UTC (19 years, 11 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +4 -1 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.12.2.5: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:38:48 2005 UTC (19 years, 11 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.12.2.4: preferred, colored
Changes since revision 1.12.2.4: +4 -1 lines
Sync with HEAD.

Hi Perry!

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Feb 26 00:06:28 2005 UTC (19 years, 11 months ago) by simonb
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, kent-audio2-base
Branch point for: netbsd-3
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +4 -1 lines
Add some nops in branch delay slots to stop a warning because we
previously had a macro in those slots.  No side effects this time,
so we got lucky.

Pointed out by Izumi Tsutsui on port-mips.

Revision 1.12.2.4: download - view: text, markup, annotated - select for diffs
Mon Jan 17 19:29:58 2005 UTC (20 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.12.2.3: preferred, colored
Changes since revision 1.12.2.3: +2 -2 lines
Sync with HEAD.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Jan 1 03:24:43 2005 UTC (20 years, 1 month ago) by simonb
Branches: MAIN
CVS tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge
Branch point for: yamt-km, kent-audio2
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2 lines
Spell "available" correctly.

Revision 1.12.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:18:50 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.12.2.2: preferred, colored
Changes since revision 1.12.2.2: +1 -1 lines
Fix the sync with head I botched.

Revision 1.12.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:37:25 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.12.2.1: preferred, colored
Changes since revision 1.12.2.1: +0 -0 lines
Sync with HEAD.

Revision 1.12.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:37:49 2004 UTC (20 years, 6 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -6 lines
Sync with HEAD

Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Aug 7 16:28:33 2003 UTC (21 years, 6 months ago) by agc
Branches: MAIN
CVS tags: netbsd-2-base, 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, kent-audio1-base, kent-audio1
Branch point for: netbsd-2
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -6 lines
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Apr 8 23:39:15 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
Use PAGE_SIZE rather than NBPG.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Jan 17 23:36:15 2003 UTC (22 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +19 -13 lines
Merge the nathanw_sa branch.

Revision 1.2.6.10: download - view: text, markup, annotated - select for diffs
Wed Dec 11 06:11:09 2002 UTC (22 years, 2 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.2.6.9: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.6.9: +2 -1 lines
Sync with HEAD.

Revision 1.2.6.9: download - view: text, markup, annotated - select for diffs
Sun Nov 24 02:06:22 2002 UTC (22 years, 2 months ago) by wdk
Branches: nathanw_sa
Diff to: previous 1.2.6.8: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.6.8: +4 -2 lines
P_MD_ASTPENDING checks were passed curlwp instead of curlwp->l_proc

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Nov 12 14:00:41 2002 UTC (22 years, 3 months ago) by nisimura
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -1 lines
Remove o32 stack layout exposure form cpu_fork().
Tested on R4000 and R3000.

Revision 1.2.6.8: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:00:46 2002 UTC (22 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.2.6.7: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.6.7: +58 -65 lines
Catch up to -current

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Nov 8 04:13:13 2002 UTC (22 years, 3 months ago) by simonb
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
Whitespace nit.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Nov 7 05:39:48 2002 UTC (22 years, 3 months ago) by cgd
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +1 -8 lines
don't under COP0_SYNC.  (approved by simonb.)

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Nov 4 18:45:55 2002 UTC (22 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +13 -13 lines
A few more t4-t7 -> ta0-ta3 that I missed before.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Nov 4 18:41:37 2002 UTC (22 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +45 -45 lines
t4-t7 -> ta0-ta3

Revision 1.2.2.4: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:37:37 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.2.2.3: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.3: +9 -9 lines
sync kqueue branch with HEAD

Revision 1.2.6.7: download - view: text, markup, annotated - select for diffs
Tue Aug 27 01:04:26 2002 UTC (22 years, 5 months ago) by simonb
Branches: nathanw_sa
Diff to: previous 1.2.6.6: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.6.6: +3 -2 lines
md_syscall is in the proc, not the lwp; fixes syscalls on non-mips1.

Revision 1.2.6.6: download - view: text, markup, annotated - select for diffs
Thu Aug 1 02:42:33 2002 UTC (22 years, 6 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.2.6.5: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.6.5: +9 -9 lines
Catch up to -current.

Revision 1.2.8.2: download - view: text, markup, annotated - select for diffs
Tue Jul 16 08:50:49 2002 UTC (22 years, 7 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.2.8.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.8.1: +9 -9 lines
catch up with -current.

Revision 1.2.8.1: download - view: text, markup, annotated - select for diffs
Sun Jul 14 18:37:15 2002 UTC (22 years, 7 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +53 -34 lines
catch up with -current.

Revision 1.2.6.5: download - view: text, markup, annotated - select for diffs
Mon Jun 24 22:05:57 2002 UTC (22 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.2.6.4: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.6.4: +8 -8 lines
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.5: download - view: text, markup, annotated - select for diffs
Mon Jun 24 05:52:28 2002 UTC (22 years, 7 months ago) by simonb
Branches: MAIN
CVS tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gehenna-devsw-base
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +9 -9 lines
White space nits: space after a comma.

Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:38:05 2002 UTC (22 years, 7 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.2.2.2: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.2: +53 -34 lines
catch up with -current on kqueue branch

Revision 1.2.6.4: download - view: text, markup, annotated - select for diffs
Fri Jun 21 06:27:19 2002 UTC (22 years, 7 months ago) by gmcgarry
Branches: nathanw_sa
Diff to: previous 1.2.6.3: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.6.3: +9 -6 lines
LWPify (compile-tested only)

Revision 1.2.6.3: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:39:50 2002 UTC (22 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.2.6.2: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.6.2: +53 -34 lines
Catch up to -current.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Jun 4 21:44:40 2002 UTC (22 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +21 -26 lines
Make this work with an ISO C preprocessor.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Jun 1 13:52:23 2002 UTC (22 years, 8 months ago) by simonb
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +33 -9 lines
Split USE_64BIT_FUNCTIONS into USE_64BIT_INSTRUCTIONS and
USE_64BIT_CP0_FUNCTIONS.
Add 64-bit pagezero function.

Revision 1.2.6.2: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:41:09 2002 UTC (22 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.2.6.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.6.1: +2300 -0 lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 16 15:58:41 2002 UTC (22 years, 11 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.1: +2300 -0 lines
Catch up with -current.

Revision 1.2.6.1
Mon Mar 11 16:39:40 2002 UTC (22 years, 11 months ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.2: +0 -2300 lines
file mipsX_subr.S was added on branch nathanw_sa on 2002-04-01 07:41:09 +0000

Revision 1.2.2.1
Mon Mar 11 16:39:40 2002 UTC (22 years, 11 months ago) by jdolecek
Branches: kqueue
FILE REMOVED
Changes since revision 1.2: +0 -2300 lines
file mipsX_subr.S was added on branch kqueue on 2002-03-16 15:58:41 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Mar 11 16:39:40 2002 UTC (22 years, 11 months ago) by uch
Branches: 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, eeh-devprop-base, eeh-devprop
Branch point for: nathanw_sa, kqueue, gehenna-devsw
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +6 -1 lines
make this compile and work with MIPS3_5900.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Mar 5 15:51:00 2002 UTC (22 years, 11 months ago) by simonb
Branches: MAIN
CVS tags: newlock-base, newlock
Add support for MIPS32 and MIPS64 architectures:
 - Remove all mmu-related code that may use 32 register on mips32-style
   implementatios and move them to mipsX_subr.S - which is then included
   from mips{3,32,64,5900}_subr.S with various control defines enabled.
 - Remove local cache instruction flags
 - Add badaddr64 (from Broadcom Corp).

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>