Skip to contentSkip to conversation

2.5 status update 2003-01-14

parisc-linux Matthew Wilcox 4 participants 4 messages Jan 14, 2003

lore
Share & tools
lore
#0 lore raw

A new year, a new kernel. Er, lots of new kernels. So much stuff has been going on, I hope I haven't left too much out (note: do these more often).

- Lamont prompted me to fix dino_inb/inw/outb/outw, and the airo driver.
- Lamont wrote faster ip_csum routines.
- Helge went completely nuts on drivers/video ;-)
- James did some of the merges while I was away over xmas, and did a lot of work converting us over to the generic device model.
- James & Randolph also finally tracked down a big stability problem; needed to check signals more often.
- Lamont improved the unaligned handler.
- We have a new framebuffer penguin ;-) Thanks, Thibaut!
- Randolph wrote oprofile support for parisc.
- I found & fixed the cause of init failing to start on my 712 -- the kernel was trying to make sure there was at least 80MB ram available for each process.
- I integrated Stephen Rothwell's generic compat changes & Sam Ravnborg's Makefile changes.

We did a large merge into Linus' tree yesterday, and he put out 2.5.58 today, leaving our diff standing around:

-rw-r--r-- 1 willy willy 376145 Jan 14 08:38 parisc-2.5.diff

I think that's the smallest it's ever been.

The largest chunks of that are:

-rw-r--r--    1 willy    willy      166953 Jan 12 07:54 parisc-hil.diff
-rw-r--r--    1 willy    willy      151345 Jan 12 07:47 parisc-video.diff

I'm not worried about drivers/video; Helge's doing a great job staying synchronised with James Simmons' fb tree and that artificially inflates that diff.

I am a little worried about the HIL keyboard/mouse/etc. If someone could step up to take care of making them work in 2.5 and generally look after them, that'd be great.

Here's the current todo list:

Status:
-------
- Merged to 2.5.58
- 2.5.57 booted on A500. 712 has serial problems.
- 2.5.56 booted on A500, 712
- Don't know what other patches need to be brought forward from 2.4
- SMP compiles, but doesn't work yet
- No preemptible support

Todo:
-----
- review makefiles for safe parallel builds
- review diff vs 2.4 for additional changes
- Serial code not working for c3000 (helge)
- the fix for do_fork needs checking
- Some options still need Kconfig help entries
- drivers/char/keyboard.c:987:2: warning: #warning "Cannot generate rawmode
keyboard for your architecture yet."
- our PDC early debug console hacks need to be cleaned up somehow
- drivers/pci/setup-bus.c has a hppa-specific #ifdef right now to
prevent pci reinit from hpmc'ing the machine. this probably needs to
go upstream
- ad1889 driver - stress, debug, ALSA and commit to 2.5 (ggg, tausq, tbone)
- ns87415 dma doesn't work reliably on suckyio-systems
- CPU hotplug support (maybe not needed, V-Class doesn't support that feature)
- flush_tlb_kernel_range is horribly inefficient
- flush_icache_user_range could flush just that range rather than the
entire page.
- (ab)use kmap/kunmap on 64-bit to eliminate flush_dcache calls.
- cp_new_stat32 for sys_parisc32.c is inefficient; maybe it's better
to fill in a tmp stat32 and just do copy_to_user in one go at the end?
- syscall signal return path needs work
- 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)
- Use zone_highmem for the 256MB of RAM at 64GB on Astro-based machines.
(NB, what does Stretch do?)
- investigate not putting in extable entries for put_kernel_asm; will
probably reduce kernel size
- call to pdc_suspend_usb() in inventory.c crashes c3k with kernel 2.5
- fix harmony buffer-overflows
- fix HIL problem: ksoftirqd eats 100% cpu (kernel 2.4; kernel 2.5?)
- write floppy driver for lasi
- write floppy driver for suckyio
- CONFIG_INTERMEZZO_FS doesn't build (or link) (missing intermezzo includes, arch-indep)
- CONFIG_REISERFS_FS builds (and links), works built-in
- CONFIG_XFS_FS builds (and links), infinite loop when mounting volume.
- spifi driver (rbrad)
- write optimized versions of lcopy_{to,from}_user. Can we port the
hpux versions?
- changes in arch/parisc/kernel/signal.c regarding HACK needs testing
- signal.c #if CACHE_FLUSHING_IS_NOT_BROKEN needs to be solved
- proc files are b0rken (interrupts), possible irqi funcs related pb.
- the irq needs to go from doubly-indexed to singly-indexed scheme, or else fs/proc/proc_misc.c needs changes.
- kernel module loader support
- IRQ cpu-affinity support
- NPTL kernel support (CLONE_*TID flags need to be correctly handled by
sys_clone() and friends)

Started and in progress:
------------------------
- port sym53c8xx hppa changes forward (helge)
- push STI changes upstream (helge)
- Look at Config.help too. (tbone, HIL -> helge?)
- send tulip changes to jgarzik (grant)
- switching Harmony to ALSA (laurent)
- remove all references to sti(), cli(), save_flags() and restore_flags() (willy, tbone, ...)
- send pci-serial patches to rmk (tausq)
- port hil_kbd.c to new input layer
- port hil_ptr.c to new input layer
- oprofile support (tausq)

Done:
-----
- stifb & sticon compiles and works (helge)
- port ns87415 hppa changes forward (grant)
- implemented synchronize_irq(). (grant)
- port hp_keyb.c to input layer (laurent, tbone)

