The NetBSD Project

CVS log for src/sys/arch/mips/rmi/rmixl_cpu.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.15 / (download) - annotate - [select for diffs], Thu Sep 29 07:00:47 2022 UTC (4 months, 1 week ago) by skrll
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.14: +2 -3 lines
Diff to previous 1.14 (colored)

Remove unnecessary include of <sys/malloc.h>.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Sep 29 06:59:44 2022 UTC (4 months, 1 week ago) by skrll
Branch: MAIN
Changes since 1.13: +7 -7 lines
Diff to previous 1.13 (colored)

Trailing whitespace

Revision 1.13 / (download) - annotate - [select for diffs], Sat Apr 9 14:09:32 2022 UTC (9 months, 4 weeks ago) by riastradh
Branch: MAIN
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored)

mips/rmi: Hack to get XLSATX64.MP kernel building again.

Using <mips/asm.h> in a .c file is kinda grody but CALLFRAME_SIZ
doesn't seem to be defined anywhere else.  Not sure how this was ever
supposed to work...

Revision 1.12 / (download) - annotate - [select for diffs], Wed Aug 12 07:37:39 2020 UTC (2 years, 5 months ago) by skrll
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.11: +2 -3 lines
Diff to previous 1.11 (colored)

Don't include mips/asm.h from a C file

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

Merge changes from current as of 20200406

Revision 1.11 / (download) - annotate - [select for diffs], Tue Dec 3 05:07:48 2019 UTC (3 years, 2 months ago) by riastradh
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.10: +3 -7 lines
Diff to previous 1.10 (colored)

Rip out pserialize(9) logic now that the RCU patent has expired.

pserialize_perform() is now basically just xc_barrier(XC_HIGHPRI).
No more tentacles throughout the scheduler.  Simplify the psz read
count for diagnostic assertions by putting it unconditionally into
cpu_info.

