TODO

From Linux PARISC Wiki
(Difference between revisions)
Jump to: navigation, search
m (Status & TODO 2022-12-01)
m (Status & TODO 2023-05-30)
(37 intermediate revisions by one user not shown)
Line 1: Line 1:
 
= PA-RISC Linux TODO =
 
= PA-RISC Linux TODO =
  
== Status & TODO 2022-12-01 ==
+
== Status & TODO 2023-06-01 ==
* port [[Gccgo_for_hppa]] gccgo
+
* ask to get palo-installer, partman-palo, aboot-installer into debian-installer (import from old Git-Backup, Alex Wirt?) - Mail from Adrian 05/30/23
* STARTED: why does qcoro breaks qemu buildds? -> Fix: CLONE_PIDFD flag not handled by clone() emulation: patch sent  
+
* fix strace in debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1030587
* Activate LARGE FILE SUPPORT generally on hppa: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1020335  -> NO!
+
* STARTED: push fbcon-64-bit-sti patches upstream: https://github.com/hdeller/linux/commits/drm-misc-next-with-64bit-console-final
* Add backtrace() function to glibc -> needed to build dovecot package
+
* STARTED: Add cacheflush(2) syscall (like ARC, CSKY, MIPS, and NIOS2), add to glibc, gcc and update man-pages
 +
* STARTED: push visualizefx driver
 +
* STARTED: why doesn't kernel >= 6.1.5 boot on panama? -> But boots with "no-alternatives" boot option!
 +
** DONE/Reason: flush_dcache_page() re-enables the IRQs which leads to the spinlock hang in aio_complete() https://lore.kernel.org/linux-parisc/ZGyawdtBhNnvvTv3@shell.armlinux.org.uk/T/#m96bc8e874d76b3b7bab8b40954b68e6cfb81ee2b
 +
** DONE: backport patch to kernels < 5.18, mail sent to stable mailing list
 +
** have the arm and nios2 patches been picked up?
 +
* STARTED: Apply missing qemu patches: https://gitlab.com/laurent_vivier/qemu/-/commits/linux-user-for-8.0
 +
* DONE: mariadb fails with io_uring, testcase https://github.com/axboe/liburing/blob/master/examples/io_uring-test.c fails too. (Jens bought a C3000 workstation and added it to the machine test pool.)
 +
* QEMU/Kernel: Add CONFIG_NO_HZ to speed up qemu
 +
* QEMU/Kernel: Add diag() calls to emulate & speed up xchg() and cmp_xchg()
 +
* glibc:
 +
** STARTED: Finfish MADV transition in glibc: glibc: https://sourceware.org/pipermail/libc-alpha/2023-February/145452.html , dietlibc: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1030998
 +
** Add backtrace() function to glibc -> needed to build dovecot package
 +
* DONE: Improve text on https://www.openpa.net
 +
* Debian:
 +
** STARTED: Fix initramfs: Bug#1027915: systemd requires /run to be mounted with a minimum size of 20MB: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1027915,  patch sent
 +
** STARTED: port [[Gccgo_for_hppa]] gccgo -> https://github.com/hdeller/gcc/tree/gccgo-hppa
 +
* STARTED: Activate LARGE FILE SUPPORT generally on hppa: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1020335
 +
* QEMU issues:
 +
** devscripts FTBFS because of subversion: svnadmin: E000072: Can't check directory '.': Value too large for defined data type
 +
** rrdtool FTBFS on 32-bit arches: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1026973
 +
** ohcount and guile-ssh: ftbfs with qemu but built okay on real hardware: https://buildd.debian.org/status/logs.php?pkg=guile-ssh&arch=hppa and https://buildd.debian.org/status/logs.php?pkg=ohcount&ver=4.0.0-3&arch=hppa
 +
** fix openvswitch on qemu
 +
** DONE: indent FTBFS on qemu: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029574 (shebang bug)
 +
