Re: CVS commit: [matt-nb5-mips64] src/sys

2013-05-14 Thread David Laight
I think this broke core dumps on mips ... On Sun, Aug 23, 2009 at 03:38:19AM +, Matt Thomas wrote: > Module Name: src > Committed By: matt > Date: Sun Aug 23 03:38:19 UTC 2009 > > Modified Files: > src/sys/arch/mips/include [matt-nb5-mips64]: types.h > src/sys/arch/mips/m

Re: CVS commit: [matt-nb5-mips64] src/sys/uvm

2012-04-11 Thread YAMAMOTO Takashi
> > On Apr 11, 2012, at 7:34 PM, YAMAMOTO Takashi wrote: > >> hi, >> >>> Module Name:src >>> Committed By: matt >>> Date: Thu Apr 12 01:40:27 UTC 2012 >>> >>> Modified Files: >>> src/sys/uvm [matt-nb5-mips64]: uvm_extern.h uvm_fault.c uvm_km.c >>> uvm_met

Re: CVS commit: [matt-nb5-mips64] src/sys/uvm

2012-04-11 Thread Matt Thomas
On Apr 11, 2012, at 7:34 PM, YAMAMOTO Takashi wrote: > hi, > >> Module Name: src >> Committed By:matt >> Date:Thu Apr 12 01:40:27 UTC 2012 >> >> Modified Files: >> src/sys/uvm [matt-nb5-mips64]: uvm_extern.h uvm_fault.c uvm_km.c >> uvm_meter.c uvm_pdaemon.c

Re: CVS commit: [matt-nb5-mips64] src/sys/uvm

2012-04-11 Thread YAMAMOTO Takashi
hi, > Module Name: src > Committed By: matt > Date: Thu Apr 12 01:40:27 UTC 2012 > > Modified Files: > src/sys/uvm [matt-nb5-mips64]: uvm_extern.h uvm_fault.c uvm_km.c > uvm_meter.c uvm_pdaemon.c uvm_pdaemon.h uvm_pdpolicy.h > uvm_pdpolicy_clock.c uvm_stat.c >

Re: CVS commit: [matt-nb5-mips64] src/sys

2011-06-04 Thread Matt Thomas
On Jun 4, 2011, at 9:57 AM, Toru Nishimura wrote: >> Committed By: matt >> Date: Wed May 25 23:58:51 UTC 2011 >> >> Modified Files: >> ... >> Log Message: >> Make uvm_map recognize UVM_FLAG_COLORMATCH which tells uvm_map that the >> 'align' argument specifies the starting color of th

RE: CVS commit: [matt-nb5-mips64] src/sys

2011-06-04 Thread Toru Nishimura
Committed By: matt Date: Wed May 25 23:58:51 UTC 2011 Modified Files: ... Log Message: Make uvm_map recognize UVM_FLAG_COLORMATCH which tells uvm_map that the 'align' argument specifies the starting color of the KVA range to be returned. ... Make the socket and pipe loan color-safe. .

Re: CVS commit: [matt-nb5-mips64] src/sys/kern

2011-02-08 Thread Matt Thomas
On Feb 8, 2011, at 3:33 PM, Adam Hamsik wrote: > > On Feb,Tuesday 8 2011, at 10:56 PM, Cliff Neighbors wrote: > >> Module Name: src >> Committed By:cliff >> Date:Tue Feb 8 21:56:02 UTC 2011 >> >> Modified Files: >> src/sys/kern [matt-nb5-mips64]: subr_autoconf.c >

Re: CVS commit: [matt-nb5-mips64] src/sys/kern

2011-02-08 Thread Adam Hamsik
On Feb,Tuesday 8 2011, at 10:56 PM, Cliff Neighbors wrote: > Module Name: src > Committed By: cliff > Date: Tue Feb 8 21:56:02 UTC 2011 > > Modified Files: > src/sys/kern [matt-nb5-mips64]: subr_autoconf.c > > Log Message: > use mutex_obj_alloc() to allocate config_queues_lock a

Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips

2010-12-22 Thread David Laight
On Wed, Dec 22, 2010 at 06:13:37AM +, Matt Thomas wrote: > > Log Message: > Rework how fixups are processed. Inside of generating a table, we just > scan kernel text for jumps to locations between (__stub_start, __stub_end] > and if found, we actually decode the instructions in the stub to fi

