TODO

From Linux PARISC Wiki
(Difference between revisions)
Jump to: navigation, search
m (PA-RISC Linux TODO (actually this is Helge's TODO list))
m (PA-RISC Linux TODO (actually this is Helge's TODO list))
(71 intermediate revisions by one user not shown)
Line 1: Line 1:
 
= PA-RISC Linux TODO (actually this is Helge's TODO list) =
 
= PA-RISC Linux TODO (actually this is Helge's TODO list) =
  
== Status & TODO 2017-07-12 ==
+
== Status & TODO 2019-03-14 ==
 
+
* Update latest QEMU successes.
* Palo needs better user interaction instead of "0", "1".... Howtos.
+
* STARTED: Fix sbuild not returning used disc size: /usr/share/perl5/Sbuild/Build.pm line 2786, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=923484
* Important: Why does building plzip=1.6-1 creates hanging processes ?
+
* STARTED: Fix fallouts from strace, http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b7dc5a071ddf69c0350396b203cba32fe5bab510
* STARTED: detect physically broken memory - utilize PDT (http://ftp.parisc-linux.org/docs/arch/pdc20-v1.1-Ch4-pdc.pdf (page #46)) - https://patchwork.kernel.org/patch/2541561/,  new idea: use: PDC_PAT_MEM_PD_INFO (see pdcpat.h)
+
* STARTED: IRQ Balancing seems broken with latest kernels, http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f73493eb4aecdd6edd8a749890e6e2dcfa0a7978
* STARTED: Implement GENERIC_CLOCKEVENTS with cr16 cycle counter ? (kernel 4.9)
+
* PALO - add regular rewind & load to avoid tftp boot timing issues. See mail from Frank Schreiner "PALO issues" (Dec 2018).
* STARTED: Remove TIF_RESTORE_SIGMASK define -> https://patchwork.kernel.org/patch/9230443/, "virtually mapped stacks and thread_info cleanup" -> https://lwn.net/Articles/693026/
+
** 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?
 +
** [https://lore.kernel.org/linux-parisc/4544A34A.6080700@tausq.org/ 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 ?
 +
* 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
 
* 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
 
* 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 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)
 
* Fix boot crash from Al Viro with sti gfx card (24.03.17)
* test and maybe issue message about de-configured processors.
 
* Fix palo deb package to build iplboot natively (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851792)
 
* Fix palo (iplloader) to not break if /boot/vmlinux does not exist (report from Meelis Roos)
 
* Enable UBSAN and fix allouts
 
* Enable huge pages on kernel text for C8000 as well
 
* implement libnuma kernel support to report on C8000 one socket with 2 cores.
 
** Fix kernel to load -fpie compiled programs not at 0x400000
 
 
* 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  
 
* 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  
* Why does CONFIG_DEBUG_TIMEKEEPING=y does not work? -> maybe: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=604a830d4fb5bf2334263bd597de22652e63b7e6* Add kasan checks ?
 
 
* unaligned warning (from glibc) when running apt-get: https://sourceware.org/bugzilla/show_bug.cgi?id=20243
 
* unaligned warning (from glibc) when running apt-get: https://sourceware.org/bugzilla/show_bug.cgi?id=20243
* rebuild packages with kernel 4.7 which has better timing: ismrmrd, haskell-http-conduit, ...
 
* add wiki page about kernel cross-compiling
 
 
* kernel work
 
* kernel work
** STARTED: add dynamic ftrace support - http://git.kernel.org/cgit/linux/kernel/git/deller/parisc-linux.git/commit/?h=ftrace-dynamic&id=059645d9dadbd802d0487d1b8ab9b9269df18e0e
 
** STARTED: fix up __ro_after_init: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d09e356ad06a8b6f5cceabf7c6cf05fdb62b46e5
 
** update defconfigs
 
** Fix kernel writing core file, gdb reporting: BFD: Warning: /tmp/core.http.1655.ls3011.1465554447 is truncated: expected core file size >= 2187264, found: 2121728. Maybe this commit fixes it?: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=4d22c75d4c7b5c5f4bd31054f09103ee490878fd
 
** 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)
 
 
** 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
 
** Add core-objtool for parisc - http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=26660a4046b171a752e72a1dd32153230234fe3a
 
** Add core-objtool for parisc - http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=26660a4046b171a752e72a1dd32153230234fe3a
 
** ALPHA processor port:
 
** ALPHA processor port:
 
*** Add https://lkml.org/lkml/2007/8/14/259 aboot patch
 
*** 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,  
 
*** 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,  
** Implement kernel VDSO support
 
 
** 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)
** Circular dependency problems with kde packages caused by vlc and ffmpeg (Dave)  
+
** 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)
 
** Due to very bad performance running multiple copies of dot program (Dave)
 
*** In vtk6 debian package, adding DOT_NUM_THREADS = 1 helps.
 
*** 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
 
*** 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
 
*** 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
** use CONFIG_COMPAT_BINFMT_ELF and get rid of arch/parisc/kernel/binfmt_elf32.c
 
** implement kexec syscall
 
 
** Implement ltrace on hppa
 
** Implement ltrace on hppa
 
** SLAB breaks, SLUB works, why? Mail from Guy Martin.
 
** 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
 
** sparsemem: http://lwn.net/Articles/439472/ -> convert to sparsemem (http://lwn.net/Articles/440056/), patch available from James
** modprobe ipmi_si loads the BMC driver, but it could be loaded automatically too..How to get CPU temp? (ipmi-chassis --get-chassis-status crashes the machine).
 
 
** 3.14 partly: return ((unsigned long) mapping >> 7) & ((SHMLBA >> PAGE_SHIFT) - 1); in arch/parisc/kernel/sys_parisc.c
 
** 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)
 
** implement .con_font_set (consw) in sticon.c (to be able to change fonts at runtime)
Line 60: Line 65:
 
** maybe implement transparent huge pages (due to cache coherency technically only possible on PA8500-PA8700 CPUs, not possible on PA8800-PA8900 CPUs)
 
** 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
 
** optimize flush_dcache_page() implementation like sparc. See Documentation/cachetlb.txt, e.g. used in aio subsystem
** fix wrong _init notation in kernel
 
 
** NO_IRQ -> should be converted to (0) instead of (-1) -> Helge (check assembly, check in drivers/parisc/*)
 
** 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/*
 
** 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.
 
** 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
 
** arch/parisc/kernel/sys_parisc.c -> use SYSCALL_ALIAS() -> maybe
** 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
 
  
 
* Kernel: Low priority patches needs further work  
 
* Kernel: Low priority patches needs further work  
 
** disable FP-register save/restore at kernel entry? - https://patchwork.kernel.org/patch/3975291/
 
** 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)
 
** 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.
+
** Superdome support - can someone test? Should work better now with latest kernels (maybe ask Dennis Clarke <dclarke@blastwave.org>, Jan 2019).
 
** Visualize FX support (will probably never happen!)
 
** 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.
 
** 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.
Line 78: Line 80:
 
** IMPORTANT: fix OpenJDK - fixes required in zeroport (stack grows up!).
 
** 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  
 
** Fix qemu  -> Richard Henderson started userspace-qemu in 11/2016: git://github.com/rth7680/qemu.git tgt-hppa  
** 64-bit userspace, 64-bit binutils needs to be fixed to get multiple stub section support.
+
** 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
 
** gcc -> join 32- and 64bit compiler, make "-m64" work, get rid of hppa64-linux-gnu-gcc
 
* userspace
 
* userspace
Line 97: Line 99:
 
** glibc: add backtrace() function, problems when building elfutils package: http://buildd.debian-ports.org/status/package.php?p=elfutils&suite=sid
 
** 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()
 
** 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
+
** 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
 
** gdb crashes Kernel - http://permalink.gmane.org/gmane.linux.ports.parisc/5406
 
** debian-cd to use xorriso
 
** debian-cd to use xorriso
Line 103: Line 105:
 
    
 
    
 
* palo (PA-RISC Boot Loader):
 
* 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)
 
** Modify (if possible), that palo can read (sequential) tftpbootable-vmlinuxes as well as the current boot-vmlinux images (simplifies build/handling)
** move decompression of Kernel to Linux kernel code instead of palo
 
  
 
== Upstream PA-RISC-related kernel patch history ==
 
== Upstream PA-RISC-related kernel patch history ==
 +
* Kernel 3.8:
 +
** unbreak automounter support on 64-bit kernel with 32-bit userspace
 
* Kernel 3.9:
 
* Kernel 3.9:
 
** Integrate Dave Anglin's latest cacheflush patchset (fixes unusual userspace crashes) https://patchwork.kernel.org/patch/2480891/ - Dave  
 
** Integrate Dave Anglin's latest cacheflush patchset (fixes unusual userspace crashes) https://patchwork.kernel.org/patch/2480891/ - Dave  
Line 188: Line 193:
 
** parisc: Use get_signal() signal_setup_done()
 
** parisc: Use get_signal() signal_setup_done()
 
* Kernel 3.18
 
* Kernel 3.18
** '''parisc: Reduce SIGRTMIN from 37 to 32 to behave like other Linux architectures''' (important ABI change!)
+
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1f25df2eff5b25f52c139d3ff31bc883eee9a0ab '''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: 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 compat layer for msgctl, shmat, shmctl and semtimedop syscalls (backported to v3.10+)
Line 380: Line 385:
 
** parisc: ->mapping_error
 
** parisc: ->mapping_error
 
** parisc: pdc_stable: constify attribute_group structures.
 
** parisc: pdc_stable: constify attribute_group structures.
** '''parisc: Disable further stack checks when panic occurs during stack check'''
+
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5bc64bd246ca00e0bb0b7137afaf586f2f66a911 '''parisc: Disable further stack checks when panic occurs during stack check''']
** parisc: Merge millicode routines via linker script
+
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6cd819e8e978b361ae558056a9e79fd30e6acb0d parisc: Merge millicode routines via linker script]
 
** parisc: regenerate defconfig files
 
** parisc: regenerate defconfig files
** parisc: Fix crash when calling PDC_PAT_MEM PDT firmware function
+
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f520e55241e1cf0c10d308ccf47513f28533f60a parisc: Fix crash when calling PDC_PAT_MEM PDT firmware function]
 
** parisc: Add function to return DIMM slot of physical address
 
** parisc: Add function to return DIMM slot of physical address
 
** parisc: Show DIMM slot number which holds broken memory module
 
** parisc: Show DIMM slot number which holds broken memory module
** '''parisc: Suspend lockup detectors before system halt'''
+
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=56188832a50f09998cb570ba3771a1d25c193c0e '''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'''
+
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ae7a609c34b6fb12328c553b5f9aab26ae74a28e '''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
+
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=56008c04ebc099940021b714da2d7779117cf6a7 parisc: Extend disabled preemption in copy_user_page]
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=74ad3d28af2104b92dd83a43add79e6a8c45d8e2 parisc: Define CONFIG_CPU_BIG_ENDIAN]
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8f8201dfed91a43ac38c899c82f81eef3d36afd9 '''parisc: Increase thread and stack size to 32kb'''] (backported to v4.11+)
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=93964fd4ea6ab86a2d2853a9ae56ae0c24cbbe16 parisc: pdc_stable: Fix locking when creating sysfs links]
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=13d57093c141db2036364d6be35e394fc5b64728 '''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
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4098116039911e8870d84c975e2ec22dab65a909 '''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
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8a5aa00e6b9630d36d7681b38062a3d48d8b6ee6 '''parisc: PDT/firmware: Add support to read PDT on older PAT-machines''']
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=54ac8fcbd6e6777929235ac767467991005d2df3 '''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
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e35a2ce692821563583fa8b11ddf4acb24e54580 '''parisc: Enable UBSAN support''']
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2f3c7b8137ef6a3f90850d7cb5dbd05d8940403a '''parisc: Add core code for self-extracting kernel''']
 +
** parisc: Make existing core files reuseable for bootloader
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b6adc16e08e0ee8bbc9cccf7af3882b6e1cb30c2 '''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
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d81f734462d439291531266c4004ab97e9a033cc '''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
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e77900abfd8be4e207412d8b7752dbb9838e2571 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
 +
** [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=606f95e4255845155f62504a9e1f12665b1853c8 '''parisc: Add HWPOISON page fault handler code''']
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=af21b01d1166248f282fc02d0f459c94de06615e '''parisc: Reintroduce option to gzip-compress the kernel''']
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8c031ba63f8f2a9efc471cb45b2ff18271556544 '''parisc: Unbreak bootloader due to gcc-7 optimizations''']
 +
** parisc: Export __cmpxchg_u64 unconditionally
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8642b31ba9eef8a01845146a26682d4869e62513 '''parisc: Fix detection of nonsynchronous cr16 cycle counters'''] (backported to v4.13+)
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=374b3bf8e8b519f61eb9775888074c6e46b3bf0c '''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
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bc5a768e567df51f43778da381477f6555f3824c parisc: Make some PDC structures accessible in uapi headers]
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3744d988c05a27f40408003352841aefadba1324 parisc: Pass endianness info to sparse]
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bf7b4c1b3c92f246a535a7c792177041d0442011 '''parisc: Add CPU topology support''']
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=05f016d2ca7a4fab99d5d5472168506ddf95e74f '''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)
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bcf3f1752a622f1372d3252d0fea8855d89812e7 '''parisc: Hide Diva-built-in serial aux and graphics card'''] (backported to all/v3.0+) - '''important for rp3410/rp3440 machines'''
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9352aeada4d8d8753fc0e414fbfe8fdfcb68a12c '''Revert "parisc: Re-enable interrupts early"'''] (backported to v4.10+)
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=da57c5414f49ef9e4bcb9ae0bbafd1d650b31411 '''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
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=88776c0e70be0290f8357019d844aae15edaa967 '''parisc: Fix alignment of pa_tlb_lock in assembly on 32-bit SMP kernel''']  (backported to v4.0+)
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=310d82784fb4d60c80569f5ca9f53a7f3bf1d477 '''parisc: qemu idle sleep support''']  (backported to v4.9+)
 +
* Kernel 4.16
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fd8d0ca2563151204f3fe555dc8ca4bcfe8677a3 parisc: Hide virtual kernel memory layout] (backported to v4.15)
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0ed1fe4ad394e54783bbffa84102faf435661a2e parisc: Check if secondary CPUs want own PDC calls]
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5ffa8518851f1401817c15d2a7eecc0373c26ff9 parisc: Use cr16 interval timers unconditionally on qemu] (backported to v4.14+)
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=636a415bcc7f4fd020ece8fd5fc648c4cef19c34 parisc: Reduce irq overhead when run in qemu] (backported to v4.14+)
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0adb24e03a124b79130c9499731936b11ce2677d '''parisc: Fix ordering of cache and TLB flushes'''] (backported to v4.9+)
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9ef0f88fe5466c2ca1d2975549ba6be502c464c1 '''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
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d5b59a71204b0a9a55eda633347b1214642bead3 '''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
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=24002d59376e2d19a2a523fe88d5b32e691a43af '''parisc: machine_power_off() should call pm_power_off()''']
 +
** parisc: Directly call machine_power_off() in power button driver
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d5654e156bc4d68a87bbaa6d7e020baceddf6e68 '''parisc: Fix HPMC handler by increasing size to multiple of 16 bytes''']
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b845f66f78bf42a4ce98e5cfe0e94fab41dd0742 '''parisc/pci: Switch LBA PCI bus from Hard Fail to Soft Fail mode''']
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a77ab0e7ce232a62adac3d85b9ae66d0f48385ac '''parisc: Add code generator for Qemu/SeaBIOS machine info''']
 +
** parisc: Fix out of array access in match_pci_device()
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c6185e285c5c7cfeab739bae7f206ced695f09c7 '''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
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=71d577db01a5177c7807a2f3d3df9bab9d21c500 parisc: Switch to generic COMPAT_BINFMT_ELF]
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=67698287031be7c1821f9b151237ca8cdb231fd1 parisc: Prevent panic at system halt]
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f76cdd00ef0e39d880139b074e3b247594dff95a 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()
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=704e38303153c797d66c41bbe8325202f549b53c parisc: Drop struct sigaction from not exported header file]
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1c971f39e62222d567f179ccaa1a186f1c203b52 parisc: Mark 16kB and 64kB page sizes BROKEN]
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=435d34c7a48de5e89047ef9c7dce6528831b258b parisc: Default to 4 SMP CPUs]
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2765b3edc41bdf18960ca7e6b656fb933ac191d6 parisc: Wire up io_pgetevents syscall]
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=63ba82c0e63f1dd400d84e12f2142c2cb691aec1 parisc: Reduce debug output in unwind code]
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=24b6c22504a27210a8377e54d24d425ae414f2c1 parisc: Build kernel without -ffunction-sections]
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=66509a276c8c1d19ee3f661a41b418d101c57d29 parisc: Enable CONFIG_MLONGCALLS by default]  (backported to v4.0+)
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fedb8da96355f5f64353625bf96dc69423ad1826 '''parisc: Define mb() and add memory barriers to assembler unlock sequences''']  (backported to v4.0+)
 +
* Kernel 4.19
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a34a9b9682a5a9de53386ed0872c7d38ca9d6b38 parisc: merge pcx_dma_ops and pcxl_dma_ops]
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7f1501053811414ddeff63db8f5d41bdbe38068f parisc: always use flush_kernel_dcache_range for DMA cache maintainance]
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c1f59375b3782f478ac2c488889abdc00dd8e25f '''parisc: use generic dma_noncoherent_ops''']
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=93cb8e20d56be40c541475f77b5f565fbb385a4b '''parisc: Drop architecture-specific ENOTSUP define''']
 +
** parisc: Add HAVE_REGS_AND_STACK_ACCESS_API feature
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c8921d72e390cb6fca3fb2b0c2badfda851647eb '''parisc: Fix and improve kernel stack unwinding''']
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7797167ffde1f00446301cb22b37b7c03194cfaf '''parisc: Remove ordered stores from syscall.S'''] (backported to v4.0+)
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3b885ac1dc35b87a39ee176a6c7e2af9c789d8b8 '''parisc: Remove unnecessary barriers from spinlock.h'''] (backported to v4.0+)
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4a53ec1ccf932f86845c96a5092ba4507621c84d parisc: prefer _THIS_IP_ and _RET_IP_ statement expressions]
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5b00ca0b8035e49ef7c466e959c5cb457a654351 '''parisc: Restore possibility to execute 64-bit applications''']
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b6fc0cccb6b35815a7d1cfc9279cdbfc2c61d00d '''parisc: Fix ptraced 64-bit applications to call 64-bit syscalls''']
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=54c770da992387abfa7df4817404d000ef034fa8 parisc: Update comments in syscall.S regarding wide userland]
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9e0d5c451f9e559dd06af3fff49a0d2068c634c4 parisc: Consolidate unwind initialization calls]
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8801ccb9fa524c195322c26b6d44e99827772bde '''parisc: Fix boot failure of 64-bit kernel''']
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=dbf2a4b1ffab2867505be3b24221d5efa2200c91 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
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fe8376dbbd6ac1febb0fd6389e3ec4f349e70c71 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
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3c229b3f2dd8133f61bb81d3cb018be92f4bba39 '''parisc: Fix map_pages() to not overwrite existing pte entries'''] (backported to all)
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=99a3ae51d557d8e38a7aece65678a31f9db215ee '''parisc: Fix exported address of os_hpmc handler'''] (backported to 4.9+)
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=db139d71c4c377c56a67ae219f120186ce9934d1 '''extract-vmlinux: Check for uncompressed image as fallback''']
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=34c201ae49fe9e0bf3b389da5869d810f201c740 parisc: Include compressed vmlinux file in vmlinuz boot kernel]
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3847dab77421867fbc77faacb2f377d44e729e1b '''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
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a886c9791aed64d73f8c0038cc1506741ba216fa '''parisc: Reorder TLB flush timing calculation''']
 +
** parisc: Remove PTE load and fault check from L2_ptep macro
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d27dfa13b9f77ae7e6ed09d70a0426ed26c1a8f9 '''parisc: Release spinlocks using ordered store''']
 +
** parisc: Purge TLB entries after updating page table entry and set page accessed flag in TLB handler
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1138b6718ff74d2a934459643e3754423d23b5e2 '''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
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c9fa406f62ec952bc4689b5120a02759ce42a68d parisc: Fix A500 boot crash]
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=87613bb9d20c556b5eeae04f4caf40701189f07b parisc: Use LINUX_GATEWAY_SPACE constant in entry.S]
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9a298b445514b3de08252c71833f9273b7727355 '''parisc64: change __kernel_suseconds_t to match glibc''']
 +
** parisc: Revert "Release spinlocks using ordered store"
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git/commit/?h=parisc-4.20-4&id=1e8249b8a4e960018e4baca6b523b8a4500af600 parisc: Enable -ffunction-sections for modules on 32-bit kernel] (backported to v4.18+)
 +
* Kernel 5.0
 +
** 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.
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=85e69701f58c9b2ec2975e31518b60e056bfebdf '''parisc: add system call table generation support''']
 +
** parisc: generate uapi header and system call table files
 +
** parisc: syscalls: ignore nfsservctl for other architectures
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8cc28269b9574103aae9088a02a20929ec75f983 parisc: Split out alternative live patching code]
 +
** parisc: Fix serio address output
 +
** parisc: Fix HP SDC hpa address output
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=dfbaecb2b707cfdc5276b548d52b437384bd6483 '''parisc: Remap hugepage-aligned pages in set_kernel_text_rw()'''] (backported to 4.20)
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b7dc5a071ddf69c0350396b203cba32fe5bab510 '''parisc: Fix ptrace syscall number modification'''] (backported to 4.5+)
 +
** CREDITS/MAINTAINERS: Retire parisc-linux.org email domain
 +
* Kernel 5.1
 +
** parisc: don't include <asm/cacheflush.h> in <asm/dma-mapping.h>
 +
** parisc: move internal implementation details out of <asm/dma-mapping.h>
 +
** parisc: turn GET_IOC into an inline function
 +
** parisc: properly type the iommu field in struct pci_hba_data
 +
** parisc: properly type the return value of parisc_walk_tree
 +
** parisc/dino: use container_of in DINO_DEV
 +
** parisc/lba_pci: use container_of in LBA_DEV
 +
** parisc: remove the HBA_DATA macro
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=81fe5bba88a3fbe34ee6c5d18e327c6aaacd588c '''parisc: Hide built-in serial aux port of Tosca GSP card''']
 +
** parisc: Show rescheduling interrupts on SMP machines only
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b102f29b2d8603f15071384e88125b8eab5f8faa '''parisc: Count IPI function call interrupts''']
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f73493eb4aecdd6edd8a749890e6e2dcfa0a7978 '''parisc: Improve initial IRQ to CPU assignment''']
 +
** parisc: Use F_EXTEND() macro in iosapic code
 +
** parisc: Add constants for PDC_RELOCATE PDC call
 +
** [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8207d4ee44d3f525bf9aa57807ac9db5d0d90c1a '''parisc: Show machine product number during boot''']
 +
** parisc: Add constant for PDC_PAT_COMPLEX firmware call
 +
** parisc: Add constants for various PDC firmware calls
 +
** parisc: remove meaningless ccflags-y in arch/parisc/boot/Makefile
 +
** parisc: use memblock_alloc() instead of custom get_memblock()
 +
** parisc: replace oops_in_progress manipulation with bust_spinlocks()
 +
** parisc: Add PDC_CRASH_PREP PDC function number
  
 
== Debian kernel and userspace programs ==
 
== Debian kernel and userspace programs ==
Line 398: Line 593:
 
** DONE: in interactive mode, add reboot option command
 
** DONE: in interactive mode, add reboot option command
 
** DONE: [https://git.kernel.org/cgit/linux/kernel/git/deller/palo.git/commit/?id=70bd7a9a41e318c0575755a78c4d18ad97495c47 '''Unbreak loading Linux kernels bigger than 16 MB'''] (fixed in palo 1.96, Oct. 2016)
 
** DONE: [https://git.kernel.org/cgit/linux/kernel/git/deller/palo.git/commit/?id=70bd7a9a41e318c0575755a78c4d18ad97495c47 '''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
 
Debian kernel / Generic Kernel bugs fixed
Line 419: Line 615:
 
** DONE: Simplify get_user()/put_user() with regard to %sr0/%sr2 usage.
 
** DONE: Simplify get_user()/put_user() with regard to %sr0/%sr2 usage.
 
** DONE: Add tracehook support (needed for seccomp testcases, gdb, ...)
 
** 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:
 
* Debian installer:
Line 454: Line 659:
  
 
== ABI breakages (HP-UX support) ==
 
== ABI breakages (HP-UX support) ==
* We dropped HP-UX support in kernel 3.14 by changing EWOULDBLOCK==EAGAIN. (I believe we should pull the plug on HP-UX entirely.  If there ever was enough interest, It should be supported in a VM.  Machines are relatively cheap now.  So, if someone needs hpux, they can buy a machine for it.) We have a more diverse user space under Linux and I believe in supporting open source, so we should focus on it -> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f5a408d53edef3af07ac7697b8bc54a755628450
+
* [http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f5a408d53edef3af07ac7697b8bc54a755628450 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) - http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1f25df2eff5b25f52c139d3ff31bc883eee9a0ab
+
* [http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1f25df2eff5b25f52c139d3ff31bc883eee9a0ab Changed RTSIGMIN to 32 (from 37)]
** debian glibc report: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766605
+
** [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766605 debian glibc report]  and  [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766635 debian kernel bug report]
** debian kernel bug report: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766635
+
 
** 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)
 
** 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:
 
** rebuild of following packages needed:
Line 465: Line 669:
 
*** (maybe) gcc-4.9 which links against libgc...? (affects objc related code only)
 
*** (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
 
*** 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
 +
* [http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=93cb8e20d56be40c541475f77b5f565fbb385a4b Dropped ENOTSUP (252) constant from kernel with v4.19]. Gave problems and parisc is only platform which defined it because of HP-UX, see libuv bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=900237. Nevertheless rebuild of libattr, libseliux and fakeroot necessary.
  
 
== Considerations between Debian unstable and Debian Jessie release ==
 
== Considerations between Debian unstable and Debian Jessie release ==
Line 497: Line 702:
 
** DONE: DNS takeover by Thibaut Varenet on 11/11/2013 - see: http://article.gmane.org/gmane.linux.ports.parisc/5478
 
** 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
 
** 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 ==
 +
* https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=19b9ad67310ed2f685062a00aec602bec33835f0
  
 
= Testsuites, kernel and userspace testing tools =
 
= Testsuites, kernel and userspace testing tools =
Line 506: Line 714:
 
= TODO Drivers =
 
= TODO Drivers =
  
* IPMI support on rp-class / Support graceful shutdown from BMC on rp servers (`PC -GRACEFUL`)
 
 
* write Lasi floppy driver
 
* write Lasi floppy driver
 
* write Suckyio floppy driver
 
* write Suckyio floppy driver

Revision as of 08:08, 14 March 2019

Contents

PA-RISC Linux TODO (actually this is Helge's TODO list)

Status & TODO 2019-03-14

  • 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 (maybe ask Dennis Clarke <dclarke@blastwave.org>, Jan 2019).
    • 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.
  • 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)

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)

ABI breakages (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!

  • ns87415 dma doesn't work reliably on suckyio-systems
Personal tools