Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
688 commits
Select commit Hold shift + click to select a range
098fede
msm: sde: Fix uninitialized variable usage
kerneltoast Nov 19, 2018
f800647
defconfig: cybertron-v4
DhineshCool Jan 6, 2024
f734a35
Revert "block: queue work on power efficient wq"
DhineshCool Jan 25, 2024
434f5ca
cybertron-v5
DhineshCool Jan 25, 2024
e8f7ab6
gpu: Play with throttling a bit
zeroblade1984 May 2, 2021
8987025
kernel: Don't allow IRQ affinity masks to have more than one CPU
kerneltoast May 26, 2019
c324243
usb: dwc3: Fix erroneous error handling in probe
kerneltoast Nov 23, 2018
dfce9d0
usb: dwc3: Fix OF memory leak in probe
kerneltoast Nov 23, 2018
58a36ae
ANDROID: sched: fair: balance for single core cluster
weivincewang Sep 21, 2019
79757de
cpufreq: schedutil: Make iowait boost more energy efficient
Jul 23, 2017
cf8b63e
cpufreq: schedutil: Use unsigned int for iowait boost
Jul 23, 2017
ce00aac
cpuidle: Allow enforcing deepest idle state selection
Nov 29, 2016
0621e9c
cpuidle: lpm-levels: Correctly check for list empty
mkshahc Jun 21, 2018
eab8cc3
cpuidle: lpm-levels: select default level for cluster lpms
Jun 26, 2018
c13cd6b
sched/fair: load balance if a group is overloaded
Apr 25, 2018
4f322e0
cpufreq: schedutil: Fix iowait boost reset
derkling Jun 16, 2018
156e4dd
cpu-boost: Reduce input boost time interval
TheCrazyLex Jul 17, 2018
8d35f49
media: v4l2-ioctl: Use larger on-stack video copy buffers
kerneltoast Jul 2, 2019
3655e4f
sched/fair: Advance global expiration when period timer is restarted
Jun 20, 2018
ffa3573
binder: Stub out debug prints by default
kerneltoast Feb 7, 2021
c45457b
mm: oom_kill: reap memory of a task that receives SIGKILL
May 1, 2018
a0fbf9b
mm: oom_kill: silence oom_reaper logs
ExactExampl Jun 20, 2023
c0113e4
msm: kgsl: run kgsl-workqueue as a high prio wq
franciscofranco Jun 21, 2018
8343935
msm: kgsl: Relax adreno spin idle tight loop
Dec 27, 2018
dd1b369
binder: Fix concurrency issue in target_thread wakeup
Oct 31, 2018
fe47c45
defconfig: cybertron-v6
DhineshCool Feb 13, 2024
b55d85a
defconfig: cybertron-v7
DhineshCool Feb 28, 2024
d7d5d92
Revert "cpu-boost: Reduce input boost time interval"
DhineshCool Mar 3, 2024
854f4cc
defconfig: cybertron-v9
DhineshCool May 7, 2024
e29a295
f2fs: add proper cleancache support
kdrag0n Dec 12, 2018
4a9cd97
fs: f2fs: enlarge min_fsync_blocks to 20
jesec Apr 12, 2020
b5bb840
drop_caches: drop pagecaches on screen-off
arter97 Feb 2, 2017
4c9b0b4
drop_caches: drop caches after 200ms
arter97 Feb 2, 2017
71b5f0f
drm/msm: minimize qos remap updates
adriansm Oct 18, 2019
dfdb5eb
Revert "mm: Boost when memory pressure becomes high"
DhineshCool May 7, 2024
eb64781
Revert "kernel: Use the stock b1c1 config for /proc/config.gz"
DhineshCool May 9, 2024
aacff1c
tcp: introduce tcp_jiffies32
edumazet May 16, 2017
ce4305a
tcp_westwood: use tcp_jiffies32 instead of tcp_time_stamp
edumazet May 16, 2017
fdf67d9
tcp: make undo_cwnd mandatory for congestion modules
Nov 21, 2016
79f2d8e
tcp_westwood: fix tcp_westwood_info() style mistakes
Mar 14, 2017
d166719
tcp: bic, cubic: use tcp_jiffies32 instead of tcp_time_stamp
edumazet May 16, 2017
c7d17c9
tcp_bbr: use tcp_jiffies32 instead of tcp_time_stamp
edumazet May 16, 2017
f1a289a
tcp: use tcp_jiffies32 to feed probe_timestamp
edumazet May 16, 2017
8ab0cfc
tcp: use tcp_jiffies32 for rcv_tstamp and lrcvtime
edumazet May 16, 2017
a3e5117
tcp: use tcp_jiffies32 to feed tp->snd_cwnd_stamp
edumazet May 16, 2017
d272a97
tcp: use tcp_jiffies32 to feed tp->lsndtime
edumazet May 16, 2017
cafbe4b
tcp: use tcp_jiffies32 in __tcp_oow_rate_limited()
edumazet May 16, 2017
59fd35f
tcp: replace misc tcp_time_stamp to tcp_jiffies32
edumazet May 16, 2017
5098dc2
dccp: do not use tcp_time_stamp
edumazet May 16, 2017
2087365
BACKPORT: tcp: tsq: add tsq_flags / tsq_enum
edumazet Dec 3, 2016
2ec3dee
BACKPORT: net: reorganize struct sock for better data locality
edumazet Dec 3, 2016
e23966f
BACKPORT: tcp: tsq: move tsq_flags close to sk_wmem_alloc
edumazet Dec 3, 2016
e9c36b6
BACKPORT: tcp: internal implementation for pacing
edumazet May 16, 2017
fc3e873
BACKPORT: tcp: avoid min-RTT overestimation from delayed ACKs
yuchungcheng Jan 17, 2018
31e02e9
BACKPORT: tcp: avoid min RTT bloat by skipping RTT from delayed-ACK i…
yuchungcheng Jan 17, 2018
c557659
BACKPORT: tcp_bbr: better deal with suboptimal GSO (II)
edumazet Feb 28, 2018
e530a6f
BACKPORT: tcp_bbr: remove bbr->tso_segs_goal
edumazet Feb 28, 2018
7ec2f9e
BACKPORT: net-tcp_bbr: set tp->snd_ssthresh to BDP upon STARTUP exit
yousukseung Mar 16, 2018
56ba498
BACKPORT: tcp_bbr: fix bbr pacing rate for internal pacing
edumazet Jun 20, 2018
d0e3907
BACKPORT: tcp_bbr: add bbr_check_probe_rtt_done() helper
yydcool Aug 22, 2018
905fd80
BACKPORT: tcp_bbr: in restart from idle, see if we should exit PROBE_RTT
yydcool Aug 22, 2018
6ace279
BACKPORT: tcp_bbr: apply PROBE_RTT cwnd cap even if acked==0
yydcool Aug 22, 2018
6194dcc
BACKPORT: tcp_bbr: centralize code to set gains
nealcardwell Oct 17, 2018
56829e7
BACKPORT: net_sched: sch_fq: handle non connected flows
edumazet May 4, 2019
53dad19
BACKPORT: tcp_bbr: refactor bbr_target_cwnd() for general inflight pr…
Prj2223 Jan 23, 2019
04c95aa
BACKPORT: tcp_bbr: clarify that bbr_bdp() rounds up in comments
lukehsiao Aug 29, 2019
01bde16
BACKPORT: tcp_bbr: fix quantization code to not raise cwnd if not pro…
yydcool Sep 26, 2019
f449a89
tcp: Enable ECN negotiation by default
kdrag0n May 27, 2020
4771517
tcp: allow TLP in ECN CWR
nealcardwell Dec 11, 2017
5857dfe
tcp_westwood: make 'rtt_min' and 'init_rtt' tunables and remove HZ de…
YaroST12 Jun 21, 2018
ad8fc32
tcp_westwood: tune up a bit
YaroST12 Jun 21, 2018
dd35db1
tcp: fastopen: Enable cookieless TFO clients and servers
tytydraco Jun 13, 2020
262b530
tcp: Disable slow start after idle
tytydraco Jul 11, 2020
9c25bcb
ipv4/tcp: Force applications to use `TCP_NODELAY` to improve
Panchajanya1999 Aug 12, 2021
77f89db
tcp: Allow TCP Fast Open for both incoming & outgoing connections
Panchajanya1999 Jan 17, 2022
5f638ed
defconfig: Switch to BBR TCP CCP
kailashrs Mar 8, 2023
74ffef8
ARM: dts: sdm845: Suppress verbose output during boot
kdrag0n Mar 4, 2019
88de2a5
ARM: dts: sdm845: Disable expedited RCU grace periods after init
kdrag0n Mar 5, 2019
942ec59
ARM: dts: sdm845: Disable unhandled or broken IRQ monitoring
kdrag0n Mar 9, 2019
62226a4
msm: kgsl: Use lock-less list for page pools
kerneltoast Mar 1, 2021
72e8b74
msm: kgsl: Increase events worker thread priority
Jul 2, 2020
631da63
msm: kgsl: Avoid race of fault handler and recovery
Jul 3, 2020
45c6912
msm: kgsl: Correctly put process refcount in iommu fault handler
Aug 18, 2020
57a6652
msm: kgsl: Fix preemption fault handling for A6xx GPU
Mar 13, 2019
6a31674
msm: kgsl: Restart a6xx gpu only once
Aug 9, 2019
85e7eed
cpufreq: Initialize the governors in core_initcall
Oct 21, 2019
05c60df
cpufreq: Register governors at core_initcall
Jun 29, 2020
1b45f05
gpu/msm: adreno_sysfs: Declare a macro to store value alongwith permi…
Panchajanya1999 Jul 25, 2021
4a499e0
gpu/msm: adreno_sysfs: Declare a macro for RO attribute
Panchajanya1999 Jul 25, 2021
538b59b
gpu/msm: adreno_sysfs: Disable KGSL throttling and make it RO
Panchajanya1999 Jul 25, 2021
ae6e5b3
power_supply: Don't allocate attrname
arter97 Mar 18, 2020
7870724
devfreq: memlat: Don't ignore extremely latency sensitive workloads
Sep 8, 2017
1a741d1
uid_sys_stats: Remove dependency on the profiling subsystem
kdrag0n Apr 8, 2019
74463af
profiling: Implement a simple task exit notifier when disabled
kdrag0n Apr 8, 2019
c0d0af6
msm: kgsl: Dispatch commands using a master kthread
kerneltoast Jun 15, 2019
88e2615
tick/nohz: Optimize nohz idle enter
gaurav-jindal Jul 14, 2016
0e43b3f
msm: kgsl: improve memory stats maintenance
Dec 24, 2018
f76579c
msm: kgsl: Fix memory leak in _insert_gpuaddr()
Feb 6, 2019
eed9ebb
msm: kgsl: Ensure _free_pt() gets called on error case
Feb 20, 2019
7c9351f
msm: kgsl: Ensure GPU gdscs are off in SLUMBER and during hard reset
Jul 11, 2019
e39aeec
msm: kgsl: Remove unused registers from the snapshot dump
Sep 24, 2019
c64f5d1
rcu: Speed up calling of RCU tasks callbacks
rostedt May 24, 2018
9071094
msm: kgsl: Parallelization of kgsl_3d_init
Dec 5, 2019
7ece5be
power: Start killing wakelocks after one minute of idle
tytydraco Sep 6, 2020
72ada58
qpnp: fg: relax wakeup events
raphielscape Nov 3, 2018
3bc0f25
msm: vidc: disable CPU L2 cache PC during video sessions
Aug 29, 2020
1bcbfc1
mdss: Update RT priority
TheCrazyLex May 28, 2017
e8f1697
int_sqrt: Improve 3x faster integer sqrt.
willizambrano Sep 6, 2020
08f0103
ipa_v2: don't let this prevent suspend
raphielscape Jun 6, 2018
a1e3c16
ufs: qcom: Make it probe asynchronously
UtsavBalar1231 Jul 2, 2022
9de3169
spi: qcom: Make it probe asynchronously
UtsavBalar1231 Jul 2, 2022
72e5689
drivers: power: supply: Silence logspam
SantiagoPintos Oct 16, 2021
44fade2
net: ipc_router: silence IPC_RTR
ekkusa Sep 9, 2022
987f325
skip icl override again after setting sdp icl
Apr 28, 2020
74ed9fa
qpnp-smb2: Silence dmesg spam while charging
sohamxda7 May 21, 2021
a91f13e
sched/fair: Compile out NUMA code entirely when NUMA is disabled
kerneltoast May 6, 2021
5a0b77d
crypto: aes-ce-ccm - Use skcipher walk interface
herbertx Nov 22, 2016
5116c64
crypto: arm64/aes - Convert to skcipher
herbertx Nov 22, 2016
1ff6fb6
crypto: arm64/sha2 - add generated .S files to .gitignore
Nov 28, 2016
ed1999e
crypto: arm/aes - Select SIMD in Kconfig
herbertx Nov 29, 2016
6ac1d7a
crypto: arm/aes-ce - fix broken monolithic build
Nov 29, 2016
0e600de
crypto: arm64/aes-ce-ctr - fix skcipher conversion
Nov 29, 2016
76c1ed0
crypto: arm64/aes-ce-ccm - Fix AEAD decryption length
herbertx Nov 30, 2016
2874457
crypto: arm64/crct10dif - port x86 SSE implementation to arm64
Dec 5, 2016
5561726
crypto: arm64/crc32 - accelerated support based on x86 SSE implementa…
Dec 5, 2016
3d1d434
crypto: api - Fix Kconfig dependencies for FIPS
Oct 4, 2016
3787326
crypto: api - Remove no-op exit_ops code
ebiggers Oct 7, 2016
0817fc9
crypto: cmac - return -EINVAL if block size is unsupported
ebiggers Oct 10, 2016
a24ac7d
crypto: cmac - fix alignment of 'consts'
ebiggers Oct 10, 2016
d342f13
crypto: engine - Handle the kthread worker using the new API
pmladek Oct 19, 2016
416a661
crypto: skcipher - Get rid of crypto_grab_skcipher2()
ebiggers Oct 28, 2016
69e23bb
crypto: skcipher - Get rid of crypto_spawn_skcipher2()
ebiggers Oct 28, 2016
5dba7ce
crypto: cryptd - Remove unused but set variable 'tfm'
tklauser Oct 31, 2016
0f6b273
crypto: dh - Consistenly return negative error codes
mjmartineau Nov 8, 2016
baa0c56
crypto: gf128mul - remove dead gf128mul_64k_lle code
alexcope Nov 9, 2016
8c42ce5
crypto: jitterentropy - drop duplicate header module.h
geliangtang Nov 11, 2016
131c43e
crypto: gf128mul - Zero memory when freeing multiplication table
alexcope Nov 14, 2016
ace40f0
crypto: drbg - advance output buffer pointer
smuellerDD Nov 18, 2016
ca6c086
crypto: crc32c-vpmsum - Rename CRYPT_CRC32C_VPMSUM option
jdelvare Nov 22, 2016
5cddc72
crypto: skcipher - Add skcipher walk interface
herbertx Nov 22, 2016
a0d7ae5
crypto: lrw - Convert to skcipher
herbertx Nov 22, 2016
8ad0441
crypto: xts - Convert to skcipher
herbertx Nov 22, 2016
7946cd9
crypto: api - Do not clear type bits in crypto_larval_lookup
herbertx Nov 22, 2016
b242e47
crypto: cryptd - Add support for skcipher
herbertx Nov 22, 2016
1b4b604
crypto: simd - Add simd skcipher helper
herbertx Nov 22, 2016
8ec6fb7
crypto: pcbc - Convert to skcipher
herbertx Nov 22, 2016
0b2e542
crypto: glue_helper - Add skcipher xts helpers
herbertx Nov 22, 2016
8e14797
crypto: testmgr - Do not test internal algorithms
herbertx Nov 22, 2016
e9a7560
crypto: aesni - Convert to skcipher
herbertx Nov 22, 2016
c76db49
crypto: cbc - Convert to skcipher
herbertx Nov 22, 2016
22c3b0e
crypto: cbc - Export CBC implementation
herbertx Nov 22, 2016
c5e3b00
crypto: skcipher - fix crash in skcipher_walk_aead()
Nov 29, 2016
ec18919
crypto: skcipher - Add separate walker for AEAD decryption
herbertx Nov 30, 2016
3bdcedf
crypto: algif_skcipher - set error code when kcalloc fails
SinkFinder Dec 1, 2016
b43b736
crypto: algif_aead - fix AIO handling of zero buffer
smuellerDD Dec 1, 2016
82a1a2f
crypto: testmgr - add/enhance test cases for CRC-T10DIF
Dec 5, 2016
e6d1e2f
crypto: doc - clarify AEAD memory structure
smuellerDD Oct 21, 2016
3037344
crypto: asymmetric_keys - set error code on failure
SinkFinder Dec 13, 2016
a424399
crypto: skcipher - fix crash in virtual walk
Dec 13, 2016
91beb6f
crypto: skcipher - Introduce crypto_sync_skcipher
kees Sep 19, 2018
224dcf4
gss_krb5: Remove VLA usage of skcipher
kees Sep 19, 2018
742f12d
s390/crypto: Remove VLA usage of skcipher
kees Sep 19, 2018
4586669
x86/fpu: Remove VLA usage of skcipher
kees Sep 19, 2018
4a9fbfc
block: cryptoloop: Remove VLA usage of skcipher
kees Sep 19, 2018
edd7209
libceph: Remove VLA usage of skcipher
kees Sep 19, 2018
a7e0c69
ppp: mppe: Remove VLA usage of skcipher
kees Sep 19, 2018
3109de0
rxrpc: Remove VLA usage of skcipher
kees Sep 19, 2018
5385f97
crypto: ccp - Remove VLA usage of skcipher
kees Sep 19, 2018
541bc4b
crypto: null - Remove VLA usage of skcipher
kees Sep 19, 2018
c565677
crypto: cryptd - Remove VLA usage of skcipher
kees Sep 19, 2018
c54126a
crypto: sahara - Remove VLA usage of skcipher
kees Sep 19, 2018
df31606
crypto: mxs-dcp - Remove VLA usage of skcipher
kees Sep 19, 2018
7705458
crypto: picoxcell - Remove VLA usage of skcipher
kees Sep 19, 2018
b237198
crypto: skcipher - Remove SKCIPHER_REQUEST_ON_STACK()
kees Sep 19, 2018
fe16cec
ALSA: pcm: Remove VLA usage
tiwai Mar 13, 2018
5950475
crypto: remove several VLAs
smeso Apr 9, 2018
1fe5bf8
gpio: Remove VLA from gpiolib
labbott May 21, 2018
7eaf206
gpio: Propagate errors from gpiod_set_array_value_complex()
geertu Sep 27, 2018
c356efb
dm stripe: get rid of a Variable Length Array (VLA)
tych0 Mar 9, 2018
ebfe4ea
ntfs: decompress: remove VLA usage
kees Aug 17, 2018
81dac35
rslib: Add GFP aware init function
KAGA-KOKO Apr 22, 2018
5d18e46
rslib: Cleanup whitespace damage
KAGA-KOKO Apr 22, 2018
4212918
rslib: Cleanup top level comments
KAGA-KOKO Apr 22, 2018
0e1e26a
rslib: Add SPDX identifiers
KAGA-KOKO Apr 22, 2018
b03a6e9
rslib: Remove GPL boilerplate
KAGA-KOKO Apr 22, 2018
2a93e5a
rslib: Simplify error path
KAGA-KOKO Apr 22, 2018
7569c44
rslib: Split rs control struct
KAGA-KOKO Apr 22, 2018
fff1bf4
rslib: Allocate decoder buffers to avoid VLAs
KAGA-KOKO Apr 22, 2018
a8c3b58
rtnetlink: Remove VLA usage
kees May 30, 2018
a1829b9
rtnetlink: Fix null-ptr-deref in rtnl_newlink
pbhole Jun 1, 2018
9429c30
netfilter: nfnetlink: Remove VLA usage
kees May 30, 2018
41779dd
xfrm: remove VLA usage in __xfrm6_sort()
kees Apr 25, 2018
16920ec
crypto: null - Get rid of crypto_{get,put}_default_null_skcipher2()
ebiggers Dec 7, 2017
32f4dda
crypto: api - laying defines and checks for statically allocated buffers
smeso Apr 9, 2018
a037c5f
crypto: xcbc - Remove VLA usage
kees Aug 7, 2018
c785f0f
crypto: hash - Remove VLA usage
kees Aug 7, 2018
4237422
crypto: shash - Remove VLA usage in unaligned hashing
kees Aug 7, 2018
e04fcd3
crypto: cbc - Remove VLA usage
kees Aug 7, 2018
c1b95cf
crypto: api - Introduce generic max blocksize and alignmask
kees Aug 7, 2018
a578dd5
ppp: mppe: Remove VLA usage
kees Aug 3, 2018
95c5a1d
dm crypt: convert essiv from ahash to shash
kees Jul 16, 2018
46885e2
linux/kernel.h: add/correct kernel-doc notation
rddunlap Oct 13, 2017
d90a214
kernel.h: Retain constant expression output for max()/min()
kees Mar 31, 2018
3dbf590
Fix subtle macro variable shadowing in min_not_zero()
torvalds Apr 9, 2018
9cc766f
ion: nuke dbg_str to avoid VLA
arter97 Apr 26, 2019
b1cfa19
msm_smem: make temp_string_size a constant to avoid VLA
arter97 Apr 26, 2019
fd91216
msm: camera: avoid VLA
arter97 Apr 26, 2019
8bb0514
msm: vidc: avoid VLA
arter97 Apr 26, 2019
51bf0e7
crypto: qce - Remove VLA usage of skcipher
kees Sep 19, 2018
3c31b90
techpack: avoid VLA
arter97 Apr 26, 2019
32b29a1
crypto: msm: update crypto APIs and avoid VLA
arter97 Apr 26, 2019
7fcd056
dm verity: switch to using asynchronous hash crypto API
Feb 19, 2017
415a427
dm verity: fix no salt use case
May 18, 2017
27f0c53
soc/qcom: move icnss_initialize to async probe
Rickyiu May 27, 2019
1297b59
ion/msm: move msm_ion_init to async probe
Rickyiu May 27, 2019
675b71d
msm/mdss: move to async probe
idkwhoiam322 Oct 24, 2019
2cb3063
drivers: thermal: Make failed sensor read a debug message
kdrag0n Jan 21, 2019
701c2ef
kernel: time: Silence "Suspended for..." debug messages.
darkhz Jun 21, 2020
8a644b6
drivers: base: power: Silence PM suspend/resume log spam
schardev Jul 26, 2020
cf8e84a
blk: Disable IO_STAT completely
arter97 Mar 8, 2019
4491756
block: Disallow writing to iostats in sysfs
kdrag0n Mar 15, 2019
81e5da9
block: Disable random pool contribution by default
kdrag0n Dec 23, 2018
b6e6a0a
block: Address compiler warnings about 'queue_store_iostats'
Jebaitedneko Jan 19, 2022
fbbf192
mm/compaction: Disable compaction of unevictable pages
raphielscape Feb 1, 2020
36ed42e
thermal: msm_lmh_dcvs: Never initialize LMH TZ more than once
kholk Jul 1, 2018
9daf2a9
[Backport] swait: Add idle variants which don't contribute to load av…
mcgrof Jun 20, 2017
b731dd0
binder: Remove leftout debug
Divyanshu-Modi Jun 14, 2021
ae2c706
FROMLIST: dm-verity: skip verity_handle_error on I/O errors
Sep 13, 2021
14c30cb
gpio: Remove VLA from gpiolib
labbott May 21, 2018
7bf6b63
Revert "drivers: {GIC, GICv3}: Enable logging of interrupts that trig…
kdrag0n Nov 6, 2021
e17e096
cpufreq: Ensure the minimal frequency is lower than the maximal frequ…
ArianK16a Apr 26, 2021
a94869b
sched: core: Minimize number of tasks to load balance
sorayuki01 Mar 12, 2024
7ab8fb4
perf: Restrict perf event sampling CPU time to 5%
sorayuki01 Mar 12, 2024
02405ec
drivers: gpu: set default_pwrlevel to 7
prjktAL Apr 8, 2024
26e28bd
msm: kgsl: Only wake GPU upon ioctl receipt when it isn't awake
kerneltoast Apr 17, 2019
99f5145
BACKPORT: ANDROID: sched: Exempt paused CPU from nohz idle balance
Feb 18, 2021
7b3e056
sched/fair: Fix bandwidth timer clock drift condition
Jun 20, 2018
4f2a812
drivers: lpm-levels: Use cpu_do_idle for shallower LPM entry
Jan 9, 2020
a7d6cf9
sched/core: Fix rules for running on online && !active CPUs
Jul 25, 2017
a4b82b6
cpufreq: Avoid using inactive policies
rafaeljw Nov 18, 2016
a6f9923
cpuidle: lpm-levels: Allow exit latencies equal to target latencies
kerneltoast May 2, 2019
8f8a09d
cpuidle: lpm_levels: Don't print parent clocks during suspend
May 14, 2019
7c8e9f9
kernel: Revert "sched/core: Fix PI boosting between RT and DEADLINE t…
jjpprrrr Jul 2, 2020
1e1550d
sched: features: Enable NEXT_BUDDY feature
Tashar02 Oct 29, 2022
a71b19e
sched/fair.c: Don't allow SchedTune boosted tasks to be migrated to s…
RenderBroken May 9, 2019
58e1ac5
sched/fair: Optimize task placement for Schedtune boosted tasks
RenderBroken Jun 6, 2019
88c61cd
sched/idle: Move quiet_vmstate() into the NOHZ code
Aug 29, 2017
4b8eb16
sched: restrict iowait boost to tasks with prefer_idle
weivincewang Jan 22, 2020
81984b6
power/supply: qpnp-fg-gen3: fix boundary check on ESR measurement cur…
jjpprrrr Jun 3, 2021
8ffeded
Added workaround for apple dac
Jun 5, 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 Documentation/dev-tools/kmemleak.rst
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ See the include/linux/kmemleak.h header for the functions prototype.
- ``kmemleak_init`` - initialize kmemleak
- ``kmemleak_alloc`` - notify of a memory block allocation
- ``kmemleak_alloc_percpu`` - notify of a percpu memory block allocation
- ``kmemleak_vmalloc`` - notify of a vmalloc() memory allocation
- ``kmemleak_free`` - notify of a memory block freeing
- ``kmemleak_free_part`` - notify of a partial memory block freeing
- ``kmemleak_free_percpu`` - notify of a percpu memory block freeing
Expand Down
5 changes: 4 additions & 1 deletion Documentation/devicetree/bindings/gpu/adreno.txt
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ Optional Properties:
- qcom,chipid: If it exists this property is used to replace
the chip identification read from the GPU hardware.
This is used to override faulty hardware readings.
- qcom,disable-wake-on-touch: Boolean. Disables the GPU power up on a touch input event.
- qcom,disable-busy-time-burst:
Boolean. Disables the busy time burst to avoid switching
of power level for large frames based on the busy time limit.
Expand Down Expand Up @@ -206,6 +205,10 @@ Optional Properties:
Specify the name of GPU temperature sensor. This name will be used
to get the temperature from the thermal driver API.