** DONE: cfengine3 FTBFS on qemu: https://buildd.debian.org/status/logs.php?pkg=cfengine3&arch=hppa
 +
** DONE: qcoro FTBFS on qemu -> Fix: CLONE_PIDFD flag not handled by clone() emulation: patch sent
 +
** QEMU: Improve emulation speed on full virtualization
 +
** check glibc tst-pthread-timedlock-lockloop testcase failure (The futex facility returned an unexpected error code., xclock_gettime.c:29: clock_gettime (0): Unknown error -1)
 +
* gcc compiler:
 +
** Why is compiling fife so slow with cc1plus?
 +
** asked Dave to implement gcc builtins for break asms, like on other platforms, for usage in kernel
 
* QEMU: Implement 32/24 bit HCRX graphics
 
* QEMU: Implement 32/24 bit HCRX graphics
 
* QEMU: Add support for running MPE with https://www.openpa.net (& Craig Lalley <mr_lalley@yahoo.com>)
 
* QEMU: Add support for running MPE with https://www.openpa.net (& Craig Lalley <mr_lalley@yahoo.com>)
 
* stifb: Fix HCRX text scrolling, missing functions?  - see latest patches to stifb
 
* stifb: Fix HCRX text scrolling, missing functions?  - see latest patches to stifb
* Improve text on https://www.openpa.net
 
* QEMU: Improve emulation speed on full virtualization
 
 
* Implement TLB lazy_mmu_mode, see include/linux/pgtable.h and search for arch_leave_lazy_mmu_mode
 
* Implement TLB lazy_mmu_mode, see include/linux/pgtable.h and search for arch_leave_lazy_mmu_mode
* check glibc tst-pthread-timedlock-lockloop testcase failure (The futex facility returned an unexpected error code., xclock_gettime.c:29: clock_gettime (0): Unknown error -1)
 
* Why is compiling fife so slow with cc1plus?
 
 
* Enhance vDSO: gettimeofday(), getcpu(),... see e.g.c32c47aa364096124c9c69c1a44918433832562b
 
* Enhance vDSO: gettimeofday(), getcpu(),... see e.g.c32c47aa364096124c9c69c1a44918433832562b
 +
* [[VDSO]] - Review gettimeofday and clock_gettime() implementation, possibly use a light-weight-syscall and rely on cr16 and cpu speed for more accurate timing?
 
* SeaBIOS and palo: muldi3 and divdi3 (from libgcc.a) trashes fr22-fr25 because of xmpyu instruction. Doesn't seem to have negative effect, but those registers should better be saved/restored in pdc_entry() and iodc_entry(), or libgcc should be fixed to not use floating point instructions.
 
* SeaBIOS and palo: muldi3 and divdi3 (from libgcc.a) trashes fr22-fr25 because of xmpyu instruction. Doesn't seem to have negative effect, but those registers should better be saved/restored in pdc_entry() and iodc_entry(), or libgcc should be fixed to not use floating point instructions.
 
* STARTED: Port grub2 to hppa? -> https://github.com/hdeller/grub
 
* STARTED: Port grub2 to hppa? -> https://github.com/hdeller/grub
Line 20: Line 47:
 
* Implement ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT : https://lwn.net/ml/linux-kernel/20190724055850.6232-14-alex@ghiti.fr/
 
* Implement ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT : https://lwn.net/ml/linux-kernel/20190724055850.6232-14-alex@ghiti.fr/
 
* STARTED: improve unaligned handlers, e.g. to use get_user/put_user inline asm
 
* STARTED: improve unaligned handlers, e.g. to use get_user/put_user inline asm
* [[VDSO]] - Review gettimeofday and clock_gettime() implementation, possibly use a light-weight-syscall and rely on cr16 and cpu speed for more accurate timing?
 
 
* Fix kernel: make ARCH=parisc tools/perf
 
* Fix kernel: make ARCH=parisc tools/perf
 
* trace irq flags - http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=24131a61ec8c2d83431cb818281d3c9db986ab08
 
