2001-06-13 19:41:53 +04:00
|
|
|
$NetBSD: TODO,v 1.15 2001/06/13 15:41:53 soda Exp $
|
2000-01-23 23:07:59 +03:00
|
|
|
|
|
|
|
To do list (not in any particular order).
|
|
|
|
|
2000-06-17 10:56:20 +04:00
|
|
|
o XXX at least 2000/06/07 version is already quite unstable
|
|
|
|
on PICA and NEC Image RISCstation. (but almost OK on Magnum)
|
|
|
|
Userland commands dumps core randomly.
|
|
|
|
This version is before _MIPS_PADDR_T_64BIT changes
|
|
|
|
and MIPS3_TLB_WIRED_UPAGES changes.
|
|
|
|
|
2000-08-09 01:17:15 +04:00
|
|
|
"vm_page_zero_enable = FALSE" makes this problem disappeared.
|
2001-06-13 19:41:53 +04:00
|
|
|
(vm_page_zero_enable = FALSE by default on all archs w/ UBC, now)
|
2000-08-09 01:17:15 +04:00
|
|
|
|
|
|
|
currently, page zero in the idle loop is also disabled on
|
2001-06-13 19:41:53 +04:00
|
|
|
untested platforms like DESKstation rPC44/Tyne and SNI for safety.
|
2000-08-09 01:17:15 +04:00
|
|
|
|
2000-04-16 01:57:37 +04:00
|
|
|
o XXX sudden hang up in a few minutes or dozens of minutes.
|
|
|
|
2000 Mar 17 -current is OK. Mar 29 is NG.
|
|
|
|
|
2000-01-23 23:07:59 +03:00
|
|
|
o Move the RO and WIRED attribute from the pte to the pv table.
|
|
|
|
This saves four instructions in the tlb miss handler.
|
|
|
|
|
2000-06-09 09:06:25 +04:00
|
|
|
o Boot. Standalone boot program instead of booting the kernel directly.
|
2000-01-23 23:07:59 +03:00
|
|
|
|
2000-02-22 14:25:55 +03:00
|
|
|
o Find out why bitmap load to S3-928 flashes screen. (X server)
|
2000-01-24 00:01:48 +03:00
|
|
|
Know why (enable linear mode). Need S3 info.
|
2000-01-23 23:07:59 +03:00
|
|
|
|
2000-01-24 00:01:48 +03:00
|
|
|
o Can we have 32 double registers?
|
2000-01-23 23:07:59 +03:00
|
|
|
|
2000-01-24 00:01:48 +03:00
|
|
|
o 64bit kernel/userland
|
2000-01-23 23:07:59 +03:00
|
|
|
|
2000-06-09 09:06:25 +04:00
|
|
|
o NEC RISCstation 2200 support
|
2000-02-22 14:25:55 +03:00
|
|
|
|
2001-06-13 19:41:53 +04:00
|
|
|
- VXL framebuffer
|
|
|
|
- VGA framebuffer or character generator
|
|
|
|
- oosiop
|
2000-02-22 14:25:55 +03:00
|
|
|
|
2001-06-13 19:41:53 +04:00
|
|
|
o repair DESKstation support
|
2000-06-09 09:06:25 +04:00
|
|
|
|
|
|
|
- requires bounce buffer bus_dma for Tyne
|
2001-06-13 19:41:53 +04:00
|
|
|
XXX - too small bounce buffer size
|
2000-06-09 09:06:25 +04:00
|
|
|
|
2001-06-13 19:41:53 +04:00
|
|
|
o Olivetti M700 support
|
2000-06-09 09:06:25 +04:00
|
|
|
|
2001-06-13 19:41:53 +04:00
|
|
|
o NEC Express 5800/230 R10000 version support
|
2000-06-09 09:06:25 +04:00
|
|
|
|
2001-06-13 19:41:53 +04:00
|
|
|
o SNI RM200PCI support
|
2000-06-09 09:06:25 +04:00
|
|
|
|
2001-06-13 19:41:53 +04:00
|
|
|
o sysinst
|
2000-06-09 09:06:25 +04:00
|
|
|
|
2001-06-13 19:41:53 +04:00
|
|
|
o install notes
|
2000-06-09 09:06:25 +04:00
|
|
|
|
2001-06-13 19:41:53 +04:00
|
|
|
o www: diskless HOW-TO port-arc specific part.
|
2000-06-09 09:06:25 +04:00
|
|
|
|
2001-06-13 19:41:53 +04:00
|
|
|
o Xserver
|
2000-06-09 09:06:25 +04:00
|
|
|
|
|
|
|
- VXL magnum, some RISCserver 2200
|
|
|
|
- vga/S3 pica, Image RISCstation - OpenBSD's?
|
|
|
|
- vga/cirrus some RISCserver 2200
|
|
|
|
- vga/??? DESKstation Tyne, rPC44
|
|
|
|
- TGA RISCserver 2250
|
|
|
|
|
2001-06-13 19:41:53 +04:00
|
|
|
o X clients
|
2000-06-09 09:06:25 +04:00
|
|
|
probably pmax binary is good enough.
|
2000-02-22 14:25:55 +03:00
|
|
|
|
2001-06-13 19:41:53 +04:00
|
|
|
o remove inb/outb
|
2000-01-24 00:01:48 +03:00
|
|
|
|
2001-06-13 19:41:53 +04:00
|
|
|
o remove UADDR
|
2000-03-04 10:09:09 +03:00
|
|
|
|
2001-06-13 19:41:53 +04:00
|
|
|
o redesign interrupt handler framework.
|
|
|
|
i/o bus devices should have sane IPL, but currently doesn't.
|
2000-06-17 13:18:39 +04:00
|
|
|
|
2001-06-13 19:41:53 +04:00
|
|
|
also, current MIPS interrupt handler has overblocking and
|
|
|
|
other problems as follows:
|
2000-04-16 01:57:37 +04:00
|
|
|
|
|
|
|
- SR_INT_IE should be enabled before calling hardclock().
|
|
|
|
Since this is not done currently, spllowersoftclock()
|
|
|
|
on hardclock() doesn't have effect, and softclock() is
|
|
|
|
handled with all interrupt disabled in this case.
|
|
|
|
-> overblocking, possibly causes missing hardclock()
|
|
|
|
|
|
|
|
- MIPS3_CLKF_BASEPRI() doesn't work correctly,
|
|
|
|
when MIPS_INT_MASK_5 (== MIPS_INT_MASK_CLOCK) is disabled.
|
|
|
|
-> micro optimization on hardclock() doesn't work.
|
|
|
|
but currently this may make hardclock() latency better
|
|
|
|
due to above SR_INT_IE problem.
|
|
|
|
s/MIPS_INT_MASK/MIPS3_INT_MASK/ makes this work, although tricky.
|
|
|
|
|
|
|
|
- if (ipending & INT_MASK_REAL_DEV) == 0,
|
|
|
|
softnet() and softclock() are handled with all interrupt disabled.
|
|
|
|
-> overblocking, possibly causes missing hardclock()
|
|
|
|
|
|
|
|
- softclock() is handled with softnet() disabled.
|
|
|
|
-> slightly overblocking
|
|
|
|
|
|
|
|
- `netisr' handling in netintr() implies potential race condition.
|
2001-06-13 19:41:53 +04:00
|
|
|
The access to `netisr' should be protected by splnet().
|
|
|
|
Currently this is not real problem due to above overblocking.
|
2000-04-16 01:57:37 +04:00
|
|
|
|
|
|
|
`ssir' handling on many mips ports has same problem.
|
|
|
|
It should be protected by splnet() or splserial() or splhigh()
|
|
|
|
(depends on the highest interrupt level which sets `ssir').
|
|
|
|
Since `ssir' is accessed not only by setsoftnet() but also
|
|
|
|
by setsoft(), setsoftnet() should protect `ssir' by splserial()
|
|
|
|
or something. (i.e. priority level which setsoft() will be called)
|
|
|
|
Probably, it is better to split `ssir' variable for each
|
|
|
|
priority level.
|
2001-06-13 19:41:53 +04:00
|
|
|
Also, _clearsoftintr() should be called before `ssir' access.
|
2000-04-16 01:57:37 +04:00
|
|
|
currently this is not real problem due to above overblocking.
|
|
|
|
|
2000-05-09 11:30:14 +04:00
|
|
|
- INT_MASK_REAL_DEV should be removed
|
|
|
|
|
2000-06-09 09:06:25 +04:00
|
|
|
- make CLKF_INTR() work.
|
|
|
|
|
2001-06-13 19:41:53 +04:00
|
|
|
- generic software interrupt
|
|
|
|
|
2000-06-09 09:06:25 +04:00
|
|
|
- major rework, possibly by software emulated spl.
|
|
|
|
splserial()/splsoftserial()
|
|
|
|
|
2000-04-16 01:57:37 +04:00
|
|
|
o it is better to always disable MIPS_INT_MASK_CLOCK.
|
|
|
|
those are the points which should be fixed:
|
|
|
|
mips_idle: li t0, (MIPS_INT_MASK | MIPS_SR_INT_IE)
|
|
|
|
machdep.c: curpcb->pcb_context[11] = MIPS_INT_MASK | MIPS_SR_INT_IE;
|
|
|
|
spl0()
|
|
|
|
splnone()
|
|
|
|
|
2000-05-09 11:30:14 +04:00
|
|
|
- MIPS_INT_MASK_CLOCK should be removed in someway
|
|
|
|
|
2000-01-24 00:01:48 +03:00
|
|
|
o fix kernel start address
|
|
|
|
|
2000-06-09 09:06:25 +04:00
|
|
|
o allocate PICA_TL_BASE and SONICBUF dynamically
|
|
|
|
|
|
|
|
o fix mem_clusters[] usage.
|
|
|
|
|
|
|
|
o test and merge soren's clean up about proc0.p_addr.
|
|
|
|
|
2000-01-24 00:01:48 +03:00
|
|
|
o parse ARC BIOS configuration information and use it
|
|
|
|
|
2000-02-22 14:25:55 +03:00
|
|
|
o omit __SWAP_BROKEN in <mips/types.h>
|
|
|
|
|
2000-01-24 00:01:48 +03:00
|
|
|
o fix implementation of DELAY(), clean up clock implementation
|
|
|
|
|
2000-06-09 09:06:25 +04:00
|
|
|
o increase MAXPHYS to 64KB
|
|
|
|
|
2001-06-13 19:41:53 +04:00
|
|
|
o wscons / VXL framebuffer
|
|
|
|
|
|
|
|
o wscons / VGA framebuffer (merge bjy's driver)
|
|
|
|
|
|
|
|
o wscons / VGA character generator (fix initialization on RISCserver)
|
|
|
|
|
2000-02-22 14:25:55 +03:00
|
|
|
o asc.c scsi clock/NCR53CF94 handling clean up
|
|
|
|
|
2000-06-09 09:06:25 +04:00
|
|
|
o if_sn.c
|
|
|
|
|
|
|
|
- bus_dma'fy
|
|
|
|
- bus_space'fy
|
|
|
|
- split frontend and backend
|
|
|
|
- make this MI, and share with mac68k, newsmips/apbus
|
2000-01-24 00:01:48 +03:00
|
|
|
|
2001-06-13 19:41:53 +04:00
|
|
|
o com_jazzio.c
|
|
|
|
|
|
|
|
- clock handling clean up (obtain from ARC firmware)
|
|
|
|
- fifo disabling may be only needed on some Magnum?
|
2000-02-22 14:25:55 +03:00
|
|
|
|
2001-06-13 19:41:53 +04:00
|
|
|
o intrcnt[] name cleanup, use evcnt
|
2000-06-09 09:06:25 +04:00
|
|
|
|
2001-06-13 19:41:53 +04:00
|
|
|
o oosiop (NCR 53c700 driver) by Urata-san
|
|
|
|
for NEC RISCserver 2200, RISCstation 2200 and RISCstation 2250.
|
2000-02-22 14:25:55 +03:00
|
|
|
|
2000-03-03 15:32:15 +03:00
|
|
|
o audio driver
|
|
|
|
|
2000-01-24 00:01:48 +03:00
|
|
|
o use MI driver
|
|
|
|
|
|
|
|
- use MI ncr53c9x driver instead of home grown asc
|
|
|
|
|
|
|
|
- use MI bha driver instead of home grown btl
|
|
|
|
|
|
|
|
- make fd driver MI, and share it with i386
|
|
|
|
(contact christos about MI fd driver)
|
2000-01-23 23:07:59 +03:00
|
|
|
|
2000-01-24 00:01:48 +03:00
|
|
|
- make pccons MI, and share it with i386,
|
|
|
|
or simply eliminate pccons
|
2000-01-23 23:07:59 +03:00
|
|
|
|
2001-06-13 19:41:53 +04:00
|
|
|
o LKM support on MIPS
|
2000-02-22 14:25:55 +03:00
|
|
|
|
2000-03-03 15:32:15 +03:00
|
|
|
o and missing MI devices
|
2001-06-13 19:41:53 +04:00
|
|
|
ses?, vcoda, ...
|
2000-02-22 14:25:55 +03:00
|
|
|
|
2000-06-09 09:06:25 +04:00
|
|
|
o bus_dmamap_sync: Hit_Invalidate and Hit_Write_Back cache operation
|
|
|
|
|
|
|
|
o clean up ALEAF/NLEAF/NON_LEAF/NNON_LEAF in userland.
|
|
|
|
|
|
|
|
o resolve "XXX"
|
2000-02-22 14:25:55 +03:00
|
|
|
|
2000-01-23 23:07:59 +03:00
|
|
|
Lots of other things.....
|