Programming/neon2015. 5. 6. 09:08

커널에서 설정하는 neon은..

    *** At least one emulation must be selected ***

[*] VFP-format floating point maths                

[ ]   Advanced SIMD (NEON) Extension support     

커널모드 neon 지원이려나?


도움말에는 간단하게만 써있는데

The Linux kernel configuration item CONFIG_NEON:


prompt: Advanced SIMD (NEON) Extension support

type: bool

depends on: CONFIG_VFPv3 && CONFIG_CPU_V7

defined in arch/arm/Kconfig

found in Linux kernels: 2.6.25–2.6.39, 3.0–3.19, 4.0, 4.1-rc+HEAD

Help text


Say Y to include support code for NEON, the ARMv7 Advanced SIMD Extension.

[링크 : http://cateee.net/lkddb/web-lkddb/NEON.html] 


비글본 보드 쪽 글이 검색되서 보니...

커널모드 NEON 명령어 지원...?

Re: [beagleboard] Re: How to enable NEON instruction Support in the kernel


In the linux omap kernel [assuming you have already done "make ARCH=arm omap3_beagle_defconfig]

make ARCH=arm menuconfig


Under the "Floating point emulation" Select "Advanced SIMD (NEON) Extension support".

Save the configuration and exit.


Check in the .config file whether you have "CONFIG_NEON=y"


- Jesslyn 

[링크 : https://groups.google.com/forum/#!topic/beagleboard/xF1gwRrUvQY] 



Changes since v1:

- changed the order of the patches, so kernel_neon_begin() does not appear before the required fixes are in place

- don't use might_sleep() to enforce that kernel_neon_begin() should not be called from interrupt context, as it also prevents it from being called with preemption disabled, which is perfectly acceptable

- prefer inc_preempt_count() over preempt_disable() so sleeping after calling kernel_neon_begin() gets flagged even with kernel preemption disabled in Kconfig

- made the RAID6 patch suitable for both arm and arm64


[링크 : https://lwn.net/Articles/556398/] 



[링크 : https://www.kernel.org/doc/Documentation/arm/kernel_mode_neon.txt]

'Programming > neon' 카테고리의 다른 글

node.js 멀티코어 사용하기  (0) 2018.09.10
neon auto vectoring  (0) 2015.05.06
NEON instruction  (0) 2015.05.05
neon 예제 실행 + 커널 교체  (0) 2015.05.04
arm neon 예제 컴파일  (0) 2015.05.03
Posted by 구차니