Sun Feb 19 18:27:13 2017 UTC ()
sun4v: Note that the code recently added to locore.s rft_user may not be enough to make things work properly


(palle)
diff -r1.22 -r1.23 src/sys/arch/sparc64/doc/TODO

cvs diff -r1.22 -r1.23 src/sys/arch/sparc64/doc/TODO (expand / switch to unified diff)

--- src/sys/arch/sparc64/doc/TODO 2017/02/19 18:07:12 1.22
+++ src/sys/arch/sparc64/doc/TODO 2017/02/19 18:27:12 1.23
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1 /* $NetBSD: TODO,v 1.22 2017/02/19 18:07:12 palle Exp $ */ 1 /* $NetBSD: TODO,v 1.23 2017/02/19 18:27:12 palle Exp $ */
2 2
3Things to be done: 3Things to be done:
4 4
5common: 5common:
6- make %g6 point to curcpu 6- make %g6 point to curcpu
7- make %g7 point to curlwp 7- make %g7 point to curlwp
8- change run-time checks for cpu type to function pointers 8- change run-time checks for cpu type to function pointers
9 9
10sun4u: 10sun4u:
11- GENERIC.UP kernel hangs on v445 (missing interrupt?) 11- GENERIC.UP kernel hangs on v445 (missing interrupt?)
12 12
13sun4v: 13sun4v:
14- 64-bit kernel support 14- 64-bit kernel support
@@ -20,13 +20,15 @@ sun4v: @@ -20,13 +20,15 @@ sun4v:
20- replace relevant references to %ver with GET_MAXCWP 20- replace relevant references to %ver with GET_MAXCWP
21- pmap_mp_init(): sun4v missing handling 21- pmap_mp_init(): sun4v missing handling
22- replace constructs like "wrpr %g0, PSTATE_KERN, %pstate" with NORMAL_GLOBALS 22- replace constructs like "wrpr %g0, PSTATE_KERN, %pstate" with NORMAL_GLOBALS
23- replace constructs line "wrpr %g0, PSTATE_INTR, %pstate" with ALTERNATE_GOBALS 23- replace constructs line "wrpr %g0, PSTATE_INTR, %pstate" with ALTERNATE_GOBALS
24- sun4v tsb no need to lock... per cpu... anyway... 24- sun4v tsb no need to lock... per cpu... anyway...
25- ci_tsb_desc->td_ctxidx: -1 or 1? 25- ci_tsb_desc->td_ctxidx: -1 or 1?
26- MP support - currently bypassed in pmap_bootstrap() for sun4v 26- MP support - currently bypassed in pmap_bootstrap() for sun4v
27- vpci.c/vpcivar.h: cleanup FIXMEs 27- vpci.c/vpcivar.h: cleanup FIXMEs
28- interrups not handled properly (com at ebus only...) 28- interrups not handled properly (com at ebus only...)
29- mpt(4) complains: mpt0: Phy 0: Link Status Unknown 29- mpt(4) complains: mpt0: Phy 0: Link Status Unknown
30- man pages for drivers imported from OpenBSD lke vpci, vbus, cbus, vdsk, ldc etc. 30- man pages for drivers imported from OpenBSD lke vpci, vbus, cbus, vdsk, ldc etc.
31- vdsk and ldc drivers: code maked with OPENBSD_BUSDMA - make the bus_dma stuff work properly 31- vdsk and ldc drivers: code maked with OPENBSD_BUSDMA - make the bus_dma stuff work properly
32- vbus.c: handle prom_getprop() memory leaks 32- vbus.c: handle prom_getprop() memory leaks
 33- locore.s: rft_user (sun4v specific manaul fill) - seems to work, but is it good enough (compared to openbsds rft_user
 34