re: CVS commit: [matt-nb5-mips64] src/sys/uvm

2010-08-18 Thread matthew green
> > On Aug 18, 2010, at 6:11 PM, matthew green wrote: > > > > >> Module Name: src > >> Committed By: matt > >> Date: Wed Aug 18 18:19:11 UTC 2010 > >> > >> Modified Files: > >>src/sys/uvm [matt-nb5-mips64]: uvm_map.c > >> > >> Log Message: > >> Add a hook so that M

Re: CVS commit: [matt-nb5-mips64] src/sys/uvm

2010-08-18 Thread Matt Thomas
On Aug 18, 2010, at 6:11 PM, matthew green wrote: > >> Module Name: src >> Committed By:matt >> Date:Wed Aug 18 18:19:11 UTC 2010 >> >> Modified Files: >> src/sys/uvm [matt-nb5-mips64]: uvm_map.c >> >> Log Message: >> Add a hook so that MD code has handle the chang

re: CVS commit: [matt-nb5-mips64] src/sys/uvm

2010-08-18 Thread matthew green
> Module Name: src > Committed By: matt > Date: Wed Aug 18 18:19:11 UTC 2010 > > Modified Files: > src/sys/uvm [matt-nb5-mips64]: uvm_map.c > > Log Message: > Add a hook so that MD code has handle the change in address space limits > when an exec happens. > Add a routine to turn o

Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips/mips

2010-06-11 Thread Simon Burge
Hi Cliff, A couple of things with these changes: > Module Name:src > Committed By: cliff > Date: Thu Jun 10 00:32:11 UTC 2010 > > Modified Files: > > src/sys/arch/mips/include [matt-nb5-mips64]: locore.h > > Log Message: > > - add lsw_bus_error to struct locoresw, prov

Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips/include

2010-05-12 Thread Matt Thomas
On May 12, 2010, at 5:19 AM, Simon Burge wrote: > Matt Thomas wrote: > >> Module Name: src >> Committed By:matt >> Date:Tue May 11 22:08:02 UTC 2010 >> >> Modified Files: >> >> src/sys/arch/mips/include [matt-nb5-mips64]: locore.h >> >> Log Message: >> >> Use ass

Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips/include

2010-05-12 Thread Simon Burge
Matt Thomas wrote: > Module Name: src > Committed By: matt > Date: Tue May 11 22:08:02 UTC 2010 > > Modified Files: > > src/sys/arch/mips/include [matt-nb5-mips64]: locore.h > > Log Message: > > Use assembly since deref a 64bit value as a pointer does not make a > 32bit compiler

Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips/include

2010-05-12 Thread Simon Burge
Matt Thomas wrote: > Module Name: src > Committed By: matt > Date: Tue May 11 21:51:34 UTC 2010 > > Modified Files: > > src/sys/arch/mips/include [matt-nb5-mips64]: locore.h > > Log Message: > > Need to turn KX for N32 kernels with mips3_lw_a64 and mips3_sw_a64 +#elif defined(_

Re: CVS commit: [matt-nb5-mips64] src/sys/sys

2010-05-08 Thread David Holland
On Fri, May 07, 2010 at 06:15:07AM +, Matt Thomas wrote: > Modified Files: > src/sys/sys [matt-nb5-mips64]: disklabel.h > > Log Message: > Add a uint64_t to the union so that disklabel will have the same layout on > both LP64 and IPL32. Erm. First, the change you made shouldn't hav

Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips/mips

2010-05-04 Thread Matt Thomas
On May 4, 2010, at 5:30 PM, Simon Burge wrote: > Matt Thomas wrote: > >> Modified Files: >> >> src/sys/arch/mips/mips [matt-nb5-mips64]: pmap_segtab.c >> >> Log Message: >> >> Cleanup segtab allocation. Add some counters to monitor memory usage. > > +uint32_t nget_segtab; > +uint32_t

Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips/mips

2010-05-04 Thread Simon Burge
Matt Thomas wrote: > Modified Files: > > src/sys/arch/mips/mips [matt-nb5-mips64]: pmap_segtab.c > > Log Message: > > Cleanup segtab allocation. Add some counters to monitor memory usage. +uint32_t nget_segtab; +uint32_t nput_segtab; +uint32_t npage_segtab; How quickly could these wra

Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips

2010-02-24 Thread Matt Thomas
On Feb 24, 2010, at 10:31 PM, David Laight wrote: > On Thu, Feb 25, 2010 at 05:53:23AM +, Matt Thomas wrote: >> >> Log Message: >> Make the UP and MP ASID allocation algorithm common. Significantly improve >> the algorithm. Now when we exhaust the ASIDs, interrogate the TLB for active >> A

Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips

2010-02-24 Thread David Laight
On Thu, Feb 25, 2010 at 05:53:23AM +, Matt Thomas wrote: > > Log Message: > Make the UP and MP ASID allocation algorithm common. Significantly improve > the algorithm. Now when we exhaust the ASIDs, interrogate the TLB for active > ASIDS and release all the other for future allocations. Thi

Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips/mips

2010-02-23 Thread Masao Uebayashi
> @@ -225,11 +226,18 @@ > { > KASSERT(!CPU_IS_PRIMARY(ci)); > KASSERT(ci->ci_data.cpu_idlelwp != NULL); > + KASSERT(cold); We should have a more descriptive variable to represent systems global state... (Define state transition strictly too.) Masao -- Masao Uebayashi / Tombi In

Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips

2010-02-05 Thread Simon Burge
Matt Thomas wrote: > Module Name: src > Committed By: matt > Date: Fri Feb 5 07:36:51 UTC 2010 > > [ ... ] > > Add __HAVE_FAST_SOFTINTS support. > Add routine to remap an uarea via a direct-mapped address. This avoids > TLB machinations when swtching to/from the softint thread. This

Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips

2010-01-31 Thread David Holland
On Sun, Jan 31, 2010 at 08:09:44AM +, David Laight wrote: > > gcc does not seem to be very deterministic about this kind of thing. > > I've being trying to stop gcc using too many registers in another > project - with 24 available registers you'd think it would manage > not to spill local

Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips

2010-01-31 Thread Toru Nishimura
David A. Holland said; Change MIPS_CURLWP from s7 to t8. ... Huh. That surprises me slightly. Good to know though. Remember to bump the kernel version when you merge the branch, or anyone using modules will get a nasty surprise :-) It's a major incompatiblity to change MIPS label_t definiti

Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips

2010-01-31 Thread David Laight
On Sun, Jan 31, 2010 at 01:33:59AM +, David Holland wrote: > > gcc does not seem to be very deterministic about this kind of thing. I've being trying to stop gcc using too many registers in another project - with 24 available registers you'd think it would manage not to spill locals to the st

Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips

2010-01-30 Thread David Holland
On Sat, Jan 30, 2010 at 11:49:31PM +, Matt Thomas wrote: > 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 us

Re: CVS commit: [matt-nb5-mips64] src/sys/uvm

