Open Source & Linux Lab

It's better when it's simple

User Tools

Site Tools


etc:users:jcmvbkbc:linux-xtensa

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
etc:users:jcmvbkbc:linux-xtensa [2014/04/10 02:58] jcmvbkbcetc:users:jcmvbkbc:linux-xtensa [2023/07/12 06:25] (current) – add esp32s3 linux wifi notes jcmvbkbc
Line 6: Line 6:
   * [[.:linux-xtensa:patch-review-checklist]]   * [[.:linux-xtensa:patch-review-checklist]]
   * [[.:linux-xtensa:patch-pull-checklist]]   * [[.:linux-xtensa:patch-pull-checklist]]
 +  * [[.:linux-xtensa:rootfs]]
  
-===== Phase 1 ===== +===== TODO =====
-Goal: linux mainline contains the latest linux-xtensa updates, builds and works. +
-  * compilable with latest GCC +
-  * overlays to cover: FSF, dc232b, more TBD +
-  * tests to pass: builds, boots, LTP +
-  * boards to focus on: ISS, ML605 +
-  * configurations: UP, linux-next specific, more TBD+
  
-===== Plan ===== +  dynamic ftrace 
-  [+] Prepare for linux-next participation +  * kgdb/kdb 
-    * [+] Make mainline build for ARCH=xtensa in defconfig, allnoconfig, allmodconfig +  * kexec 
-      * [+] fix remaining issues with allmodconfig +  * NX
-      * qemu needs proper handling for guest ioctls triggered via simcalls +
-    * [+] Make built images work (qemu, FSF) +
-  * [+] Build userspace +
-  * Automated build/test scripts +
-    * [+] build/test status/logs +
-    * expect script to run LTP +
-  * Analyse reference tree +
-    * proper bugfixes +
-    * new cores (dc233c, test_hifi_c3, s*) +
-    * new platforms (lx*, ml605, s*) +
-    * SMP and its fixes +
-    * XCC fixes +
-  * [[.:linux-xtensa:issues]]+
  
-===== Work items ===== +===== In Progress =====
-=== SMP support === +
-Done, in the mainline: +
-<code> +
-99d5040 xtensa: keep a3 and excsave1 on entry to exception handlers +
-5515daa xtensa: fix arch spinlock function names +
-6235153 xtensa: update clockevent setup for SMP +
-cbd1de2 xtensa: move built-in PIC to drivers/irqchip +
-26a8e96 xtensa: add MX irqchip +
-f615136 xtensa: add SMP support +
-49b424f xtensa: implement CPU hotplug +
-</code> +
-=== Support for Tensilica FPGA boards === +
-  * [+] serial +
-  * [+] ethernet +
-  * [+] FLASH +
-  * [-] audio +
-In the mainline: +
-<code> +
-0d456ba xtensa: add support for the XTFPGA boards +
-5584b4d xtensa: add XTFPGA DTS +
-</code> +
-=== Atomics (arch/xtensa/include/asm/atomic.h, bitops.h, spinlock.h) and check for S32C1I === +
-Merged in the eb0a9bf31fdbcee9463c0f42fbf4a292ef149a7d, pick up from individual files.+
  
-Done, in the mainline: +  * kprobes 
-<code> +  * [[.:linux-xtensa:esp32]] 
-2f6ea6a xtensadisplay s32c1i feature flag in cpuinfo +  * [[.:linux-xtensa:esp32s3]] 
-733536b xtensa: save and restore scompare1 SR on kernel entry +  * [[.:linux-xtensa:esp32s3wifi]]
-c622b29 xtensa: initialize atomctl SR +
-28570e8 xtensa: add trap_set_handler function +
-0027312 xtensa: add s32c1i sanity check +
-219b1e4 xtensa: add s32c1i-based atomic ops implementations +
-e5a9f6a xtensa: add s32c1i-based bitops implementations +
-71872b5 xtensaadd s32c1i-based spinlock implementations +
-599bf77 xtensa: fix mb and wmb definitions +
-</code> +
-=== TIE coprocessors === +
-23ae3f723c8996d47ef205e98cb7732bbde4775f +
-=== Highmem === +
-Non-functionalDoing from scratch. +
-=== Interrupt management === +
-Done, in the mainline: +
-<code> +
-2206d5d xtensa: add IRQ domains support +
-</code> +
-=== Medium level interrupts in less hacky way === +
-<del>489fb47c75772e3a41ef3e988eb0c0e512592085</del>+
  
