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

Merge new vantomkernel #7

Closed
wants to merge 700 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
700 commits
Select commit Hold shift + click to select a range
2b44633
sched/fair: fix implementation of is_min_capacity_cpu()
cobrien7 Apr 8, 2019
e964f8e
sched: delete unused & buggy function definitions
cobrien7 Apr 15, 2019
30f7a60
cpufreq: schedutil: fix check for stale utilization values
cobrien7 Feb 12, 2019
d107486
sched: fair: balance for single core cluster
weivincewang Sep 21, 2019
e5e1afd
sched/fair: fix misfit with PELT
Nov 18, 2019
cccdf0e
kernel: sched: fix build breakage when PELT enabled
Nov 26, 2019
7090eb4
Revert "sched: fair: Always try to use energy efficient cpu for wakeups"
cobrien7 Dec 5, 2018
9c61c60
sched: Add back defines in sched.h which got removed in 04717e47d06af…
subhajeetmuhuri Aug 26, 2020
9cbdefc
sched: walt: fix build breakage with CONFIG_SCHED_WALT=n
Oct 22, 2018
d43a5de
attribute page lock and waitqueue functions as sched
Nov 18, 2019
97b4035
Roll back sched files
SENSEIIIII Feb 5, 2020
6642071
ANDROID: increase limit on sched-tune boost groups
toddkjos Feb 26, 2020
865d8d1
sched: separate boost signal from placement hint
weivincewang Feb 14, 2020
760f270
sched: adopt capacity margin 20% from EAS PELT's capacity_margin
weivincewang Feb 13, 2020
0815629
sched: bump big core down migration further to 31%
weivincewang Feb 19, 2020
f2b789a
sched/fair: check if mid capacity cpu exists
Rickyiu Feb 25, 2020
fa75821
sched: bump big core down migration further to 35%
weivincewang Feb 26, 2020
0b1f5cc
sched: separate capacity margin for boosted tasks
Rickyiu Mar 25, 2020
549613d
sched/fair: Skip cpu if task does not fit in
Rickyiu Mar 3, 2020
a39da8b
sched: change capacity margin down to 20% for non-boost task
weivincewang Apr 11, 2020
a9a8d53
sched: restrict iowait boost to tasks with prefer_idle
weivincewang Jan 22, 2020
bca4d9d
defconfig: enable PELT
Nov 26, 2019
34ca89c
defconfig: remove CONFIG_CPU_BOOST
weivincewang Sep 14, 2018
ad31a2d
defconfig: turn off CONFIG_SCHED_CORE_CTL
Oct 9, 2018
dcadd93
defconfig: Shorten PELT ramp/delay halflife to 16 ms
kdrag0n Oct 29, 2020
ad899c5
include/linux/ (device-mapper/kernel) : Fix Clang-12 warnings
0wnerDied Aug 31, 2020
3376d5b
drivers: cpufreq: Remove performance cpu governor dependancy
tytydraco Dec 4, 2018
8310172
mm: Do not periodically flush dirty pages
tytydraco Feb 24, 2020
5a93852
sched: Allow realtime tasks to consume entire sched periods
tytydraco Feb 21, 2020
fa93d7e
mm: compaction: avoid 100% CPU usage during compaction when a task is…
gormanm Aug 3, 2019
7f499c6
Optimized Console FrameBuffer for upto 70% increase in Performance
hglm Nov 15, 2017
ea082b7
random: prevent add_input from doing anything
imoseyon Jan 4, 2013
8329796
workqueue: Implement delayed_work_busy()
TheCrazyLex May 23, 2017
64a1eb1
printk: use buffer from the stack space
arter97 Mar 18, 2020
4235264
sched/fair: use actual cpu capacity to calculate boosted util
Rickyiu Oct 19, 2020
b71a343
sched/fair: do not use boosted margin for prefer_high_cap case
Rickyiu Jun 29, 2020
15bca9f
sched/fair: schedule lower priority tasks from little cores
Rickyiu Oct 19, 2020
94679c8
Revert "sched: use rq_clock if WALT is not enabled"
vantoman Oct 19, 2020
1522bed
sched: fix issue of cpu freq running at max always
Rickyiu Oct 19, 2020
770323f
msm: camera: isp: Use boot clock for recording start time
moetayuko Oct 19, 2020
fadf163
sched: fair: placement optimization for heavy load
weivincewang Jul 16, 2020
692a195
Revert "Revert "sched/core: fix userspace affining threads incorrectly""
vantoman Oct 18, 2020
9ba25f7
Revert "Revert "sched/core: Fix use after free issue in is_sched_lib_…
vantoman Oct 18, 2020
b3e822b
Revert "Revert "sched: Improve the scheduler""
vantoman Oct 18, 2020
3142f49
sched/core: fix userspace affining threads incorrectly by task name.
Aug 13, 2020
84616e9
sched/fair: Fix a warning
CloudedQuartz Mar 21, 2021
c745ff4
Revert "nl80211: fix non-split wiphy information"
vantoman Oct 31, 2020
ae6c178
sched/boost: Inhibit boosting functionality
kdrag0n Nov 3, 2020
f3649e2
cpuidle: Change idle policy to always enter C1 first
Nov 20, 2019
8a83c33
tcp_output: set initial TCP window size to 64K (speed improvement)
andip71 Aug 1, 2016
4b919ca
ARM64: configs: Disable EDAC
kdrag0n Nov 21, 2020
05e2297
f2fs: set ioprio of GC kthread to idle
arter97 Sep 26, 2017
66113ff
f2fs: Demote GC thread to idle scheduler class
kdrag0n Nov 25, 2020
35c4db1
arm64: dts: sdmmagpie: Power off DSI PHY during idle PC
kdrag0n Dec 10, 2020
0a7f553
ARM64: configs: Enable support for USB ACM devices
kdrag0n Dec 2, 2020
fec3d62
arm64: dts: sdmmagpie: Don't ratelimit userspace kmsg logging
kdrag0n Dec 10, 2020
2ee3a17
hwrng: core - Freeze khwrng thread during suspend
bebarino Jan 9, 2021
5a5ee18
random: Support freezable kthreads in add_hwgenerator_randomness()
bebarino Jan 9, 2021
cf8852d
random: Use wait_event_freezable() in add_hwgenerator_randomness()
bebarino Jan 9, 2021
edf5397
icnss: Fix log spam caused by wrong paired PM operation for ICNSS
0wnerDied Dec 20, 2020
9511237
drm/msm: do not notify events when the system is shutting down
arter97 Apr 6, 2019
66f43cb
drm/msm/dsi-staging: allow physical power-off
arter97 Jul 17, 2019
e8da234
drm/msm/dsi-staging: enable ULPS
arter97 Jul 17, 2019
f5e47e7
qos: Don't allow userspace to impose restrictions on CPU idle levels
kerneltoast May 3, 2019
9a68b56
sched: features: Disable EAS_PREFER_IDLE
kholk Jan 10, 2021
b10b28b
selinux: Allow audit to be disabled
tytydraco Jan 12, 2021
c2ad3be
defconfig: disable audit
vantoman Jan 12, 2021
3f067e0
drivers: Increase data processing limit
raphielscape Dec 29, 2020
91c7d39
drivers: gpu: msm: use funroll-loops and ffast-math
raphielscape Dec 29, 2020
914625e
fs: Add exFAT
arter97 Nov 7, 2019
a3bc116
ARM64: configs: {davinci,toco,tucana,phoenix}: Enable exFAT
arter97 Nov 7, 2019
aa0ef43
drm: sde: add delay before and after fod hbm command for eb panels
trpsl Jan 27, 2021
5974fa7
dsi_panel: provide correct bl level for eb panels
SVB22 Jan 30, 2021
43f8452
Added Vibration Control
zinqshere Jun 27, 2019
8db4030
leds: vibrator_ldo: export vmax_mv as vtg_level
YaAlex3 Feb 3, 2021
c3c2eea
tcp: avoid min-RTT overestimation from delayed ACKs
yuchungcheng Jan 17, 2018
9364df5
tcp: avoid min RTT bloat by skipping RTT from delayed-ACK in BBR
yuchungcheng Jan 17, 2018
9166c72
tcp_bbr: better deal with suboptimal GSO (II)
Feb 28, 2018
a0944bf
tcp_bbr: remove bbr->tso_segs_goal
Feb 28, 2018
4bb4013
net-tcp_bbr: set tp->snd_ssthresh to BDP upon STARTUP exit
yousukseung Mar 16, 2018
2e8e052
tcp_bbr: fix bbr pacing rate for internal pacing
Jun 20, 2018
7a0ed42
tcp_bbr: add bbr_check_probe_rtt_done() helper
yydcool Aug 22, 2018
4830a12
tcp_bbr: in restart from idle, see if we should exit PROBE_RTT
yydcool Aug 22, 2018
1e2d6c5
tcp_bbr: apply PROBE_RTT cwnd cap even if acked==0
yydcool Aug 22, 2018
f02460d
tcp_bbr: centralize code to set gains
nealcardwell Oct 17, 2018
8a63d42
tcp_bbr: refactor bbr_target_cwnd() for general inflight provisioning
Jan 23, 2019
6fe0b5c
tcp_bbr: adapt cwnd based on ack aggregation estimation
Jan 23, 2019
fcd33b1
FROMGIT: net-tcp_bbr: broaden app-limited rate sample detection
nealcardwell Jun 11, 2019
7c0f332
BACKPORT: FROMGIT: net-tcp_rate: consolidate inflight tracking approa…
yuchungcheng Mar 28, 2018
2468577
BACKPORT: FROMGIT: net-tcp_bbr: v2: shrink delivered_mstamp, first_tx…
nealcardwell Jun 25, 2018
6674e35
ARM64: configs: {davinci,pheonix}: Enable CONFIG_TCP_CONG_BBR and set…
RenderBroken Dec 17, 2019
69ded70
ARM64: configs: {davinci,phoenix}: Disable IKHEADERS
UtsavBalar1231 Oct 21, 2020
2cb2f5c
scripts: Don't append "+" to localversion
kerneltoast May 14, 2018
4be0291
Defconfig: It's VantomKernel Time
vantoman Mar 24, 2021
151647d
kernel: Use the stock defconfig for /proc/config.gz
kerneltoast Jun 10, 2018
a581724
mm/vmalloc.c: make vmalloc_32_user() align base kernel virtual addres…
Mar 5, 2019
217f6a0
mm/vmalloc: pass VM_USERMAP flags directly to __vmalloc_node_range()
Mar 5, 2019
b706018
vmalloc: export __vmalloc_node_range for CONFIG_TEST_VMALLOC_MODULE
urezki Mar 5, 2019
6ed6757
mm/vmalloc.c: add priority threshold to __purge_vmap_area_lazy()
urezki May 14, 2019
570f067
mm/vmalloc.c: convert vmap_lazy_nr to atomic_long_t
urezki May 14, 2019
fb808a6
mm/vmalloc.c: keep track of free blocks for vmap allocation
urezki May 17, 2019
6a7e2f4
mm/vmap: add DEBUG_AUGMENT_PROPAGATE_CHECK macro
urezki May 17, 2019
9e3d7c5
mm/vmap: add DEBUG_AUGMENT_LOWEST_MATCH_CHECK macro
urezki May 17, 2019
e669461
mm/vmalloc.c: fix typo in comment
akpm00 Jun 1, 2019
90cb045
mm/vmalloc.c: avoid bogus -Wmaybe-uninitialized warning
arndb Jun 28, 2019
60470c5
mm/vmalloc.c: remove "node" argument
urezki Jul 12, 2019
92a399e
mm/vmalloc.c: preload a CPU with one object for split purpose
urezki Jul 12, 2019
7971c35
mm/vmalloc.c: get rid of one single unlink_va() when merge
urezki Jul 12, 2019
4db408d
mm/vmalloc.c: switch to WARN_ON() and move it under unlink_va()
urezki Jul 12, 2019
9c00a41
arm64: Select ARCH_HAS_FAST_MULTIPLIER
rmurphy-arm Apr 24, 2018
09801c8
procfs: add seq_put_hex_ll to speed up /proc/pid/maps
avagin Apr 10, 2018
2a7c904
procfs: optimize seq_pad() to speed up /proc/pid/maps
avagin Apr 10, 2018
4b19899
proc: get rid of task lock/unlock pair to read umask for the "status"…
Apr 10, 2018
982fcb2
proc: do less stuff under ->pde_unload_lock
Apr 10, 2018
be0405e
proc: move /proc/sysvipc creation to where it belongs
Apr 10, 2018
956fed7
proc: faster open/close of files without ->release hook
Apr 10, 2018
33e5ce3
fs/proc: use __ro_after_init
Feb 6, 2018
86aa3c6
proc: move "struct pde_opener" to kmem cache
Apr 10, 2018
dd3d671
proc: account "struct pde_opener"
Apr 10, 2018
609d019
mm: account pud page tables
kiryl Nov 16, 2017
6ec3b32
mm: introduce wrappers to access mm->nr_ptes
kiryl Nov 16, 2017
8d1211b
mm: consolidate page table accounting
kiryl Nov 16, 2017
4dade88
fs/proc/task_mmu.c: do not show VmExe bigger than total executable vi…
koct9i Feb 1, 2018
12ba19c
proc: add seq_put_decimal_ull_width to speed up /proc/pid/smaps
avagin Apr 10, 2018
a12de6b
proc: replace seq_printf on seq_putc to speed up /proc/pid/smaps
avagin Apr 10, 2018
7d4cedb
proc: optimize single-symbol delimiters to spead up seq_put_decimal_ull
avagin Apr 10, 2018
184cdfb
proc: replace seq_printf by seq_put_smth to speed up /proc/pid/status
avagin Apr 10, 2018
9ff32ea
proc: check permissions earlier for /proc/*/wchan
Apr 10, 2018
27c6495
proc: use set_puts() at /proc/*/wchan
Apr 10, 2018
a809667
fs/proc/proc_sysctl.c: remove redundant link check in proc_sys_link_f…
Apr 10, 2018
b3d22ec
proc: fix /proc/*/map_files lookup some more
Apr 10, 2018
f521a78
proc: register filesystem last
Apr 10, 2018
2e56c96
proc: faster /proc/cmdline
Apr 10, 2018
a8656b1
proc: do mmput ASAP for /proc/*/map_files
Apr 10, 2018
8c3af76
proc: reject "." and ".." as filenames
Apr 10, 2018
553e94a
mm, page_alloc: double zone's batchsize
aaronlu Aug 17, 2018
243b2cb
mm/vmalloc: do not keep unpurged areas in the busy tree
urezki Jul 16, 2019
e25f795
mm/vmalloc.c: fix percpu free VM area search criteria
Aug 13, 2019
cc5bb10
mm/vmalloc: modify struct vmap_area to reduce its size
Sep 23, 2019
528923b
mm/vmalloc: remove preempt_disable/enable when do preloading
urezki Oct 16, 2019
069a713
mm/vmalloc: respect passed gfp_mask when do preloading
urezki Oct 16, 2019
8cd96c5
mm/vmalloc: add more comments to the adjust_va_to_fit_type()
urezki Oct 16, 2019
3b19d61
mm/vmalloc: rework vmap_area_lock
urezki Oct 22, 2019
87199f8
blkdev: switch to SSD mode, disable IO stats and entropy gathering
YaroST12 Dec 28, 2019
2255e07
qcom-rpmh-mailbox: silence, driver!
YaroST12 Jan 26, 2020
26e3e45
BACKPORT: sched/fair: Fall back to sched-idle CPU if idle CPU isn't f…
vireshk Jun 26, 2019
f064f3d
BACKPORT: sched/fair: Make sched-idle CPU selection consistent throug…
vireshk Nov 14, 2019
7b1cb35
BACKPORT: sched/fair: Load balance aggressively for SCHED_IDLE CPUs
vireshk Jan 8, 2020
74811a5
power: supply: Classify Battery Monitor Systems as batteries
kdrag0n Aug 15, 2019
502760b
power: Stabilize fluctuation in charging speed
neobuddy89 Jun 16, 2020
0bcd354
diag: Add timer to make sure wakelock no stuck
Dec 12, 2017
8280b3a
power: suspend: Add suspend timeout handler
Jun 25, 2019
e6d5f6a
arm64: kernel: Allow perf events without tracing
tytydraco Mar 26, 2020
fb4c4d3
drivers: char: mem: Reroute random fops to urandom
tytydraco Feb 19, 2020
dafc5d0
cnss: Do not mandate TESTMODE for netlink driver
tytydraco Feb 20, 2020
0fdf195
mm: Increase vmstat interval
tytydraco May 24, 2019
56a709c
sched: Process new forks before processing their parent
tytydraco Feb 17, 2020
fb773a2
sched: Enable NEXT_BUDDY for better cache locality
tytydraco May 12, 2019
b2cf589
sched: Reduce the opportunity for sleepers to preempt
tytydraco Jan 11, 2021
04da7b2
sched: Ideally use 10ms scheduling periods
tytydraco Jun 23, 2020
a239651
Revert "sched/core: Fix PI boosting between RT and DEADLINE tasks"
vantoman Aug 26, 2020
d73db68
arm64: dts: Allow big cluster to idle in USB perf mode
kdrag0n Dec 30, 2020
9763a2a
cpu: Silence log spam when a CPU is brought up
kerneltoast Oct 25, 2020
a19c680
workqueue: Schedule workers on CPU0 or 0-5 by default
kerneltoast Nov 29, 2017
5bb8ae5
sched: Do not give sleepers 50% more runtime
tytydraco Jun 17, 2020
dd0ed00
mm: compaction: Add automatic compaction mechanism
TheCrazyLex Mar 4, 2017
0d3273f
mm: compaction: switch FB notifier API to MSM DRM notifier
arter97 Oct 30, 2018
b6b9c16
defconfig: enable NTFS support
vantoman Oct 7, 2020
95c6e76
defconfig: enable xfs
vantoman Jan 6, 2021
29c682b
irqchip/qcom: mpm: Remove IRQF_NO_SUSPEND
Feb 25, 2021
70f9b27
sched: Improve the scheduler
DefinitelyNOTobscenelyvague Feb 15, 2019
b09b99b
sched: fair: Fix load balancing for big tasks
diepquynh Jan 7, 2021
caf5881
sched/fair: Don't remove important task migration logic from PELT
kerneltoast Jan 29, 2021
a800bb4
drivers: misc: power: implement usb2 fast charge mode
engstk Jul 31, 2017
54b8f4f
drivers: fastchg: Force fast charge by default
Panchajanya1999 Nov 3, 2020
c0e0141
thermal: core: Custom thermal limits handling
Demon000 Dec 2, 2019
5179664
thermal: core: Use qcom drm notifier
Demon000 Dec 2, 2019
76e6054
thermal: cpu_cooling: Simplify cpu_limits_set_level
YaroST12 Apr 20, 2020
aa263f5
thermal: core: Import Xiaomi board_sensor and thermal message changes
ArianK16a Jun 25, 2020
9fd5448
thermal: fix snprintf warning
Dec 27, 2020
137fcce
msm: tsens: fix broken loggers
YaroST12 Jun 7, 2019
1760a39
thermal: fix snprintf warning
vantoman Jan 16, 2021
006cad6
thermal: core: skip update disabled thermal zones after suspend
weivincewang Apr 15, 2019
93a828c
drivers: thermal: Ignore spurious BCL interrupts whenever BCL is in p…
Mar 5, 2019
ab53fa0
drivers: arch_topology: wire up thermal limit for arch_scale_max_freq…
weivincewang Nov 8, 2019
4248f34
msm: kgsl: Don't allocate memory dynamically for drawobj sync structs
kerneltoast Jun 16, 2019
fd8e2f4
msm: kgsl: Don't allocate memory dynamically for temp command buffers
kerneltoast Jun 17, 2019
2776d51
msm: kgsl: Avoid dynamically allocating small command buffers
kerneltoast Jul 2, 2019
05c8819
cpumask: Add cpumasks for big and LITTLE CPU clusters
kerneltoast Apr 15, 2019
b69ba8f
ARM64: configs: {davinci,phoenix,toco,tucana}: Declare cpu masks
vantoman Nov 27, 2019
4c2caf5
kernel: Add bi-cluster API to affine IRQs and kthreads to fast CPUs
kerneltoast Jan 10, 2021
c14e921
kernel: Extend the perf-critical API to little CPUs
kerneltoast Jan 26, 2021
cd6246c
kernel: Warn when an IRQ's affinity notifier gets overwritten
kerneltoast Aug 15, 2020
157cb86
workqueue: Affine unbound workqueues to little CPUs by default
kerneltoast Jan 29, 2021
09224e2
drm/msm: Affine important kthreads to the big CPU cluster
kerneltoast Dec 26, 2020
71ac9d7
drm/msm/sde: Remove pm_qos usage
celtare21 Aug 8, 2020
00ff3af
ARM: dts: msm: Remove pm-qos values
celtare21 Aug 8, 2020
56d0d90
techpack: sm6150: Remove qos usage
Panchajanya1999 Aug 10, 2020
96141f8
sde: rotator: Remove pm_qos usage
celtare21 Aug 1, 2020
146ebbc
drm: Reduce latency while processing atomic ioctls
kerneltoast Dec 31, 2020
703c400
msm: kgsl: Stop slab shrinker when no more pages can be reclaimed
surenbaghdasaryan Dec 5, 2017
6867c75
drivers: gpu: drm: sde_sb: Specify sync probe for sde_wb
Oct 31, 2018
886e036
drivers: gpu: drm: msm_smmu: Specify sync probe for msmdrm_smmu
Oct 31, 2018
40df068
ion: adjust system heap pool orders
Jun 11, 2019
6ad8409
mm: improve migration heuristic
Jun 11, 2019
d472c36
proc: some optimiza for reclaim
Feb 23, 2018
5e878cb
f2fs: add trim stop mechanism
Apr 16, 2019
dea7587
f2fs: avoid needless checkpoint during fsync
Feb 20, 2020
03f01a7
Revert "arm64: vdso: Fix clock_getres() for CLOCK_REALTIME"
khusika Sep 16, 2019
882536e
Revert "ARM: vdso: Remove dependency with the arch_timer driver inter…
khusika Sep 16, 2019
a631a89
FROMLIST: [PATCH v3 1/3] arm64: compat: Split the sigreturn trampolin…
kevin-brodsky-arm Nov 23, 2016
b86f4c0
FROMLIST: [PATCH v3 2/3] arm64: compat: Split the sigreturn trampolin…
kevin-brodsky-arm Nov 23, 2016
c5affb6
FROMLIST: [PATCH v3 3/3] arm64: compat: Add CONFIG_KUSER_HELPERS
kevin-brodsky-arm Nov 23, 2016
2a0ae16
FROMLIST: [PATCH v5 01/12] arm: vdso: rename vdso_datapage variables
Aug 17, 2017
44dbd47
FROMLIST: [PATCH v5 02/12] arm: vdso: add include file defining __get…
Aug 17, 2017
44c8f58
FROMLIST: [PATCH v5 03/12] arm: vdso: inline assembler operations to …
Aug 17, 2017
5720473
FROMLIST: [PATCH v5 04/12] arm: vdso: do calculations outside reader …
Aug 17, 2017
4207e62
FROMLIST: [PATCH v6 05/12] arm: vdso: Add support for CLOCK_MONOTONIC…
Aug 17, 2017
af5a1d8
FROMLIST: [PATCH v5 06/12] arm: vdso: add support for clock_getres
Aug 17, 2017
4af60e2
FROMLIST: [PATCH v5 07/12] arm: vdso: disable profiling
Oct 12, 2017
a3e0ffe
FROMLIST: [PATCH v5 08/12] arm: vdso: Add ARCH_CLOCK_FIXED_MASK
Aug 17, 2017
d3d3716
FROMLIST: [PATCH v5 09/12] arm: vdso: move vgettimeofday.c to lib/vdso/
Oct 12, 2017
2b4a657
FROMLIST: [PATCH v5 10/12] arm64: vdso: replace gettimeofday.S with g…
Aug 4, 2017
1b142bd
FROMLIST: [PATCH v5 11/12] lib: vdso: Add support for CLOCK_BOOTTIME
Aug 24, 2017
6fca3fe
FROMLIST: [PATCH v5 12/12] lib: vdso: do not expose gettimeofday, if …
Oct 27, 2017
ab615f3
FROMLIST: [PATCH] arm64: compat: Expose offset to registers in sigframes
kevin-brodsky-arm May 10, 2016
39251b0
FROMLIST: lib: vdso: add support for time
Oct 27, 2017
2fc5bfd
FROMLIST: [PATCH 1/6] arm64: compat: Use vDSO sigreturn trampolines i…
kevin-brodsky-arm May 12, 2016
365ef88
FROMLIST: [PATCH 2/6] arm64: elf: Set AT_SYSINFO_EHDR in compat proce…
kevin-brodsky-arm May 12, 2016
c717961
FROMLIST: BACKPORT: [PATCH 3/6] arm64: Refactor vDSO init/setup
kevin-brodsky-arm May 10, 2016
c3fc4af
FROMLIST: [PATCH 4/6] arm64: compat: Add a 32-bit vDSO
kevin-brodsky-arm May 11, 2016
2a9ac36
FROMLIST: [PATCH 5/6] arm64: compat: 32-bit vDSO setup
kevin-brodsky-arm Sep 8, 2016
6c23be5
FROMLIST: BACKPORT: [PATCH 6/6] arm64: Wire up and expose the new com…
kevin-brodsky-arm May 13, 2016
222ab60
ANDROID: CROSS_COMPILE_ARM32 must work if CONFIG_COMPAT_VDSO
Mar 28, 2017
402866b
ANDROID: clock_gettime(CLOCK_BOOTTIME,) slows down >20x
Jan 24, 2018
def7eac
FROMLIST: arm64: vdso32: Use full path to Clang instead of relying on…
nathanchance May 22, 2018
8604267
vdso32: Invoke clang with correct path to GCC toolchain
danielmentzgoogle Feb 21, 2019
e1b4d7c
ANDROID: turn on VCT access from 32-bit applications
Jan 25, 2018
75c3476
FROMLIST: arm64: Build vDSO with -ffixed-x18
pcc Nov 7, 2018
ba370fb
arm64: vdso32: Fix '--prefix=' value for newer versions of clang
nathanchance Jul 23, 2020
d38cde4
ARM64: configs: {davinci,phoenix,toco,tucana}: Enable VDSO
Feb 19, 2021
03daace
Revert "drm: msm: dsi-staging: implement doze mode"
vantoman Mar 28, 2021
a218a7a
power: maxim: Fix invalid casting from a pointer to integer.
vantoman Mar 9, 2021
b19014c
dm: bow, req-crypt: Remove SECTOR_SIZE macro definition
krasCGQ Dec 27, 2020
bfa0471
Revert "drm/msm/dsi-staging: enable ULPS"
vantoman Apr 1, 2021
7c41c23
proc: cmdline: Patch SafetyNet flags
kerneltoast Jan 20, 2020
5d7561d
proc: cmdline: Patch vbmeta device state flag for SafetyNet
kdrag0n Jun 12, 2020
7a6f9b5
cmdline: replace instead of remove for SafetyNet CTS pass
tbalden May 14, 2020
7268e97
cmdline: extend replace for veritymode 'enforcing' SafetyNet
tbalden May 15, 2020
13390d7
cmdline: Clean up dead code
neobuddy89 Sep 9, 2020
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
  •  
  •  
  •  
