Commit graph

25 commits

Author SHA1 Message Date
Rissu
1b2610e01a
defconfig: Disable LTO and POLLY 2025-03-14 19:42:42 +07:00
rsuntk
efaff8ad3f defconfig: Enable LLVM_POLLY
Signed-off-by: rsuntk <rissu.ntk@gmail.com>
2025-03-11 13:55:35 +00:00
Diab Neiroukh
d8b5868b62 kbuild: Add support for Clang's polyhedral loop optimizer
* Default N
2025-03-11 13:54:11 +00:00
rsuntk
032c56014f defconfig: Enable LTO Thin by default
Signed-off-by: rsuntk <rissu.ntk@gmail.com>
2025-03-11 13:52:05 +00:00
rsuntk
c32d81e08c staging: Include qcacld-3.0 Kconfigs
Signed-off-by: rsuntk <rissu.ntk@gmail.com>
2025-03-11 13:49:42 +00:00
Rissu
5da0667ce0
Build: Import Rissu's build scripts 2025-03-11 19:18:30 +07:00
rsuntk
16bf62e099 techpack: audio: Do not inject BUILD_TIMESTAMP
Signed-off-by: rsuntk <rissu.ntk@gmail.com>
2025-03-11 12:08:02 +00:00
rsuntk
1f675ae3f3 crypto: arm64/aes-modes: Import from https://github.com/itejo443/android_kernel_samsung_sm7225/blob/ksm/arch/arm64/crypto/aes-modes.S
Signed-off-by: rsuntk <rissu.ntk@gmail.com>
2025-03-11 12:01:52 +00:00
Ard Biesheuvel
c5517117ef crypto: arm64/aes-modes - get rid of literal load of addend vector
commit ed6ed11830a9ded520db31a6e2b69b6b0a1eb0e2 upstream.

Replace the literal load of the addend vector with a sequence that
performs each add individually. This sequence is only 2 instructions
longer than the original, and 2% faster on Cortex-A53.

This is an improvement by itself, but also works around a Clang issue,
whose integrated assembler does not implement the GNU ARM asm syntax
completely, and does not support the =literal notation for FP registers
(more info at https://bugs.llvm.org/show_bug.cgi?id=38642)

Cc: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-03-11 11:58:13 +00:00
rsuntk
25680f56a1 qcom: memshare: Fixup! fix missing types for sec_reserved_mem
Signed-off-by: rsuntk <rissu.ntk@gmail.com>
2025-03-11 11:57:13 +00:00
rsuntk
aba0fbb606 defconfig: Add configuration for qcacld-3.0
Signed-off-by: rsuntk <rissu.ntk@gmail.com>
2025-03-11 11:55:07 +00:00
rsuntk
cbfa936f0c Makefile: Silent extract-cert.c warning
Signed-off-by: rsuntk <rissu.ntk@gmail.com>
2025-03-11 11:47:10 +00:00
rsuntk
659bee39a4 Makefile: Use -O3 for scripts tools
Signed-off-by: rsuntk <rissu.ntk@gmail.com>
2025-03-11 11:46:37 +00:00
rsuntk
157bfcec4c Makefile: Do not explicitly set depmod path to /sbin
Signed-off-by: rsuntk <rissu.ntk@gmail.com>
2025-03-11 11:46:07 +00:00
rsuntk
89ee57c746 msm: ipa: Address symversioning fails
Signed-off-by: rsuntk <rissu.ntk@gmail.com>
2025-03-11 11:45:19 +00:00
rsuntk
2dec69506d qcom: icnss: Address compiler warning
Compiler complaint about destination buffer size.
We'll increase the buf size from 2 to 6.

../drivers/soc/qcom/icnss.c:3959:2: warning: 'sprintf' will always overflow; destination buffer has size 2, but format string expands to at least 4 [-Wfortify-source]
        sprintf(antbuffer, "%c%c\n", (gpio_get_value(wifi_cable1) > 0) ? 'D' : 'E' , (gpio_get_value(wifi_cable2) > 0) ? 'D' : 'E');
        ^
  CC      drivers/usb/core/config.o
  CC      drivers/usb/dwc3/debug_ipc.o
1 warning generated.

Signed-off-by: rsuntk <rissu.ntk@gmail.com>
2025-03-11 11:35:31 +00:00
Sultan Alsawaf
b74b6638c6 qcacld-3.0: Load driver during kernel init when not built as a module
Requiring userspace to write to /sys/kernel/boot_wlan/boot_wlan when
qcacld isn't built as a module is unnecessary. Loading this driver only
takes 1-2 ms, so we should just do so directly during kernel init.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2025-03-11 11:11:20 +00:00
rsuntk
c68e456ab1 staging: qcacld-3.0: Import from https://github.com/LineageOS/android_kernel_samsung_sdm670
Signed-off-by: rsuntk <rissu.ntk@gmail.com>
2025-03-11 11:02:04 +00:00
rsuntk
cee6b9be0b defconfig: Assign LOCALVERSION correctly
Signed-off-by: rsuntk <rissu.ntk@gmail.com>
2025-03-11 10:57:46 +00:00
rsuntk
bdcd65c128 treewide: Debloat samsung knox
Signed-off-by: rsuntk <rissu.ntk@gmail.com>
2025-03-11 10:56:21 +00:00
rsuntk
af14a6ca19 techpack: audio: Fixup! fix wrong kernel root path
$(shell pwd)/kernel/msm-4.19 doesn't exist

Signed-off-by: rsuntk <rissu.ntk@gmail.com>
2025-03-11 10:46:09 +00:00
rsuntk
3ecf96a22d Makefile: Do not use gcc-wrapper.py
Reasons:
1. Its still using python2 which is deprecated on some host except if you compiled python2 by your own
2. -Werror cflags exist, why even bother?
3. Using this may waste memory

Signed-off-by: rsuntk <rissu.ntk@gmail.com>
2025-03-10 15:53:28 +00:00
rsuntk
44ef04814e Makefile: Allow binutils
Signed-off-by: rsuntk <rissu.ntk@gmail.com>
2025-03-10 15:52:05 +00:00
rsuntk
b03d4e19a4 Makefile: export PROJECT_NAME by default
Signed-off-by: rsuntk <rissu.ntk@gmail.com>
2025-03-10 15:50:43 +00:00
rsuntk
f8c4f3d6f4 Import from latest A23q source
Signed-off-by: rsuntk <rissu.ntk@gmail.com>
2025-03-08 14:06:30 +00:00