2010-01-22 Thread enami tsugutomo
> >> To generate a diff of this commit: > >> cvs rdiff -u -r1.42 -r1.42.16.1 src/sys/uvm/uvm_pglist.c > > > >> /* > >>* Test both the ending and starting pages to see if = > they are > >>* both free. If the ending and starting pages are = > same page,

Re: CVS commit: [matt-nb5-mips64] src/sys/uvm

2010-01-22 Thread Matt Thomas
On Jan 22, 2010, at 12:28 AM, enami tsugutomo wrote: >> Module Name: src >> Committed By:matt >> Date:Fri Jan 22 05:17:32 UTC 2010 >> >> Modified Files: >> src/sys/uvm [matt-nb5-mips64]: uvm_pglist.c >> >> Log Message: >> Rework the algorithm to allocate contiguous

Re: CVS commit: [matt-nb5-mips64] src/sys/uvm

2010-01-22 Thread enami tsugutomo
> Module Name: src > Committed By: matt > Date: Fri Jan 22 05:17:32 UTC 2010 > > Modified Files: > src/sys/uvm [matt-nb5-mips64]: uvm_pglist.c > > Log Message: > Rework the algorithm to allocate contiguous pages to be much much faster. > (read the comments if you want to know how i

Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips/mips

2009-11-18 Thread Martin Husemann
[wrong list, redirecting to source-changes-d, sorry...] On Wed, Nov 18, 2009 at 10:34:54AM +0100, Martin Husemann wrote: > On Tue, Nov 17, 2009 at 07:56:27AM +, Matt Thomas wrote: > > (slightly bogus but then we really should kill extent and switch to vmem) > > I keep hearing this mantra. >

Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips/mips

2009-11-10 Thread Cliff Neighbors
On Nov 10, 2009, at 5:02 AM, Simon Burge wrote: Cliff Neighbors wrote: Module Name:src Committed By: cliff Date: Mon Nov 9 10:00:02 UTC 2009 Modified Files: src/sys/arch/mips/mips [matt-nb5-mips64]: db_interface.c Log Message: arch/mips/mips/db_interface.c - add M

Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips/mips

2009-11-10 Thread Simon Burge
Cliff Neighbors wrote: > Module Name: src > Committed By: cliff > Date: Mon Nov 9 10:00:02 UTC 2009 > > Modified Files: > > src/sys/arch/mips/mips [matt-nb5-mips64]: db_interface.c > > Log Message: > > arch/mips/mips/db_interface.c > - add MIPS64_SHOW32() and MIPS64_SHOW64() m

Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips/mips

2009-09-14 Thread Masao Uebayashi
> Log Message: > CP0 ECC and CACHE_ERR "not implemented" on RMI XLS, so avoid accessing them > @@ -508,8 +508,10 @@ > > if (MIPS_HAS_LLSC) { > if (CPUISMIPS64) { > +#if !defined(MIPS64_XLS) /* CP0 reg #17 > "reserved" */ >

Re: CVS commit: [matt-nb5-mips64] src/sys/conf

2009-09-09 Thread Jason Thorpe
On Sep 4, 2009, at 9:19 PM, Matt Thomas wrote: On Sep 4, 2009, at 8:59 PM, Izumi Tsutsui wrote: Modified Files: src/sys/conf [matt-nb5-mips64]: Makefile.kern.inc Log Message: Don't abort if DBSYM fails. It was intentionally changed to fatal: http://cvsweb.NetBSD.org/bsdweb.cgi/src

Re: CVS commit: [matt-nb5-mips64] src/sys/conf

2009-09-05 Thread David Laight
On Sat, Sep 05, 2009 at 07:01:51PM +1000, Simon Burge wrote: > matthew green wrote: > > >> I see no reason to make it fatal. > > > >Otherwise we cannot detect errors on release build, > >i.e. no ksym(4) supports. > > > >> It means that when I build a kernel > >> with

Re: CVS commit: [matt-nb5-mips64] src/sys/conf

2009-09-05 Thread Simon Burge
matthew green wrote: >> I see no reason to make it fatal. > >Otherwise we cannot detect errors on release build, >i.e. no ksym(4) supports. > >> It means that when I build a kernel >> with >> DEBUG, my kernel build will fail. That's stupid. > >Then disabl

re: CVS commit: [matt-nb5-mips64] src/sys/conf

2009-09-05 Thread matthew green
> I see no reason to make it fatal. Otherwise we cannot detect errors on release build, i.e. no ksym(4) supports. > It means that when I build a kernel > with > DEBUG, my kernel build will fail. That's stupid. Then disable it only if DEBUG, or keep it only in yo

Re: CVS commit: [matt-nb5-mips64] src/sys/conf

2009-09-04 Thread Izumi Tsutsui
> I see no reason to make it fatal. Otherwise we cannot detect errors on release build, i.e. no ksym(4) supports. > It means that when I build a kernel > with > DEBUG, my kernel build will fail. That's stupid. Then disable it only if DEBUG, or keep it only in your local tree. --- Izumi Tsutsu

Re: CVS commit: [matt-nb5-mips64] src/sys/conf

2009-09-04 Thread Matt Thomas
On Sep 4, 2009, at 8:59 PM, Izumi Tsutsui wrote: Modified Files: src/sys/conf [matt-nb5-mips64]: Makefile.kern.inc Log Message: Don't abort if DBSYM fails. It was intentionally changed to fatal: http://cvsweb.NetBSD.org/bsdweb.cgi/src/sys/conf/Makefile.kern.inc#rev1.70 . Make this