Empty file added Android.mk
Empty file.
7 changes: 0 additions & 7 deletions Documentation/devicetree/bindings/gpu/adreno.txt
Original file line number Diff line number Diff line change
Expand Up @@ -194,13 +194,6 @@ Optional Properties:
Specify the number of macrotiling channels for this chip.
This is programmed into certain registers and also pass to
the user as a property.
- qcom,l2pc-cpu-mask:
Disables L2PC on masked CPUs when any of Graphics
rendering thread is running on masked CPUs.
Bit 0 is for CPU-0, bit 1 is for CPU-1...

- qcom,l2pc-update-queue:
Disables L2PC on masked CPUs at queue time when it's true.

- qcom,snapshot-size:
Specify the size of snapshot in bytes. This will override
Expand Down
3 changes: 3 additions & 0 deletions Documentation/devicetree/bindings/i2c/i2c.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ wants to support one of the below features, it should adapt the bindings below.
- wakeup-source
device can be used as a wakeup source.

- async-suspend
device supports async suspend/resume.

- reg
I2C slave addresses

Expand Down
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/net/btusb.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Following example uses irq pin number 3 of gpio0 for out of band wake-on-bt:
compatible = "usb1286,204e";
reg = <1>;
interrupt-parent = <&gpio0>;
interrupt-name = "wakeup";
interrupt-names = "wakeup";
interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
};
};
1 change: 0 additions & 1 deletion Documentation/filesystems/proc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,6 @@ Table 1-2: Contents of the status files (as of 4.8)
VmExe size of text segment
VmLib size of shared library code
VmPTE size of page table entries
VmPMD size of second level page tables
VmSwap amount of swap used by anonymous private data
(shmem swap usage is not included)
HugetlbPages size of hugetlb memory portions
Expand Down
8 changes: 3 additions & 5 deletions Documentation/filesystems/sysfs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -211,12 +211,10 @@ Other notes:
is 4096.