CONFIG options without help:
-----------------------------
_USB_OHCI_HCD (add parisc info?)
_HP_SDC_RTC
_HIL_MLC
_HIL_KBD (to improve)
_HIL_PTR (to improve)

Signature · 3 lines
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk
#1 lore raw
Quoted 3 lines · Matthew Wilcox

- drivers/pci/setup-bus.c has a hppa-specific #ifdef right now to prevent pci reinit from hpmc'ing the machine. this probably needs to go upstream

This code has changed alot. I'll look at it this week to see if we still need this and if so, how to get rid of it.

Quoted 1 line

- ad1889 driver - stress, debug, ALSA and commit to 2.5 (ggg, tausq, tbone)

What we have now only groks .wav files (eg cat foo.wav > /dev/audio). We need better docs for this chip.
The ad1889.pdf data sheet is only an abbreviated guide to the chip. It's not good enough for writing a driver from scratch.

Quoted 1 line

- CPU hotplug support (maybe not needed, V-Class doesn't support that feature)

While we may not be able to physically remove the CPU, it would be useful to take CPUs "offline" when they start misbehaving.

Quoted 1 line

- fix harmony buffer-overflows

Laurent rewrote harmony to be Alsa compliant and it seems to be working. I just have to learn how to setup/use alsa properly.

Quoted 1 line

- the irq needs to go from doubly-indexed to singly-indexed scheme, or else fs/proc/proc_misc.c needs changes.

you fixed this.

Quoted 6 lines

Started and in progress:
------------------------
- port sym53c8xx hppa changes forward (helge)
- push STI changes upstream (helge)
- Look at Config.help too. (tbone, HIL -> helge?)
- send tulip changes to jgarzik (grant)

done.

Quoted 1 line

- switching Harmony to ALSA (laurent)

nearly done.

Quoted 1 line

- oprofile support (tausq)

done? Seems like it's working but has a bug.

thanks,
grant

#2 lore raw
Quoted 3 lines
Quoted 1 line

- oprofile support (tausq)

done? Seems like it's working but has a bug.

well, not really. the stuff in cvs now will compile but not work. i have local changes to make it work (modulo some bugs), but it requires some core changes. i'm working with the oprofile developers to get those changes incorporated first.

randolph

Signature · 3 lines
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/
#3 lore raw
In reply to Matthew Wilcox

Hi Matthew,

some comments from me too:

Quoted 1 line · Matthew Wilcox

- Helge went completely nuts on drivers/video ;-)

:-)

Quoted 8 lines

The largest chunks of that are:

(quoted diff) +0 -2
-rw-r--r--    1 willy    willy      166953 Jan 12 07:54 parisc-hil.diff
-rw-r--r--    1 willy    willy      151345 Jan 12 07:47 parisc-video.diff

I'm not worried about drivers/video; Helge's doing a great job staying synchronised with James Simmons' fb tree and that artificially inflates that diff.

Correct. I'll continue to feed James with our changes, so next time when Linus syncs, we should be done.

Quoted 3 lines

I am a little worried about the HIL keyboard/mouse/etc. If someone could step up to take care of making them work in 2.5 and generally look after them, that'd be great.

It's on my todo-list, but sadly I'm currently a little too much busy with my day-job. I'll hope to find some time in the next 10 days to look closer at this.

Quoted 5 lines

Status:
-------
- Merged to 2.5.58
- 2.5.57 booted on A500. 712 has serial problems.
- 2.5.56 booted on A500, 712

2.5.58-pa2 booted on 715/64

Quoted 3 lines

Todo:
-----
- Serial code not working for c3000 (helge)

Sadly my c3000 is completely broken, so I won't be able to test it anymore.

Quoted 1 line

- Some options still need Kconfig help entries

Maybe some of our native english speakers could jump in here ?

Quoted 2 lines

- drivers/char/keyboard.c:987:2: warning: #warning "Cannot generate
rawmode keyboard for your architecture yet."

I might look at this...

Quoted 1 line

- our PDC early debug console hacks need to be cleaned up somehow

... and this too.

BTW, what happened to our IODC-Console ?????

Quoted 1 line

- fix HIL problem: ksoftirqd eats 100% cpu (kernel 2.4; kernel 2.5?)

I'll try to look at this too.

Quoted 1 line

- proc files are b0rken (interrupts), possible irqi funcs related pb.

pa64:~# cat /proc/interrupts 
           CPU00 
 32:     108092      PARISC-CPU  timer
 33:      13183      PARISC-CPU  lasi
 39:    1122504      PARISC-CPU  wax
 86:      11647            Lasi  lasi710
 87:        969            Lasi  i82596
 90:        569            Lasi  serial
125:          0             Wax  HP SDC NMI
126:    1122503             Wax  HP SDC
pa64:~# uname -a
Linux pa64 2.5.58-pa2 #349 Tue Jan 14 23:00:41 CET 2003 parisc unknown unknown GNU/Linux

I think I fixed that 1-2 weeks ago.

Quoted 1 line

- kernel module loader support

YES, PLEASE !

Quoted 3 lines

Started and in progress:
------------------------
- port sym53c8xx hppa changes forward (helge)

I can't continue here, maybe some can take over and look if it's still necessary ?

Quoted 2 lines

- port hil_kbd.c to new input layer
- port hil_ptr.c to new input layer

belongs to HIL stuff.

Helge