TODO
PA-RISC Linux TODO (actually this is Helge's TODO list)
Status & TODO 2019-01-02
- PALO - add regular rewind & load to avoid tftp boot timing issues. See mail from Frank Schreiner "PALO issues" (Dec 2018).
- Modify palo to be able to load lifimage file
- STARTED: Implement kernel VDSO support - https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git/log/?h=vdso
- Get rid of executable stack, maybe use gateway page instead for signal returns?
- Randolphs patch
- Vdso
- Review gettimeofday and clock_gettime() implementation, possibly use a light-weight-syscall and rely on cr16 and cpu speed for more accurate timing? similiar to commit http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=18ad51dd342a7eb09dbcd059d0b451b616d4dafc
- STARTED: add dynamic ftrace support - http://git.kernel.org/cgit/linux/kernel/git/deller/parisc-linux.git/commit/?h=ftrace-dynamic&id=059645d9dadbd802d0487d1b8ab9b9269df18e0e
- STARTED: convert old-style rtc driver drivers/input/misc/hp_sdc_rtc.c to new RTC model, remove the procfs and miscdevice interfaces first and replace the ioctl with a struct rtc_class_ops. Arnd Bergmann can review those patches, but Alexandre and Alessandro are the ones who would merge them once the driver is moved to drivers/rtc. (Mail from Arnd Bergmann, 28.04.2016) - see https://patchwork.kernel.org/patch/10701397/
- check usage of CONFIG_MLONGCALLS, only 14MB/s with debian kernel and dd if=/dev/zero of=here bs=1k count=100000 ?
- IRQ Balancing seems broken with latest kernels.
- Add some cond_resched() calls to avoid RCU stalls, see commit 2a8bc5316adc998951e8f726c31e231a6021eae2
- MAYBE: Implement DCACHE_WORD_ACCESS in kernel (Complaint from Linus)
- add wiki page about kernel cross-compiling, refer to: http://git.infradead.org/users/segher/buildall.git and https://www.kernel.org/pub/tools/crosstool/ and https://www.kernel.org/pub/linux/kernel/people/arnd/
- STARTED: implement kexec syscall
- STARTED: report on C8000 one socket with 2 cores (done), NUMA support?
- ONGOING: Enable UBSAN and fix fallouts
- STARTED: implement CONFIG_VMAP_STACK "virtually mapped stacks and thread_info cleanup" -> https://lwn.net/Articles/693026/
- STARTED: fix up __ro_after_init: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d09e356ad06a8b6f5cceabf7c6cf05fdb62b46e5
- Fix kernel to load -fpie compiled programs not at 0x400000 (ELF_ET_DYN_BASE, e.g. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-4.9.y&id=abb79a56898e044715d8efd07bc1902d27a94870)
- gcc optimizations:
- _mcount can be optimized (smaller) by not subtracting offset)
- check if we can use -fentry from gcc for _mcount optimization
- put PLABELS into read-only section (gcc function pa_reloc_rw_mask() needs modification, see "section mismatches" mails, 11.09.2017)
- Enable huge pages on kernel text for C8000 as well
- 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
- convert unaligned handler to use get_user/put_user inline asm
- Fix shutdown: I had issued a "shutdown -r". As noted above, a panic occurred during the reboot (all CPUs were up). After this, stall messages were output to console after the bios version was printed. So yes, maybe CPUs should be "stopped" before a panic reboot? (by Dave, mail from 2017-03-31)
- Fix boot crash from Al Viro with sti gfx card (24.03.17)
- 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 or https://rt.perl.org/Public/Bug/Display.html?id=119567 https://rt.perl.org/Public/Bug/Display.html?id=119567
- unaligned warning (from glibc) when running apt-get: https://sourceware.org/bugzilla/show_bug.cgi?id=20243
- kernel work
- trace irq flags - http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=24131a61ec8c2d83431cb818281d3c9db986ab08
- Add core-objtool for parisc - http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=26660a4046b171a752e72a1dd32153230234fe3a
- ALPHA processor port:
- Add https://lkml.org/lkml/2007/8/14/259 aboot patch
- New one: https://patchwork.kernel.org/patch/10141217/ (alpha: fix crash if pthread_create races with signal delivery)
- Kernel patches: http://marc.info/?t=140610652200001&r=1&w=2, The proposed fix is in: http://marc.info/?t=140675670100010&r=1&w=2, http://marc.info/?t=142327510200001&r=1&w=2,
- convert irq handling to use CONFIG_IRQ_DOMAIN_HIERARCHY (serial port problem, action handler msising when registering irq)
- Circular dependency problems with kde packages caused by vlc and ffmpeg (Dave)
- Solution: Rebuild ffmpeg outside the buildd (as some dependencies have probably been deleted) and upload a +b1 version. Then trigger bin-nmu of phonon package. Finally this resolves then the dependencies of vlc, ffmpeg, phonon, chromaprint, polkit-kde-agent-1, kwrited, kwallet-kf5 and libkf5notifications-dev...
- Due to very bad performance running multiple copies of dot program (Dave)
- In vtk6 debian package, adding DOT_NUM_THREADS = 1 helps.
- Another issue that I have been wondering about is the performance of our kernel spinlock code. PA 8800 and PA 8900 processors have a cache line length of 128 bytes. I believe thereare some places where we assume 64 bytes. We also allocate spinlocks on 16 byte boundaries. We might get better performance if we allocated on 32 (PA 1.X) and 128 (PA 2.0). Helge: change: __PA_LDCW_ALIGNMENT
- I've also seen that better performance may be obtained by doing a byte store to spinlock prior to ldcw. This dirties the cache line and allows operation in cache in certain situations. I think this mainly applies to PA 1.X but I'm not sure. I have some example code somewhere. Helge: change struct arch_spinlock_t; in spinlock_types.h
- Implement ltrace on hppa
- SLAB breaks, SLUB works, why? Mail from Guy Martin.
- sparsemem: http://lwn.net/Articles/439472/ -> convert to sparsemem (http://lwn.net/Articles/440056/), patch available from James
- 3.14 partly: return ((unsigned long) mapping >> 7) & ((SHMLBA >> PAGE_SHIFT) - 1); in arch/parisc/kernel/sys_parisc.c
- implement .con_font_set (consw) in sticon.c (to be able to change fonts at runtime)
- why does mc hangs when exiting on sticon ?
- better implementation to get stack pointer (in return_address(), in stack checker in irq.c, ...)
- Kernel: Hard to solve outstanding issues
- megaraid on my rp5470 hangs at boot (maybe because SCSI chassis not connected)? -> use new megaraid driver for debian -> maybe patch https://patchwork.kernel.org/patch/7738911/ needed to enable PCI-PCI bridge?
- Fix FireGL X1/X3 in C8000 - currently broken (no DRM and software accel is incredibly slow
plus colors in 24bpp mode are wrongseems ok in debian 8 sid / 3.16.7 kernel) - Info: manual "Radeon R5xx Acceleration" - http://www.x.org/docs/AMD/R5xx_Acceleration_v1.1.pdf and generic: http://www.botchco.com/agd5f/?p=50
- Kernel: still missing Linux kernel development (no patches available yet):
- maybe implement transparent huge pages (due to cache coherency technically only possible on PA8500-PA8700 CPUs, not possible on PA8800-PA8900 CPUs)
- optimize flush_dcache_page() implementation like sparc. See Documentation/cachetlb.txt, e.g. used in aio subsystem
- NO_IRQ -> should be converted to (0) instead of (-1) -> Helge (check assembly, check in drivers/parisc/*)
- 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
- Kernel: Low priority patches needs further work
- 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.
- Visualize FX support (will probably never happen!)
- 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.
- Debian packages / Userspace work
- IMPORTANT: fix OpenJDK - fixes required in zeroport (stack grows up!).
- Fix qemu -> Richard Henderson started userspace-qemu in 11/2016: git://github.com/rth7680/qemu.git tgt-hppa
- 64-bit userspace, Binutils 64-bit binutils needs to be fixed to get multiple stub section support.
- gcc -> join 32- and 64bit compiler, make "-m64" work, get rid of hppa64-linux-gnu-gcc
- userspace
- elfutils -- testsuite error
- glib2.0 -- testsuite error
- gtk+3.0 succeeds by adding this to debian/rules: touch testsuite/reftests/color-transition.ui.known_fail testsuite/reftests/linear-gradient-transition-to-other.ui.known_fail
- libgadu - testsuite fails probably due to missing pthread cancellation in glibc.
- glibc pthread cancellation: the main issue is the target specific code needed to handle stubs and signal frames. See linux-unwind.h and hpux-unwind.h in gcc's libgcc/config/pa directory. The function pa32_fallback_frame_state does the hard work for linux. Hopefully, the signal tramp hasn't changed. All the unwind tests in gcc pass, so I think the implementation there is okay. It may be we need something similar to pa32_fallback_frame_state in glibc to fix cancellation
- heimdal suceeds by increasing timeout for iprop test to 120 seconds.
- cupt - build errors
- libqb - testsuite error
- libsoup2.4 -- testsuite error
- DONE: capnproto - testsuite was wrong: PARISC uses mips-floatingpoint NANs - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=781787
- teach "blkid" about palo partition
- STARTED: why is GNU AS so slow, e.g. when building freeorion, quantlib-swig or yade packages, testcases: openturns
- glibc: add backtrace() function, problems when building elfutils package: http://buildd.debian-ports.org/status/package.php?p=elfutils&suite=sid
- gcc: Add _builtin_thread_pointer() and _builtin_set_thread_pointer(), e.g.: https://gcc.gnu.org/ml/gcc-patches/2012-07/msg00428.html for glibc: ports/sysdeps/hppa/nptl/tls.h __set_cr27()
- provide libphobos packages - gcc-defaults - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763103, Work by Dave: https://gcc.gnu.org/ml/gcc-testresults/2018-11/msg03460.html
- gdb crashes Kernel - http://permalink.gmane.org/gmane.linux.ports.parisc/5406
- debian-cd to use xorriso
- debian-cd: do not compress kernel.
- palo (PA-RISC Boot Loader):
- Fix palo deb package to build iplboot natively (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851792)
- Palo needs better user interaction instead of "0", "1".... Howtos.
- Modify (if possible), that palo can read (sequential) tftpbootable-vmlinuxes as well as the current boot-vmlinux images (simplifies build/handling)
- Kernel 3.8:
- unbreak automounter support on 64-bit kernel with 32-bit userspace
- Kernel 3.9:
- Integrate Dave Anglin's latest cacheflush patchset (fixes unusual userspace crashes) https://patchwork.kernel.org/patch/2480891/ - Dave
- add ucmpdi2() symbol to kernel - https://patchwork.kernel.org/patch/2468471/ - Dave
- patch to disable -mlong-calls compiler option when building kernel modules - https://patchwork.kernel.org/patch/2480001/
- James Bottomley's explanation of kernel gateway page - in 3.10
- lib/atomic64_test.c:131:2: warning: #warning Please implement atomic64_dec_if_positive for your architecture - in 3.10
- add interrupt statistics like x86 to /proc/interrupts - in 3.10
- kernel"-crashes in the area of do_softirq() - irq stacks implemented: https://patchwork.kernel.org/patch/2497501/
- test/build kernel with allmodconfig/allyesconfig
- error in lib/mpi/longlong.h,umul_ppmm() uses floating point -> https://patchwork.kernel.org/patch/2521621/
- update MAINTAINERS file, git tree -> https://patchwork.kernel.org/patch/2580161/
- lockdep issues with irqstack patch in UP configurations. Fixed -> https://patchwork.kernel.org/patch/2589321/
- add /proc/interrupt counters for floating point assist and unaligned handler traps -> https://patchwork.kernel.org/patch/2589161
- CONFIG_PREEMPT works now -> https://patchwork.kernel.org/patch/2624241/
- parisc: make default cross compiler search more robust (v3)
- parisc: fix SMP races when updating PTE and TLB entries in entry.S
- parisc: use long branch in fork_like macro
- parisc: only re-enable interrupts if we need to schedule or deliver signals when returning to userspace
- Kernel 3.10
- stifb broken (PCI broken?) -> https://patchwork.kernel.org/patch/2636821/ -> 3.10-rc4
- parport hangs / lp -> https://patchwork.kernel.org/patch/2638331/ -> 3.10-rc4
- MAINTAINERS update -> https://patchwork.kernel.org/patch/2636601/ -> 3.10-rc4
- Kernel 3.11:
- parport (lp) fix
- defaultconfig for C8000
- C8000 workstation support in 3.11 and 3.10.X stable (serial port irq, IOMMU range fixes, FireGL radeon AGP fix, vma memory fix)
- remove arch/parisc/kernel/sys32.h
- pa_memcpy() was broken on 64bit (due to gcc miscompiling nonstandard C-code)
- Kernel 3.12:
- Fix 64bit SMP kernel on HP Visualize J-6750, 32bit SMP does work (Machine owners: Dave Land, Domenico Andreoli) -> fixed in 3.12 and backported >= kernel 2.6.12 (http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=54e181e073fc1415e41917d725ebdbd7de956455)
- fix kernel crash when running "echo t > /proc/sysrq-trigger" http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=59b33f148cc08fb33cbe823fca1e34f7f023765e
- regenerate defconfigs to include CONFIG_DEVTMPFS=y and CONFIG_DEVTMPFS_MOUNT=y to avoid udev/initrd problems. Done. http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c1b14041aa86800cfd9e21b280b0eaee885fa623
- IMPI/BMC patch from Thomas Bogendoerfer - http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=fdbeb7de700a3c8fc85d7e595a6bf1c92a27c0a1 - test with: "ipmitool sdr"
- Kernel 3.13
- STIcon broken on 64bit with > 4GB RAM - https://patchwork.kernel.org/patch/3149621/
- New defaultconfigs for 32- and 64-bit - https://patchwork.kernel.org/patch/2825923/, enabled BMC IPMI & disabled HP SDC for 64bit
- implement audit functionality, https://patchwork.kernel.org/patch/3046731/
- avoid dependencies on bzimage during make install, https://patchwork.kernel.org/patch/3069691/
- exception table entries can be of type int (32bit), even on 64bit kernel -> saves space. - https://patchwork.kernel.org/patch/3033801/
- Kernel 3.14
- Native types in uapi/asm/stat.h
- Dropped HP-UX Support: changed EWOULDBLOCK = EAGAIN -> https://patchwork.kernel.org/patch/3499551/ (important ABI change!)
- parisc: Make EWOULDBLOCK be equal to EAGAIN on parisc
- sticon font problem fixed, sticon now automatically chooses the Linux fb fonts if available instead of using the HP fonts
- parisc: add flexible mmap memory layout support
- parisc: convert uapi/asm/stat.h to use native types only
- parisc: wire up sched_setattr and sched_getattr
- parisc: fix cache-flushing
- Kernel 3.15
- epoll_pwait bug: debian packages libio-epoll-perl and python-falcon failed
- pthread_create() out-of-memory bug, failed only when used with GNU make, e.g. zeromq3 package. Reason: stack hard limit problems
- parisc: change value of SHMLBA from 0x00400000 to PAGE_SIZE (backported to v3.13+)
- parisc: add renameat2 syscall
- parisc: Improve LWS-CAS performance
- parisc: ratelimit userspace segfault printing
- parisc: Use generic uapi/asm/resource.h file
- parisc: remove _STK_LIM_MAX override
- parisc: fix epoll_pwait syscall on compat kernel
- parisc: change value of SHMLBA from 0x00400000 to PAGE_SIZE
- parisc: Replace __get_cpu_var uses for address calculation
- parisc: locks: remove redundant arch_*_relax operations
- parisc: wire up sys_utimes
- parisc: Remove unused CONFIG_PARISC_TMPALIAS code
- Kernel 3.16
- parisc: Eliminate memset after alloc_bootmem_pages
- parisc: Remove SA_RESTORER define
- parisc: drop unused defines and header includes
- parisc: fix fanotify_mark() syscall on 32bit compat kernel
- parisc: add serial ports of C8000/1GHz machine to hardware database
- Kernel 3.17
- parisc: Fix serial console for machines with serial port on superio chip
- parisc: Only use -mfast-indirect-calls option for 32-bit kernel builds
- parisc: pdc_stable.c: Avoid potential stack overflows
- parisc: pdc_stable.c: Cleaning up unnecessary use of memset in conjunction with strncpy
- parisc: ptrace: use secure_computing_strict()
- parisc: Implement new LWS CAS supporting 64 bit operations, CAS implementation: implement 1,2,4 and 8 byte CAS (backported to v3.13+)
- parisc: Wire up seccomp, getrandom and memfd_create syscalls
- parisc: dino: fix %d confusingly prefixed with 0x in format string
- parisc: sys_hpux: NUL terminator is one past the end
- parisc: Use get_signal() signal_setup_done()
- Kernel 3.18
- parisc: Reduce SIGRTMIN from 37 to 32 to behave like other Linux architectures (important ABI change!)
- parisc: Avoid using CONFIG_64BIT in userspace exported headers
- parisc: Use compat layer for msgctl, shmat, shmctl and semtimedop syscalls (backported to v3.10+)
- parisc: Use BUILD_BUG() instead of undefined functions
- parisc: Wire up bpf syscall
- Kernel 3.19
- parisc: fix out-of-register compiler error in ldcw inline assembler function
- Kernel 4.0
- parisc: Wire up execveat syscall
- parisc: Add error checks when building up signal trampoline handler
- parisc: hpux - Drop support for HP-UX binaries
- parisc: hpux - Do not compile hpux subdirectory
- parisc: hpux - Delete files in hpux subdirectory
- parisc: hpux - Remove hpux gateway page
- parisc: hpux - Remove HPUX syscall numbers
- fs/binfmt_som: Drop kernel support for HP-UX SOM binaries
- parisc/uaccess: fix sparse errors
- parisc: macro whitespace fixes
- parisc: Add compile-time check when adding new syscalls
- parisc: Fix pmd code to depend on PT_NLEVELS value, not on CONFIG_64BIT
- parisc: mm: don't count preallocated pmds
- Kernel 4.1
- parisc: Replace PT_NLEVELS with CONFIG_PGTABLE_LEVELS
- parisc: Eliminate sg_virt_addr() and private scatterlist.h
- parisc: copy_thread(): rename 'arg' argument to 'kthread_arg'
- parisc,metag: Fix crashes due to stack randomization on stack-grows-upwards architectures (backported to v3.16+)
- DONE: fix VA randomization regarding to stack limits (testcase: ocaml build, temporarily fix: echo 0 > /proc/sys/kernel/randomize_va_space or add to /etc/sysctl.conf: sys.kernel.randomize_va_space = 0)
- parisc: %pf is only for function pointers
- parisc: copy_thread(): rename 'arg' argument to 'kthread_arg'
- Kernel 4.2
- parisc: don't use module_init for non-modular core pdc_cons code
- parisc: use for_each_sg()
- stifb: Implement hardware accelerated copyarea
- parisc: Fix some PTE/TLB race conditions and optimize __flush_tlb_range based on timing results (backported to v3.18+)
- parisc: mm: Fix a memory leak related to pmd not attached to the pgd (backported to v4.0+)
- Kernel 4.3
- parisc: Define ioremap_uc and ioremap_wc
- PCI,parisc: Enable 64-bit bus addresses on PA-RISC
- parisc: Additionally check for in_atomic() in page fault handler
- parisc: Filter out spurious interrupts in PA-RISC irq handler - fixes crashes due to serial ports at boot on C8000 with PA8900 CPUs (backported to all)
- parisc: Drop CONFIG_SMP around update_cr16_clocksource()
- parisc: Use platform_device_register_simple("rtc-generic")
- parisc: Use double word condition in 64bit CAS operation - fixes 64bit gcc builtin atomics (backported to all)
- Kernel 4.4
- parisc: Change L1_CACHE_BYTES to 16
- net/xps: Fix calculation of initial number of xps queues
- parisc: reduce syslog debug output
- parisc: serial/mux: Convert to uart_console_device instead of open-coded
- parisc: Wire up userfaultfd syscall
- parisc: allocate sys_membarrier system call number
- parisc: Drop hpux_stat64 struct from stat.h header file
- parisc: Fixes and cleanups in kernel uapi header files (backported to 3.18+)
- parisc: Fix wrong comment regarding first pmd entry flags
- parisc: Drop definition of start_thread_som for HP-UX SOM binaries
- parisc: Drop unused MADV_xxxK_PAGES flags from asm/mman.h
- parisc: Add defines for Huge page support
- parisc: Initialize the fault vector earlier in the boot process.
- parisc: Increase initial kernel mapping to 32MB on 64bit kernel
- parisc: Use long branch to do_syscall_trace_exit
- parisc: Add Huge Page and HUGETLBFS support
- parisc: Map kernel text and data on huge pages
- parisc: Remove unused pcibios_init_bus()
- parisc: Wire up mlock2 syscall
- parisc: Disable huge pages on Mako machines
- parisc iommu: fix panic due to trying to allocate too large region (backported to all)
- parisc: Fix syscall restarts (backported to all)
- Kernel 4.5
- parisc: Protect huge page pte changes with spinlocks
- parisc: Imporove debug info about space registers and TLB configuration
- parisc: Drop parisc-specific NSIGTRAP define
- parisc: Fix __ARCH_SI_PREAMBLE_SIZE (backported to all)
- parisc: Reduce overhead of parisc_requires_coherency()
- parisc: Initialize PCI bridge cache line and default latency (related to https://patchwork.kernel.org/patch/7738911/)
- parisc: Use parentheses around expression in floppy.h
- parisc: Fix ptrace syscall number and return value modification (backported to v4.0+)
- parisc: Wire up copy_file_range syscall
- Kernel 4.6
- parisc: Panic immediately when panic_on_oops
- parisc: Drop alloc_hugepages and free_hugepages syscalls
- parisc,metag: Implement CONFIG_DEBUG_STACK_USAGE option
- parisc: Use generic extable search and sort routines
- parisc: Wire up preadv2 and pwritev2 syscalls
- parisc: Fix SIGSYS signals in compat case (backported to v4.5)
- parisc: Fix and enable seccomp filter support (backported to v4.5)
- parisc: Handle R_PARISC_PCREL32 relocations in kernel modules
- parisc: Avoid function pointers for kernel exception routines - backported to all
- parisc: Fix kernel crash with reversed copy_from_user() - backported to all
- parisc: Unbreak handling exceptions from kernel modules - backported to all
- parisc: Update comment regarding relative extable support
- parisc: Fix ftrace function tracer (not backported, maybe it should have been?)
- parisc: fix a bug when syscall number of tracee is __NR_Linux_syscalls (backported to v4.0+)
- Kernel 4.7
- parisc: Fix typo in pdc.h
- parisc: Fix typo in ldcw.h
- parisc: Fix typos in eisa_eeprom.h
- parisc: Fix typo in fpudispatch.c
- parisc: Add syscall tracepoint support
- parisc: Simplify and speed up get_user() and put_user()
- parisc: Add 64bit get_user() and put_user() for 32bit kernel
- parisc: Add ARCH_TRACEHOOK and regset support
- parisc: Add native high-resolution sched_clock() implementation
- parisc: Merge ftrace C-helper and assembler functions into .text.hot section
- parisc: Use long jump to reach ftrace_return_to_handler()
- parisc: Whitespace cleanups in unistd.h
- parisc: Update futex.h to match generic implementation
- parisc: Fix printk time during boot
- parisc: Fix pagefault crash in unaligned __get_user() call - backported to all
- parisc: Move die_if_kernel() prototype into traps.h header
- parisc: Fix backtrace on PA-RISC
- 53c700: fix BUG on untagged commands - fixes SCSI on 712/715 machines with sym7xx driver (backported to 4.6)
- Kernel 4.8
- parisc: Change structure intialisation to C99 style in iomap.c
- parisc: Add <asm/hash.h>
- parisc: Add break statements to pdc_pat_io_pci_cfg_read()
- parisc: Fix automatic selection of cr16 clocksource (backported to 4.7)
- parisc: Fix order of EREFUSED define in errno.h (backported to all)
- Kernel 4.9
- parisc: Increase KERNEL_INITIAL_SIZE for 32-bit SMP kernels (backported to 4.4+)
- parisc: Drop bootmem and switch to memblock
- parisc: Add hardened usercopy feature
- parisc: Add cfi_startproc and cfi_endproc to assembly code
- parisc: Move hpmc stack into page aligned bss section
- parisc: Fix self-detected CPU stall warnings on Mako machines (backported to 4.7+)
- parisc: Report trap type as human readable string
- parisc: Update comment regarding implementation of copy_user_page_asm
- parisc: Use kmalloc_array() in add_system_map_addresses()
- parisc: Check return value of smp_boot_one_cpu()
- parisc: Drop BROKEN_RODATA config option
- parisc: Increase initial kernel mapping size (backported to v4.4+)
- parisc: Fix kernel memory layout regarding position of __gp (backported to v4.4+)
- parisc: Move exception table into read-only section
- parisc: Zero-initialize newly alloced memblock
- parisc: Show trap name in kernel crash
- parisc: Migrate exception table users off module.h and onto extable.h
- parisc: use KERN_CONT when printing device inventory
- parisc: Use LINUX_GATEWAY_ADDR define instead of hardcoded value
- parisc: Ignore the pkey system calls for now
- parisc: Avoid trashing sr2 and sr3 in LWS code
- parisc: Ensure consistent state when switching to kernel stack at syscall entry (backported to all)
- parisc: Fix printk continuations in system detection
- parisc: Switch to generic sched_clock implementation (backported to v4.7+)
- parisc: Fix races in parisc_setup_cache_timing() (backported to v3.18+)
- parisc: Fix race in pci-dma.c (backported to v3.16+)
- parisc: Also flush data TLB in flush_icache_page_asm (backported to v3.16+)
- parisc: Fix TLB related boot crash on SMP machines (backported to v3.18+)
- parisc: Purge TLB before setting PTE (backported to v3.16+)
- parisc: Remove unnecessary TLB purges from flush_dcache_page_asm and flush_icache_page_asm (backported to v3.16+)
- Kernel 4.10
- parisc: perf: return -EFAULT on error
- parisc: Enable KASLR
- parisc: Re-enable interrupts early
- parisc: Enhance CPU detection code on PAT machines
- parisc: Optimize timer interrupt function
- parisc: Mark cr16 clocksource unstable on SMP systems (backported to v4.8+)
- parisc: Drop TIF_RESTORE_SIGMASK and switch to generic code
- parisc: Add line-break when printing segfault info (backported to v4.9)
- parisc, parport_gsc: Fixes for printk continuation lines
- parisc: Don't use BITS_PER_LONG in userspace-exported swab.h header (backported to all, build-fix for qemu)
- Kernel 4.11
- parisc: eisa: Remove coding style errors
- parisc: eisa: Fix resource leaks in error paths
- parisc: ccio-dma: Handle return NULL error from ioremap_nocache
- parisc: fix a printk
- parisc: Define access_ok() as macro
- parisc: Remove flush_user_dcache_range and flush_user_icache_range
- parisc: perf: Fix potential NULL pointer dereference
- parisc: Wire up statx system call
- parisc: Avoid compiler warnings with access_ok()
- parisc: Fix system shutdown halt
- parisc: Optimize flush_kernel_vmap_range and invalidate_kernel_vmap_range
- parisc: support R_PARISC_SECREL32 relocation in modules (backported to v4.10+)
- parisc: Fix access fault handling in pa_memcpy() (backported to v4.9+)
- parisc: Clean up fixup routines for get_user()/put_user() (backported to v4.9+)
- parisc: Avoid stalled CPU warnings after system shutdown (backported to v4.9+)
- parisc: fix bugs in pa_memcpy (backported to v4.9+)
- parisc: Fix get_user() for 64-bit value on 32-bit kernel (backported to v4.9+)
- Kernel 4.12
- (none beside backports, pull request was too late during merge window)
- Kernel 4.13
- parisc: use compat_sys_keyctl() (backported to all)
- parisc: Inline trivial exception code in lusercopy.S
- parisc: Drop per_cpu uaccess related exception_data struct
- parisc: Enhance detection of synchronous cr16 clocksources
- parisc: Add Page Deallocation Table (PDT) support
- parisc/mm: Ensure IRQs are off in switch_mm() (backported to v4.7+)
- parisc: Avoid zeroing gr[0] in fixup_exception()
- parisc: Don't hardcode PSW values in gsc_*() functions
- parisc: Don't hardcode PSW values in hpmc code
- parisc: Report SIGSEGV instead of SIGBUS when running out of stack (backported to all, fixes libsigsegv package)
- parisc: DMA API: return error instead of BUG_ON for dma ops on non dma devs (backported to v3.13+, fixes parport_pc module crash)
- parisc: ->mapping_error
- parisc: pdc_stable: constify attribute_group structures.
- parisc: Disable further stack checks when panic occurs during stack check
- parisc: Merge millicode routines via linker script
- parisc: regenerate defconfig files
- parisc: Fix crash when calling PDC_PAT_MEM PDT firmware function
- parisc: Add function to return DIMM slot of physical address
- parisc: Show DIMM slot number which holds broken memory module
- parisc: Suspend lockup detectors before system halt (backported to v4.9+)
- parisc: Prevent TLB speculation on flushed pages on CPUs that only support equivalent aliases (backported to v4.9+)
- parisc: Extend disabled preemption in copy_user_page
- parisc: Define CONFIG_CPU_BIG_ENDIAN
- parisc: Increase thread and stack size to 32kb (backported to v4.11+)
- parisc: pdc_stable: Fix locking when creating sysfs links
- parisc: Handle vma's whose context is not current in flush_cache_range (backported to v4.9+)
- printk-formats.txt: Better describe the difference between %pS and %pF
- parisc: pci memory bar assignment fails with 64bit kernels on dino/cujo (backported to all)
- Kernel 4.14
- parisc: Add MADV_HWPOISON and MADV_SOFT_OFFLINE
- parisc: PDT/firmware: Add support to read PDT on older PAT-machines
- parisc: PDT: Add full support for memory failure via Page Deallocation Table (PDT)
- parisc: Static initialization of spinlocks in perf and unwind code
- parisc: Drop exception_data struct
- parisc: Static initialization of pcxl_res_lock spinlock
- parisc: Drop MADV_SPACEAVAIL, MADV_VPS_PURGE and MADV_VPS_INHERIT
- parisc/random: Add machine specific randomness
- parisc: Enable UBSAN support
- parisc: Add core code for self-extracting kernel
- parisc: Make existing core files reuseable for bootloader
- parisc: Wire up support for self-extracting kernel
- parisc/harmony: Fix section mismatches
- parisc/sticore: Fix section mismatches
- parisc/mux: Fix section mismatches
- parisc/8250_gsc: Fix section mismatches
- parisc/scsi/zalon: Fix section mismatches
- parisc/scsi/lasi700: Fix section mismatches
- parisc/parport_gsc: Fix section mismatches
- parisc: Fix section mismatches in parisc core drivers
- parisc/serio: Fix section mismatches in gscps2 and hp_sdc drivers
- parisc/net/lasi_82596: Fix section mismatches
- parisc/input/hilkbd: Fix section mismatches
- parisc/ipmi_si_intf: Fix section mismatches on parisc platform
- parisc/core: Fix section mismatches
- parisc: Fix up devices below a PCI-PCI MegaRAID controller bridge
- printk-formats.txt: Add examples for %pF and %pS usage
- parisc: Optimize switch_mm
- parisc: Fix too large frame size warnings
- parisc: Stop unwinding at start of stack
- parisc: Move start_parisc() into init section
- parisc: Add wrapper for pdc_instr() firmware function
- parisc: Add PDCE_CHECK instruction to HPMC handler
- parisc: Check if initrd was loaded into broken RAM
- parisc: Move init_per_cpu() into init section
- parisc: Add HWPOISON page fault handler code
- parisc: Reintroduce option to gzip-compress the kernel
- parisc: Unbreak bootloader due to gcc-7 optimizations
- parisc: Export __cmpxchg_u64 unconditionally
- parisc: Fix detection of nonsynchronous cr16 cycle counters (backported to v4.13+)
- parisc: Fix double-word compare and exchange in LWS code on 32-bit kernels (backported to all/v3.13+)
- Kernel 4.15
- arch: Fix duplicates in Kconfig for parisc and sparc
- parisc: Make some PDC structures accessible in uapi headers
- parisc: Pass endianness info to sparse
- parisc: Add CPU topology support
- parisc: Fix validity check of pointer size argument in new CAS implementation (backported to all/v3.13+)
- parisc: Fix indenting in puts() (backported to v4.14)
- parisc: Align os_hpmc_size on word boundary (backported to v4.14)
- parisc: Hide Diva-built-in serial aux and graphics card (backported to all/v3.0+) - important for rp3410/rp3440 machines
- Revert "parisc: Re-enable interrupts early" (backported to v4.10+)
- parisc: Reduce thread stack to 16 kb
- parisc: remove duplicate includes
- parisc: Show unhashed hardware inventory
- parisc: Show initial kernel memory layout unhashed
- parisc: Show unhashed HPA of Dino chip
- parisc: Show unhashed EISA EEPROM address
- parisc: Fix alignment of pa_tlb_lock in assembly on 32-bit SMP kernel (backported to v4.0+)
- parisc: qemu idle sleep support (backported to v4.9+)
- Kernel 4.16
- parisc: Hide virtual kernel memory layout (backported to v4.15)
- parisc: Check if secondary CPUs want own PDC calls
- parisc: Use cr16 interval timers unconditionally on qemu (backported to v4.14+)
- parisc: Reduce irq overhead when run in qemu (backported to v4.14+)
- parisc: Fix ordering of cache and TLB flushes (backported to v4.9+)
- parisc: Handle case where flush_cache_range is called with no context (backported to v4.9+)
- Kernel 4.17
- parisc: Silence uninitialized variable warning in dbl_to_sgl_fcnvff()
- parisc/stifb: Use fb_memset() to avoid sparse warning
- parisc/parport_gsc: Use NULL to avoid sparse warning
- parisc/led: Fix sparse warnings
- parisc/gscps2: Fix sparse warnings
- parisc: Force to various endian types for sparse
- parisc: Convert MAP_TYPE to cover 4 bits on parisc
- parisc: Move various functions and strings to init section
- parisc/Kconfig: SMP kernels boot on all machines
- parisc: machine_power_off() should call pm_power_off()
- parisc: Directly call machine_power_off() in power button driver
- parisc: Fix HPMC handler by increasing size to multiple of 16 bytes
- parisc/pci: Switch LBA PCI bus from Hard Fail to Soft Fail mode
- parisc: Add code generator for Qemu/SeaBIOS machine info
- parisc: Fix out of array access in match_pci_device()
- ipmi/parisc: Add IPMI chassis poweroff for certain HP PA-RISC and IA-64 servers
- parisc/signal: Add FPE_CONDTRAP for conditional trap handling
- parisc: Move cache flush functions into .text.hot section
- parisc: Switch to generic COMPAT_BINFMT_ELF
- parisc: Prevent panic at system halt
- parisc: time: Convert read_persistent_clock() to read_persistent_clock64()
- parisc: Make bzImage default build target
- parisc: Document rules regarding checksum of HPMC handler
- parisc: drivers.c: Fix section mismatches
- parisc: Fix section mismatches
- Kernel 4.18
- parisc: Convert printk(KERN_LEVEL) to pr_lvl()
- parisc: Drop struct sigaction from not exported header file
- parisc: Mark 16kB and 64kB page sizes BROKEN
- parisc: Default to 4 SMP CPUs
- parisc: Wire up io_pgetevents syscall
- parisc: Reduce debug output in unwind code
- parisc: Build kernel without -ffunction-sections
- parisc: Enable CONFIG_MLONGCALLS by default (backported to v4.0+)
- parisc: Define mb() and add memory barriers to assembler unlock sequences (backported to v4.0+)
- Kernel 4.19
- parisc: merge pcx_dma_ops and pcxl_dma_ops
- parisc: always use flush_kernel_dcache_range for DMA cache maintainance
- parisc: use generic dma_noncoherent_ops
- parisc: Drop architecture-specific ENOTSUP define
- parisc: Add HAVE_REGS_AND_STACK_ACCESS_API feature
- parisc: Fix and improve kernel stack unwinding
- parisc: Remove ordered stores from syscall.S (backported to v4.0+)
- parisc: Remove unnecessary barriers from spinlock.h (backported to v4.0+)
- parisc: prefer _THIS_IP_ and _RET_IP_ statement expressions
- parisc: Restore possibility to execute 64-bit applications
- parisc: Fix ptraced 64-bit applications to call 64-bit syscalls
- parisc: Update comments in syscall.S regarding wide userland
- parisc: Consolidate unwind initialization calls
- parisc: Fix boot failure of 64-bit kernel
- parisc: Add hardware description to stack traces
- parisc: Fix uninitialized variable usage in unwind.c
- Kernel 4.20
- parisc: remove the dead ccio-rm-dma driver
- parisc: Use PARISC_ITLB_TRAP constant in entry.S
- parisc: Add SYSTEM_INFO and REGISTER TOC PAT functions
- parisc: Clean up crash header output
- parisc: dino: Utilize DINO_MASK_IRQ() macro
- parisc: Ratelimit dino stuck interrupt warnings
- parisc: Fix map_pages() to not overwrite existing pte entries (backported to all)
- parisc: Fix exported address of os_hpmc handler (backported to 4.9+)
- extract-vmlinux: Check for uncompressed image as fallback
- parisc: Include compressed vmlinux file in vmlinuz boot kernel
- parisc: Add alternative coding infrastructure
- parisc: Use zdep for shlw macro on PA1.1 and PA2.0
- parisc: Drop two instructions from pte lookup code
- parisc: Add PDC PAT cell_info() and pd_get_pdc_revisions() functions
- parisc: Retrieve and display the PDC PAT capabilities
- parisc: Reorder TLB flush timing calculation
- parisc: Remove PTE load and fault check from L2_ptep macro
- parisc: Release spinlocks using ordered store
- parisc: Purge TLB entries after updating page table entry and set page accessed flag in TLB handler
- parisc: Fix address in HPMC IVA (backported to all)
- parisc: Remove pte_inserted define
- parisc: Optimze cache flush algorithms
- parisc: remove check for minimum required GCC version
- parisc: Fix A500 boot crash
- parisc: Use LINUX_GATEWAY_SPACE constant in entry.S
- parisc64: change __kernel_suseconds_t to match glibc
- parisc: Revert "Release spinlocks using ordered store"
- parisc: Enable -ffunction-sections for modules on 32-bit kernel (backported to v4.18+)
- Kernel 4.21
- parisc: move __IGNORE* entries to non uapi header
- parisc: add __NR_syscalls along with __NR_Linux_syscalls
- parisc: remove __NR_Linux from uapi header file.
- parisc: add system call table generation support
- parisc: generate uapi header and system call table files
- parisc: syscalls: ignore nfsservctl for other architectures
- parisc: Split out alternative live patching code
- parisc: Fix serio address output
- parisc: Fix HP SDC hpa address output
Debian kernel and userspace programs
- PALO (http://git.kernel.org/cgit/linux/kernel/git/deller/palo.git/)
- DONE: increase palo command line from 128 bytes (max from kernel is 1024 currently) -> fixed in palo 1.92.
- 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/
- DONE: add gzip-support (allow loading gzipped vmlinux files)
- DONE: in interactive mode, add reboot option command
- DONE: Unbreak loading Linux kernels bigger than 16 MB (fixed in palo 1.96, Oct. 2016)
- DONE: Du to alternative coding in 4.20, ship debian kernel as SMP variant only (Kernel 4.20)
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)
- Debian installer:
- DONE: test xorriso (Thomas Schmitt, scdbackup)
- DONE: Build real debian-installer CD. See: https://wiki.debian.org/Simple-CDD/Howto
- DONE: we need a kernel debian package (3.10 based or higher)
- DONE: palo-installer: fix palo entry "root=/dev/sda5" to become "root=UUID=XXXX"
- binutils:
- DONE: Add linker -fpie support, https://sourceware.org/bugzilla/show_bug.cgi?id=18421, debian package iceweasel and others
- DONE: Using "gcc -o /dev/null" gives "ld: final link failed: File truncated" error: https://sourceware.org/bugzilla/show_bug.cgi?id=19526
- gcc:
- DONE: Linker reports "XXX referenced in section `.data.rel.ro.local' of YYY: defined in discarded section `.text._ZXXX"
- DONE: Qt5/KDE signal & slot issue: Pointers to method types need canonicalization before comparison, fixed in gcc: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68079
- glibc:
- DONE: Problem building libcap-ng...The problem is the call to __tls_get_addr clobbers the value loaded into %r26 for the printf call. -> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59777
- DONE: O_SYNC wrongly defined in glibc (typo in hppa __O_SYNC define in <bits/fcntl.h>)
- DONE: eglibc mmap bug with localedef (see debian bugzilla http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741243)
- DONE: Wrong __gmon_start__ symbol, showed in vlc - linker does not drop dependencies to unneeded shared libs, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770741. glibc bug report: https://sourceware.org/bugzilla/show_bug.cgi?id=19170
- DONE: nss - dladdr from glibc returns wrong names on hppa, http://article.gmane.org/gmane.linux.ports.parisc/26290, Solution: https://sourceware.org/bugzilla/show_bug.cgi?id=19415
- DONE: gcc userspace support for variable CAS (gcc atomic ops, __sync_XXX), initial support in kernel 3.17, http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=89206491201cbd1571009b36292af781cef74c1b)
- gcc-4.9 commit: https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=227914
- gcc-5.0 commit: https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=227913
- packages needing rebuild: libatomic-ops (gauche and libgc have copies of libatomic-ops included), x265, ceph, lizardfs, firebird2.5, gauche, idba, mapsembler2, padevchooser, filezilla, idba, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=785654
- __sync_val_compare_and_swap_8 was missing in: openvdb, idba, lizardfs, ...
- Debian userspace:
- DONE: qt4-x11: Improve atomic support on parisc (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741190)
- DONE: haskell (ghc) hangs: futex(0xea00d08e, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EINVAL (Invalid argument). Solution: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756260#15
- DONE: port openmpi package: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776730
- DONE: Fix msgpuck build breakage: https://buildd.debian.org/status/package.php?p=msgpuck&suite=sid
ABI breakages (HP-UX support)
- We dropped HP-UX support in kernel 3.14 by changing EWOULDBLOCK==EAGAIN. HP-UX could be run in a VM instead or since machines are relatively cheap now, if someone needs hpux, they can buy a machine for it.
- Changed RTSIGMIN to 32 (from 37)
- debian glibc report and debian kernel bug report
- September 7th 2014: First delivery with vmlinux-3.16.0-4 (aka linux-image-3.16.0-4-parisc64-smp_3.16.7-1_hppa.deb)
- rebuild of following packages needed:
- unxz-utils: rebuild unxz to fix usage of SIGXFSZ
- strace and gdb: fix signal names/numbers
- libgc: gives "Cannot set SIG_THR_RESTART handler" error since SIG_THR_RESTART has been SIGXCPU which is now used for threads
- (maybe) gcc-4.9 which links against libgc...? (affects objc related code only)
- dietlibc (patch sent upstream) - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=769105 TODO: make patch for dietlibc to use LONG_LONG_PAIR for ftruncate64() and then rebuild util-vserver package
- Dropped ENOTSUP (252) constant from kernel with v4.19. Gave problems and parisc is only platform, see libuv bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=900237
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
- DONE: Ask Thibaut to add ftp mirror of http://ftp.parisc-linux.org/debian_ports on http://www.fr.parisc-linux.org/
- DONE: Set up a buildd server for debian-ports/unstable & experimental -> http://unstable.buildd.net/index-hppa.html
- DONE: contact pannonmage@gmail.com (Nemeth Balint, Budapest) to set up buildd server - mail from 04.08.2013
- Offer from Mike Hosken <mike@csystems.co.nz> for A400 system as buildd - mail from 18.09.2014 and 17.05.2015
- DONE: set up buildd server on ESIEE's A500 (Thibaut) - mail from 13.08.2013
- DONE Sep 12 2014: migrate mail forward service for parisc-linux.org to A500 machine
- DONE Sep 12 2014: restore web-based http://ftp.parisc-linux.org service
- DONE Nov 24 2014: Import old hppa mailing list archives to gmane.org - http://dir.gmane.org/gmane.linux.ports.parisc
- Homepage migration:
- DONE: Migration of parisc-linux.org website to https://parisc.wiki.kernel.org
- DONE: Migration of wiki.parisc-linux.org website to https://parisc.wiki.kernel.org
- DONE: Domain owner before: Matt Taggart <matt@lackof.org>, Expiration Date:09-Aug-2014; Since August 2014 is Helge Deller domain owner of parisc-linux.org
- DONE: DNS takeover by Thibaut Varenet on 11/11/2013 - see: http://article.gmane.org/gmane.linux.ports.parisc/5478
- DONE: former Server administrator of parisc-linux.org: Dann Frazier - dannf@dannf.org, former technical contact at HP: brett.johnson@hp.com, Since August 2014 administrator/owner: Helge Deller
Linus Torvalds barking at parisc
Testsuites, kernel and userspace testing tools
- GLIBC issues and todos: https://sourceware.org/glibc/wiki/PortStatus
- https://github.com/linux-test-project/ltp - Linux Test Project
- http://codemonkey.org.uk/projects/trinity/ - Trinity - A Linux System call fuzz tester.
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!
- ns87415 dma doesn't work reliably on suckyio-systems
- fix HIL problem: ksoftirqd/0 eats 56% cpu (kernel 2.4 & kernel 2.6) - see FAQ: http://www.parisc-linux.org/faq/index.html and http://article.gmane.org/gmane.linux.ports.parisc/278/match=use+lower+nice+level+ksoftirqd+hil+enabled