- show() methods should return the number of bytes printed into the
buffer. This is the return value of scnprintf().
buffer.

- show() must not use snprintf() when formatting the value to be
returned to user space. If you can guarantee that an overflow
will never happen you can use sprintf() otherwise you must use
scnprintf().
- show() should only use sysfs_emit() or sysfs_emit_at() when formatting
the value to be returned to user space.

- store() should return the number of bytes used from the buffer. If the
entire buffer has been used, just return the count argument.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/sysctl/vm.txt
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ oom_dump_tasks

Enables a system-wide task dump (excluding kernel threads) to be produced
when the kernel performs an OOM-killing and includes such information as
pid, uid, tgid, vm size, rss, nr_ptes, nr_pmds, swapents, oom_score_adj
pid, uid, tgid, vm size, rss, pgtables_bytes, swapents, oom_score_adj
score, and name. This is helpful to determine why the OOM killer was
invoked, to identify the rogue task that caused it, and to determine why
the OOM killer chose the task it did to kill.
Expand Down
26 changes: 11 additions & 15 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
VERSION = 4
PATCHLEVEL = 14
SUBLEVEL = 217
SUBLEVEL = 228
EXTRAVERSION =
NAME = Petit Gorille

Expand Down Expand Up @@ -377,7 +377,7 @@ endif
# Make variables (CC, etc...)
AS = $(CROSS_COMPILE)as
LD = $(CROSS_COMPILE)ld
REAL_CC = $(CROSS_COMPILE)gcc
CC = $(CROSS_COMPILE)gcc
LDGOLD = $(CROSS_COMPILE)ld.gold
CPP = $(CC) -E
AR = $(CROSS_COMPILE)ar
Expand All @@ -393,10 +393,6 @@ 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 =
Expand Down Expand Up @@ -762,7 +758,6 @@ ifeq ($(cc-name),clang)
KBUILD_CFLAGS += $(call cc-disable-warning, format-invalid-specifier)
KBUILD_CFLAGS += $(call cc-disable-warning, gnu)
KBUILD_CFLAGS += $(call cc-disable-warning, duplicate-decl-specifier)
KBUILD_CFLAGS += -fno-builtin
KBUILD_CFLAGS += $(call cc-option, -Wno-undefined-optimized)
KBUILD_CFLAGS += $(call cc-option, -Wno-tautological-constant-out-of-range-compare)
KBUILD_CFLAGS += $(call cc-option, -mllvm -disable-struct-const-merge)
Expand Down Expand Up @@ -838,6 +833,13 @@ ifdef CONFIG_FUNCTION_TRACER
ifndef CC_FLAGS_FTRACE
CC_FLAGS_FTRACE := -pg
endif
ifdef CONFIG_FTRACE_MCOUNT_RECORD
# gcc 5 supports generating the mcount tables directly
ifeq ($(call cc-option-yn,-mrecord-mcount),y)
CC_FLAGS_FTRACE += -mrecord-mcount
export CC_USING_RECORD_MCOUNT := 1
endif
endif
export CC_FLAGS_FTRACE
ifdef CONFIG_HAVE_FENTRY
CC_USING_FENTRY := $(call cc-option, -mfentry -DCC_USING_FENTRY)
Expand Down Expand Up @@ -989,12 +991,6 @@ KBUILD_CFLAGS += $(call cc-option,-Werror=designated-init)
# change __FILE__ to the relative path from the srctree
KBUILD_CFLAGS += $(call cc-option,-fmacro-prefix-map=$(srctree)/=)

