[ONE Android Development] FSadino:
New Update - 11/10/2017

Since Omnirom Team is focused on Oreo development i have to continue this 7.1.2 build alone but i had some spare time to add massive kernel improvements from [MENTION=4633983]nikhil18[/MENTION] (lightning-kernel-bacon) and [MENTION=4800121]Sultanxda[/MENTION].

* Quick Charge is ready to use but keep it at safe values. I'm using AC: 1900ma | USB: 800ma and no problems at all.

* Wakeup Boost

more... (read changelog)

Changelog:

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

10-11-2017

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

* bionic/

b1e825cf0 Merge pull request #1 from FSadino/next

* kernel/oneplus/msm8974/

afa3944df9bf hid: usbhid: Changes to prevent buffer overflow

4127855bde38 bacon_defconfig: remove CONFIG_IP[6]_NF_TARGET_REJECT_SKERR

f96b131813cd bacon_defconfig: enable CONFIG_INET_DIAG_DESTROY

abdf912cd43d cpu_input_boost: Prevent panics on init due to race conditions

b02b1860af2f packet: fix races in fanout_add()

4f553db508ba dccp: fix freeing skb too early for IPV6_RECVPKTINFO

9cee6f222398 net/llc: avoid BUG_ON() in skb_orphan()

2f1e8988166b tcp: avoid infinite loop in tcp_splice_read()

7779c6352631 ext4: validate s_first_meta_bg at mount time

aa602df4ae0d Revert "USB: fix invalid memory access in hub_activate()"

370f04e96809 power: qpnp-charger: Add support for POWER_SUPPLY_PROP_POWER_NOW

6ca646337b29 prima: Fix NULL pointer dereference in limSendP2PActionFrame()

79f2d9ea2bfe cpu_input_boost: Don't sleep in atomic context for continuous boosts

46f162b3b3a4 cpu_input_boost: Improve efficiency when there is constant input

70d8028c7134 bacon_defconfig: disable CONFIG_PFT as it is unsupported

63c9f1a2e9c6 Merge pull request #7 from FSadino/sultan

97bb01c791dd Merge pull request #6 from FSadino/next

0ea6490ae620 prima: Fix buffer overflow in WLANSAP_Set_WPARSNIes()

de117852264d prima: Update to CAF LA.BF.1.1.3-02310-8x26.0

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

10-10-2017

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

* bionic/

142a8213c End all lists in check-symbols-glibc.py with a ,.

9de63a987 Remove a duplicate declaration, improve check-symbols-glibc.py.

69d105fcf Don't declare SYS_* constants for unavailable __NR_* constants.

a2cd448ef Move glibc-syscalls.h into bits/.

02540bfbd Make prctl test check maps.

1dca89bd5 Move math headers in with the other headers.

69a44bea5 Add missing <complex.h> functions.

b4a53f82f Clean up bcopy cruft.

1fa62aeec Teach our script to ignore more dead POSIX stuff.

8d7bccbc9 Fix memmem behavior with empty needles.

4d37b99f8 Fix "Unknown token error" when upstream clang is used.

16b559f40 libc: exclude C memchr on ARM

b1a034da4 libc: arm: add optimized memchr implementation

e3a0f75f3 libm: add optimized expf/logf/powf from ARM

821d3bd62 linker: convert 'mov pc' instruction to 'bx'

1ea016dad Remove unused libm_clang variable.

b94b45f2d bionic: Sort and cache hosts file data for fast lookup

* kernel/oneplus/msm8974/

353109dee842 include: Add missing iosched_switcher.h header

1957c9fc2fd0 iosched_switcher: Remove unneeded code in change_elevator()

9b5f90a0373b iosched_switcher: Ensure the previous elevator name is always present

93e4f8da69cf bacon_defconfig: Enable I/O sched switcher

95a45c65fa38 mmc: queue: Configure the I/O sched switcher for mmc block devices

ea554bee0076 dm: Configure the I/O sched switcher for dm block devices

