linux
linux copied to clipboard
Helpful resources for users & developers of Linux kernel for ARC
There is an alignment issue with inflate code which causes some tricky problems, such as corrupted files or binaries. Other arches don't see this because we are the only one...
When run the LTP test in linux , it triggered `out of memory` multiple times, finally the linux kernel stuck at welcome to buildroot login prompt. ``` [ 21391] 0...
Inspired by https://www.spinics.net/lists/linux-mm/msg268313.html Linux semantic checker [sparce](https://www.kernel.org/doc/html/latest/dev-tools/sparse.html) (see more info on how it works - https://lwn.net/Articles/689907/) could be easily used during the Linux kernel build. Just either install it with...
I was building images for the ARC board using buildroot-2019.02.1 linux 5.0 . I am able to get that working and it seems like all the PCIe drivers work as...
Fails exactly the same in both QEMU & nSIM 1. nSIM: `nsimdrv -prop=nsim_isa_vec64=1 -prop=nsim_isa_family=arc64 -prop=nsim_isa_enable_timer_0=1 -prop=nsim_isa_enable_timer_1=1 -prop=nsim_isa_addr_size=64 -prop=nsim_isa_pc_size=64 -prop=icache=16384,64,4,o -prop=dcache=16384,64,4,o -prop=mmu_version=6 -prop=mmu_pagesize=4096 -prop=mmu_address_space=48 -prop=nsim_mem-dev=uart0,kind=dwuart,base=0xf0000000,irq=24 -prop=nsim_isa_mpy_option=3 -prop=nsim_isa_mpy64=1 -prop=nsim_isa_div64_option=1 -prop=nsim_isa_div_rem_option=2 -prop=nsim_isa_atomic_option=1 ./vmlinux`...
We currently copyout/copyin each register which generates horrible code. Instead use a tmp on-stack structure, populate it with pt_regs and then do a single copyout/copyin (see xtensa port e.g.)
Going through guide lead to error on simulation step:  Since by default at .config file: CONFIG_INITRAMFS_SOURCE="" CONFIG_INITRAMFS_SOURCE="arc_initramfs" -- fixo
strace is not able to decipher some syscalls. ``` # strace -f ./lmbench/bin/arc64/bin/memsize 16 ... [pid 69] syscall_0x104(0xffffffffffffffff, 0x5ffffbb4, 0, 0, 0x201df0d8, 0x201df008 ... syscall_0x71(0, 0x5ffffb18, 0, 0x8, 0x40, 0x6)...
FPmark test `ray-1024x768at24s.exe` hangs: Example on HAPS: log: [fpmark.log](http://de02-resultsdb:8080/attachment.php?Project=28&attach_id=32996) (execution aborted by timeout after 10 hours) full info: [ResultsDB](http://de02-resultsdb:8080/result.php?Project=28&pkey=8722) Example on HSDK: log: [fpmark.output.log](http://de02-resultsdb:8080/attachment.php?Project=28&attach_id=32410) full info: [ResultsDB](http://de02-resultsdb:8080/result.php?Project=28&pkey=8686)
505.mcf_r test fails and calls stack trace. **How to reproduce this build:** https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/wiki/SPEC2017#how-to-run-prebuilt-spec **Config file used:** [arc.cfg.txt](https://github.com/foss-for-synopsys-dwc-arc-processors/linux/files/4551095/arc.cfg.txt) [Delte .txt extension before usage] **Test output:** see below or in the file:...