# ensure -fcf-protection is disabled when using retpoline as it is
# incompatible with -mindirect-branch=thunk-extern
ifdef CONFIG_RETPOLINE
KBUILD_CFLAGS += $(call cc-option,-fcf-protection=none)
endif

# use the deterministic mode of AR if available
KBUILD_ARFLAGS := $(call ar-option,D)

Expand Down Expand Up @@ -1400,7 +1396,7 @@ headers_install: __headers
$(error Headers not exportable for the $(SRCARCH) architecture))
$(Q)$(MAKE) $(hdr-inst)=include/uapi dst=include
$(Q)$(MAKE) $(hdr-inst)=arch/$(hdr-arch)/include/uapi $(hdr-dst)
$(Q)$(MAKE) $(hdr-inst)=techpack
$(Q)$(MAKE) $(hdr-inst)=techpack/audio/include/uapi dst=techpack/audio/include

PHONY += headers_check_all
headers_check_all: headers_install_all
Expand All @@ -1410,7 +1406,7 @@ PHONY += headers_check
headers_check: headers_install
$(Q)$(MAKE) $(hdr-inst)=include/uapi dst=include HDRCHECK=1
$(Q)$(MAKE) $(hdr-inst)=arch/$(hdr-arch)/include/uapi $(hdr-dst) HDRCHECK=1
$(Q)$(MAKE) $(hdr-inst)=techpack HDRCHECK=1
$(Q)$(MAKE) $(hdr-inst)=techpack/audio/include/uapi dst=techpack/audio/include HDRCHECK=1