- tzone-names:
Specify the names of GPU thermal zones. These will be used
to get the temperature from the thermal driver API.

- qcom,enable-midframe-timer:
Boolean. Enables the use of midframe sampling timer. This timer
samples the GPU powerstats if the cmdbatch expiry takes longer than
Expand Down
2 changes: 2 additions & 0 deletions Documentation/kbuild/00-INDEX
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
00-INDEX
- this file: info on the kernel build process
llvm.txt
- how to compile Linux with llvm
headers_install.txt
- how to export Linux headers for use by userspace
kbuild.txt
Expand Down
5 changes: 5 additions & 0 deletions Documentation/kbuild/kbuild.txt
Original file line number Diff line number Diff line change
Expand Up @@ -238,3 +238,8 @@ KBUILD_VMLINUX_MAIN
All object files for the main part of vmlinux.
KBUILD_VMLINUX_INIT and KBUILD_VMLINUX_MAIN together specify
all the object files used to link vmlinux.

LLVM
----
If this variable is set to 1, Kbuild will use Clang and LLVM utilities instead
of GCC and GNU binutils to build the kernel.
86 changes: 86 additions & 0 deletions Documentation/kbuild/llvm.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
Building Linux with Clang/LLVM
==============================

This document covers how to build the Linux kernel with Clang and LLVM
utilities.