Re: CVS commit: [matt-nb5-mips64] src/sys/conf

2009-09-04 Thread Izumi Tsutsui
> Modified Files: > src/sys/conf [matt-nb5-mips64]: Makefile.kern.inc > > Log Message: > Don't abort if DBSYM fails. It was intentionally changed to fatal: http://cvsweb.NetBSD.org/bsdweb.cgi/src/sys/conf/Makefile.kern.inc#rev1.70 >> . Make this error a fatal build time error --- Izumi Ts

Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips/mips

2009-09-02 Thread Masao Uebayashi
> O64 kernel?  why should we worry about O64? For "completeness". :) Masao

Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips/mips

2009-09-02 Thread Matt Thomas
On Sep 2, 2009, at 4:41 PM, Masao Uebayashi wrote: @@ -876,10 +876,17 @@ moves2, t2 # stash most of temporary regs REG_S t3, FRAME_T3(k1)# syscall saved gp for fork mfc0a1, MIPS_COP_0_STATUS # 2nd arg is STATUS

Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips/mips

2009-09-02 Thread Masao Uebayashi
> @@ -876,10 +876,17 @@ > moves2, t2 # stash most of temporary regs > REG_S t3, FRAME_T3(k1)# syscall saved gp for fork > mfc0a1, MIPS_COP_0_STATUS # 2nd arg is STATUS > +#if defined(__mips_n32) || defined(__mips_n64) >

Re: CVS commit: [matt-nb5-mips64] src/sys/arch/evbmips/conf

2009-08-26 Thread David Young
On Wed, Aug 26, 2009 at 04:47:29AM +, Matt Thomas wrote: > Module Name: src > Committed By: matt > Date: Wed Aug 26 04:47:29 UTC 2009 > > Modified Files: > src/sys/arch/evbmips/conf [matt-nb5-mips64]: MALTA32 MALTA64 > > Log Message: > Add no ath* since we have no Atheros HAL f

Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips/include

2009-08-22 Thread Jason Thorpe
Good point :-) -- thor...@iphone On Aug 22, 2009, at 6:28 PM, Matt Thomas wrote: On Aug 22, 2009, at 6:28 PM, Jason Thorpe wrote: On Aug 22, 2009, at 4:30 PM, Matt Thomas wrote: On Aug 22, 2009, at 4:25 PM, Jason Thorpe wrote: On Aug 21, 2009, at 10:29 AM, Matt Thomas wrote: Modul

Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips/include

2009-08-22 Thread Matt Thomas
On Aug 22, 2009, at 6:28 PM, Jason Thorpe wrote: On Aug 22, 2009, at 4:30 PM, Matt Thomas wrote: On Aug 22, 2009, at 4:25 PM, Jason Thorpe wrote: On Aug 21, 2009, at 10:29 AM, Matt Thomas wrote: Module Name:src Committed By: matt Date: Fri Aug 21 17:29:42 UTC 2009 Modi

Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips/include

2009-08-22 Thread Jason Thorpe
On Aug 22, 2009, at 4:30 PM, Matt Thomas wrote: On Aug 22, 2009, at 4:25 PM, Jason Thorpe wrote: On Aug 21, 2009, at 10:29 AM, Matt Thomas wrote: Module Name:src Committed By: matt Date: Fri Aug 21 17:29:42 UTC 2009 Modified Files: src/sys/arch/mips/include [matt-

Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips/include

2009-08-22 Thread Matt Thomas
On Aug 22, 2009, at 4:25 PM, Jason Thorpe wrote: On Aug 21, 2009, at 10:29 AM, Matt Thomas wrote: Module Name:src Committed By: matt Date: Fri Aug 21 17:29:42 UTC 2009 Modified Files: src/sys/arch/mips/include [matt-nb5-mips64]: types.h Log Message: Adapt to ABI var

Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips/include

2009-08-22 Thread Jason Thorpe
On Aug 21, 2009, at 10:29 AM, Matt Thomas wrote: Module Name:src Committed By: matt Date: Fri Aug 21 17:29:42 UTC 2009 Modified Files: src/sys/arch/mips/include [matt-nb5-mips64]: types.h Log Message: Adapt to ABI variations. Make sure mips_reg_t == register_t. Add PR