266088008ae8 iosched_switcher: Don't use FB_EARLY_EVENT_BLANK

837a43c82d8a iosched_switcher: Allow multiple block devices to be used

e069ae7e7da0 block: Add driver to change the I/O scheduler when the screen turns off

c6eabf02d4a2 msm8974pro: dts: cpufreq: enable middle steps for CPU frequencies

988bbd6f3c86 msm8974pro: dts: cpufreq: enable low steps for CPU frequencies

deb071bc3e58 disable overclocking

218a8eb85f8b add 2803200mhz and 2956800mhz cpu frequency

5f0cdeca5868 add 2649600mhz and more cpu frequency

b64a0b31f368 msm8974pro: Increase cpu voltags for OC frequencies by 25 mV

1a4b4a79da37 msm8974pro: dts: cpufreq: introduce 268MHz clock

b4b8087ff848 msm8974pro: CPU overclocking to 2.88 GHz

02411868921d change min_input_interval to 50ms

11224ea46911 cpufreq: cpu-boost: export input_boost_enable to userspace

a5d3075097e2 update cpu boost

aa29761615ae input: touchboost: default duration 1.5s - Ultra conservative default, 1/2 of MPD default

29b38151f4fc input: touchboost: Rename sysfs kobj to "touch_boost"

be80a3594c87 input: touchboost: correct type for get_input_boost_duration

74b8d99b454f input: touchboost: define and expose input_boost_duration and input_boost_frequency

ae7da7198eec input: touchboost: conservative samples every 10ms, no point in limiting input_time to update its value in 50ms intervals

8220e998c9d5 input: add generic touch event listener

9619bac4f60f arm: smp: Update the topology masks before calling CPU_STARTING notifiers

d7712b253b7d mm: slub: Default slub_max_order to 0

c443a80ffbc7 fs/buffer.c: increase the buffer-head per-CPU LRU size

0627a3b68d50 soc: qcom: smd: Fix SMD packet sync loss issue

89ceabfdcd5a tcp_cubic: better follow cubic curve after idle period

1452918bd231 mm, vmalloc: remove useless variable in vmap_block

17318c27e174 mm, vmalloc: use well-defined find_last_bit() func

7587c984e642 block: Reserve only one queue tag for sync IO if only 3 tags are available

2d02a905ac54 readahead: make context readahead more conservative

fc70bb7be801 binfmt_elf.c: use get_random_int() to fix entropy depleting

ecbcdc3d6fb8 writeback: fix writeback cache thrashing

f761ce577904 bl: lm3630: Disable PWM mode outside of init

6c06ad8de4e8 bl: lm3630: Always disable PWM mode

01b1ac42f045 int_sqrt: Improve 3x faster integer sqrt.

cd64c9c4f065 int_sqrt.c: Correction square root algo with naming

08a342a7f1df sched: cpu_power: enable ARCH_POWER

1caee85fad99 Readahead: Optimize divide/multiply by power of 2 using L/R shift

589271f175aa mdss: use an interruptible thread on edp to reduce load_average

25f5f8e89782 msm: vidc: Check for active handle before updating the QoS request

85a4fb566255 msm: vidc: Initialize kernel space stack variables

5252a623c6ca msm: vidc: disable CPU L2 cache PC during video sessions

7864895d06b5 fs: Add exFat support version 1.2.9 (kitkat source drop)

e3acfc6b9c09 fs: Add exFat support version 1.2.7 (Samsung OSRC)

c0b9a2d9980f Revert "power: increment wakeup_count when save_wakeup_count failed."

e6bc3828715c power: increment wakeup_count when save_wakeup_count failed.

52b9881275a1 xz: Optimize Sfck Compression

865cb4a91aa4 time: RCU permitted to stop idle entry

f8ff4c063ad1 msm: watchdog-v2: Trace IRQ when watchdog bites

a81ec3cef68b tcp_output: set initial TCP window size to 64K (speed improvement)