# ---------------------------------------------------------------------------
# Kernel selftest
Expand Down
12 changes: 11 additions & 1 deletion arch/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1077,6 +1077,16 @@ config STRICT_MODULE_RWX
and non-text memory will be made non-executable. This provides
protection against certain security exploits (e.g. writing to text)

config ARCH_HAS_REFCOUNT_FULL
bool
select ARCH_HAS_REFCOUNT
help
An architecture selects this when the optimized refcount_t
implementation it provides covers all the cases that
CONFIG_REFCOUNT_FULL covers as well, in which case it makes no
sense to even offer CONFIG_REFCOUNT_FULL as a user selectable
option.

config ARCH_HAS_REFCOUNT
bool
help
Expand All @@ -1090,7 +1100,7 @@ config ARCH_HAS_REFCOUNT
against bugs in reference counts.

config REFCOUNT_FULL
bool "Perform full reference count validation at the expense of speed"
bool "Perform full reference count validation at the expense of speed" if !ARCH_HAS_REFCOUNT_FULL
help
Enabling this switches the refcounting infrastructure from a fast
unchecked atomic_t implementation to a fully state checked
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/compressed/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -1090,9 +1090,9 @@ __armv4_mmu_cache_off:
__armv7_mmu_cache_off:
mrc p15, 0, r0, c1, c0
#ifdef CONFIG_MMU
bic r0, r0, #0x000d
bic r0, r0, #0x0005
#else
bic r0, r0, #0x000c
bic r0, r0, #0x0004
#endif
mcr p15, 0, r0, c1, c0 @ turn MMU and cache off
mov r12, lr
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/at91-sama5d27_som1.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@
pinctrl-0 = <&pinctrl_macb0_default>;
phy-mode = "rmii";