About
-----

The Linux kernel has always traditionally been compiled with GNU
toolchains such as GCC and binutils. Ongoing work has allowed for
[Clang](https://clang.llvm.org/) and [LLVM](https://llvm.org/) utilities
to be used as viable substitutes. Distributions such as
[Android](https://www.android.com/),
[ChromeOS](https://www.chromium.org/chromium-os), and
[OpenMandriva](https://www.openmandriva.org/) use Clang built kernels.
[LLVM is a collection of toolchain components implemented in terms of
C++ objects](https://www.aosabook.org/en/llvm.html). Clang is a
front-end to LLVM that supports C and the GNU C extensions required by
the kernel, and is pronounced "klang," not "see-lang."

Clang
-----

The compiler used can be swapped out via [CC=]{.title-ref} command line
argument to [make]{.title-ref}. [CC=]{.title-ref} should be set when
selecting a config and during a build.

> make CC=clang defconfig
>
> make CC=clang

Cross Compiling
---------------

A single Clang compiler binary will typically contain all supported
backends, which can help simplify cross compiling.

> ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- make CC=clang

[CROSS\_COMPILE]{.title-ref} is not used to prefix the Clang compiler
binary, instead [CROSS\_COMPILE]{.title-ref} is used to set a command
line flag: [--target <triple>]{.title-ref}. For example:

> clang --target aarch64-linux-gnu foo.c

LLVM Utilities
--------------

LLVM has substitutes for GNU binutils utilities. These can be invoked as
additional parameters to [make]{.title-ref}.

> make CC=clang LD=ld.lld AR=llvm-ar NM=llvm-nm STRIP=llvm-strip \\
> OBJCOPY=llvm-objcopy OBJDUMP=llvm-objdump OBJSIZE=llvm-size \\
> READELF=llvm-readelf HOSTCC=clang HOSTCXX=clang++ HOSTAR=llvm-ar \\
> HOSTLD=ld.lld

Currently, the integrated assembler is disabled by default. You can pass
`LLVM_IAS=1` to enable it.

Getting Help
------------

- [Website](https://clangbuiltlinux.github.io/)
- [Mailing
List](https://groups.google.com/forum/#!forum/clang-built-linux):
<clang-built-linux@googlegroups.com>
- [Issue Tracker](https://github.com/ClangBuiltLinux/linux/issues)
- IRC: \#clangbuiltlinux on chat.freenode.net
- [Telegram](https://t.me/ClangBuiltLinux): \@ClangBuiltLinux
- [Wiki](https://github.com/ClangBuiltLinux/linux/wiki)
- [Beginner
Bugs](https://github.com/ClangBuiltLinux/linux/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22)

Getting LLVM
------------

- <http://releases.llvm.org/download.html>
- <https://github.com/llvm/llvm-project>
- <https://llvm.org/docs/GettingStarted.html>
- <https://llvm.org/docs/CMake.html>
- <https://apt.llvm.org/>
- <https://www.archlinux.org/packages/extra/x86_64/llvm/>
- <https://github.com/ClangBuiltLinux/tc-build>
- <https://github.com/ClangBuiltLinux/linux/wiki/Building-Clang-from-source>
- <https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/>
9 changes: 7 additions & 2 deletions Documentation/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -676,16 +676,21 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
ccw_timeout_log [S390]
See Documentation/s390/CommonIO for details.

cgroup_disable= [KNL] Disable a particular controller
Format: {name of the controller(s) to disable}
cgroup_disable= [KNL] Disable a particular controller or optional feature
Format: {name of the controller(s) or feature(s) to disable}
The effects of cgroup_disable=foo are:
- foo isn't auto-mounted if you mount all cgroups in
a single hierarchy
- foo isn't visible as an individually mountable
subsystem
- if foo is an optional feature then the feature is
disabled and corresponding cgroup files are not
created
{Currently only "memory" controller deal with this and
cut the overhead, others just disable the usage. So
only cgroup_disable=memory is actually worthy}
Specifying "pressure" disables per-cgroup pressure
stall information accounting feature

cgroup_no_v1= [KNL] Disable one, multiple, all cgroup controllers in v1
Format: { controller[,controller...] | "all" }
Expand Down
19 changes: 15 additions & 4 deletions Documentation/lzo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ Description
They just have to "refill" this credit if they consume extra bytes. This is
an implementation design choice independent on the algorithm or encoding.

For maximum compatibility, both versions are available under different names
(lzo and lzo-rle). Differences in the encoding are noted in this document with
e.g.: version 1 only.

Byte sequences

First byte encoding :
Expand Down Expand Up @@ -134,6 +138,11 @@ Byte sequences
state = S (copy S literals after this block)
End of stream is reached if distance == 16384

In version 1 only, this instruction is also used to encode a run of
zeros if distance = 0xbfff, i.e. H = 1 and the D bits are all 1.
In this case, it is followed by a fourth byte, X.
run length = ((X << 3) | (0 0 0 0 0 L L L)) + 4.

0 0 1 L L L L L (32..63)
Copy of small block within 16kB distance (preferably less than 34B)
length = 2 + (L ?: 31 + (zero_bytes * 255) + non_zero_byte)
Expand All @@ -158,7 +167,9 @@ Byte sequences
Authors

This document was written by Willy Tarreau <w@1wt.eu> on 2014/07/19 during an
analysis of the decompression code available in Linux 3.16-rc5. The code is
tricky, it is possible that this document contains mistakes or that a few
corner cases were overlooked. In any case, please report any doubt, fix, or
proposed updates to the author(s) so that the document can be updated.
analysis of the decompression code available in Linux 3.16-rc5, and updated
by Dave Rodgman <dave.rodgman@arm.com> on 2018/10/30 to introduce run-length
encoding. The code is tricky, it is possible that this document contains
mistakes or that a few corner cases were overlooked. In any case, please
report any doubt, fix, or proposed updates to the author(s) so that the
document can be updated.
19 changes: 19 additions & 0 deletions Documentation/sysctl/vm.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ Currently, these files are in /proc/sys/vm:
- nr_trim_pages (only if CONFIG_MMU=n)
- numa_zonelist_order
- oom_dump_tasks
- reap_mem_on_sigkill
- oom_kill_allocating_task
- overcommit_kbytes
- overcommit_memory
Expand Down Expand Up @@ -634,6 +635,24 @@ The default value is 1 (enabled).

==============================================================

reap_mem_on_sigkill

This enables or disables the memory reaping for a SIGKILL received
process and that the sending process must have the CAP_KILL capabilities.

If this is set to 1, when a process receives SIGKILL from a process
that has the capability, CAP_KILL, the process is added into the oom_reaper
queue which can be picked up by the oom_reaper thread to reap the memory of
that process. This reaps for the process which received SIGKILL through
either sys_kill from user or kill_pid from kernel.

If this is set to 0, we are not reaping memory of a SIGKILL, sent through
either sys_kill from user or kill_pid from kernel, received process.

The default value is 1 (enabled).

==============================================================

oom_kill_allocating_task

This enables or disables killing the OOM-triggering task in
Expand Down
52 changes: 34 additions & 18 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ SUBARCH := $(shell uname -m | sed -e s/i.86/x86/ -e s/x86_64/x86/ \
# "make" in the configured kernel build directory always uses that.
# Default value for CROSS_COMPILE is not to prefix executables
# Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile
ARCH ?= $(SUBARCH)
ARCH := arm64
CROSS_COMPILE ?= $(CONFIG_CROSS_COMPILE:"%"=%)

# Architecture as present in compile.h
Expand Down Expand Up @@ -301,9 +301,15 @@ CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
else if [ -x /bin/bash ]; then echo /bin/bash; \
else echo sh; fi ; fi)

ifneq ($(LLVM),)
HOSTCC = clang
HOSTCXX = clang++
else
HOSTCC = gcc
HOSTCXX = g++
HOSTCFLAGS := -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
endif

HOSTCFLAGS := -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89 -pipe
HOSTCXXFLAGS = -O2

# Decide whether to build built-in, modular, or both.
Expand Down Expand Up @@ -337,18 +343,28 @@ scripts/Kbuild.include: ;
include scripts/Kbuild.include

# Make variables (CC, etc...)
LDGOLD = $(CROSS_COMPILE)ld.gold
CPP = $(CC) -E
ifneq ($(LLVM),)
CC = clang
LD = ld.lld
AR = llvm-ar
NM = llvm-nm
OBJCOPY = llvm-objcopy
OBJDUMP = llvm-objdump
READELF = llvm-readelf
OBJSIZE = llvm-size
STRIP = llvm-strip
else
AS = $(CROSS_COMPILE)as
LD = $(CROSS_COMPILE)ld
REAL_CC = $(CROSS_COMPILE)gcc
LDGOLD = $(CROSS_COMPILE)ld.gold
REAL_CC = $(CROSS_COMPILE)gcc
CC = $(CROSS_COMPILE)gcc
CPP = $(CC) -E
AR = $(CROSS_COMPILE)ar
NM = $(CROSS_COMPILE)nm
STRIP = $(CROSS_COMPILE)strip
OBJCOPY = $(CROSS_COMPILE)objcopy
OBJDUMP = $(CROSS_COMPILE)objdump
endif
DTC = scripts/dtc/dtc
AWK = awk
GENKSYMS = scripts/genksyms/genksyms
Expand All @@ -358,16 +374,12 @@ PERL = perl
PYTHON = python
CHECK = sparse

# Use the wrapper for the compiler. This wrapper scans for new
# warnings and causes the build to stop upon encountering them
CC = $(PYTHON) $(srctree)/scripts/gcc-wrapper.py $(REAL_CC)

CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \
-Wbitwise -Wno-return-void $(CF)
NOSTDINC_FLAGS =
CFLAGS_MODULE =
AFLAGS_MODULE =
LDFLAGS_MODULE =
LDFLAGS_MODULE = --strip-debug
CFLAGS_KERNEL =
AFLAGS_KERNEL =
LDFLAGS_vmlinux =
Expand Down Expand Up @@ -396,14 +408,15 @@ KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
-fno-strict-aliasing -fno-common -fshort-wchar \
-Werror-implicit-function-declaration \
-Wno-format-security \
-std=gnu89
-std=gnu89 -pipe
KBUILD_CPPFLAGS := -D__KERNEL__
KBUILD_AFLAGS_KERNEL :=
KBUILD_CFLAGS_KERNEL :=
KBUILD_AFLAGS_MODULE := -DMODULE
KBUILD_CFLAGS_MODULE := -DMODULE
KBUILD_LDFLAGS_MODULE := -T $(srctree)/scripts/module-common.lds
GCC_PLUGINS_CFLAGS :=
LDFLAGS :=
CLANG_FLAGS :=

# Read KERNELRELEASE from include/config/kernel.release (if it exists)
Expand Down Expand Up @@ -523,7 +536,9 @@ endif
ifneq ($(GCC_TOOLCHAIN),)
CLANG_FLAGS += --gcc-toolchain=$(GCC_TOOLCHAIN)
endif
ifneq ($(LLVM_IAS),1)
CLANG_FLAGS += -no-integrated-as
endif
CLANG_FLAGS += -Werror=unknown-warning-option
KBUILD_CFLAGS += $(CLANG_FLAGS)
KBUILD_AFLAGS += $(CLANG_FLAGS)
Expand Down Expand Up @@ -642,12 +657,14 @@ all: vmlinux
# Make toolchain changes before including arch/$(SRCARCH)/Makefile to ensure
# ar/cc/ld-* macros return correct values.
ifdef CONFIG_LTO_CLANG
ifneq ($(ld-name),lld)
# use GNU gold with LLVMgold for LTO linking, and LD for vmlinux_link
LDFINAL_vmlinux := $(LD)
LD := $(LDGOLD)
LDFLAGS += -plugin LLVMgold.so
LDFLAGS += -plugin-opt=-function-sections
LDFLAGS += -plugin-opt=-data-sections
endif
# use llvm-ar for building symbol tables from IR files, and llvm-dis instead
# of objdump for processing symbol versions and exports
LLVM_AR := llvm-ar
Expand Down Expand Up @@ -740,7 +757,7 @@ endif
ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
KBUILD_CFLAGS += -Os
else
KBUILD_CFLAGS += -O2
KBUILD_CFLAGS += -O3
endif

ifdef CONFIG_CC_WERROR
Expand Down Expand Up @@ -915,9 +932,6 @@ KBUILD_CFLAGS += $(call cc-option,-fmerge-constants)
# Make sure -fstack-check isn't enabled (like gentoo apparently did)
KBUILD_CFLAGS += $(call cc-option,-fno-stack-check,)

# conserve stack if available
KBUILD_CFLAGS += $(call cc-option,-fconserve-stack)

# disallow errors like 'EXPORT_GPL(foo);' with missing header
KBUILD_CFLAGS += $(call cc-option,-Werror=implicit-int)

Expand Down Expand Up @@ -1202,8 +1216,10 @@ ifdef CONFIG_LTO_CLANG
ifneq ($(call clang-ifversion, -ge, 0500, y), y)
@echo Cannot use CONFIG_LTO_CLANG: requires clang 5.0 or later >&2 && exit 1
endif
ifneq ($(call gold-ifversion, -ge, 112000000, y), y)
@echo Cannot use CONFIG_LTO_CLANG: requires GNU gold 1.12 or later >&2 && exit 1
ifneq ($(ld-name),lld)
ifneq ($(call gold-ifversion, -ge, 112000000, y), y)
@echo Cannot use CONFIG_LTO_CLANG: requires GNU gold 1.12 or later >&2 && exit 1
endif
endif
endif
# Make sure compiler supports LTO flags
Expand Down
3 changes: 3 additions & 0 deletions arch/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,9 @@ config ARCH_HAS_FORTIFY_SOURCE
An architecture should select this when it can successfully
build and run with CONFIG_FORTIFY_SOURCE.

config ARCH_HAS_SET_MEMORY
bool

config FORTIFY_COMPILE_CHECK
depends on ARCH_HAS_FORTIFY_SOURCE
bool
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ config FRAME_POINTER
config OLD_MCOUNT
bool
depends on FUNCTION_TRACER && FRAME_POINTER
default y
default n

config DEBUG_USER
bool "Verbose user fault messages"
Expand Down
Loading