Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wont boot on N976x #213

Open
wants to merge 455 commits into
base: cruel-HVE5-v5.2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
455 commits
Select commit Hold shift + click to select a range
65e9886
bcmdhd_101_16/dhd_rtt.c: fix uninit var
evdenis Feb 22, 2021
1a20104
drivers/ccic/max77705_usbc: fix multiple assignments warning
evdenis Sep 11, 2020
95deeb0
drivers/hid/hid-samsung: fix set_bit(EV_REP, hi->input->evbit) call
evdenis Sep 11, 2020
624639c
drivers/samsung/sec_dump_sink: check kstrtouint() result
evdenis Sep 13, 2020
7cb4f65
drivers/sensorhub/brcm/ssp: use int instead of bool
evdenis Sep 13, 2020
9bf8849
drivers/soc/samsung/exynos_cpu_perf: drop redundant sprintf() args
evdenis Sep 13, 2020
73c7023
drivers/soc/samsung/exynos_cpu_perf/exynos_perf_cpufreq: cast buf to …
evdenis Sep 13, 2020
a1e43fc
drivers/sensorhub/brcm/sx9330: fix regist, val type to unsigned
evdenis Sep 14, 2020
b2640aa
drivers/video/fbdev/exynos/dpu20/dpp_drv: fix reduntant arg check
evdenis Sep 14, 2020
0c21a3b
drivers/video/fbdev/exynos/panel/sysfs: drop redundant snprintf() arg
evdenis Sep 14, 2020
34af7cf
drivers/sensorhub/brcm/sx9330: fix strncpy() call warning
evdenis Sep 14, 2020
d08a1ad
drivers/net/wireless/broadcom/bcmdhd_100_15/wl_android: fix adps_mode…
evdenis Sep 14, 2020
836374d
mmap/rmap: fix pointer cast to enum warning
evdenis Sep 14, 2020
d3fc220
drivers/misc/modem_v1/modem_main: fix pointer to enum cast warning
evdenis Sep 14, 2020
9a13795
drivers/scsi/ufs/ufshcd: fix out-of-bounds buffer write
evdenis Sep 14, 2020
007ee1c
drivers/media/platform/exynos/fimc-is2/vendor/mcd/fimc-is-sysfs: supp…
evdenis Sep 14, 2020
c2bece8
drivers/samsung/debug/sec_debug_test: fix simulate_SYNC_IRQ_LOCKUP()
evdenis Sep 20, 2020
36212da
drivers/media/tdmb/fc8080/ficdecoder: use unsigned 0x7fU constant to …
evdenis Sep 20, 2020
59eedff
drivers/media/platform/exynos/fimc-is2/vendor/mcd/fimc-is-sysfs: fix …
evdenis Sep 20, 2020
8de904e
drivers/battery_v2/mfc_s2miw04_charger: fix scanf format
evdenis Sep 20, 2020
7113bfa
drivers/input/keyboard/stm/fsr1ad04: move G1,G2 definitions to .c file
evdenis Sep 20, 2020
9ee804e
drivers/sensorhub/brcm/sx9360: fix strncpy() call warning
evdenis Sep 20, 2020
24e64d8
drivers/input/touchscreen/sec_ts/y771_d/sec_ts: check regulator_enabl…
evdenis Sep 20, 2020
cf97dce
drivers/net/wireless/broadcom/bcmdhd_100_15/wl_bigdata: fix initializ…
evdenis Sep 23, 2020
2511116
init/main: use __initdata_or_module for initcall_sec_debug
evdenis Sep 20, 2020
9b7858f
security/sdp/dd_kernel_crypto: fix misleading indentation
evdenis Sep 11, 2020
15d50c5
net/mptcp/mptcp_fullmesh: fix misleading indentation
evdenis Sep 11, 2020
ce6d321
drivers/sensorhub/brcm/bbdpl/bbd: fix misleading indentation
evdenis Sep 13, 2020
bbf4016
drivers/sensorhub/brcm/ssp_bbd: fix misleading indentation
evdenis Sep 13, 2020
fb16e95
drivers/usb/gadget/function/f_conn_gadget: fix misleading indentation
evdenis Sep 14, 2020
b3edfa7
drivers/usb/core/devio: fix misleading indentation
evdenis Sep 14, 2020
5d5cf97
net/netfilter/linkforward: fix misleading indentation
evdenis Sep 14, 2020
faefc77
drivers/sensorhub/brcm/ssp_i2c: fix misleading indentation
evdenis Sep 14, 2020
3d883f5
net: ipv4: lock the initial TCP window size to 64K
evdenis Mar 23, 2020
6f9ed02
fs: fsync on/off support
franciscofranco Sep 17, 2017
1a6cb2b
fs: add NOATIME/RELATIME default mount option
evdenis Apr 12, 2020
40868d6
proc: Remove SafetyNet flags from /proc/cmdline
kerneltoast Oct 21, 2016
adf0236
proc: add CONFIG_PROC_REMOVE_SAFETYNET_FLAGS
evdenis Feb 6, 2020
2779b5f
android: Add superuser driver
evdenis Jan 21, 2020
7753539
drivers/base/Kconfig: CONFIG_ASSISTED_SUPERUSER default n
evdenis Jan 21, 2020
5d9cfe5
initramfs: allow CONFIG_INITRAMFS_FORCE
evdenis Jan 21, 2020
cbb975c
usr: add CONFIG_INITRAMFS_SKIP
evdenis Jan 21, 2020
9e05893
initramfs: integrate magiskinit64
evdenis Jan 22, 2020
395e483
usr/Makefile: support relative paths for objtree
evdenis Sep 30, 2020
2ab5ee7
drivers: cpufreq: replace performance with schedutil as fallback sched
evdenis Mar 20, 2020
ac3e52a
Makefile: add KCONFIG_BUILTINCONFIG
evdenis Mar 18, 2020
dd982f0
HZ: add 50hz config
evdenis Nov 30, 2020
10e2ecf
HZ: add 25hz config
evdenis Jan 3, 2021
4f6fd61
battery: sec_battery: export {CURRENT/VOLTAGE}_MAX to sysfs
jesec Apr 21, 2018
c8cb8b1
fs: sdfat: Add config option to register sdFAT for exFAT
javelinanddart Mar 2, 2018
4d15dbf
fs: sdfat: Add config option to register sdFAT for VFAT
javelinanddart Mar 2, 2018
b8e22f2
fs: sdfat: Add MODULE_ALIAS_FS for supported filesystems
javelinanddart Mar 28, 2018
6aaddda
fs: sdfat: don't use sdfat for exfat/vfat by default
evdenis Mar 19, 2020
0eb3de6
net: wireguard: add wireguard module
evdenis Mar 19, 2020
9392fe7
net: wireguard: ignore generated files
evdenis Mar 23, 2020
7d4a974
net: wireguard: switch wireguard to n by default
evdenis Feb 20, 2020
b5480f3
scripts: add wireguard updater script
evdenis Jun 11, 2020
557d6b9
power: Add generic wakelock blocker driver v1.1.0
andip71 Jan 7, 2018
c6bfbb1
power: wl_blocker: add generic size
evdenis Jun 13, 2020
04c0ff4
power: wl_blocker: use scnprintf PAGE_SIZE
evdenis Jun 13, 2020
c46ae41
power: wl_blocker: fix permissions for version_show
evdenis Jun 13, 2020
9f2fe68
power: wl_blocker: remove excessive len variable
evdenis Jun 13, 2020
209d324
power: wl_blocker: use strcpy() in init
evdenis Jun 13, 2020
67a44a6
power: wl_blocker: mark functions with __init, __exit attrs
evdenis Jun 21, 2020
229b8f4
power: wl_blocker: add pr_fmt
evdenis Jun 21, 2020
8a70b7e
power: wl_blocker: add misc_deregister in exit function
evdenis Jun 21, 2020
6807c03
power: wl_blocker: add error handling to init function
evdenis Jun 21, 2020
d94a0fc
power: wl_blocker: use device_store_bool() to store wl_blocker_debug
evdenis Jun 21, 2020
9a7019f
power: wl_blocker: add default list
evdenis Jun 13, 2020
58eb738
power: wl_blocker: increase blacklist max length
bamsbamx Jun 17, 2020
ca00673
power: wl_blocker: add some wakelocks to the blacklist
bamsbamx Jun 17, 2020
4e05104
power: wl_blocker: drop redundant global initializers
evdenis Sep 8, 2020
1416514
sound: add moro sound module
NicoMax2012 Mar 22, 2020
6da8976
sound: moro: fix reg_dump_show() output
evdenis Jun 21, 2020
7101c79
sound: moro: mark functions with __init, __exit attrs
evdenis Jun 21, 2020
33a0e8f
sound: moro: add pr_fmt macro
evdenis Jun 21, 2020
941aff0
sound: moro: add misc_deregister in exit function
evdenis Jun 21, 2020
6f18d44
sound: moro: add error handling to init function
evdenis Jun 21, 2020
4697b24
sound: moro: fix device attr permissions
evdenis Jun 21, 2020
34ae03e
cpufreq: Introduce fingerprint boost driver
frap129 May 12, 2017
00d4e38
block: Add Maple I/O scheduler
Mar 26, 2020
629de1f
block: Add FIOPS I/O scheduler
evdenis Apr 5, 2020
dab9d63
block: Add SIO I/O scheduler
evdenis Apr 6, 2020
50dfc1f
block: Add ZEN I/O Scheduler
evdenis Apr 6, 2020
694d7c7
block: Add Anxiety I/O scheduler
evdenis Apr 8, 2020
3e2fc01
fs: add reiser4 filesystem
evdenis Oct 26, 2020
c915ff6
configs: add cruel config
evdenis Mar 24, 2020
f6a1837
configs: add magisk config preset
evdenis Mar 24, 2020
c1953e4
configs: add wireguard config preset
evdenis Mar 24, 2020
13599ac
configs: add nohardening config preset
evdenis Feb 9, 2020
e309a08
configs: add 1000hz 300hz 100hz 50hz 25hz config presets
evdenis Jan 24, 2020
e9c66da
configs: add nohardening2 config preset
evdenis Jan 24, 2020
5fa8d30
configs: add iptables ttl/hop config preset
evdenis Feb 5, 2020
4b70d88
configs: add cifs config preset
evdenis Feb 8, 2020
8bbe459
configs: add nodebug config preset
evdenis Feb 12, 2020
46f29d5
configs: add cpu shedulers config presets
evdenis Feb 27, 2020
7ff0918
configs: add boeffla_wl_blocker config preset
evdenis Mar 6, 2020
29b77ca
configs: add size config preset
evdenis Mar 10, 2020
e603630
configs: add performance config preset
evdenis Jun 16, 2020
31b7a01
configs: add nomodules config preset
evdenis Mar 10, 2020
8b4bcb5
configs: add noksm config preset
evdenis Mar 10, 2020
8226088
configs: add mass_storage config preset
evdenis Mar 11, 2020
4845aa1
configs: add noaudit config preset
evdenis Mar 11, 2020
29320eb
configs: add always_enforce config preset
evdenis Mar 18, 2020
6f726fc
configs: add always_permit config preset
evdenis Mar 18, 2020
18e538f
configs: add sdfat config preset
evdenis Mar 19, 2020
8215449
configs: add ntfs config preset
evdenis Mar 19, 2020
706f1e0
configs: add morosound config preset
evdenis Mar 22, 2020
5939703
configs: add io_bfq config preset
evdenis Feb 26, 2020
e22beb4
configs: add io_maple config preset
Mar 26, 2020
2bffc22
configs: add io_fiops config preset
evdenis Apr 5, 2020
0786215
configs: add io_sio config preset
evdenis Apr 6, 2020
eea90b9
configs: add io_zen config preset
evdenis Apr 6, 2020
1bfb020
configs: add io_noop config preset
evdenis Apr 22, 2020
b87dce5
configs: add io_anxiety config preset
evdenis Apr 8, 2020
5795d4a
configs: add io_cfq config preset
evdenis Apr 6, 2020
7323b4f
configs: add tcp_window_64k config preset
evdenis Mar 23, 2020
91e4457
configs: add tcp_cubic config preset
evdenis Mar 23, 2020
5e8904e
configs: add tcp_westwood config preset
evdenis Mar 24, 2020
75cc092
configs: add tcp_htcp config preset
evdenis Apr 7, 2020
c054d51
configs: add tcp_bic config preset
evdenis Apr 7, 2020
1ee07fc
configs: add tcp_bbr config preset
evdenis Apr 22, 2020
402e4c8
configs: add noswap config preset
evdenis Mar 26, 2020
9debcee
configs: add nozram config preset
evdenis Mar 26, 2020
5ee0554
configs: add noatime config preset
evdenis Apr 12, 2020
d48815a
configs: add kexec config preset
evdenis Mar 24, 2020
5c2d6c4
configs: add kali config preset
evdenis Apr 26, 2020
29d56b9
configs: add usb_serial config preset
evdenis Aug 4, 2020
4de3cc6
configs: add faultinjection config preset
evdenis Sep 8, 2020
e583f87
configs: add debug config preset
evdenis Sep 8, 2020
72b4339
configs: add gcov config preset
evdenis Oct 22, 2020
16bc513
configs: add lto config preset
evdenis Sep 9, 2020
bef9196
configs: add dtb config preset
evdenis Oct 2, 2020
1bb9e25
configs: add kvm config preset
evdenis Oct 2, 2020
448d004
configs: add simple_lmk config preset
evdenis Oct 6, 2020
4841c9a
configs: add reiser4 config preset
evdenis Oct 26, 2020
7841223
configs: add force_dex_wqhd config preset
evdenis Nov 20, 2020
2ac84af
configs: add polly config preset
evdenis Nov 23, 2020
4546e21
configs: add graphite config preset
evdenis Nov 25, 2020
e897f59
configs: add fp_boost config preset
evdenis Dec 25, 2020
82b4d1b
configs: enable boeffla_wl_blocker by default
evdenis Oct 14, 2020
8a774d4
configs: enable morosound by default
evdenis Oct 26, 2020
fa529c0
configs: enable nodebug by default
evdenis Oct 14, 2020
cccbf26
configs: enable wireguard by default
evdenis Oct 14, 2020
00b6b16
configs: enable cifs by default
evdenis Oct 14, 2020
2a5db80
configs: enable ntfs by default
evdenis Oct 14, 2020
4b403cd
configs: enable ttl by default
evdenis Oct 14, 2020
134f847
configs: enable usb_serial by default
evdenis Oct 14, 2020
3fe5e2b
configs: enable sdfat by default
evdenis Oct 26, 2020
76292d1
configs: enable sched_performance by default
evdenis Oct 26, 2020
f582f54
configs: enable sched_powersave by default
evdenis Oct 26, 2020
bdd90ab
configs: enable force_dex_wqhd by default
evdenis Nov 20, 2020
d6e9cde
samsung: integrate different models in a single tree
evdenis Feb 28, 2020
1aa4c62
cruelbuild: add python build script
evdenis Jan 23, 2020
cb08e5d
actions: add main.yml
evdenis Jan 22, 2020
a95c127
README.md
evdenis Feb 5, 2020
e917bf0
ANDROID: sched/fair: initialise util_est values to 0 on fork
credp Oct 23, 2018
39ff39b
cpufreq: schedutil: Ignore work_in_progress
May 5, 2017
5cf3fab
mmc: core: make crc control switchable
evdenis Apr 5, 2020
73522ec
arm64: Add 32-bit sigcontext definition to uapi signcontext.h
boedhack Dec 21, 2014
333fbf4
video: mdnie: fix lux node permissions
Stricted Aug 26, 2019
f82059e
drivers:soc:samsung: Fix divide by zero issues in macros
cryptomilk Feb 29, 2020
96650e6
arch:arm64:boot:dts: Fix include path for autoconf.h
cryptomilk Mar 1, 2020
c7c71aa
scripts: FIPS: use readelf full path
erfanoabdi Feb 18, 2020
a9d82f2
scripts: FIPS: check readelf binary existance
evdenis Sep 8, 2020
fd3610f
usb: Modify mass_storage gadget to work with configfs
jimzrt Feb 8, 2018
dbe25a4
usb: correct function name
Noxxxious Jul 2, 2018
18d166b
fs: don't clear I_DIRTY_TIME before calling mark_inode_dirty_sync
Mar 7, 2018
b9541a4
x86/boot: Discard .eh_frame sections
ihalip Nov 26, 2019
ede19aa
kbuild: clear LDFLAGS in the top Makefile
masahir0y Mar 16, 2018
6b8493a
kbuild: compute false-positive -Wmaybe-uninitialized cases in Kconfig
masahir0y Feb 21, 2019
783ae62
Revert "kbuild: use -Oz instead of -Os when using clang"
Mar 18, 2019
ad1093d
kbuild,arc: add CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE_O3 for ARC
masahir0y Aug 20, 2019
aacfe66
Stop the ad-hoc games with -Wno-maybe-initialized
torvalds May 9, 2020
0d55872
Kconfig: allow CC_OPTIMIZE_FOR_PERFORMANCE_O3 on all arches
evdenis Jun 16, 2020
923cde6
scripts/dtc: Remove redundant YYLOC global declaration
dirkmueller Jan 14, 2020
fa6cb0a
fs/proc: hide magisk mounts for IsolatedService
evdenis Aug 11, 2020
61779c2
gcc-9: silence 'address-of-packed-member' warning
torvalds May 1, 2019
67c1403
Compiler Attributes: add support for __copy (gcc >= 9)
ojeda Feb 8, 2019
24dad93
include/linux/module.h: copy __init/__exit attrs to init/cleanup_module
ojeda Jan 19, 2019
e443ff7
kbuild: Add -Werror=unknown-warning-option to CLANG_FLAGS
nathanchance Jun 11, 2019
30e9d94
kbuild: initialize CLANG_FLAGS correctly in the top Makefile
masahir0y Jul 29, 2019
7d6322a
kbuild: use -fmacro-prefix-map to make __FILE__ a relative path
masahir0y Mar 30, 2018
9575f6b
kbuild: add -fcf-protection=none when using retpoline flags
Jul 17, 2019
aa3021c
kbuild: fix single target build for external module
masahir0y Nov 21, 2018
56b1297
kbuild: mark prepare0 as PHONY to fix external module build
masahir0y Jan 15, 2019
4308aae
gcc-10: disable 'zero-length-bounds' warning for now
torvalds May 9, 2020
68341bc
gcc-10: disable 'array-bounds' warning for now
torvalds May 9, 2020
5f0736d
gcc-10: disable 'stringop-overflow' warning for now
torvalds May 9, 2020
c3bbf6b
gcc-10: disable 'restrict' warning for now
torvalds May 9, 2020
3149fc2
Makefile: disallow data races on gcc-10 as well
Mar 17, 2020
a932a66
kernel/gcov/fs.c: gcov_seq_next() should increase position index
vaverin Apr 10, 2020
ef0be80
gcov: Disable gcov build with GCC 10
rleon Sep 4, 2020
89cd009
gcov: add support for GCC 10.1
oberpar Sep 10, 2020
4ea8261
kbuild: force to build vmlinux if CONFIG_MODVERSION=y
masahir0y May 31, 2020
373c33a
Makefile: Fix GCC_TOOLCHAIN_DIR prefix for Clang cross compilation
MaskRay Jul 21, 2020
89ee73d
kbuild: Add ability to test Clang's integrated assembler
nathanchance Jun 27, 2019
a63030f
kbuild: Don't try to add '-fcatch-undefined-behavior' flag
nathanchance May 9, 2019
e5a3004
objtool: Support HOSTCFLAGS and HOSTLDFLAGS
labbott Apr 12, 2018
1e7177c
tools: build: Fixup host c flags
labbott Jul 10, 2018
f4e05f1
kbuild: remove AS variable
masahir0y Mar 26, 2020
9965631
kbuild: replace AS=clang with LLVM_IAS=1
masahir0y Apr 8, 2020
dea50dd
objtool: Allow AR to be overridden with HOSTAR
nathanchance May 16, 2019
913ebb7
kbuild: support LLVM=1 to switch the default tools to Clang/LLVM
masahir0y Apr 8, 2020
6b40206
lib/string.c: implement stpcpy
nickdesaulniers Aug 25, 2020
06f2892
arm64: Use aarch64elf and aarch64elfb emulation mode variants
paulkocialkowski Jul 2, 2018
d6c7a55
arm64: add endianness option to LDFLAGS instead of LD
masahir0y Jul 3, 2018
1b77ae0
Revert "arm64: Use aarch64elf and aarch64elfb emulation mode variants"
labbott Jul 9, 2018
236f6bb
kbuild: simplify ld-option implementation
masahir0y Feb 23, 2018
b095cc8
arm64: build with baremetal linker target instead of Linux when avail…
olofj Jul 13, 2018
5f5cfc9
kbuild: add variables for compression tools
evdenis Jun 5, 2020
4554ae2
arm64: Silence gcc warnings about arch ABI drift
Jun 6, 2019
b584612
arm64: Don't unconditionally add -Wno-psabi to KBUILD_CFLAGS
nathanchance Jun 11, 2019
6203e29
gcc-10: avoid shadowing standard library 'free()' in crypto
torvalds May 9, 2020
4afd09d
dpu20: make vendor check of cables for dex mode optional
evdenis Nov 20, 2020
7371879
Makefile: don't use -fconserve-stack with CC_OPTIMIZE_FOR_PERFORMANCE*
evdenis Nov 21, 2020
350bcf7
x86/build/lto: Fix truncated .bss with -fdata-sections
samitolvanen Apr 15, 2019
43170d7
kbuild: LD_DEAD_CODE_DATA_ELIMINATION no -ffunction-sections/-fdata-s…
npiggin May 9, 2018
836129e
kbuild: Allow LD_DEAD_CODE_DATA_ELIMINATION to be selectable if enabled
npiggin May 9, 2018
219620f
kbuild: reword help of LD_DEAD_CODE_DATA_ELIMINATION
masahir0y Jun 23, 2018
8ffba11
arm64: allow LD_DEAD_CODE_DATA_ELIMINATION
evdenis Nov 21, 2020
d10c724
kbuild: Fix asm-generic/vmlinux.lds.h for LD_DEAD_CODE_DATA_ELIMINATION
npiggin May 9, 2018
8e780ce
vmlinux.lds.h: Fix linker warnings about orphan .LPBX sections
oberpar Sep 13, 2018
b01c9c1
vmlinux.lds.h: Coalesce transient LLVM dead code elimination sections
kdrag0n Jul 2, 2020
5853d71
ANDROID: kbuild: disable clang-specific configs with other compilers
samitolvanen Dec 17, 2019
a145585
kbuild: Add support for LLVM's Polly optimizer
kdrag0n Aug 1, 2019
bf61732
kbuild: Add support for GCC's graphite optimizer
evdenis Nov 25, 2020
2f14cd5
BACKPORT: arm64: vdso: use $(LD) instead of $(CC) to link VDSO
masahir0y May 29, 2020
64e0f1f
BACKPORT: arm64: vdso: Explicitly add build-id option
labbott May 29, 2020
8fd6c41
ANDROID: arm64: vdso: wrap -n in ld-option
nickdesaulniers Jun 4, 2020
240f52e
mm: add config for readahead window
weivincewang Mar 16, 2018
1b5745c
ANDROID: kallsyms: strip hashes from function names with ThinLTO
samitolvanen Jan 30, 2020
c544775
arm64/boot/dts: remove verify,avb fsmgr_flags
evdenis Oct 6, 2020
f90cee7
arm64/boot/dts: disable vbmeta
evdenis Nov 24, 2020
afd1271
afs: Fix const confusion in AFS
Apr 9, 2017
f87404c
locking/spinlocks: Mark spinlocks noinline when inline spinlocks are …
Aug 10, 2012
e7edf0b
Fix read buffer overflow in delta-ipc
Nov 24, 2017
de36f87
lto: Add __noreorder and mark initcalls __noreorder
Mar 31, 2015
4155007
lto, workaround: Disable LTO for BPF
Jun 27, 2014
d391e19
arm64: cpu_ops: Add missing 'const' qualifiers
norov Nov 29, 2017
eb5d1ef
Makefile: add mcpu option
evdenis Nov 25, 2020
a2ba771
Kbuild: Add Link Time Optimization (LTO) support
evdenis Dec 9, 2020
ed13fc0
drivers/net/wireless/broadcom: drop -Wno-sometimes-uninitialized
evdenis May 24, 2022
a3be850
drivers/net/wireless/broadcom/bcmdhd_101_16: drop -Werror
evdenis May 24, 2022
204d9fe
cruelbuild: disable builds for models without HVJ5 sources
evdenis Apr 11, 2021
d9db072
Update main.yml
ridwan20 Jan 5, 2023
e602e1b
magisk: Support Magisk v26.
evdenis Apr 19, 2023
41aba77
magisk: Fix broken link for magisk v26.3
evdenis Sep 4, 2023
7a6b504
Merge branch 'CruelKernel:cruel-HVJ5-v5.3' into cruel-HVJ5-v5.3
ridwan20 Nov 21, 2023
ba7c47e
Update main.yml
ridwan20 Nov 21, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
custom: ["https://paypal.me/evdenis"]
138 changes: 138 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
name: Build