ethernet-phy@0 {
reg = <0x0>;
ethernet-phy@7 {
reg = <0x7>;
interrupt-parent = <&pioA>;
interrupts = <PIN_PD31 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/exynos3250-monk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
s2mps14_pmic@66 {
compatible = "samsung,s2mps14-pmic";
interrupt-parent = <&gpx0>;
interrupts = <7 IRQ_TYPE_NONE>;
interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
reg = <0x66>;
wakeup-source;

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/exynos3250-rinato.dts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@
s2mps14_pmic@66 {
compatible = "samsung,s2mps14-pmic";
interrupt-parent = <&gpx0>;
interrupts = <7 IRQ_TYPE_NONE>;
interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
reg = <0x66>;
wakeup-source;

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/exynos5250-spring.dts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
compatible = "samsung,s5m8767-pmic";
reg = <0x66>;
interrupt-parent = <&gpx3>;
interrupts = <2 IRQ_TYPE_NONE>;
interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&s5m8767_irq &s5m8767_dvs &s5m8767_ds>;
wakeup-source;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/exynos5420-arndale-octa.dts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
reg = <0x66>;

interrupt-parent = <&gpx3>;
interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&s2mps11_irq>;

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/imx6qdl-gw52xx.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@

/* VDD_AUD_1P8: Audio codec */
reg_aud_1p8v: ldo3 {
regulator-name = "vdd1p8";
regulator-name = "vdd1p8a";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-boot-on;
Expand Down
3 changes: 0 additions & 3 deletions arch/arm/boot/dts/lpc32xx.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -323,9 +323,6 @@

clocks = <&xtal_32k>, <&xtal>;
clock-names = "xtal_32k", "xtal";

assigned-clocks = <&clk LPC32XX_CLK_HCLK_PLL>;
assigned-clock-rates = <208000000>;
};
};

Expand Down
2 changes: 2 additions & 0 deletions arch/arm/boot/dts/omap443x.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,12 @@
};

ocp {
/* 4430 has only gpio_86 tshut and no talert interrupt */
bandgap: bandgap@4a002260 {
reg = <0x4a002260 0x4
0x4a00232C 0x4>;
compatible = "ti,omap4430-bandgap";
gpios = <&gpio3 22 GPIO_ACTIVE_HIGH>;

#thermal-sensor-cells = <0>;
};
Expand Down
2 changes: 0 additions & 2 deletions arch/arm/include/asm/cp15.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@
#define BPIALL __ACCESS_CP15(c7, 0, c5, 6)
#define ICIALLU __ACCESS_CP15(c7, 0, c5, 0)

#define CNTVCT __ACCESS_CP15_64(1, c14)

extern unsigned long cr_alignment; /* defined in entry-armv.S */

static inline unsigned long get_cr(void)
Expand Down
37 changes: 31 additions & 6 deletions arch/arm/include/asm/vdso_datapage.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,28 +24,53 @@

#include <asm/page.h>

#ifndef _VDSO_WTM_CLOCK_SEC_T
#define _VDSO_WTM_CLOCK_SEC_T
typedef u32 vdso_wtm_clock_nsec_t;
#endif

#ifndef _VDSO_XTIME_CLOCK_SEC_T
#define _VDSO_XTIME_CLOCK_SEC_T
typedef u32 vdso_xtime_clock_sec_t;
#endif

#ifndef _VDSO_RAW_TIME_SEC_T
#define _VDSO_RAW_TIME_SEC_T
typedef u32 vdso_raw_time_sec_t;
#endif

/* Try to be cache-friendly on systems that don't implement the
* generic timer: fit the unconditionally updated fields in the first
* 32 bytes.
*/
struct vdso_data {
u32 seq_count; /* sequence count - odd during updates */
u16 tk_is_cntvct; /* fall back to syscall if false */
u32 tb_seq_count; /* sequence count - odd during updates */
u16 use_syscall; /* fall back to syscall if true */
u16 cs_shift; /* clocksource shift */
u32 xtime_coarse_sec; /* coarse time */
u32 xtime_coarse_nsec;

u32 wtm_clock_sec; /* wall to monotonic offset */
u32 wtm_clock_nsec;
u32 xtime_clock_sec; /* CLOCK_REALTIME - seconds */
u32 cs_mult; /* clocksource multiplier */
/* wall to monotonic offset */
u32 wtm_clock_sec;
vdso_wtm_clock_nsec_t wtm_clock_nsec;
/* CLOCK_REALTIME - seconds */
vdso_xtime_clock_sec_t xtime_clock_sec;
u32 cs_mono_mult; /* clocksource multiplier */

u64 cs_cycle_last; /* last cycle value */
u64 cs_mask; /* clocksource mask */

u64 xtime_clock_snsec; /* CLOCK_REALTIME sub-ns base */
u32 tz_minuteswest; /* timezone info for gettimeofday(2) */
u32 tz_dsttime;

u32 btm_sec; /* monotonic to boot time */
u32 btm_nsec;
/* Raw clocksource multipler */
u32 cs_raw_mult;
/* Raw time */
vdso_raw_time_sec_t raw_time_sec;
u32 raw_time_nsec;
};

union vdso_data_store {
Expand Down
14 changes: 8 additions & 6 deletions arch/arm/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -667,18 +667,20 @@ struct page *get_signal_page(void)

addr = page_address(page);

/* Poison the entire page */
memset32(addr, __opcode_to_mem_arm(0xe7fddef1),
PAGE_SIZE / sizeof(u32));

/* Give the signal return code some randomness */
offset = 0x200 + (get_random_int() & 0x7fc);
signal_return_offset = offset;

/*
* Copy signal return handlers into the vector page, and
* set sigreturn to be a pointer to these.
*/
/* Copy signal return handlers into the page */
memcpy(addr + offset, sigreturn_codes, sizeof(sigreturn_codes));

ptr = (unsigned long)addr + offset;
flush_icache_range(ptr, ptr + sizeof(sigreturn_codes));
/* Flush out all instructions in this page */
ptr = (unsigned long)addr;
flush_icache_range(ptr, ptr + PAGE_SIZE);

return page;
}
Expand Down
Loading