TODO

From Linux PARISC Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "= PA-RISC Linux TODO = == Status & TODO 2013-10-06 (TODO-List by Helge Deller) == * Kernel 3.12 shows after one day of heavy compiling kswapd0/1 eating 100% CPU (Kernel 3.11 ...")
 
m (Status & TODO 2013-10-06 (TODO-List by Helge Deller))
Line 2: Line 2:
  
 
== Status & TODO 2013-10-06 (TODO-List by Helge Deller) ==
 
== Status & TODO 2013-10-06 (TODO-List by Helge Deller) ==
 +
* implement .con_font_set (consw) in sticon.c (to be able to change fonts at runtime)
 
* Kernel 3.12 shows after one day of heavy compiling kswapd0/1 eating 100% CPU (Kernel 3.11 is OK). Probably fixed by this commit: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c56b097af26cb11c1f49a4311ba538c825666fed
 
* Kernel 3.12 shows after one day of heavy compiling kswapd0/1 eating 100% CPU (Kernel 3.11 is OK). Probably fixed by this commit: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c56b097af26cb11c1f49a4311ba538c825666fed
 
* STIcon broken on 64bit with > 4GB RAM -> fix nearly finished - Helge
 
* STIcon broken on 64bit with > 4GB RAM -> fix nearly finished - Helge
Line 81: Line 82:
 
** DONE: add gzip-support (allow loading gzipped vmlinux files)
 
** DONE: add gzip-support (allow loading gzipped vmlinux files)
 
** DONE: in interactive mode, add reboot option command
 
** DONE: in interactive mode, add reboot option command
 
  
 
== DONE ==
 
== DONE ==

Revision as of 22:09, 6 November 2013

Contents

PA-RISC Linux TODO

Status & TODO 2013-10-06 (TODO-List by Helge Deller)

  • implement .con_font_set (consw) in sticon.c (to be able to change fonts at runtime)
  • Kernel 3.12 shows after one day of heavy compiling kswapd0/1 eating 100% CPU (Kernel 3.11 is OK). Probably fixed by this commit: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c56b097af26cb11c1f49a4311ba538c825666fed
  • STIcon broken on 64bit with > 4GB RAM -> fix nearly finished - Helge
  • gdb crashes Kernel - http://permalink.gmane.org/gmane.linux.ports.parisc/5406
  • glib2.0 atomic bug: Dave: I see the problem building various packages -- apt is is one. It occurs when multiple dot processes are started by graph when package documentation is being generated. The number of dot processes spawned depends on the number of processors on the build system. However, the faults occur even on a UP system. I debugged one of these segvs enough to see that the problem occurred in a glib2.0 library. It's using the GCC "sync" interface.
  • enable BMC IPMI & disable HP SDC for 64bit defconfigs
  • debian parisc perl bug (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721537) shows that mmap on parisc linux is horribly inefficient. We allocate huge maps for small files. This should be improved. Mailthread: " parisc mmap: private file maps" ,http://www.spinics.net/lists/linux-parisc/msg05083.html
  • More signals? > Can we change _NSIG to 69 so there are 32 RT signals as on other arches? It looks like it needs to be a power of 2. MIPS uses 128.
  • send patches to remove UP from debian kernels.
  • Kernel: still missing Linux kernel development (no patches available yet):
    • Implement CONFIG_DEBUG_STACK_USAGE ?
    • NO_IRQ -> should be converted to (0) instead of (-1) -> Helge (check assembly, check in drivers/parisc/*)
    • implement alternative coding for UP/SMP. See arch/x86/include/asm/alternative.h
    • check assembly in drivers/parisc/*
    • use pdc_add_valid() in kern_addr_valid(), protect against crashable acesses (like for superio-pc-drivers-detection in lp), add pdc_add_valid() to create a probe_kernel_read() implementation.
    • arch/parisc/kernel/sys_parisc.c -> use SYSCALL_ALIAS() -> maybe
    • on C8000, report 1 socket with 2 cores.
    • implement HUGE pages (or even better transparent huge pages)
    • Visualize FX! (will probably never happen!)
    • speed up gettimeofday() and clock_gettime() syscalls via (VDSO) gateway page.
    • VDSO: Implement fast getcpu syscall, as in commit: 18ad51dd342a7eb09dbcd059d0b451b616d4dafc
    • Review the gettimeofday implementation, possibly use a light-weight-syscall and rely on cr16 and cpu speed for more accurate timing? This requires adding some backwards compatibility code in userspace since the LWS might not be available on the booted kernel. Detecting LWS is a problem.
    • task_struct/thread_info split -- task_struct should not be visible in entry.S, we need to move some items into thread_info -- this includes pt_regs and maybe some of the flags (ptrace, etc)
    • Superdome support
    • Allow more than BITS_PER_LONG cpu interrupts to be allocated (willy)
    • 64-bit userspace, 64-bit binutils needs to be fixed to get multiple stub section support.
  • Kernel: Low priority patches needs further work
    • disable FP-register save/restore at kernel entry? - Helge
    • enable 16k/64k kernel page sizes (still cacheflushing-issues with SCSI driver, additional work in glibc needed to deal with >4k page size, e.g. ld-loader alignments of data/code segments)
  • Debian packaging work:
    • we need a kernel debian package (3.10 based or higher)
    • debian-ports/parisc repository aka. syning debs to there
    • DONE: split repository on parisc-linux.org into stable (wheezy) and unstable (sid)
  • Debian packages / Userspace work
    • IMPORTANT: fix OpenJDK - fixes required in zeroport (stack grows up!).
    • gcc -> join 32- and 64bit compiler, make "-m64" work, get rid of hppa64-linux-gnu-gcc
  • palo (PA-RISC Boot Loader):
    • Modify (if possible), that palo can read (sequential) tftpbootable-vmlinuxes as well as the current boot-vmlinux images (simplifies build/handling)
    • add xz-compression support, maybe move decompression to Linux kernel instead of palo?
    • DONE: accept /boot/ in front of files, strip path (e.g. "/boot") when given for kernel/ramdisk
    • DONE: Migrate to git.kernel.org -> done: http://git.kernel.org/cgit/linux/kernel/git/deller/palo.git/ (needs further checking if I imported the latest sources...)
    • DONE: add gzip-support (allow loading gzipped vmlinux files)
    • DONE: in interactive mode, add reboot option command

DONE


  • PALO
    • increase palo command line from 128 bytes (max from kernel is 1024 currently) -> fixed in palo 1.92.


TODO Drivers

  • write Lasi floppy driver
  • write Suckyio floppy driver
  • write spifi driver (rbrad)
  • modify ncr53c8xx driver for Outfield (735 & 755)
  • write GSC FDDI driver
  • write Timi ASIC (74x) support
  • EISA DMA support
  • IPMI support on rp-class / Support graceful shutdown from BMC on rp servers (`PC -GRACEFUL`)

Review all the todo entries below!

  • ns87415 dma doesn't work reliably on suckyio-systems
  • investigate not putting in extable entries for put_kernel_asm; will probably reduce kernel size
Personal tools