on: [push]

env:
TOOLCHAIN: cruel
INSTALLER: yes

jobs:
build:
runs-on: ubuntu-22.04

strategy:
fail-fast: false
matrix:
model: [ "G973F", "N976N" ]

steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.7'

- name: Install dependencies
env:
DEBIAN_FRONTEND: noninteractive
run: sudo apt-get install -y -qq libtinfo5 ccache


- name: Disable compression in ccache and set ccache path
run: ccache -o compression=false -o cache_dir=$HOME/.ccache

- name: Prepare ccache timestamp
id: ccache_timestamp
run: |
echo "::set-output name=FULL_DATE::$(date +'%Y-%m-%d')"
echo "::set-output name=MONTH_DATE::$(date +'%Y-%m')"

- name: Create cache key from ${{ matrix.model }}
id: ccache_model_key
run: echo "::set-output name=KEY::$( echo ${{ matrix.model }} | tr ',' '_' )"

- name: Cache ccache files
uses: actions/cache@v3
with:
path: ~/.ccache
key: ccache-${{ env.TOOLCHAIN }}-${{ steps.ccache_model_key.outputs.KEY }}-${{ steps.ccache_timestamp.outputs.FULL_DATE }}
restore-keys: |
ccache-${{ env.TOOLCHAIN }}-${{ steps.ccache_model_key.outputs.KEY }}-${{ steps.ccache_timestamp.outputs.MONTH_DATE }}
ccache-${{ env.TOOLCHAIN }}-${{ steps.ccache_model_key.outputs.KEY }}-
ccache-${{ env.TOOLCHAIN }}-

