Daniel Pouzzner
|
542c53f3ac
snip out errant "#/" strings added to various text files by copyright boilerplate update in 8eaa85e412.
|
преди 2 години |
David Garske
|
564f79c91a
Merge pull request #5371 from douzzer/20220719-linuxkm-get_thread_size-no-thunks
|
преди 2 години |
Jacob Barthelmeh
|
8eaa85e412
update copyright year to 2022
|
преди 2 години |
Daniel Pouzzner
|
0dac3ec022
linuxkm: inhibit thunk generation in get_thread_size.
|
преди 2 години |
Daniel Pouzzner
|
ff4c6e5d7b
linuxkm: relocate WOLFSSL_LINUXKM code in wolfssl/wolfcrypt/wc_port.h and wolfcrypt/src/memory.c to linuxkm/{linuxkm_wc_port.h,linuxkm_memory.c}, and gate SIMD in IRQ handlers on -DLINUXKM_SIMD_IRQ in prep for Linux 5.16;
|
преди 2 години |
Daniel Pouzzner
|
fc73c6dbea
linuxkm: fix Makefile to properly pivot module signature on CONFIG_MODULE_SIG==y; remove not-yet-kernel-compatible asm files from the ASFLAGS_FPU_DISABLE_SIMD_ENABLE list, matching the OBJECT_FILES_NON_STANDARD list, for clarity.
|
преди 3 години |
Daniel Pouzzner
|
aca43cfe52
linuxkm/Kbuild: include -fno-omit-frame-pointer in HOST_EXTRACFLAGS, in case the target kernel has profiling enabled; remove the "always := $(hostprogs)" rule, as it doesn't work and causes warnings on kernel 5.10.
|
преди 3 години |
Daniel Pouzzner
|
6160da243d
linuxkm: use EXPORT_SYMBOL_NS_GPL() for exports.
|
преди 3 години |
Daniel Pouzzner
|
3745b1c9db
linuxkm: fix clean rules/definitions to not pick up top level Makefile, and to clean up empty object directories.
|
преди 3 години |
Daniel Pouzzner
|
83e0e19e03
linuxkm feature additions:
|
преди 3 години |
Daniel Pouzzner
|
3226e69649
--enable-linuxkm-pie (FIPS Linux kernel module) (#4276)
|
преди 3 години |
Jacob Barthelmeh
|
c729318ddd
update copyright date
|
преди 3 години |
Daniel Pouzzner
|
b468ea77ea
linuxkm: use EXPORT_SYMBOL_NS(x, WOLFSSL) if available, else fall back to EXPORT_SYMBOL(x).
|
преди 4 години |
Daniel Pouzzner
|
8496a64ed4
linuxkm/Kbuild: the x86 _asm object files still reference "_GLOBAL_OFFSET_TABLE_", so they can't work in the kernel as-is.
|
преди 4 години |
Daniel Pouzzner
|
7c2aefcfdd
linuxkm: enable the rest of the _asm implementations for x86, wrapped in {SAVE,RESTORE}_VECTOR_REGISTERS().
|
преди 4 години |
Daniel Pouzzner
|
5589565051
linuxkm: add autotools detection of usable compiler flags for enabling and disabling SIMD and fp registers and auto-vectorization, and integrate into linuxkm makefiles.
|
преди 4 години |
Daniel Pouzzner
|
5504d9cd4e
linuxkm: dial in SIMD options in Kbuild; add boilerplate at the top of all files added for linuxkm.
|
преди 4 години |
Daniel Pouzzner
|
4f38fb2f78
linuxkm/Kbuild: gate EXPORT_SYMBOL(wolfcrypt_test) on -UNO_CRYPT_TEST.
|
преди 4 години |
Daniel Pouzzner
|
cd14cfb092
linuxkm: override-disable SIMD instructions for all .c.o's, with exceptions enumerated in Kbuild (currently only aes.c), and couple -msse with -fno-builtin-functions; export ENABLED_ASM for use as a pivot in Kbuild; use asm/i387.h, not asm/simd.h, for kernel_fpu_{begin,end}() protos.
|
преди 4 години |
Daniel Pouzzner
|
9549a5f973
linuxkm: add linuxkm/module_exports.c.template, and autogenerate linuxkm/module_exports.c.
|
преди 4 години |
Daniel Pouzzner
|
9aa3a4c559
linuxkm/Kbuild: make dependency on get_thread_size order-only, to suppress frivolous rebuilds on kernel 4.x.
|
преди 4 години |
Daniel Pouzzner
|
d8e71e8dd2
linuxkm/Kbuild: disable objtool on AESNI asm objects -- they work in the kernel as-is, despite "unannotated intra-function call" and "BP used as a scratch register" warnings.
|
преди 4 години |
Daniel Pouzzner
|
d86b0601b9
lkm: tweak Kbuild to work on 4.x (hardcoded fallback stack size); add linuxkm/get_thread_size.c.
|
преди 4 години |
Daniel Pouzzner
|
c194fb3beb
lkm: add autodetection of kernel stack frame size; reactivate objtool scrutiny since _asm files are indeed not yet kernel-compatible; delete linuxkm/lkm_testcrypto.c and use wolfcrypt/test/test.c.
|
преди 4 години |
Daniel Pouzzner
|
34fd53b4fc
linuxkm: WIP support for wolfcrypt_test() at module load time.
|
преди 4 години |
Daniel Pouzzner
|
2a3fd57b36
linuxkm/Kbuild, linuxkm/module_hooks.c: tweaks for buildability on kernel 4.9 (may also fix build on 3.x).
|
преди 4 години |
Daniel Pouzzner
|
1aa15632ce
initial buildability of full libwolfssl.ko loadable kernel module for Linux via ./configure --enable-linuxkm && make.
|
преди 4 години |