The NetBSD Project

CVS log for src/sys/arch/evbmips/rmixl/machdep.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.22 / (download) - annotate - [select for diffs], Tue Mar 5 14:15:31 2024 UTC (5 weeks, 5 days ago) by thorpej
Branch: MAIN
CVS Tags: HEAD
Changes since 1.21: +2 -8 lines
Diff to previous 1.21 (colored)

Move the at-shutdown call to resettodr() from cpu_reboot() to kern_reboot().

It's a small step, but it's a step.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Dec 20 14:12:25 2023 UTC (3 months, 3 weeks ago) by thorpej
Branch: MAIN
Changes since 1.20: +2 -3 lines
Diff to previous 1.20 (colored)

Remove unnecessary <sys/malloc.h>.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Aug 2 12:56:22 2021 UTC (2 years, 8 months ago) by andvar
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-futex2-base, thorpej-futex2, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

fix various typos in comments and log messages.

Revision 1.18.14.1 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:41 2018 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Sync with HEAD

Revision 1.19 / (download) - annotate - [select for diffs], Wed Jun 6 01:49:08 2018 UTC (5 years, 10 months ago) by maya
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, 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, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

Remove duplicate ;

Revision 1.13.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:10 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.13.2.1: +7 -31 lines
Diff to previous 1.13.2.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

update from HEAD