c95b657b3e1d usb-gadget: support USB keyboard

5c5559a53752 SPS: allow modem driver to sleep when no data traffic.

3c219b3f716a sweep2sleep: Update driver to support multiple gestures to put device to sleep (V1.1)

a8b62cf21858 sweep2sleep: Driver to support multiple gestures to put device to sleep

ae6c43f31876 msm8974pro: Activate additional 27 MHz gpu frequency step (idle freq)

600e795eb4b2 Revert "Voltage Control: generic voltage control for DTS based kernels"

7463cd005b60 msm: Fix high load average from uninterruptible waits

3719ea6af3f1 Enable UNALIGNED_ACCESS, this will actually improve kernel performance.

7883c737178a msm8974-regulator.dtsi: further reduce CPU retention voltage

3ad5ea948b6d qce50: Update clock vote for improved performance

2c441aba1029 timer: optimize apply_slack()

ab343fc1f5c8 mdss: Change kickoff timeout to 300ms - phase 2

0c9a362227cf mdss: Change kickoff timeout to 300ms

7d1a68845697 arm/dts: bacon: Schedule mmcqd on idle CPU

4e9671624341 mmc: add support for scheduling mmcqd on idle CPU

8d74ac12de68 ACA mode hack for Oneplus One's DWC3 usb driver

d11824057410 arm:msm8974: Increase bark/pet time

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

10-09-2017

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

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

10-08-2017

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

* kernel/oneplus/msm8974/

06f902d28b4f Merge pull request #5 from FSadino/next

169dec7d225c msm8974: usb: dwc3: Set the max speed

a6a7d7981487 msm8974: usb: dts: Set the usb max speed to high

26b139e63055 oppo: i2c: drop nfc freq to 19.2 MHz

2b1ddbbf5ffe ./Makefile: tell gcc optimizer to never introduce new data races

90ab3ea27e7b Disable -fconserve-stack on ARM v2

acbb2fd039c5 Makefile: Optimize

af29646d3db9 fs/namei.c: fix: warning: 'old_path.*' may be used uninitialized in this function

019801b2182d Makefile: Optimize

da4add16a52f Merge pull request #4 from FSadino/next

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

10-07-2017

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

* build/

65acb775b October security updates

3f055437d Merge pull request #4 from FSadino/next2

* frameworks/av/

b10c4e7e7 Merge pull request #1 from FSadino/next

da274861a Add EFFECT_CMD_SET_PARAM parameter checking to Downmix and Reverb

60fe0b028 stagefright: avoid buffer overflow in base64 decoder

* frameworks/base/

2e750d320fa Merge pull request #4 from FSadino/next

a7e35d24f87 Fix security hole in GateKeeperResponse.

* kernel/oneplus/msm8974/

88dec4dbb8de Revert: ak_bacon_defconfig: enable MSM LIMITER

ad09c38128ee Revert "cpufreq: Add Frequency limiter driver"

c985a7227556 Revert "sound: add sound control to increase headphones, speaker and mic gain."

d33d2a650cae Revert: ak_bacon_defconfig: enable MSM HOTPLUG

affc826efd5f Revert "msm: Add MSM hotplug driver"

ea296e1ea6a0 arm: use -mtune=cortex-a15 for Krait targets

d6ab53edf469 Merge branch 'next' of https://github.com/FSadino/omni_android_kernel_oneplus_msm8974 into next

f6d41ae1fb3d drivers/char: Add frandom module

a0f8fee4b780 arch/arm/Kconfig: enable unaligned capability for ARM

32522ab750fb arch: arm: lib: optimize memcpy for cortex-A15

bb3db0a2abdc ak_bacon_defconfig: enable VOLTAGE CONTROL

2f4aa9d6d4d3 Voltage Control: regulator: adjust values for have the full control

08a246c16d3c ak_bacon_defconfig: enable ADRENO IDLER