- name: Kernel Configure
run: |
set -e -o pipefail
./cruelbuild config \
model=${{ matrix.model }} \
name="4lu-Cruel" \
toolchain=$TOOLCHAIN \
+magisk \
+nohardening \
+ttl \
+wireguard \
+cifs \
+sdfat \
+ntfs \
+force_dex_wqhd \
+morosound \
+boeffla_wl_blocker \
+always_permit \
2>&1 | tee config.info

- name: Install gcc-aarch64-linux-gnu
if: env.TOOLCHAIN == 'system-gcc' || env.TOOLCHAIN == 'system-clang'
env:
DEBIAN_FRONTEND: noninteractive
run: sudo apt-get install -y -qq gcc-aarch64-linux-gnu
- name: Install clang
if: env.TOOLCHAIN == 'system-clang'
env:
DEBIAN_FRONTEND: noninteractive
run: sudo apt-get install -y -qq llvm lld clang
- name: Deploy Toolchain
if: env.TOOLCHAIN != 'system-gcc' && env.TOOLCHAIN != 'system-clang'
run: git clone --depth 1 -j $(nproc) --branch $TOOLCHAIN --single-branch https://github.com/CruelKernel/samsung-exynos9820-toolchain toolchain

- name: Kernel Build
run: ./cruelbuild :build