Revision 1.14.6.3 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:10 2017 UTC (7 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.14.6.2: +3 -4 lines
Diff to previous 1.14.6.2 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

Sync with HEAD

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

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

Revision 1.18 / (download) - annotate - [select for diffs], Thu Dec 22 14:47:57 2016 UTC (7 years, 3 months ago) by cherry
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: pgoyette-compat
Changes since 1.17: +3 -4 lines
Diff to previous 1.17 (colored)

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

uvm_setpagesize() is now subsumed within this funciton.

Revision 1.14.6.2 / (download) - annotate - [select for diffs], Tue Sep 22 12:05:42 2015 UTC (8 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.14.6.1: +7 -30 lines
Diff to previous 1.14.6.1 (colored) to branchpoint 1.14 (colored)

Sync with HEAD

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jun 30 02:39:03 2015 UTC (8 years, 9 months ago) by matt
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.16: +4 -27 lines
Diff to previous 1.16 (colored)

Use cpu_startup_common()

Revision 1.16 / (download) - annotate - [select for diffs], Wed Jun 10 22:32:32 2015 UTC (8 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

Avoid using curpcb (use lwp_getpcb(curlwp)) instead.

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

Sync with HEAD

Revision 1.15 / (download) - annotate - [select for diffs], Mon Jun 1 22:55:12 2015 UTC (8 years, 10 months ago) by matt
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606
Changes since 1.14: +5 -5 lines
Diff to previous 1.14 (colored)

Rework cavium support in preparation for MULTIPROCESSOR support

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:58 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.13: +4 -6 lines
Diff to previous 1.13 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.9.4.2 / (download) - annotate - [select for diffs], Thu May 22 11:39:45 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.9.4.1: +4 -6 lines
Diff to previous 1.9.4.1 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.13.4.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:06 2014 UTC (9 years, 11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.13: +4 -6 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

sync with head

Revision 1.14 / (download) - annotate - [select for diffs], Mon Mar 24 20:06:32 2014 UTC (10 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, 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
Branch point for: nick-nhusb
Changes since 1.13: +4 -6 lines
Diff to previous 1.13 (colored)

use cpu_{g,s}etmodel

Revision 1.9.4.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:06:18 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.9: +5 -10 lines
Diff to previous 1.9 (colored)

sync with head

Revision 1.9.8.4 / (download) - annotate - [select for diffs], Tue Mar 6 18:26:36 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.9.8.3: +2 -7 lines
Diff to previous 1.9.8.3 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

sync to -current

Revision 1.9.8.3 / (download) - annotate - [select for diffs], Tue Mar 6 09:56:06 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.9.8.2: +7 -2 lines
Diff to previous 1.9.8.2 (colored) to branchpoint 1.9 (colored)

sync to -current

Revision 1.9.8.2 / (download) - annotate - [select for diffs], Sun Mar 4 00:46:06 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.9.8.1: +2 -7 lines
Diff to previous 1.9.8.1 (colored) to branchpoint 1.9 (colored)

sync to latest -current.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Mar 3 00:20:33 2012 UTC (12 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base4, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Changes since 1.12: +2 -5 lines
Diff to previous 1.12 (colored)

Remove redundant common declaration.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Mar 2 16:20:55 2012 UTC (12 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.11: +2 -4 lines
Diff to previous 1.11 (colored)

Remove reduntant/conflicting common declarations.

Revision 1.9.8.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:31:56 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.9: +5 -5 lines
Diff to previous 1.9 (colored)

merge to -current.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Feb 12 16:34:08 2012 UTC (12 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: 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-base5, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored)

Change old-style function defintions to C89 prototypes.

Approved by releng.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Jan 27 18:52:54 2012 UTC (12 years, 2 months ago) by para
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

converting extent(9) from malloc(9) to kmem(9)
preceding kmem-vmem-pool-uvm patch

releng@ acknowledged

Revision 1.1.2.46 / (download) - annotate - [select for diffs], Thu Jan 19 08:31:55 2012 UTC (12 years, 2 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.45: +1 -1 lines
Diff to previous 1.1.2.45 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Restore RCSID

Revision 1.1.2.45 / (download) - annotate - [select for diffs], Thu Jan 19 08:20:32 2012 UTC (12 years, 2 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.44: +1 -1 lines
Diff to previous 1.1.2.44 (colored) to branchpoint 1.1 (colored)

Use extern for machdep_debug.

Revision 1.1.2.44 / (download) - annotate - [select for diffs], Wed Jan 4 16:17:52 2012 UTC (12 years, 3 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.43: +26 -1442 lines
Diff to previous 1.1.2.43 (colored) to branchpoint 1.1 (colored)

Rework Fast Messaging Network support (it's now lockless).
Workaround a problem with bus 0 BAR sizing causing the registers behind
the BAR to become inaccessible.
Move much/most of the startup code from evbmips/rmixl/machdep to
mips/rmi/rmixl_machdep.c
Move the code to find the XLP variant to the early boot so it can be used
early.
8bit and 16bit accessed to PCI bus 0 cause cache errors so chagne the access
of pci mem to 32bits.

Revision 1.1.2.43 / (download) - annotate - [select for diffs], Fri Dec 30 06:45:25 2011 UTC (12 years, 3 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.42: +1 -0 lines
Diff to previous 1.1.2.42 (colored) to branchpoint 1.1 (colored)

Initially mark all GPIO pins as available.

Revision 1.1.2.42 / (download) - annotate - [select for diffs], Wed Dec 28 05:36:50 2011 UTC (12 years, 3 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.41: +1 -0 lines
Diff to previous 1.1.2.41 (colored) to branchpoint 1.1 (colored)

Add commented out AB_DEBUG.

Revision 1.1.2.41 / (download) - annotate - [select for diffs], Tue Dec 27 22:13:05 2011 UTC (12 years, 3 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.40: +1 -1 lines
Diff to previous 1.1.2.40 (colored) to branchpoint 1.1 (colored)

Fix c&p error.

Revision 1.1.2.40 / (download) - annotate - [select for diffs], Tue Dec 27 19:59:24 2011 UTC (12 years, 3 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.39: +26 -0 lines
Diff to previous 1.1.2.39 (colored) to branchpoint 1.1 (colored)

When filling out the physical extent, make sure to probe NOR base/limit pairs.

Revision 1.1.2.39 / (download) - annotate - [select for diffs], Sat Dec 24 01:44:44 2011 UTC (12 years, 3 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.38: +625 -149 lines
Diff to previous 1.1.2.38 (colored) to branchpoint 1.1 (colored)

Rework to add early support.
Add XLP support.  Allow one kernel to support XLR/XLS and XLP.
Do bus_dma init in cpu_configure.

Revision 1.1.2.38 / (download) - annotate - [select for diffs], Thu Dec 15 04:52:59 2011 UTC (12 years, 4 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.37: +41 -0 lines
Diff to previous 1.1.2.37 (colored) to branchpoint 1.1 (colored)

Add earlycons support.

Revision 1.1.2.37 / (download) - annotate - [select for diffs], Sat Dec 3 01:56:55 2011 UTC (12 years, 4 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.36: +8 -5 lines
Diff to previous 1.1.2.36 (colored) to branchpoint 1.1 (colored)

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.1.2.36 / (download) - annotate - [select for diffs], Tue Nov 29 07:48:32 2011 UTC (12 years, 4 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.35: +35 -4 lines
Diff to previous 1.1.2.35 (colored) to branchpoint 1.1 (colored)

Take part of the KSEG2 space and use it to "almost" direct another 256MB
of memory so that N32 kernels can make use of ram outside of KSEG0.  This
allows N32 kernels to be useful on systems with 4GB of RAM or more.

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:05:30 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.5: +383 -187 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

Sync with HEAD.

Revision 1.1.2.35 / (download) - annotate - [select for diffs], Thu May 26 19:24:31 2011 UTC (12 years, 10 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.34: +6 -2 lines
Diff to previous 1.1.2.34 (colored) to branchpoint 1.1 (colored)

Use new MIPS64*_RMIXL options
If MP, store address of &pmap_tlb0_info.ti_lock->mtx_lock to OSSCRATCH 2

Revision 1.1.2.34 / (download) - annotate - [select for diffs], Fri Apr 29 08:26:18 2011 UTC (12 years, 11 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.33: +57 -60 lines
Diff to previous 1.1.2.33 (colored) to branchpoint 1.1 (colored)

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.4.4.2 / (download) - annotate - [select for diffs], Thu Apr 21 01:41:00 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.4.4.1: +45 -4 lines
Diff to previous 1.4.4.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

sync with head

Revision 1.9 / (download) - annotate - [select for diffs], Tue Apr 12 00:21:10 2011 UTC (13 years ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Make sure we init MIPS COP0 OSSCRATCH for UP as well as for MP.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Apr 11 23:12:41 2011 UTC (13 years ago) by matt
Branch: MAIN
Changes since 1.7: +46 -5 lines
Diff to previous 1.7 (colored)

Add code to fixup the text segment to replace loads
from L_CPU(MIPS_CURLWP) or curlwp->l_cpu with
loads from COP0 register OSSCRATCH.

Revision 1.4.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:50:14 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.4: +339 -186 lines
Diff to previous 1.4 (colored)

sync with head

Revision 1.5.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 15:09:38 2011 UTC (13 years, 1 month ago) by bouyer
Branch: bouyer-quota2
Changes since 1.5.4.1: +338 -145 lines
Diff to previous 1.5.4.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

Sync with HEAD

Revision 1.7 / (download) - annotate - [select for diffs], Sun Feb 20 07:48:35 2011 UTC (13 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: bouyer-quota2-nbase
Changes since 1.6: +338 -145 lines
Diff to previous 1.6 (colored)

Merge forward from matt-nb5-mips64.

Revision 1.5.4.1 / (download) - annotate - [select for diffs], Thu Feb 17 11:59:37 2011 UTC (13 years, 2 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.5: +3 -41 lines
Diff to previous 1.5 (colored)

Sync with HEAD

Revision 1.6 / (download) - annotate - [select for diffs], Tue Feb 8 20:20:13 2011 UTC (13 years, 2 months ago) by rmind
Branch: MAIN
CVS Tags: uebayasi-xip-base7, bouyer-quota2-base
Changes since 1.5: +3 -41 lines
Diff to previous 1.5 (colored)

Remove clause 3 (UCB advertising clause) from the University of Utah
copyright.  Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.

Revision 1.1.2.33 / (download) - annotate - [select for diffs], Sat Feb 5 06:02:51 2011 UTC (13 years, 2 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.32: +14 -2 lines
Diff to previous 1.1.2.32 (colored) to branchpoint 1.1 (colored)

- include opt_multiprocessor.h for MULTIPROCESSOR dependency
- in rmixl_pcr_init_core(), ifdef MIPS_DDB_WATCH, clear IEU_DEFEATURE
so we can get T_WATCH execeptions if/when we set COP0 watchpoint

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

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

Various #include fixes and review by matt@.

Revision 1.1.2.32 / (download) - annotate - [select for diffs], Fri Jan 7 00:17:42 2011 UTC (13 years, 3 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.31: +28 -19 lines
Diff to previous 1.1.2.31 (colored) to branchpoint 1.1 (colored)

- add rmixl_pcr_init_core() to initialize per-core processor control regs

Revision 1.1.2.31 / (download) - annotate - [select for diffs], Fri Dec 17 04:49:24 2010 UTC (13 years, 4 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231
Changes since 1.1.2.30: +9 -3 lines
Diff to previous 1.1.2.30 (colored) to branchpoint 1.1 (colored)

When doing MP, make sure the TLB is global mode (shared among all threads).

Revision 1.1.2.30 / (download) - annotate - [select for diffs], Tue Aug 17 00:52:33 2010 UTC (13 years, 8 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-k15
Changes since 1.1.2.29: +3 -2 lines
Diff to previous 1.1.2.29 (colored) to branchpoint 1.1 (colored)

Add new psb_version.

Revision 1.1.2.29 / (download) - annotate - [select for diffs], Thu May 6 19:49:10 2010 UTC (13 years, 11 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.28: +3 -2 lines
Diff to previous 1.1.2.28 (colored) to branchpoint 1.1 (colored)

add psb version 0x4b67d03200000056 to the list of known versions

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:39:17 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.3: +2 -3 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Sync with HEAD.

Revision 1.1.2.28 / (download) - annotate - [select for diffs], Mon Apr 12 22:02:52 2010 UTC (14 years ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.27: +27 -17 lines
Diff to previous 1.1.2.27 (colored) to branchpoint 1.1 (colored)

- include "rmixl_pcix.h" and "rmixl_pcie.h" to get the config flags
- include rmixl_pcixvar.h to get proto for rmixl_physaddr_init_pcix()
- calls to rmixl_physaddr_init_pcix() and rmixl_physaddr_init_pcie()
depend on the config flags
- eliminate vm_clusters[], just use mem_clusters[] for everything
- add mem_cluster_maxaddr to track highest RAM addr,
used to check PCI-X Host BARs; calculate his value just before
calling mips_page_physload() i.e. once mem_clusters[] is stable.

Revision 1.1.2.27 / (download) - annotate - [select for diffs], Mon Mar 29 23:40:58 2010 UTC (14 years ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.26: +2 -3 lines
Diff to previous 1.1.2.26 (colored) to branchpoint 1.1 (colored)

turn off MACHDEP_DEBUG

Revision 1.1.2.26 / (download) - annotate - [select for diffs], Mon Mar 29 23:32:02 2010 UTC (14 years ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.25: +17 -49 lines
Diff to previous 1.1.2.25 (colored) to branchpoint 1.1 (colored)

- add new recognized psb (firmware) ID 0x4b8ead3100000056
- pcie physical regions discovery is moved to rmixl_pcie.c
and is conditional on RMI chip type (XLR has no PCIE)

Revision 1.1.2.25 / (download) - annotate - [select for diffs], Sun Mar 21 21:22:28 2010 UTC (14 years ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.24: +21 -10 lines
Diff to previous 1.1.2.24 (colored) to branchpoint 1.1 (colored)

- specify rmixl_splsw to mips_vector_init
  note that __INTR_PRIVATE must be defined to do that
- print MEMLIMIT if it is defined, after printing memsize
- improve some comments

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:20 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.4.2.1: +893 -0 lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

sync with head

Revision 1.1.2.24 / (download) - annotate - [select for diffs], Tue Mar 9 02:04:46 2010 UTC (14 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.23: +3 -3 lines
Diff to previous 1.1.2.23 (colored) to branchpoint 1.1 (colored)

Use dmtc0 too.

Revision 1.1.2.23 / (download) - annotate - [select for diffs], Tue Mar 9 02:02:53 2010 UTC (14 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.22: +6 -3 lines
Diff to previous 1.1.2.22 (colored) to branchpoint 1.1 (colored)

Use dmfc0 k0,cop0_osscratch if _LP64

Revision 1.1.2.22 / (download) - annotate - [select for diffs], Sat Feb 27 21:26:28 2010 UTC (14 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.21: +3 -3 lines
Diff to previous 1.1.2.21 (colored) to branchpoint 1.1 (colored)

Fix tpyo (missing ;)

Revision 1.1.2.21 / (download) - annotate - [select for diffs], Sat Feb 27 20:35:14 2010 UTC (14 years, 1 month ago) by snj
Branch: matt-nb5-mips64
Changes since 1.1.2.20: +3 -3 lines
Diff to previous 1.1.2.20 (colored) to branchpoint 1.1 (colored)

Fix gimplish.

Revision 1.1.2.20 / (download) - annotate - [select for diffs], Sat Feb 27 08:00:02 2010 UTC (14 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.19: +38 -2 lines
Diff to previous 1.1.2.19 (colored) to branchpoint 1.1 (colored)

For MULTIPROCESSOR kernels, enable exception fixups.

Revision 1.4.2.1, Mon Feb 8 19:02:27 2010 UTC (14 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.4: +0 -893 lines
FILE REMOVED

file machdep.c was added on branch yamt-nfs-mp on 2010-03-11 15:02:20 +0000

Revision 1.4 / (download) - annotate - [select for diffs], Mon Feb 8 19:02:27 2010 UTC (14 years, 2 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, matt-mips64-premerge-20101231
Branch point for: yamt-nfs-mp, rmind-uvmplock
Changes since 1.3: +2 -3 lines
Diff to previous 1.3 (colored)

Remove separate mb_map. The nmbclusters is computed at boot time based
on the amount of physical memory and limited by NMBCLUSTERS if present.
Architectures without direct mapping also limit it based on the kmem_map
size, which is used as backing store. On i386 and ARM, the maximum KVA
used for mbuf clusters is limited to 64MB by default.

The old default limits and limits based on GATEWAY have been removed.
key_registered_sb_max is hard-wired to a value derived from 2048
clusters.

Revision 1.1.2.19 / (download) - annotate - [select for diffs], Mon Feb 1 04:17:51 2010 UTC (14 years, 2 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.18: +3 -4 lines
Diff to previous 1.1.2.18 (colored) to branchpoint 1.1 (colored)

fix fallout from frame/trapframe merger.

Revision 1.1.2.18 / (download) - annotate - [select for diffs], Fri Jan 29 00:22:27 2010 UTC (14 years, 2 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.17: +24 -13 lines
Diff to previous 1.1.2.17 (colored) to branchpoint 1.1 (colored)

- rmiclfw_psb_versions[] is replaced by rmiclfw_psb_id[]
  which now lists type to distinguish between RMI and Dell
  firmware variants
- use MEMLIMIT to limit max mem addr given to uvm

Revision 1.1.2.17 / (download) - annotate - [select for diffs], Sun Jan 24 05:34:20 2010 UTC (14 years, 2 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.16: +19 -23 lines
Diff to previous 1.1.2.16 (colored) to branchpoint 1.1 (colored)

- move firmware info stuff into struct rmixl_config

Revision 1.1.2.16 / (download) - annotate - [select for diffs], Fri Jan 22 07:58:51 2010 UTC (14 years, 2 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.15: +14 -14 lines
Diff to previous 1.1.2.15 (colored) to branchpoint 1.1 (colored)

- memsize and related now uint64_t to handle >4GB mem
- if MULTIPROCESSOR do not 'disable all threads except #0' or
  'set single MMU Thread Mode'

Revision 1.1.2.15 / (download) - annotate - [select for diffs], Wed Jan 20 09:04:33 2010 UTC (14 years, 2 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.14: +6 -5 lines
Diff to previous 1.1.2.14 (colored) to branchpoint 1.1 (colored)

Adjust things to the new world order.

Revision 1.1.2.14 / (download) - annotate - [select for diffs], Sun Jan 17 00:02:00 2010 UTC (14 years, 3 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.13: +140 -3 lines
Diff to previous 1.1.2.13 (colored) to branchpoint 1.1 (colored)

- get cpu wakeup info from firmware
- reserve the cpu_wakeup_info shared memory area from uvm
- initialize cpu_model from mycpu->cpu_name
- dont disable all non-0 threads if MULTIPROCESSOR

Revision 1.1.2.13 / (download) - annotate - [select for diffs], Fri Jan 8 08:01:22 2010 UTC (14 years, 3 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.12: +12 -4 lines
Diff to previous 1.1.2.12 (colored) to branchpoint 1.1 (colored)

- if the firmware version is unknown, we use MEMSIZE instead of
  maps prpovided by firmware; if MEMSIZE if nt configure, print
  error message are halt; if would defer until consinit
  then we could panic.
- fix seg count when MEMSIZE is used to constrain memory  obtained from firmware maps
- cast physmem to to uint64_t before applying ctob() when passing
  bytes count to format_bytes()

Revision 1.1.2.12 / (download) - annotate - [select for diffs], Sun Jan 3 08:37:14 2010 UTC (14 years, 3 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.11: +13 -15 lines
Diff to previous 1.1.2.11 (colored) to branchpoint 1.1 (colored)

- rmixl_reset() now uses RESET bit in RMIXL_GPIO_RESET register to reboot

Revision 1.1.2.11 / (download) - annotate - [select for diffs], Thu Dec 31 00:54:09 2009 UTC (14 years, 3 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.10: +6 -28 lines
Diff to previous 1.1.2.10 (colored) to branchpoint 1.1 (colored)

Use mips_page_physload and mips_init_lwp0_uarea.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Dec 20 04:11:37 2009 UTC (14 years, 3 months ago) by rmind
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.2: +7 -28 lines
Diff to previous 1.2 (colored)

Fix few problems in evbmips/rmixl:
- mach_init: use mips_init_lwp0_uarea(), do not hardcode it.  Do not call
  ksyms_init(), it's called in MI.  Also, avoid struct user in few places.
- findroot: use deviter interface.

Revision 1.1.2.10 / (download) - annotate - [select for diffs], Mon Dec 14 07:23:31 2009 UTC (14 years, 4 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.9: +4 -5 lines
Diff to previous 1.1.2.9 (colored) to branchpoint 1.1 (colored)

- delete MACHDEP_DEBUG define
- adjust name of (big endian) obio bus space init function

Revision 1.2 / (download) - annotate - [select for diffs], Mon Dec 14 00:46:03 2009 UTC (14 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.1: +915 -0 lines
Diff to previous 1.1 (colored)

Merge from matt-nb5-mips64
Merge mips-specific arch files.

Revision 1.1.2.9 / (download) - annotate - [select for diffs], Fri Dec 11 23:57:38 2009 UTC (14 years, 4 months ago) by cliff
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20091211
Changes since 1.1.2.8: +13 -7 lines
Diff to previous 1.1.2.8 (colored) to branchpoint 1.1 (colored)

- add another known/recognized psb_version ID#
- useing comcnfreq instead of -1 in rmixl_com_cnattach now
- MIPS_RESET_EXC_VEC is physical addr, no need for translation to phys
  when reserving from phys memory (should never be in the list anyway).
- in rmixlfw_init(), when untested psb_version, initialize mem_clusters[]
  (to use MEMSIZE)

Revision 1.1.2.8 / (download) - annotate - [select for diffs], Mon Nov 16 23:57:26 2009 UTC (14 years, 5 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.7: +13 -2 lines
Diff to previous 1.1.2.7 (colored) to branchpoint 1.1 (colored)

set up some Processor Control registers at start of mach_init():
- disable all threads except #0
- disable Unaligned Access
- set single MMU Thread Mode, single TLB partition

Revision 1.1.2.7 / (download) - annotate - [select for diffs], Sun Nov 15 22:59:36 2009 UTC (14 years, 5 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.6: +23 -24 lines
Diff to previous 1.1.2.6 (colored) to branchpoint 1.1 (colored)

- make infop work for N32 or N64; firmware gives us a
non-sign-extended 32 bit pointer in a 64 bit variable
- in rmixlfw_init(), when PSB version not found,
fix rc_io_pbase initialization, and add the missing return MEMSIZE.
- use PRIx64 format to make some printfs work for N32 or N64
- use (intptr_t) as needed to make int to pointer casts work for N32 and N64
- init rc_obio_memt replaces init of rc_eb_memt, rc_el_memt

Revision 1.1.2.6 / (download) - annotate - [select for diffs], Mon Nov 9 09:55:11 2009 UTC (14 years, 5 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.5: +332 -42 lines
Diff to previous 1.1.2.5 (colored) to branchpoint 1.1 (colored)

- rmixl_physaddr_init() instantiates a fixed extent
  used to allocate physical address regions;
  allocate regions known to be occupied by DRAM or I/O BARs
- physmap_print() prints the physmap as provided by boot firmware
- add ram_seg_resv() to reserve regions in a phys_ram_seg_to
  by splitting segments where needed.
- in mem_clusters_init(),
        if possible use avail_mem_map,
        else use psb_physmem_map,
        otherwise use MEMSIZE.
        avail_mem_map and psb_physmem_map can be limited w/ MEMSIZE

Revision 1.1.2.5 / (download) - annotate - [select for diffs], Tue Sep 22 07:47:30 2009 UTC (14 years, 6 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.4: +3 -3 lines
Diff to previous 1.1.2.4 (colored) to branchpoint 1.1 (colored)

fix typo

Revision 1.1.2.4 / (download) - annotate - [select for diffs], Tue Sep 22 07:15:37 2009 UTC (14 years, 6 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.3: +77 -20 lines
Diff to previous 1.1.2.3 (colored) to branchpoint 1.1 (colored)

- if COMFREQ is undefined, define as -1 (inherit BRG settings from FW)
- add a new recognized FW version entry to rmiclfw_psb_versions
- break out initialization of mem_clusters into own function
- imprpove early boot diagnostics
- avoid faulting on possible NULL avail_mem_map pointer from FW
- avoid using possible NULL reset FW callback pointer

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Tue Sep 15 02:46:43 2009 UTC (14 years, 7 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.2: +4 -10 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored)

initialize the rmixl el and eb bus spaces

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Sun Sep 13 07:00:30 2009 UTC (14 years, 7 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.1: +4 -4 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)

improve how some config data are managed

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Sun Sep 13 03:27:38 2009 UTC (14 years, 7 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1: +558 -0 lines
Diff to previous 1.1 (colored)

add netbsd support for RMI XLS6ATX_7A board and XL SoC family

Revision 1.1, Sun Sep 13 03:27:38 2009 UTC (14 years, 7 months ago) by cliff
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8
Branch point for: matt-nb5-mips64
FILE REMOVED

file machdep.c was initially added on branch matt-nb5-mips64.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>