c5e099a9a1b4 Voltage Control: generic voltage control for DTS based kernels

271ab67a1c19 Voltage Control: regulator: set retention-voltage to 600mV

aaf737a28644 devfreq: adreno_idler: enable at boot by default

fab81e6cf5a8 devfreq: adreno_idler: Clean up & Use state notifier helper

3b0fd797c4f2 devfreq: adreno_idler: Introduce Adreno idler for devfreq-based devices

471944c63dee ak_bacon_defconfig: enable MSM HOTPLUG

76ed82ad219a cpufreq: cpu-boost: Upgrade to enhanced version

0c5edca3e77b cpufreq: optimize and merge with latest hybrid patches

a344e5ef87f3 msm: Add MSM hotplug driver

8a0d23b9604d ak_bacon_defconfig: enable MSM LIMITER

566d19a56430 cpufreq: Add Frequency limiter driver

366b343ddae6 defconfig enable STATE NOTIFIER

416125efd9a9 remove fbnotifier from lm3630.c

b3637b5def79 drivers: state_notifier: switch to backlight solution

1ac0b1e62e81 drivers: Add state notifier driver

c4e4116d66fb cpufreq: Make sure target freq is within limits

32a899d15a15 cpufreq: Upstream optimizations

2b8dbb2127f1 gcc5: encrypted.c: fix master_keylen may be used uninitialized in this function

75c68c074793 gcc5: drivers/video/msm/mdss/mdss_mdp_pp.c: fix warning: comparison of constant '15' with boolean expression is always false

0cfa61b925ff gcc5: drivers/video/msm/mdss/mdss_mdp_pp.c: fix warning: logical not is only applied to the left hand side of comparison

9b486990a393 gcc5: drivers/staging/prima/CORE/HDD/src/wlan_hdd_wmm.c: fix warning: logical not is only applied to the left hand side of comparison

9594447039ea gcc5: drivers/staging/prima/CORE/MAC/src/pe/sch/schBeaconGen.c: fix warning: passing argument 2 of 'vos_mem_compare' discards 'const' qualifier from pointer target type

611026de0de0 gcc5: arm: enable cortex_a15 optimization

fa562ea5cc0c gcc5: sound/soc/codecs/wcd9xxx-mbhc.c fix warning: initialization discards 'const' qualifier from pointer target type

f7f97728dea4 gcc5: gpu: msm: fix 5.0 compile

991dcafd3faa gcc5: fix warnings spam with gcc5

dfe3d17b22be confid enable enable PVS and SPEED LEVEL_INTERFACE

3f1372123dcb clock-krait-8974: Expose SPEED level via sysfs

2fc557915a77 clock-krait-8974: Expose PVS level via sysfs

7be926f0ea68 cpufreq: Add policy notifiers

883512b654e8 cpufreq: expose scaling_cur_freq sysfs file for set_policy() drivers

a74f7b960a49 sound: add sound control to increase headphones, speaker and mic gain.

089d18021937 ak_bacon_defconfig: enable XCHGADD_ALGORITHM

4d0bbb0692b7 Optimized ARM RWSEM algorithm

dc163f3a7e7c mmc/core: disable crc to improve performance

01250a9e3e2c random: increase entropy levels (both read and write)

9e537d43e975 power: qpnp-charger: Set the AICL target voltage to 4.390V

a1e13e91c6e5 power: qpnp-charger: allow vinmin to be lowered to 4.0 V

2e8a3faa012d fastcharge: update sysfs

74b7112bcf6a USB fastcharge for kenzo Original commit: c263485e8cc923ebc1c63fa39e05f07632c6f09b

53bf8db5b787 fastcharge: qpnp-charger: remove mA from sysfs phase II

601439eed2f9 fastcharge: qpnp-charger: updated to the latest v1.1

8237f88e8bdd fastcharge: qpnp-charger: remove "mA" from sysfs

558ca3fdcb11 fastcharge: qpnp-charger: Charge level interface