- name: Install mkbootimg
run: |
wget -q https://android.googlesource.com/platform/system/tools/mkbootimg/+archive/refs/heads/master.tar.gz -O - | tar xzf - mkbootimg.py gki
chmod +x mkbootimg.py
sudo mv mkbootimg.py /usr/local/bin/mkbootimg
sudo mv gki $(python -c 'import site; print(site.getsitepackages()[0])')
- name: Install mkdtboimg
run: |
wget -q https://android.googlesource.com/platform/system/libufdt/+archive/refs/heads/master.tar.gz -O - | tar --strip-components 2 -xzf - utils/src/mkdtboimg.py
chmod +x mkdtboimg.py
sudo mv mkdtboimg.py /usr/local/bin/mkdtboimg
- name: Install avbtool
run: |
wget -q https://android.googlesource.com/platform/external/avb/+archive/refs/heads/master.tar.gz -O - | tar xzf - avbtool.py
chmod +x avbtool.py
sudo mv avbtool.py /usr/local/bin/avbtool

- name: Create CruelKernel images for ${{ matrix.model }}
run: ./cruelbuild :mkimg
- name: Create CruelKernel installer for ${{ matrix.model }}
if: env.INSTALLER == 'yes'
run: ./cruelbuild :pack

- name: Avoid Double Zipping in Installer
if: env.INSTALLER == 'yes'
run: |
mkdir -p installer && cd installer
unzip ../CruelKernel.zip
- name: Upload Kernel Zip
if: env.INSTALLER == 'yes'
uses: actions/upload-artifact@v2
with:
name: CruelKernel-${{ matrix.model }}
path: installer/*
if-no-files-found: error
- name: Upload Kernel Images
if: env.INSTALLER != 'yes'
uses: actions/upload-artifact@v2
with:
name: CruelKernel-${{ matrix.model }}
path: '*.img'
if-no-files-found: error

- name: Upload Kernel Info
uses: actions/upload-artifact@v2
with:
name: ConfigurationInfo-${{ matrix.model }}
path: config.*
if-no-files-found: error
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
*.symtypes
*.tar
*.xz
*.zip
Module.symvers
modules.builtin

Expand Down Expand Up @@ -125,3 +126,15 @@ all.config

# fetched Android config fragments
kernel/configs/android-*.cfg

# samsung
*.dtbo
*.reverse.dts
__pycache__/
*.pyc

/*.img
/config.json
/config.info
/config.G*
/config.N*
47 changes: 43 additions & 4 deletions Documentation/admin-guide/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2365,6 +2365,41 @@
in the "bleeding edge" mini2440 support kernel at
http://repo.or.cz/w/linux-2.6/mini2440.git

mitigations=
[X86,PPC,S390,ARM64] Control optional mitigations for
CPU vulnerabilities. This is a set of curated,
arch-independent options, each of which is an
aggregation of existing arch-specific options.

off
Disable all optional CPU mitigations. This
improves system performance, but it may also
expose users to several CPU vulnerabilities.
Equivalent to: nopti [X86,PPC]
kpti=0 [ARM64]
nospectre_v1 [PPC]
nobp=0 [S390]
nospectre_v1 [X86]
nospectre_v2 [X86,PPC,S390,ARM64]
spectre_v2_user=off [X86]
spec_store_bypass_disable=off [X86,PPC]
ssbd=force-off [ARM64]
l1tf=off [X86]
mds=off [X86]

auto (default)
Mitigate all CPU vulnerabilities, but leave SMT
enabled, even if it's vulnerable. This is for
users who don't want to be surprised by SMT
getting disabled across kernel upgrades, or who
have other ways of avoiding SMT-based attacks.
This is the default behavior.

auto,nosmt
Mitigate all CPU vulnerabilities, disabling SMT
if needed. This is for users who always want to
be fully mitigated, even if it means losing SMT.

mminit_loglevel=
[KNL] When CONFIG_DEBUG_MEMORY_INIT is set, this
parameter allows control of the logging verbosity for
Expand Down Expand Up @@ -2683,10 +2718,14 @@
nosmt=force: Force disable SMT, cannot be undone
via the sysfs control file.

nospectre_v2 [X86] Disable all mitigations for the Spectre variant 2
(indirect branch prediction) vulnerability. System may
allow data leaks with this option, which is equivalent
to spectre_v2=off.
nospectre_v1 [X66, PPC] Disable mitigations for Spectre Variant 1
(bounds check bypass). With this option data leaks
are possible in the system.

nospectre_v2 [X86,PPC_FSL_BOOK3E,ARM64] Disable all mitigations for
the Spectre variant 2 (indirect branch prediction)
vulnerability. System may allow data leaks with this
option.

nospec_store_bypass_disable
[HW] Disable all mitigations for the Speculative Store Bypass vulnerability
Expand Down
26 changes: 22 additions & 4 deletions Documentation/arm64/cpu-feature-registers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,17 @@ infrastructure:
x--------------------------------------------------x
| Name | bits | visible |
|--------------------------------------------------|
| RES0 | [63-32] | n |
| TS | [55-52] | y |
|--------------------------------------------------|
| FHM | [51-48] | y |
|--------------------------------------------------|
| DP | [47-44] | y |
|--------------------------------------------------|
| SM4 | [43-40] | y |
|--------------------------------------------------|
| SM3 | [39-36] | y |
|--------------------------------------------------|
| SHA3 | [35-32] | y |
|--------------------------------------------------|
| RDM | [31-28] | y |
|--------------------------------------------------|
Expand All @@ -123,16 +133,16 @@ infrastructure:
| SHA1 | [11-8] | y |
|--------------------------------------------------|
| AES | [7-4] | y |
|--------------------------------------------------|
| RES0 | [3-0] | n |
x--------------------------------------------------x


2) ID_AA64PFR0_EL1 - Processor Feature Register 0
x--------------------------------------------------x
| Name | bits | visible |
|--------------------------------------------------|
| RES0 | [63-28] | n |
| DIT | [51-48] | y |
|--------------------------------------------------|
| SVE | [35-32] | y |
|--------------------------------------------------|
| GIC | [27-24] | n |
|--------------------------------------------------|
Expand Down Expand Up @@ -183,6 +193,14 @@ infrastructure:
| DPB | [3-0] | y |
x--------------------------------------------------x

5) ID_AA64MMFR2_EL1 - Memory model feature register 2

x--------------------------------------------------x
| Name | bits | visible |
|--------------------------------------------------|
| AT | [35-32] | y |
x--------------------------------------------------x

Appendix I: Example
---------------------------

Expand Down
1 change: 1 addition & 0 deletions Documentation/arm64/silicon-errata.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ stable kernels.
| ARM | Cortex-A72 | #853709 | N/A |
| ARM | Cortex-A73 | #858921 | ARM64_ERRATUM_858921 |
| ARM | Cortex-A55 | #1024718 | ARM64_ERRATUM_1024718 |
| ARM | Cortex-A76 | #1188873 | ARM64_ERRATUM_1188873 |
| ARM | MMU-500 | #841119,#826419 | N/A |
| | | | |
| Cavium | ThunderX ITS | #22375, #24313 | CAVIUM_ERRATUM_22375 |
Expand Down
75 changes: 75 additions & 0 deletions Documentation/filesystems/reiser4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
Reiser4 filesystem
==================
Reiser4 is a file system based on dancing tree algorithms, and is
described at http://www.namesys.com


References
==========
web page http://namesys.com/v4/v4.html
source code ftp://ftp.namesys.com/pub/reiser4-for-2.6/
userland tools ftp://ftp.namesys.com/pub/reiser4progs/
install page http://www.namesys.com/install_v4.html

Compile options
===============
Enable reiser4 debug mode
This checks everything imaginable while reiser4
runs

Mount options
=============
tmgr.atom_max_size=N
Atoms containing more than N blocks will be forced to commit.
N is decimal.
Default is nr_free_pagecache_pages() / 2 at mount time.

tmgr.atom_max_age=N
Atoms older than N seconds will be forced to commit. N is decimal.
Default is 600.

tmgr.atom_max_flushers=N
Limit of concurrent flushers for one atom. 0 means no limit.
Default is 0.

tree.cbk_cache.nr_slots=N
Number of slots in the cbk cache.

flush.relocate_threshold=N
If flush finds more than N adjacent dirty leaf-level blocks it
will force them to be relocated.
Default is 64.

flush.relocate_distance=N
If flush finds can find a block allocation closer than at most
N from the preceder it will relocate to that position.
Default is 64.

flush.scan_maxnodes=N
The maximum number of nodes to scan left on a level during
flush.
Default is 10000.

optimal_io_size=N
Preferred IO size. This value is used to set st_blksize of
struct stat.
Default is 65536.

bsdgroups
Turn on BSD-style gid assignment.

32bittimes
By default file in reiser4 have 64 bit timestamps. Files
created when filesystem is mounted with 32bittimes mount
option will get 32 bit timestamps.

mtflush
Turn off concurrent flushing.

nopseudo
Disable pseudo files support. See
http://namesys.com/v4/pseudo.html for more about pseudo files.

dont_load_bitmap
Don't load all bitmap blocks at mount time, it is useful for
machines with tiny RAM and large disks.
12 changes: 12 additions & 0 deletions Documentation/process/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,13 @@ The reiserfsprogs package should be used for reiserfs-3.6.x
versions of ``mkreiserfs``, ``resize_reiserfs``, ``debugreiserfs`` and
``reiserfsck``. These utils work on both i386 and alpha platforms.

Reiser4progs
------------

The reiser4progs package contains utilities for the reiser4 file system.
Detailed instructions are provided in the README file located at:
<https://github.com/edward6/reiser4progs>.

Xfsprogs
--------

Expand Down Expand Up @@ -371,6 +378,11 @@ Reiserfsprogs

- <http://www.kernel.org/pub/linux/utils/fs/reiserfs/>

Reiser4progs
------------

- <http://sourceforge.net/projects/reiser4/>

Xfsprogs
--------

Expand Down
Loading