* trace irq flags - http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=24131a61ec8c2d83431cb818281d3c9db986ab08
Line 27: Line 53:
 
* ONGOING: Enable UBSAN and fix fallouts* Enable BlockTLB on PA1.x for STI framebuffer (see block tlb info in sti.pdf documentation) and ftp://parisc.parisc-linux.org/docs/pdc32.pdf
 
* ONGOING: Enable UBSAN and fix fallouts* Enable BlockTLB on PA1.x for STI framebuffer (see block tlb info in sti.pdf documentation) and ftp://parisc.parisc-linux.org/docs/pdc32.pdf
 
* Enable SPARSEMEM_VMEMMAP_ENABLE
 
* Enable SPARSEMEM_VMEMMAP_ENABLE
* STARTED: implement CONFIG_VMAP_STACK "virtually mapped stacks and thread_info cleanup" -> https://lwn.net/Articles/693026/
+
* STARTED: implement CONFIG_VMAP_STACK "virtually mapped stacks and thread_info cleanup" (see arm) -> https://lwn.net/Articles/693026/
 
* convert irq handling to use CONFIG_IRQ_DOMAIN_HIERARCHY (serial port problem, action handler msising when registering irq)
 
* convert irq handling to use CONFIG_IRQ_DOMAIN_HIERARCHY (serial port problem, action handler msising when registering irq)
 
* check usage of CONFIG_MLONGCALLS, only 14MB/s with debian kernel and dd if=/dev/zero of=here bs=1k count=100000  ?
 
* check usage of CONFIG_MLONGCALLS, only 14MB/s with debian kernel and dd if=/dev/zero of=here bs=1k count=100000  ?
Line 54: Line 80:
 
** Finish OpenJDK, see patch and mail from Adrian Glaubitz 05.02.2021.
 
** Finish OpenJDK, see patch and mail from Adrian Glaubitz 05.02.2021.
 
** IMPORTANT: fix OpenJDK - fixes required in zeroport (stack grows up!).
 