From rmind@, tidied up by me.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Dec 1 15:34:45 2019 UTC (3 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

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

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

Revision 1.4.14.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:28 2017 UTC (5 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.4.14.2: +9 -9 lines
Diff to previous 1.4.14.2 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

update from HEAD

Revision 1.6.6.2 / (download) - annotate - [select for diffs], Tue Sep 22 12:05:47 2015 UTC (7 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.6.6.1: +14 -13 lines
Diff to previous 1.6.6.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

Sync with HEAD

Revision 1.9 / (download) - annotate - [select for diffs], Sun Jun 28 22:14:38 2015 UTC (7 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20191119, phil-wifi-20190609, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi
Changes since 1.8: +6 -4 lines
Diff to previous 1.8 (colored)

Print both user and kernel segtabs

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jun 10 22:31:00 2015 UTC (7 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.7: +4 -5 lines
Diff to previous 1.7 (colored)

Transition from __cpuset_t to kcpuset_t *.  This brings the local pmap one
step closer to uvm/pmap, its eventual replacement.  Tested on ERLITE MP kernel.

Revision 1.6.6.1 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:02 2015 UTC (7 years, 8 months ago) by skrll
Branch: nick-nhusb
Changes since 1.6: +5 -6 lines
Diff to previous 1.6 (colored)

Sync with HEAD

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

Rework cavium support in preparation for MULTIPROCESSOR support

Revision 1.4.14.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:13 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.4.14.1: +2 -3 lines
Diff to previous 1.4.14.1 (colored) to branchpoint 1.4 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.4.4.2 / (download) - annotate - [select for diffs], Thu May 22 11:39:58 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.4.4.1: +2 -3 lines
Diff to previous 1.4.4.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (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.5.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:17 2014 UTC (8 years, 8 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.5: +2 -3 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

sync with head

Revision 1.6 / (download) - annotate - [select for diffs], Mon Nov 25 03:01:58 2013 UTC (9 years, 2 months 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, riastradh-drm2-base3, 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.5: +2 -3 lines
Diff to previous 1.5 (colored)

nobody uses qchain and it is about to be GC'ed.

Revision 1.4.14.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:01:33 2012 UTC (10 years, 2 months ago) by tls
Branch: tls-maxphys
Changes since 1.4: +2 -5 lines
Diff to previous 1.4 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.4.4.1 / (download) - annotate - [select for diffs], Tue Oct 30 17:20:01 2012 UTC (10 years, 3 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.4: +2 -5 lines
Diff to previous 1.4 (colored)

sync with head

Revision 1.5 / (download) - annotate - [select for diffs], Sat Oct 27 17:18:02 2012 UTC (10 years, 3 months ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Changes since 1.4: +2 -5 lines
Diff to previous 1.4 (colored)

split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.

Revision 1.1.2.25 / (download) - annotate - [select for diffs], Thu Jan 19 10:29:34 2012 UTC (11 years ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.24: +3 -1 lines
Diff to previous 1.1.2.24 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Unbreak things so that XLS/XLR boot again. :)

Revision 1.1.2.24 / (download) - annotate - [select for diffs], Thu Jan 19 08:05:24 2012 UTC (11 years ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.23: +7 -8 lines
Diff to previous 1.1.2.23 (colored) to branchpoint 1.1 (colored)

Change struct rmixl_cpu_softc to cpu_softc and remove casts.
Fix IPIs.
More FMN cleanup.

Revision 1.1.2.23 / (download) - annotate - [select for diffs], Wed Jan 4 16:17:53 2012 UTC (11 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.22: +2 -26 lines
Diff to previous 1.1.2.22 (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.8.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:06:09 2011 UTC (11 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.1: +500 -0 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

Sync with HEAD.

Revision 1.1.6.3 / (download) - annotate - [select for diffs], Tue May 31 03:04:11 2011 UTC (11 years, 8 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.1.6.2: +5 -8 lines
Diff to previous 1.1.6.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with head

Revision 1.1.2.22 / (download) - annotate - [select for diffs], Thu May 26 19:21:57 2011 UTC (11 years, 8 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.21: +5 -4 lines
Diff to previous 1.1.2.21 (colored) to branchpoint 1.1 (colored)

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.4 / (download) - annotate - [select for diffs], Fri Apr 29 22:00:03 2011 UTC (11 years, 9 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jym-xensuspend-nbase, jym-xensuspend-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.3: +7 -10 lines
Diff to previous 1.3 (colored)

minor cleanups.

Revision 1.1.2.21 / (download) - annotate - [select for diffs], Fri Apr 29 08:26:31 2011 UTC (11 years, 9 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.20: +40 -18 lines
Diff to previous 1.1.2.20 (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.1.6.2 / (download) - annotate - [select for diffs], Thu Apr 21 01:41:13 2011 UTC (11 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.1.6.1: +25 -9 lines
Diff to previous 1.1.6.1 (colored) to branchpoint 1.1 (colored)

sync with head

Revision 1.3 / (download) - annotate - [select for diffs], Thu Apr 14 05:12:58 2011 UTC (11 years, 9 months ago) by cliff
Branch: MAIN
Changes since 1.2: +27 -11 lines
Diff to previous 1.2 (colored)

- add cpu_rmixl_run(), and set in mips_locoresw.lsw_cpu_run
to be called from cpu_hatch() once cpus are running,
so we can determine what threads are configured
and running, and can finish initialization of per-core registers
depending on that.
- in cpu_rmixl_db_watch_init() clear IEU_DEFEATURE[DBE],
and init all COP0 watchpoint regs
- option MIPS_DDB_WATCH is deprecated, removed; use of cpu watchpoints
is longer depends on that or DDB

Revision 1.1.6.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:51:10 2011 UTC (11 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.1: +487 -0 lines
Diff to previous 1.1 (colored)

sync with head

Revision 1.1.10.1 / (download) - annotate - [select for diffs], Sat Mar 5 15:09:51 2011 UTC (11 years, 11 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.1: +487 -0 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

Sync with HEAD

Revision 1.2 / (download) - annotate - [select for diffs], Sun Feb 20 07:48:37 2011 UTC (11 years, 11 months ago) by matt
Branch: MAIN
CVS Tags: bouyer-quota2-nbase
Changes since 1.1: +487 -0 lines
Diff to previous 1.1 (colored)

Merge forward from matt-nb5-mips64.

Revision 1.1.2.20 / (download) - annotate - [select for diffs], Tue Feb 8 23:01:28 2011 UTC (12 years ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.19: +3 -3 lines
Diff to previous 1.1.2.19 (colored) to branchpoint 1.1 (colored)

- make compile without MULTIPROCESSOR

Revision 1.1.2.19 / (download) - annotate - [select for diffs], Tue Feb 8 19:50:22 2011 UTC (12 years ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.18: +4 -5 lines
Diff to previous 1.1.2.18 (colored) to branchpoint 1.1 (colored)

- remove sc_ih_clk, sc_ih_fmn, sc_ih_ipi from struct rmixl_cpu_softc;
they were unused just taking up space
- rmixl_intr_init_clk() and rmixl_intr_init_ipi() are now type void

Revision 1.1.2.18 / (download) - annotate - [select for diffs], Tue Feb 8 06:03:01 2011 UTC (12 years ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.17: +27 -17 lines
Diff to previous 1.1.2.17 (colored) to branchpoint 1.1 (colored)

- renamed cpu_rmixl_attach_once() to cpu_rmixl_attach_primary() (more clear)
- cpu_rmixl_attach_primary() obtains ci_cpuid from COP0 EBASE reg
instead of assuming always cpuid==0
- in cpu_rmixl_attach(), first call of the function determines we are attaching
primary cpu, instead of asuming core0 thread0 is always the primary cpu
- cpu_fmn_intr() uses CPU_IS_PRIMARY() instead of asuming cpu_number()==0
always indicates the primary cpu
- debug function rmixl_cpuinfo_print() argument is now a cpu index, not cpuid

Revision 1.1.2.17 / (download) - annotate - [select for diffs], Sat Feb 5 06:10:29 2011 UTC (12 years ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.16: +31 -3 lines
Diff to previous 1.1.2.16 (colored) to branchpoint 1.1 (colored)

- include opt_multiprocessor.h for MULTIPROCESSOR dependency
- add suport for MIPS COP0 watchpoint in ddb
- add ci_pmap_asid_cur print in rmixl_cpuinfo_print().
- note rmixl_cpuinfo_print() (or something like it) should eventually get moved
into a md support fn of a (hypothetical) ddb 'show cpu' command.

Revision 1.1.2.16 / (download) - annotate - [select for diffs], Fri Jan 7 00:17:22 2011 UTC (12 years, 1 month ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.15: +6 -4 lines
Diff to previous 1.1.2.15 (colored) to branchpoint 1.1 (colored)

- ifdef out guts of cpu_xls616_erratum(); the problem is still unknown.
- cpu_rmixl_hatch() calls cpucore_rmixl_hatch()

Revision 1.1.2.15 / (download) - annotate - [select for diffs], Mon Sep 20 19:39:10 2010 UTC (12 years, 4 months ago) by cliff
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231
Changes since 1.1.2.14: +5 -4 lines
Diff to previous 1.1.2.14 (colored) to branchpoint 1.1 (colored)

- remove MULTIPROCESSOR condition for rmixl_cpuinfo_print and
rmixl_cpu_data_print functions, so we can call them
e.g. from ddb in non-MP kernels

Revision 1.1.2.14 / (download) - annotate - [select for diffs], Wed Sep 1 00:59:43 2010 UTC (12 years, 5 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.13: +4 -3 lines
Diff to previous 1.1.2.13 (colored) to branchpoint 1.1 (colored)

Fill cpu_data cpu_{node,core,smt}_id for RMI.

Revision 1.1.2.13 / (download) - annotate - [select for diffs], Mon Aug 16 18:01:13 2010 UTC (12 years, 5 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-k15
Changes since 1.1.2.12: +7 -3 lines
Diff to previous 1.1.2.12 (colored) to branchpoint 1.1 (colored)

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.1.2.12 / (download) - annotate - [select for diffs], Thu Jun 10 01:11:26 2010 UTC (12 years, 8 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.11: +41 -9 lines
Diff to previous 1.1.2.11 (colored) to branchpoint 1.1 (colored)

- remove rmixl_spl_init_cpu calls from rmixl_intr_init_cpu
  because rmixl_intr_init_cpu only runs on cpu#0.
  rmixl_spl_init_cpu calls are now done in cpu_rmixl_atach (for cpu#0)
  or cpu_rmixl_hatch (for other cpus).
- add cpu_xls616_erratum to avoid count/compare conflict on XLS616
  XXX VERIFY WITH RMI
- rmixl_spl_init_cpu CPU#0 in attach, others in hatch
- remove splhi/splx for non-cpu#0 work in attach
  interrupts arent enabled yet anyway

Revision 1.1.2.11 / (download) - annotate - [select for diffs], Sat May 1 06:10:04 2010 UTC (12 years, 9 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.10: +2 -12 lines
Diff to previous 1.1.2.10 (colored) to branchpoint 1.1 (colored)

remove some development debug prints,
in cpu_setup_trampoline_common()
and cpu_setup_trampoline_callback()

Revision 1.1.2.10 / (download) - annotate - [select for diffs], Fri Apr 16 23:50:30 2010 UTC (12 years, 9 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.9: +32 -121 lines
Diff to previous 1.1.2.9 (colored) to branchpoint 1.1 (colored)

- remove cpu_setup_trampoline_fmn()
- remove cpu_setup_trampoline_ipi()
- cpu_setup_trampoline_common() provides wakeup-method independent function,
used only by cpu_setup_trampoline_callback() for now
- PSB_TYPE_DELL firmware works with cpu_setup_trampoline_callback()

Revision 1.1.2.9 / (download) - annotate - [select for diffs], Mon Mar 29 23:34:57 2010 UTC (12 years, 10 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.8: +5 -3 lines
Diff to previous 1.1.2.8 (colored) to branchpoint 1.1 (colored)

- cpu_setup_trampoline_fmn() is #ifdef NOTYET until we make it work...

Revision 1.1.2.8 / (download) - annotate - [select for diffs], Mon Mar 22 07:45:48 2010 UTC (12 years, 10 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.7: +29 -5 lines
Diff to previous 1.1.2.7 (colored) to branchpoint 1.1 (colored)

- in cpu_setup_trampoline_callback, add some DIAGNOSTIC checks,
and make sure we get needed sign extension when storing 32 bit pointers
into trampoline args structure.

Revision 1.1.2.7 / (download) - annotate - [select for diffs], Sun Mar 21 22:03:16 2010 UTC (12 years, 10 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.6: +4 -2 lines
Diff to previous 1.1.2.6 (colored) to branchpoint 1.1 (colored)

declaration of rmixl_cpu_trampoline_args now #ifdef MULTIPROCESSOR

Revision 1.1.2.6 / (download) - annotate - [select for diffs], Sun Mar 21 21:23:54 2010 UTC (12 years, 10 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.5: +282 -44 lines
Diff to previous 1.1.2.5 (colored) to branchpoint 1.1 (colored)

- use different wakeup trampolines depending on firmware type
so far only RMI formware with callback wakeup method is tested.
- add a (chip-specific) softc structure, and cross link it
with struct cpu_info
- remove exception vectors mem allocation, it is now provided
by cpu_attach_common
- remove common cpu_info initialization, now provided
by cpu_attach_common
- use per-CPU bit in 'cpus_hatched' as handshake with the CPU
we just hatched
- call rmixl_intr_init_cpu for per-CPU interrupt initialization
- call cpu_attach_common() for common mips stuff
- cpu_rmixl_attach_once() groups together chip-specific initializations
that are only to be one once, i.e. by CPU#0
- cpu_rmixl_hatch() provides chip-specific hatch code called from
(mips-common) cpu_hatch() via lsw_cpu_init
- cpu_setup_trampoline_callback() provides method to wake up
subordinate CPUs using RMI firmware callback.
- rmixl_cpuinfo_print() can be called for debugging e.g. from DDB
should maybe evolve into DDB 'mach cpu <n>' ?

Revision 1.1.2.5 / (download) - annotate - [select for diffs], Tue Feb 23 20:33:48 2010 UTC (12 years, 11 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.4: +6 -5 lines
Diff to previous 1.1.2.4 (colored) to branchpoint 1.1 (colored)

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.1.2.4 / (download) - annotate - [select for diffs], Fri Jan 29 00:22:53 2010 UTC (13 years ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.3: +17 -3 lines
Diff to previous 1.1.2.3 (colored) to branchpoint 1.1 (colored)

- avoid cpu_wakeup callback if running on PSB_TYPE_DELL firmware

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Sun Jan 24 05:39:57 2010 UTC (13 years ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1.2.2: +117 -3 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored)

- cpu_rmixl_attach calls cpu_setup_trampoline to get control of
  subordinate CPUs from firmware by using the 'wakeup' callback method
  and into cpu_wakeup_trampoline where they just spin pending further work.
- the callback requires re-basing the stack pointer to be in KSEG0,
  done in asm subroutine rmixlfw_wakeup_cpu

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Wed Jan 20 20:48:12 2010 UTC (13 years ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1.2.1: +11 -7 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)

cleanup attachments so that other mips cpus can use the same scheme.

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Sat Jan 16 23:47:30 2010 UTC (13 years ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.1: +105 -0 lines
Diff to previous 1.1 (colored)

- moved arch/evbmips/rmixl/cpu.c to arch/mips/rmi/rmixl_cpu.c

Revision 1.1, Sat Jan 16 23:47:30 2010 UTC (13 years ago) by cliff
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base2, uebayasi-xip-base, uebayasi-xip, jruoho-x86intr-base, bouyer-quota2-base
Branch point for: rmind-uvmplock, matt-nb5-mips64, jruoho-x86intr, bouyer-quota2
FILE REMOVED

file rmixl_cpu.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>