NetBSD/sys/arch/arc/TODO

148 lines
4.1 KiB
Plaintext
Raw Normal View History

$NetBSD: TODO,v 1.22 2005/11/15 12:09:43 tsutsui Exp $
To do list (in some particular order)
XXX some entries might be obsolete.
o sysinst
maybe MD fdisk partitioning support is required to load files
from FAT partition on ARC BIOS prompt.
2000-08-09 01:17:15 +04:00
o install notes
2000-08-09 01:17:15 +04:00
o use MI driver
- make fd driver MI, and share it with other ports
(contact christos about MI fd driver)
- use MI bha driver instead of home grown btl
XXX needs fixes of DESKstation support
o VXL framebuffer support (Magnum, RISCstation 2200)
o com_jazzio.c
- clock handling clean up (obtain from ARC BIOS)
- fifo disabling may be only needed on some Magnum?
o remove pccons and switch to wscons completely
(XXX what's the problem to remove pccons?)
o AD1848 audio support
2000-06-09 09:06:25 +04:00
o missing MI devices
ses?, vcoda, ...
o Xserver
- VXL Magnum, RISCstation 2200
- vga/S3 PICA, Image RISCstation - OpenBSD's?
- vga/cirrus RISCserver 2200, Express5800/240 R4400 EISA
- vga/??? DESKstation Tyne, rPC44
- TGA RISCstation 2250, Express5800/230 R4400 PCI
o Find out why bitmap load to S3-928 flashes screen. (X server)
Know why (enable linear mode). Need S3 info.
o repair DESKstation support
2000-06-09 09:06:25 +04:00
- requires bounce buffer bus_dma for Tyne
XXX - too small bounce buffer size (128KB)
2000-06-09 09:06:25 +04:00
o Olivetti M700 support
2000-06-09 09:06:25 +04:00
o NEC Express5800/230 R10000 PCI (NEC-J95) support
(needs MI R10000 support)
2000-06-09 09:06:25 +04:00
o SNI RM200PCI/RM300/RM400/RM600 support
2000-06-09 09:06:25 +04:00
o parse ARC BIOS configuration information and use it
2000-06-09 09:06:25 +04:00
o increase MAXPHYS to 64KB
(XXX why is it limited to 32KB?)
2000-06-09 09:06:25 +04:00
o fix kernel start address
(maybe requires bootloader support)
2000-06-09 09:06:25 +04:00
o allocate PICA_TL_BASE dynamically
o remove inb/outb
o remove UADDR
o fix mem_clusters[] usage.
o intrcnt[] name cleanup, use MI evcnt(9)
o test and merge soren's clean up about proc0.p_addr.
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
also, current MIPS interrupt handler has overblocking and
other problems as follows:
- 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()
- INT_MASK_REAL_DEV should be removed
2000-06-09 09:06:25 +04:00
- make CLKF_INTR() work.
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()
- MIPS_INT_MASK_CLOCK should be removed in someway
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.
"vm_page_zero_enable = FALSE" makes this problem disappeared.
(vm_page_zero_enable = FALSE by default on all archs w/ UBC, now)
currently, page zero in the idle loop is also disabled on
untested platforms like DESKstation rPC44/Tyne and SNI for safety.
2000-06-09 09:06:25 +04:00
XXX what's the current status of uvm_pageidlezero()?
2000-03-03 15:32:15 +03:00
o resolve "XXX"
(following entries might be MI MIPS items)
o Move the RO and WIRED attribute from the pte to the pv table.
This saves four instructions in the tlb miss handler.
o Can we have 32 double registers?
o 64bit kernel/userland
o omit __SWAP_BROKEN in <mips/types.h>
2000-06-09 09:06:25 +04:00
o clean up ALEAF/NLEAF/NON_LEAF/NNON_LEAF in userland.
Lots of other things.....