TODO revision 1.35
1/* $NetBSD: TODO,v 1.35 2021/02/27 18:19:57 palle Exp $ */ 2 3Things to be done: 4 5common: 6- make %g6 point to curcpu 7- make %g7 point to curlwp 8- change run-time checks for cpu type to function pointers 9 10sun4u: 11- GENERIC.UP kernel hangs on v445 (missing interrupt?) 12 13sun4v: 14 - current status 15 T5 ldom with 2 VCPU and 4GB: 16 The kernel boots and starts userland when booting miniroot.fs. 17 The sysinst tool starts properly and is functional. 18 Installation is not possible, since no driver currently exists 19 for the ldom network interfaces, but openbsd vnet and vsw drivers are 20 possible to integrate and this work is progressing. 21 OpenBoot (properly trashed registers). 22 T2000 ldom with 8 VCPU and 4GB: 23 On this platform it crashes in /sbin/init doing an access() call where %o0 is corrupted (zero) 24- 64-bit kernel support 25- 32-bit kernel support 26- libkvm 27- ofwboot: tlb_init_sun4v() hardcodes number of slots to 64 28- locore.s: sun4v_datatrap missing implementation for trap level 1 29- check build without SUN4V defined 30- replace relevant references to %ver with GET_MAXCWP 31- pmap_mp_init(): sun4v missing handling 32- replace constructs like "wrpr %g0, PSTATE_KERN, %pstate" with NORMAL_GLOBALS 33- replace constructs line "wrpr %g0, PSTATE_INTR, %pstate" with ALTERNATE_GOBALS 34- sun4v tsb no need to lock... per cpu... anyway... 35- ci_tsb_desc->td_ctxidx: -1 or 1? 36- MP support - currently bypassed in pmap_bootstrap() for sun4v 37- vpci.c/vpcivar.h: cleanup FIXMEs 38- interrupts not handled properly (com at ebus only...) 39- mpt(4) complains: mpt0: Phy 0: Link Status Unknown 40- man pages for drivers imported from OpenBSD lke vpci, vbus, cbus, vdsk, ldc etc. 41- vdsk and ldc drivers: code maked with OPENBSD_BUSDMA - make the bus_dma stuff work properly 42- vbus.c: handle prom_getprop() memory leaks 43- locore.s: rft_user (sun4v specific manaul fill) - seems to work, but is it good enough (compared to openbsds rft_user? 44 - platforms tested so far: 45 -- qemu sun4v/niagara - reaches the point where the kernel needs to mount a root fs 46 -- T2000 - mmu fault somewhere 47 -- T5 - stickcmpr is not properly initialized ??? 48