-Done, in the mainline: +===== Features by release ===== 
-<code> +==== Linux 6.4 ====
-2d1c645 xtensa: dispatch medium-priority interrupts +
-895666a xtensa: disable IRQs while IRQ handler is running +
-</code> +
-=== Device trees support === +
-Done, in the mainline: +
-<code> +
-da844a8 xtensa: add device trees support +
-</code> +
-=== MMU v3 === +
-Done, in the mainline: +
-<code> +
-e85e335 xtensa: add MMU v3 support +
-93e294a xtensa: document MMUv3 setup sequence +
-</code> +
-=== ptrace (support latest GDB) === +
-617244763e19a4eebb4fabe41ba56eb1ccbdb049, 23ae3f723c8996d47ef205e98cb7732bbde4775f, <del>ff1b10f85a1176d1eb8df433434b717f6f0841d4</del> (already upstream), <del>a2b61af3328025d6069e8bf9ff36f5288e11dba9</del> +
-=== Support for building with XCC === +
-=== simdisk === +
-<del>1a955825662fa378d447b91485d9fe2438124b0a, 8bcbc3adb5c5bfdbd96078c1e68916be859c832d</del>+
  
-Done, in the mainline+  * support for FDPIC ELF executable format on noMMU 
-<code> + 
-b6c7e87 xtensaISSadd host file-based simulated disk +==== Linux 6.1 ==== 
-</code> + 
-=== Various fixes made for debuggability === +  * support for static PIE ELF executable format on noMMU 
-=== oprofile === +  * partial support for FDPIC ELF executable format on noMMU (signal delivery is brokenfixed in 6.1.31) 
-<del>8c502ca703956e56bf191774e4169752f0f71c8e7dd1d39e70769f2dd7a6a508d58b187ed8d1cb95</del>+ 
 +==== Linux 5.19 ==== 
 + 
 +  * support coprocessors on SMP. 
 +  * support protection faults on noMMU. 
 +  * support full tickless operation. 
 +  * KCSAN. 
 +  * hibernation. 
 + 
 +==== Linux 5.18 ==== 
 + 
 +  * support compiler plugins (with gcc-12 and newer). 
 +  * support for kernel ABI selection. 
 +  * removed dependency on compiler's libgcc. 
 + 
 +==== Linux 5.16 ==== 
 + 
 +  * support for cores without windowed registers. 
 +  * call0 ABI kernel. 
 + 
 +==== Linux 5.13 ==== 
 + 
 +  * GDBIO semihosting. 
 + 
 +==== Linux 5.9 ==== 
 + 
 +  * syscall audit. 
 +  * seccomp filter. 
 + 
 +==== Linux 5.6 ==== 
 + 
 +  * exception vectors can be attached to the rest of the kernel or placed at specific address. 
 + 
 +==== Linux 5.5 ==== 
 + 
 +  * eXecute In Place (XIP) kernel. 
 + 
 +==== Linux 5.4 ==== 
 + 
 +  * support for call0 ABI userspace. 
 + 
 +==== Linux 5.3 ==== 
 + 
 +  * 'virt' board (sim with PCI, corresponding board model available in QEMU since v4.2). 
 + 
 +==== Linux 5.2 ==== 
 + 
 +  * support for cores with exclusive access option. 
 +  * basic support for cores with MPU. 
 + 
 +==== Linux 5.1 ==== 
 + 
 +  * generic spinlock/rwlock. 
 + 
 +==== Linux 5.0 ==== 
 + 
 +  * memtest. 
 +  * Jump labels. 
 +  * tracehook. 
 +  * syscall tracepoints. 
 +  * multiple coprocessor fixes. 
 +  * SMP fixes. 
 + 
 +==== Linux 4.16 ==== 
 + 
 +  * KASAN. 
 +  * SSP. 
 +  * allocation of DMA buffers from high memory. 
 +  * support DMA_ATTR_NO_KERNEL_MAPPING. 
 +  * kernel is built with -mtext-section-literals and -mno-serialize-volatile. 
 + 
 +==== Linux 4.9 ==== 
 + 
 +  * New kernel memory layoutswith 256MBytes and 512MBytes of low memory. 
 +  * Configurable KSEG physical memory address and kernel load address. 
 +  * Custom sysmem boot time memory allocator is replaced with memblock. 
 +  * KMEMLEAK. 
 +  * reserved-memory DT node. 
 +  * Cadence Configurable System Platform (CSP). 
 + 
 +==== Linux 4.6 ==== 
 + 
 +  * Hardware breakpoints/watchpoints. 
 +  * ioremap for memory outside KIO region. 
 +  * Big endianserial, network, i2c work. 
 + 
 +==== Linux 4.4 ==== 
 + 
 +  * DMA to high memory. 
 + 
 +==== Linux 4.3 ==== 
 + 
 +  * Hardware perf counters and perf support. 
 + 
 +==== Linux 4.1 ==== 
 + 
 +  * ALSA playback driver for XTFPGA. 
 + 
 +==== Linux 3.19 ==== 
 + 
 +  * noMMU. 
 + 
 +==== Linux 3.17 ==== 
 + 
 +  * Highmem on cores with aliasing cache. 
 +  * New (simpler) method of configuring for specific core variant. 
 + 
 +==== Linux 3.16 ==== 
 + 
 +  * Stabilityxtensa linux may be rebuilt natively. 
 + 
 +==== Linux 3.15 ==== 
 + 
 +  * Highmem. 
 +  * KC705 board. 
 + 
 +==== Linux 3.14 ==== 
 + 
 +  * SMP. 
 +  * Futex. 
 +  * register spilling overhaul. 
 +  * OpenCores ethernet works when connected to gigabit network. 
 +  * c67x00 USB host is usable on XTFPGA. 
 +  * TAP network works in ISS. 
 + 
 +==== Linux 3.12 ==== 
 + 
 +  * Kernel preemption. 
 + 
 +==== Linux 3.11 ==== 
 + 
 +  * Multihit exceptions fixed. 
 +  * Static function tracer. 
 + 
 +==== Linux 3.10 ==== 
 + 
 +  * MMUv3 cores. 
 +  * Lockdep/stack tracing. 
 + 
 +==== Linux 3.9 ==== 
 + 
 +  * TLS (THREADPTR register). 
 +  * Oprofile. 
 +  * ISS simdisk. 
 + 
 +==== Linux 3.8 ==== 
 + 
 +  * Device trees. 
 +  * uImage generation. 
 +  * IRQ subsystem overhaul (IRQ domainsmedium-priority interrupts). 
 +  * XTFPGA boards. 
 +  * s32c1i-based atomic/bit operations and spinlocks. 
 + 
 +==== Linux 3.7 ==== 
 + 
 +  * Overall architecture port overhaul, mainline is alive again, builds and runs. 
 +  * There were dragons prior to that release.
  
-Done, in the mainline: 
-<code> 
-e6ffe17 xtensa: add support for oprofile 
-74f5bf0 xtensa: fix oprofile building as module 
-</code> 
-=== Generic kernel_thread & friends === 
-Done, in the mainline: 
-<code> 
-3306a72 xtensa: switch to generic kernel_thread() 
-f0a1bf0 xtensa: switch to generic kernel_execve() 
-dc241f2 xtensa: switch to generic sys_execve() 
-</code> 
-=== Cache aliasing aware mmap === 
-Done, in the mainline: 
-<code> 
-de73b6b xtensa: avoid mmap cache aliasing 
-</code> 
etc/users/jcmvbkbc/linux-xtensa.1397084320.txt.gz · Last modified: 2014/04/10 02:58 by jcmvbkbc