** IMPORTANT: fix OpenJDK - fixes required in zeroport (stack grows up!).
* '''Rust language'''
+
* '''Rust language''' (STARTED: https://github.com/rust-lang/libc/compare/master...hdeller:libc:hppa-devel2)
 
**From Adrian Glaubitz (9/29/2021): The Rust project merged a change [1] that allows rustc to use GCC instead of LLVM as codegen backend for generating machine code through libgccjit. This means that we are in principal able now to build Rust code for all the architectures that GCC support but LLVM doesn't, which includes hppa. Please see this [2] and this [3] comment to see how to get started with cross-building the Rust compiler for a new target using libgccjit. We will have to add these new architectures to the libc crate first, see an example PR for that here [4]. Since I can't work on all these targets myself, I wanted to ask you to help me and get the support for hppa added to libc and rustc where necessary.
 
**From Adrian Glaubitz (9/29/2021): The Rust project merged a change [1] that allows rustc to use GCC instead of LLVM as codegen backend for generating machine code through libgccjit. This means that we are in principal able now to build Rust code for all the architectures that GCC support but LLVM doesn't, which includes hppa. Please see this [2] and this [3] comment to see how to get started with cross-building the Rust compiler for a new target using libgccjit. We will have to add these new architectures to the libc crate first, see an example PR for that here [4]. Since I can't work on all these targets myself, I wanted to ask you to help me and get the support for hppa added to libc and rustc where necessary.
 
*** [1] https://github.com/rust-lang/rust/pull/87260
 
*** [1] https://github.com/rust-lang/rust/pull/87260
Line 1,012: Line 1,038:
 
** [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2b6ae0962b421103feb41a80406732944b0665b3 parisc: Avoid printing the hardware path twice] (backported to v4.19+)
 
** [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2b6ae0962b421103feb41a80406732944b0665b3 parisc: Avoid printing the hardware path twice] (backported to v4.19+)
 
** MAINTAINERS: adjust entry after renaming parisc serial driver
 
** MAINTAINERS: adjust entry after renaming parisc serial driver
 +
* Kernel 6.2
 +
** parisc: Fix inconsistent indenting in setup_cmdline()
 +
** [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=71bdea6f798b425bc0003780b13e3fdecb16a010 '''parisc: Align parisc MADV_XXX constants with all other architectures''']
 +
** parisc: Drop PMD_SHIFT from calculation in pgtable.h (backported to v6.0+)
 +
** [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7236aae5f81f3efbd93d0601e74fc05994bc2580 '''parisc: Fix locking in pdc_iodc_print() firmware call'''] (backported to v6.0+)
 +
** [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7e6652c79ecd74e1112500668d956367dc3772a5 parisc: Drop duplicate kgdb_pdc console] (backported to v6.1+)
 +
** [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7dc4dbfe750e1f18c511e73c8ed114da8de9ff85 parisc: Drop locking in pdc console code] (backported to v6.1+)
 +
** parisc: Move pdc_result struct to firmware.c
 +
** [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7dc4dbfe750e1f18c511e73c8ed114da8de9ff85 '''parisc: Add missing FORCE prerequisites in Makefile'''] (backported to v5.18+)
 +
** [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4934fbfb3ff09b8500f63d4624ed8b41647bb822 parisc: Show MPE/iX model string at bootup]
 +
** [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=41f563ab3c33698bdfc3403c7c2e6c94e73681e4 parisc: led: Fix potential null-ptr-deref in start_task()] (backported to all)
 +
** [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5d1335dabb3c493a3d6d5b233953b6ac7b6c1ff2 '''parisc: Fix return code of pdc_iodc_print()'''] (backported to all)
 +
** [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3f0c17809a098d3f0c1ec83f1fb3ca61638d3dcd parisc: Replace hardcoded value with PRIV_USER constant in ptrace.c] (backported to v5.16+)
 +
** [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=316f1f42b5cc1d95124c1f0387c867c1ba7b6d0e '''parisc: Wire up PTRACE_GETREGS/PTRACE_SETREGS for compat case'''] (backported to v4.7+)
 +
** [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f2193bb2ee6e21d9c2da10ea3ce63b94aea69341 parisc: pdc_stable: use strscpy() to instead of strncpy()]
 +
** [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=88d7b12068b95731c280af8ce88e8ee9561f96de '''highmem: round down the address passed to kunmap_flush_on_unmap()'''] - (backported to all)
 +
* Kernel 6.3
 +
** no patches
 +
* Kernel 6.4
 +
** parisc: Replace regular spinlock with spin_trylock on panic path
 +
** parisc: Limit amount of kgdb breakpoints on parisc
 +
** [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d755bd2caeb47fd806e12399fe8b56798fa5d2cc '''parisc: Ensure page alignment in flush functions'''] (backported to 6.0+)
 +
** parisc: Drop HP-UX constants and structs from grfioctl.h
 +
** [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6e3220ba3323a2c24be834aebf5d6e9f89d0993f '''parisc: Fix argument pointer in real64_call_asm()'''] (backported to all)
 +
** [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=567b35159e76997e95b643b9a8a5d9d2198f2522 '''parisc: Cleanup mmap implementation regarding color alignment''']
 +
** parisc: update kbuild doc. aliases for parisc64
 +
** [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6f9e98849edaa8aefc4030ff3500e41556e83ff7 '''parisc: Fix encoding of swp_entry due to added SWP_EXCLUSIVE flag'''] (backported to v6.3+)
 +
** parisc: kexec: include reboot.h
 +
** [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=59fa12646d9f56c842b4d5b6418ed77af625c588 parisc: Improve cache flushing for PCXL in arch_sync_dma_for_cpu()]
 +
** [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d703797380c540bbeac03f104ebcfc364eaf47cc '''parisc: Flush gatt writes and adjust gatt mask in parisc_agp_mask_memory()''']
 +
** [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b6405f0829d7b1dd926ba3ca5f691cab835abfaa '''parisc: Use num_present_cpus() in alternative patching code''']
 +
** [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=15e64ef6520ea8702998db05b87fa5c3d3d40710 '''parisc: Add lightweight spinlock checks'''] (backported to v6.1+)
 +
** [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=adf8e96a7ea670d45b5de7594acc67e8f4787ae6 '''parisc: Enable LOCKDEP support''']
 +
** [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2028315cf59bb899a5ac7e87dc48ecb8fac7ac24 '''parisc: Allow to reboot machine after system halt'''] (backported to v4.14+)
 +
** [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=df419492e428b6a2bce98d0f613c58a13da6666c '''parisc: Handle kprobes breakpoints only in kernel context'''] (backported to v5.18+)
 +
** [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6888ff04e37d01295620a73f3f7efbc79f6ef152 '''parisc: Handle kgdb breakpoints only in kernel context'''] (backported to v5.4+)
 +
** [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=61e150fb310729c98227a5edf6e4a3619edc3702 '''parisc: Fix flush_dcache_page() for usage from irq context'''] (backported to v5.18+) (and all)
  
 
== Debian kernel and userspace programs ==
 
== Debian kernel and userspace programs ==
Line 1,070: Line 1,133:
 
** DONE: implement .con_font_set (consw) in sticon.c to be able to change fonts at runtime (since v5.10)
 
** DONE: implement .con_font_set (consw) in sticon.c to be able to change fonts at runtime (since v5.10)
 
** DONE: Implement kernel [[VDSO]] support - [https://lore.kernel.org/linux-parisc/4544A34A.6080700@tausq.org/ Randolphs patch]
 
** DONE: Implement kernel [[VDSO]] support - [https://lore.kernel.org/linux-parisc/4544A34A.6080700@tausq.org/ Randolphs patch]
 +
** DONE: Fixed PTRACE_GETREGS/PTRACE_SETREGS for compat case, fixes strace errors
 +
** DONE: add CONFIG_LOCKDEP support (v6.4)
  
 
* Debian installer:
 
* Debian installer:
Line 1,144: Line 1,209:
 
** [https://sourceware.org/git?p=glibc.git;a=commit;h=a24f414ba11a7acdf3c5ccec3fb327fc72166556 '''GLIBC PATCH: Remove obsolete defines for HPUX support from fcntl.h and update O_NONBLOCK.''']
 
** [https://sourceware.org/git?p=glibc.git;a=commit;h=a24f414ba11a7acdf3c5ccec3fb327fc72166556 '''GLIBC PATCH: Remove obsolete defines for HPUX support from fcntl.h and update O_NONBLOCK.''']
 
** [https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=974690 ''dietlibc Debian bug report'']
 
** [https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=974690 ''dietlibc Debian bug report'']
 +
* '''Kernel 6.1 (MADV_WIPEONFORK, MADV_KEEPONFORK, ...)'''
 +
** This patch [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=71bdea6f798b425bc0003780b13e3fdecb16a010 '''parisc: Align parisc MADV_XXX constants with all other architectures'''] changed some MADV values to have the same number as other platforms (exception: alpha arch). Even if that's an ABI change, the patch includes a wrapper to translate the values, so that old binaries will continue to work. There were build issues in aws-crt-python, qemu-user, tor browser and boringssl.
  
 
== Considerations between Debian unstable and Debian Jessie release ==
 
== Considerations between Debian unstable and Debian Jessie release ==

Revision as of 19:07, 1 June 2023

Contents

PA-RISC Linux TODO

Status & TODO 2023-06-01

  • Kernel: still missing Linux kernel development (no patches available yet or maybe not possible to implement):
    • maybe: optimize flush_dcache_page() implementation like sparc. See Documentation/cachetlb.txt, e.g. used in aio subsystem
    • maybe implement transparent huge pages (due to cache coherency technically only possible on PA8500-PA8700 CPUs, not possible on PA8800-PA8900 CPUs)
    • implement BUG() and WARN() with inline assembly so that interrupt happens in delay branch of "or,<> %r0,cond,%r0". Probably not possible, because gcc will report "control reaches end of non-void function" warnings/errors.
    • disable FP-register save/restore at kernel entry? - https://patchwork.kernel.org/patch/3975291/
    • 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)
    • Superdome support - can someone test? Should work better now with latest kernels (maybe ask Dennis Clarke <dclarke@blastwave.org>, Jan 2019).
  • Floating point NaN (see: https://en.wikipedia.org/wiki/NaN)
    • PA-RISC uses "mips" NaN format which differs from x86, etc. It should be called PA-RISC format as I think PA was first. The quiet NaN bit is opposite to than in current IEEE standard.
    • Debian packages with NaN issues: libime, capnproto
  • palo (PA-RISC Boot Loader):
    • PALO - add regular rewind & load to avoid tftp boot timing issues. See mail from Frank Schreiner "PALO issues" (Dec 2018).
    • When listing directory contents, resolve and print symlink target file names too, e.g. "vmlinux -> linux-5.12.1-64bit".
    • Fix palo deb package to build iplboot natively (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851792)
    • Modify (if possible), that palo can read (sequential) tftpbootable-vmlinuxes as well as the current boot-vmlinux images (simplifies build/handling)

Upstream PA-RISC-related kernel patch history

Debian kernel and userspace programs

Debian kernel / Generic Kernel bugs fixed

    • DONE: Fixed 64bit SMP kernel & sticon on machines with more than 4GB RAM (Kernel 3.12)
    • DONE: Lots of syscall fixes regarding compat kernel
    • DONE: send patches to remove UP from debian kernels, use sil680 instead of siimage, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721191 -> fixed in 3.12 / 3.13
    • DONE: Enable BMC in c8000 default kernel config - ipmi driver (CONFIG_IPMI_HANDLER=y) - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747482
    • DONE: remove HIL RTC from debian kernel - it creates a backtrace at boot because we have already another rtc0 active.
    • DONE: add ppdev driver, needed by CUPS, systemd reports missing module load (3.17 & 3.16 kernel)
    • DONE: Add crc-modules, event, isofs, jfs, mouse, sata, sound, squashfs, udf, uinput, scsi-common, scsi-extra, loop, serial and usb-serial debian-installer packages
    • DONE: Kernel build problem: a) disable -mfast-indirect-calls in Makefile, b) gcc compiler bug in > gcc-4.8.3-3
    • DONE: Drop HPUX-support from kernel (Kernel 4.0)
    • DONE: implemented HUGE pages
    • DONE: kernel timerfd_settime/timerfd_gettime issue, test with debian package: liblinux-fd-perl -> https://patchwork.kernel.org/patch/7951661/, backported to all kernels
    • DONE: kernel ptrace bug: http://thread.gmane.org/gmane.linux.ports.parisc/26273, possible fix: https://patchwork.kernel.org/patch/8063301/
    • DONE: Implement CONFIG_DEBUG_STACK_USAGE, in kernel 4.6
    • DONE: Use 32bit exception table entries, in kernel 4.6
    • DONE: implemented seccomp syscal, including SECCOMP_MODE_STRICT and mode 2
    • DONE: Fixed FTRACE support (http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=366dd4ea9d5f0eb78fdf4982d76506f99480ec0a)
    • DONE: Add syscall ftrace support
    • DONE: Simplify get_user()/put_user() with regard to %sr0/%sr2 usage.
    • DONE: Add tracehook support (needed for seccomp testcases, gdb, ...)
    • DONE: Added high-resolution sched_clock clocksources in 4.7, needed for debian packages: ismrmrd, haskell-http-conduit, ...
    • DONE: Detect physically broken memory via Page Deallocation Table (PDT), initial support in kernel 4.13
    • DONE: Make kernel self-decompressing (instead of palo reading gzipped kernels)
    • DONE: fix %pF and %pS usage in all kernel code
    • DONE: Enabled BMC/IPMI including Remote power on/off on C8000 and rp3410 machines (kernel 4.17 and above)
    • DONE: use CONFIG_COMPAT_BINFMT_ELF and get rid of arch/parisc/kernel/binfmt_elf32.c
    • DONE: Fix kernel writing core file, gdb reporting: BFD: Warning: /tmp/core.http.1655.ls3011.1465554447 is truncated: expected core file size >= 2187264, found: 2121728.
    • DONE: Find way to extract vmlinux out of vmlinuz (Kernel 4.19)
    • DONE: Implement alternative coding for UP & SMP, one debian kernel for UP and SMP, optimizations to avoid cache flushes on cache-less systems and other qemu-related speed-ups to avoid unnecessary syncronization (Kernel 4.20)
    • DONE: IRQ Balancing was broken, http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f73493eb4aecdd6edd8a749890e6e2dcfa0a7978
    • DONE: Added kgdb and kprobes in kernel 5.2, by Sven Schnelle
    • DONE: report on C8000 one socket with 2 cores
    • DONE: Check Kernel boot code if RAM of machine is big enough (e.g. is booting on 710 machine with 60MB possible?) - https://patchwork.kernel.org/patch/10888283/
    • DONE: convert to SPARSEMEM, instead of DISCONTIGMEM
    • DONE: (NOT POSSIBLE:) Enable huge pages on kernel text for C8000 as well - not possible, will crash due to required equivalent aliasing of caches.
    • DONE: Enable __ro_after_init
    • DONE: add dynamic ftrace support - provided by Sven in kernel 5.3
    • DONE: Fix fallouts from strace: http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b7dc5a071ddf69c0350396b203cba32fe5bab510,
    • DONE: implement kexec syscall
    • DONE: Analyze futex hang (CPU soft lockup) situation with test-lock testcase in the libprelude debian package - fixed by parisc: Add atomic64_set_release() define to avoid CPU soft lockups
    • DONE: Add TOC handler, sending TOC via IPMI interface "toc s"
    • DONE: autofs/automounter is broken, patch sent to list, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892953
    • DONE: Try enabling DEBUG_VM_PGTABLE in kernel
    • DONE: SLAB breaks, SLUB works (works in kernel v5.17)
    • DONE: implement .con_font_set (consw) in sticon.c to be able to change fonts at runtime (since v5.10)
    • DONE: Implement kernel VDSO support - Randolphs patch
    • DONE: Fixed PTRACE_GETREGS/PTRACE_SETREGS for compat case, fixes strace errors
    • DONE: add CONFIG_LOCKDEP support (v6.4)

ABI breakages (e.g. dropped HP-UX support)

Considerations between Debian unstable and Debian Jessie release

Jessie was not stable on SMP machines, particularly those with PA8800/PA8900 processors. It's recommended to use kernel 4.4.15 or later. The current default gcc for unstable is gcc 5.4. Most hppa fixes have been back ported to 4.9 but not all. It shouldn't hurt to use binutils from unstable. Debian glibc 2.23 is best. Most old packages should still work although there maybe inequivalent aliasing issues which are relevant on PA8800. There's also a nasty issue with gmon_start being in every shared library in Jessie. This caused a few headaches and potentially breaks applications when it's removed from a library. If you stick with the glibc in Jessie, multithreaded applications may not work as well as they could, but maybe that's not important. The kernel update is the most important one. Since hppa moved to ports, there has been a huge number of bug fixes. System stability is dramatically improved and I believe more packages are available than ever before. It's better to run unstable and just be selective about running "apt-get upgrade". (by Dave Anglin)

parisc-linux.org Homepage and Debian build server infrastructure work

Linus Torvalds barking at parisc

Testsuites, kernel and userspace testing tools

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

Review all the todo entries below!

Personal tools