[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] psndna88:
AGNi (Blazing Fast & Efficient Kernel)​

AGNi for whyred Telegram Development Group with latest builds (Redmi Note 5 Pro)

AGNi for tulip Telegram Development Group with latest builds (Redmi Note 6 Pro)

AGNi for Jasmine,wayne, lavender Telegram Development Group with latest builds (MI A2, MI 6x, Redmi Note 7)

NEW...

AGNi Firmware v6.1

AGNi Toolbox v1.4

AGNi High Graphics Unlock for PUBG/CODmobile Magisk Module v1.0

CHECK HERE

AGNi whyred v9.9.1 EAS:-

* better battery life

* better charging

Detailed Changelog:-

camera: fixup wakelock not released in some cases

base: add more to block boeffla wakelock blocker Part 2

serial: msm_serial_hs: Protect spurious irqs after wakeup irq enablement"

Revert "soc: qcom: stop spam when IPC_LOGGING is disabled"

Revert "tty: serial: msm_serial_hs: fix ipclog spam"

Revert "tty: serial: msm_serial_hs: fix sysfs create"

Revert "tty: serial: Correct IPC_LOGGING ifdef"

Revert "msm_serial_hs: always rely on PM get/put logic"

Revert "dts: remove tulip dependency on msm-audio_e7t.dtsi"

Revert "dts: revert "white" led implementation's fast blinking"

AGNi whyred v9.9 EAS:-

* updated wifi drivers

* better battery life

* better charging

Detailed Changelog:-

Merge 4.4.236

Merge caf kernel LA.UM.8.2.r1-07300

qcacld-3.0 merge caf wifi Q LA.UM.8.2.r1-07300

qcacld-3.0 merge caf wifi pie LA.UM.7.2.r1-09300

base: add more to block boeffla wakelock blocker

drivers/net/usb: update Realtek RTL8152 FE, RTL8153 GbE USB LAN drivers v2.13.0 (2020/04/20)

AGNi installer: Wifi Q driver option as default

AGNi installer: add option for srgb enable/disable (whyred/tulip)

mdss: disable srgb cmdline switch (whyred/tulip)

config: enable cifs smb2 & smb3.x (samba file share protocol)

Fix direct references to HZ

msm-tsens: remove HZ dependency

usb: pd: qpnp-pdphy: Switch to hrtimer-based wait

usb: policy_engine: Remove workqueue high-priority flag

usb: policy_engine: set dual mode writeable for PD device

usb: dwc3-msm: Remove indefinite wakeup

usb: bam: disable event log by default

soc: glink: disable logging by default

irq: spurious: Disable IRQ debugging by default

BACKPORT: mm: add NR_ZSMALLOC to vmstat

mm: add ION heap-pool allocation stat into vmstat

kgsl: add GPU driver memory consumption in vmstat

msm_serial_hs: always rely on PM get/put logic

tty: serial: msm_serial_hs: fix ipclog spam, fix sysfs create, correct IPC_LOGGING ifdef

soc: qcom: stop spam when IPC_LOGGING is disabled

sched: Allow aggressive remote task interruptions

sched: Do not use IPIs for remote wakeups if idle

blk-mq: Do not wake idle CPUs to queue same-origin requests

kernel: power: qos: remove check for core isolation while cluster LPMs

diag: Add timer to make sure wakelock no stuck

dts: change "white" led implementation for fix fast blinking

dts: remove tulip dependency on msm-audio_e7t.dtsi

dts: dsi-panels: disable ulps & ack-disabled

Revert "serial: msm_serial_hs: Protect spurious irqs after wakeup irq enablement"

Revert "base: remove default blocking of qcom_rx_wakelock"

Revert "tcp: Disable SYN cookies"

Revert "tcp: Enable fast recycling by default"

Revert "tcp: Disable ping replies by default"

Revert "tcp: Increase max connections to accept"

Revert "tcp: Reuse existing connections"

Revert "tcp: Disable timestamps"

Revert "tcp: fastopen: Enable cookieless TFO clients and servers"

Old Versions:

AGNi whyred v9.8 EAS:-

Detailed Changelog:-

Merge 4.4.235

[BACKPORT] tcp_bbr: add BBR congestion control [public request]

net: ton of upstream changes

update wireguard

AGNi Installer: use hostname as per device

AGNi Installer: disable wifi RSSI preference for 5GHz over 2.4GHz AP

sync: Don't debug everything by default

net: ANDROID: fix a bug in quota2

scsi: ufs: Remove CPU latency voting to save power

scsi: ufs: Remove 10 ms CPU idle latency unvote timeout

sched/tune: Increase the cgroup limit to 6

cpuidle: lpm-levels: Allow exit latencies equal to target latencies

BACKPORT: lpm-levels: Add support to parse LPM parameters

drivers: cpuidle: lpm-levels: LPM prediction tuning

drivers: cpuidle: lpm-levels: Correct missing list initialize

BACKPORT: android,lowmemorykiller: Don't abuse TIF_MEMDIE.

sched/completion: Avoid unnecessary stack allocation for COMPLETION_INITIALIZER_ONSTACK()

Revert "msm: kgsl: Don't allocate memory dynamically for drawobj sync structs"

Revert "dts: dsi-panels: disable ulps & ack-disabled"

Revert "sched: use stune boost for top-app & only"

Revert "fscache: use appropriate radix tree accessors"

Revert "mm: get 7% more pages in a pagevec"

Revert "mm: store compound_dtor / compound_order as bytes"

Revert "mm: align struct page more aesthetically"

Revert "mm: remove reference to PG_buddy"

Revert "arm64: turn flush_dcache_mmap_lock into a no-op"

Revert "UPSTREAM: arm64: remove duplicate macro __KERNEL__ check"

Revert "UPSTREAM: mm/gup.c: fix access_ok() argument type"

Revert "hrtimer: Bump default timer slack to 500 us"

AGNi whyred v9.7 EAS:-

* better internet speed

* better performance

* faster, consistent & cooler charging

Detailed Changelog:-

Merge 4.4.233, 4.4.234

Merge CAF LA.UM.8.2.r1-07200 (Q tag)

qcacld-3.0: Merge CAF LA.UM.8.2.r1-07200 (Q tag wifi)

mdss: disable Miui's Content Adaptive Backlight Control (CABC)

- should stop dimming of display on scrolling in MIUI

fs: exfat v2.2.0 (arter97)

qdsp6v2: handle a missing mutex unlock case

dts: dsi-panels: disable ulps & ack-disabled

binder: Prevent context manager from incrementing ref 0 (from 4.4.223) [FIX]

Revert: "msm: kgsl: Mark the scratch buffer as privileged" from LA.UM.8.2.r1-07200

Revert partial: "msm-tsens: Reschedule work instead of causing uninterruptible sleep"

Revert "treewide: Nuke ESD_TE_status"

Revert "md: disable dm-verity"

Revert "hrtimer: Bump default timer slack to 500 us"

Revert "sched: time: Disable timer migration"

Revert "sched: Disable NONTASK_CAPACITY"

Revert "msm: mdss: Don't add event timer for unused autorefresh feature"

Revert "msm: mdss: Remove duplicate pm_qos object used for unblanking"

AGNi whyred v9.6 EAS:-

Detailed Changelog:-

dts: added many new cpu frequency steps & fix corresponding regulator stuff

msm_performance: fix "set max cpufreq" with MIUI source

sched: Process new forks before processing their parent

sched: time: Disable timer migration

sched: Disable NONTASK_CAPACITY

sched/fair: Port Migration Hysteresis Filter from HiSilicon EAS

sched: use stune boost for top-app & only

schedutil: Import fb callbacks to disable iowait boost on screen off

cpufreq: respect cmdline for allowed max cpu oc freq on boot

kernel: Only set one CPU in the default IRQ affinity mask

qdsp6v2: restore to latest CAF Q tag for all devices

>> [as we fixed the old boot fail issue in tulip]

dts: msm-audio_e7t: add missing qcom,msm-audio-apr node

>> [finally FIX tulip boot on Q-tag CAF - mystic]

hrtimer: Bump default timer slack to 500 us

UPSTREAM: mm/gup.c: fix access_ok() argument type

UPSTREAM: arm64: remove duplicate macro __KERNEL__ check

arm64: turn flush_dcache_mmap_lock into a no-op

mm: remove reference to PG_buddy

mm: align struct page more aesthetically

mm: store compound_dtor / compound_order as bytes

mm: get 7% more pages in a pagevec

fscache: use appropriate radix tree accessors

mdss: tweak from stock MIUI source

kgsl: Don't allocate memory dynamically for drawobj sync structs

kgsl: Report correct GPU frequency for clock_mhz

thermal-core: Fix invalid sensor data being accepted

msm-tsens: Reschedule work instead of causing uninterruptible sleep

mdss: Don't add event timer for unused autorefresh feature

mdss: Remove duplicate pm_qos object used for unblanking

tcp: Disable SYN cookies

tcp: Enable fast recycling by default

tcp: Disable ping replies by default

tcp: Increase max connections to accept

tcp: Disable slow start after idle by default

tcp: Reuse existing connections

input: fix AOSPA dt2w derp

config: use "veno" as default tcp congestion control

AGNi whyred v9.5.2 EAS:- Quickfix

mdss: fix sgrb problems for non-aosp roms REWORKED

sched: GPU load based automatic ioboost for EAS cpu governors

AGNi whyred v9.5.1 EAS:- Quickfix

mdss: fix sgrb problems for non-miui roms (no need of magisk module/scripts)

cpufreq: add toggle to block min & max cpufreq changes by userspace

AGNi whyred v9.5 EAS:-

* Enhanced Gaming performance

* Fixed compatibility issues with Google Camera

* Fixed compatibility for MIUI 12 Q ported roms (whyred/tulip)

* Fix rare display flicker issues

* Add High Graphics unlock mode for PUBG & COD mobile

(may not work for some roms, use "AGNi Game Unlock module" for that)

* Resolve wifi problems and make OLD Pie-based wifi driver as default

* Downloads stop after screen off should be resolved now

Detailed Changelog:-

Merge Linux 4.4.232

camera: mystic gcam freeze fix

camera: disable logging

touchscreen: synaptics_dsx_e7s: use high priority & unbound workqueues(whyred)

mdss: modifications for Miui 12 Q ports (whyred/tulip)

mdss_fb: allow reading of ce, cabc, srgb, gamma & hbm modes

dts: mdss-panels: add ce on/off & some missing srgb on/off cmds

mdss_fb: lcd backlight default min limit to 20

sched: use stune boost for top-app & foreground

adreno: enable fake adreno 512 gpu after 1st boot v2 (whyred/tulip)

md: skip dm-verity check (may fix boot issues on stock miui rom whyred/tulip)

AGNi installer: new option for PUBG & COD mobile High graphics unlock

AGNi installer: add CPU OC disclaimer page and set NON-OC as default option

AGNi installer: add OLD Pie tag wifi option as Default

modify configuration for Wifi drivers with GRO, TSO, DFS

soc: qcom: service-locator: Fix memory leak in pd_locator_work

writeback: Avoid skipping inode writeback

nvt_touch: disable firmware update on boot

base: remove default blocking of qcom_rx_wakelock

gpio: nuke invalid gpio error warning

dts: minor cpu freq fixups

Revert "pm660l dtsi: use analog dimming"

Revert "ARM: dts: Reduce the maximum voltage allowed for the panel"

Revert partial "dts: add stuff from jasmine Q source" Part 2

Revert "sched: enable Dynamic Schedtune Boost by default"

Revert "workqueue: queue everything on system's power efficient wq"

AGNi whyred v9.4 hybridEAS:-

* Fully compatible with HMP(non-EAS) roms without need of EAS/Pixel perf-hal module

* Faster faceunlock (whyred/tulip)

* Wifi drivers (Pie & Q) increased speeds & efficiency

* Better battery temperature reading and charging management

Detailed Changelog:-

cpufreq: create permanent "interactive" tunables for any real cpu governor used

- Creates HMP-like environment for roms not built for EAS.

- They can write into HMP-default interactive governor tunables and not give perf errors in logs.

sched: add non-EAS, HMP specific scheduler dummy tunables

- Makes EAS kernel backwards compatible with HMP roms.

- This kills the need for seperate EAS perf hal files to stop errors in log.

qcacld-3.0: disable ton of debugging & tracing (Pie & Q) Part 2

AGNi installer: remove EAS perf hal option

wireguard: version 1.0.20200729

block: tweak cfq & anxiety iosched

adreno: new interface to fake gpu model after boot (whyred/tulip)

adreno: enable fake gpu after 1st boot (whyred/tulip)

binder: Import from android-4.19-Q

binder: Switch binder_deferred_lock to a spinlock

binder: Reserve caches for small, high-frequency memory allocations

binder: use dedicated high priority unbound workqueue

config: tcp congestion algorithm "westwood" as default

Revert partial "dts: add stuff from jasmine Q source"

Revert "nvt_touch_e7s/a: make changes as per Jasmine nvt_touch_d2s"

AGNi whyred v9.3 EAS:-

* touchscreen improvements

* improved wifi speeds with reduced logging

* add optional new CPU OC step

Detailed Changelog:-

Merge 4.4.231

Merge CAF LA.UM.8.2.r1-07000

qcacld-3.0: Merge CAF LA.UM.8.2.r1-07000 (Q tag wifi)

qcacld-3.0: disable ton of debugging & tracing (Pie & Q tag wifi)

qcacld-3.0: restructure wifi Q & Pie drivers

AGNi installer: add optional 2.45GHz cpu oc

AGNi installer: install Wifi firmware files with Wifi driver selection

dts: leds: restore red led node to stock state

dts: memlat use cpufreq & add 2.45GHz step

config: tcp congestion algorithm "veno" as default

config: enable blu_schedutil & pwrutilx cpu governors

add stuff from jasmine Q source

mm: change swappiness in dynamic memory management

touchscreen: disable logs & debugging

touchscreen: remove WQ_FREEZABLE & add IRQF_NO_SUSPEND flags

touchscreen: FINALLY FIXED DT2W (jasmine)

touchscreen: add AOSPA's dt2w support (whyred/tulip/wayne/jasmine/lavender)

nvt_touch: support all dt2w implementations

nvt_touch_e7s/a: make changes as per Jasmine nvt_touch_d2s

kernel: Use stock config for /proc/config.gz (jasmine)

block: disable iostats & set permission read-only

cpufreq/msm_performance: block max freq limits with the cpu_oc node

sched/idle: Micro-optimize the idle loop (FIXUP)

AGNi whyred v9.2 EAS:-

* aimed to reduce battery consumption for general use

AGNi installer: do not abort install if no ramdisk found.

Revert "zram: use default zstd compression"

Revert partially "sched/fair: Make scheduling period more efficient"

Revert "sched/core: nr_migrate = 128 increases number of tasks to iterate in a single balance run."

AGNi whyred v9.1 EAS:-

* Improved performance & ram handling

* better optimisation for 3GB ram devices

Detailed Changelog:-

kernel: disable WARN on unbalanced wake IRQ

kernel: module: do not taint the wlan module

wireguard: version 1.0.20200712

nvt_d2s: remove old dt2w interface

mm: increase swappiness for dynamic memory management

mm: readahead 128kb for 3gb ram devices & 512kb for others

qpnp-fg-gen3: Limit how frequently fg data can be queried

init: miui detection based on cmdline androidboot.miui=1 FIXUP

Revert "sched: Increase the time a task is considered cache-hot"

Revert "perf: Restrict perf event sampling CPU time to 5%"

Revert "random: squash update"

Revert "mm: slab: free kmem_cache_node after destroy sysfs file"

Revert "mm/slub.c: replace kick_all_cpus_sync() with synchronize_sched() in kmem_cache_shrink()"

AGNi whyred v9.0 EAS:-

* improved charging

* improved reduced battery consumption

* cpu non-overclock option

Detailed Changelog:-

Merge 4.4.229 & 4.4.230

AGNi installer: add force MIUI-Q camera mode option (wayne/jasmine/lavender)

AGNi installer: selecting cpu non-oc will not allow user modification of max frequencies.

AGNi installer: add option to modify PERF HAL for EAS & schedutil support

AGNi installer: add CPU OC option (whyred & tulip)

power: dts: restructure with power limits 18W

* whyred & tulip: QC 3.0 @ 7.6volts x max 2300mA = 17.48 Watts max power

* wayne, jasmine, lavender: QC 3.0 @ 6.6volts x max 2700mA = 17.82 Watts max power

* temperature specific charging precise from 41C to 45C

init: improve miui detection based on cmdline

cpufreq: block setting max freq limits with the cpu_oc node (whyred/tulip)

msm_performance: add non-oc max freq limits with new cpu_oc node (whyred/tulip)

touchscreen: remove old dt2w interface & optimise

mdss_fb: fix powered off charging

treewide: Nuke ESD_TE_status

rradc: stop kernel log spam

mm/slub.c: replace kick_all_cpus_sync() with synchronize_sched() in kmem_cache_shrink()

mm: slab: free kmem_cache_node after destroy sysfs file

random: squash update

perf: Restrict perf event sampling CPU time to 5%

tcp: Disable timestamps

tcp: fastopen: Enable cookieless TFO clients and servers

sched: Increase the time a task is considered cache-hot

Revert "Kernel:Power: add nvs hibernate driver"

AGNi whyred v8.9 EAS:-

* safer 18 Watts fast less-heat charging

Merge CAF LA.UM.8.2.r1-06900 (Q tag)

qcacld-3.0: wifi Merge CAF LA.UM.8.2.r1-06900 (Q tag)

power delivery: limit to 2000mA for 9v charging

power delivery: add api to querry charging current is 9v or 5v

qpnp-fg-gen3: define charging current limits based on 18W max power

wireguard: version 1.0.20200623

cpufreq: remove forced building of performance cpu governor and all others except schedutil.

AGNi whyred v8.8.1 EAS:-

* improved gaming experience

* improved apps multitasking

* clearer speaker sound

* safer fast less-heat charging

* user can force selection of old-camera or new-camera libs support

v8.8.1 change: power delivery: limit to 2000mA for 9v charging

Detailed Changelog:-

Merge kernel 4.4.228

AGNi memory monitor: dynamic swappiness for zram v2.1

AGNi: add options to force select Old cam & new cam support

touchscreen: nvt_d2s: resolve jasmine dt2w

Built using GCC 10.0.1

sound: sdm660: increase speaker clarity by reducing digital gains

ASoC: sdm660-internal: switch to tas2557 ASI2 DAI for Primary MI2S Playback

irqchip: fix GCC 10 section mismatch warning

sched: Makefile: remove duplicity

Revert "power: drop caches on charger connect/disconnect"

AGNi whyred v8.7 EAS:-

* Smart & automated ALL-IN-ONE graphical installer

* More safe charging - fast as well as temperature controlled

* touch improvements

* smooth user exprience

Detailed Changelog:-

AGNi: All-IN-One unified automated AROMA+anykernel3 installer (detect camera libs & install required kernel image)

AGNi: Auto detect Android & MIUI version on install and setup configuration accordingly

AGNi: Wifi driver as selectable autoloaded module (Default: Pie-based/Optional Q-based)

AGNi: Auto install WiFi HAL lib for MIUI Q & fixed dpmframework lib on MIUI-11 Pie roms

AGNi: update anykernel3 installer base

AGNi memory monitor: dynamic swappiness for zram v2.0 (Handle 3GB ram devices more aggressively)

power: drop caches on charger connect/disconnect

power: max charging current limits based on battery % v3 (max 2400mA: adequate safety margin from hardware limit 18W).

touchscreen: use freezable, high priority & unbound workqueues

touchscreen: mark irq handlers as PERF_CRITICAL

touchscreen: nvt: Disable debugging

qpnp-fg-gen3: define min & max charging current limits based on battery %

Merge kernel 4.4.227

arm64: arch_timer: simplify accessors

wireguard: version 1.0.20200611

qpnp-haptic: Dejank the haptics

init: Export Android version from kernel command line

loop: Hard-code initial device count based on Android version

thermal_core: kill userspace thermal-engine interference

qcacld-3.0: partially remove changes from LA.UM.7.2.r1-08800 (fix 5GHz slow speed for some)

Revert "qcacld-3.0: enable 2.4GHz channel bonding by default"

Revert "qcacld-3.0: Add bound check for fixed_param->total_num_tx_power_levels"

Revert "tas2557-codec: enable sampling rates up to 384kHz"

Revert "ASoC: sdm660-internal: switch to tas2557 ASI2 DAI for Primary MI2S Playback"

AGNi whyred v8.6 EAS:-

* better smoothness & cpu tasks handling

* reduced gaming heat with good performance

* better sound clarity & volume for wired earphones (without need for tweaks/modules)

* fix boot problems & notification led issues on many Lineage OS tree based roms

* fix many memory leaks

* better charging experience

* reduce some logging activities

* overall general improvements

Deltailed Changelog:

Merge android-linux-stable-4.4/kernel.lnx.4.4.r37-rel [4.4.226]

Merge CAF LA.UM.8.2.r1-06700 (Q tag)

compiled using gcc 9.3.0-ubuntu

leds-qpnp: add synchronized rgb control

leds-qpnp: make synchronized rgb control compatible with our RGBW implementation

qpnp-pwm: add api for synchronous enable of pwms

dts: Add cmd for livedisplay CABC

ion_system_heap: update supported page-orders for ion pool

iommu: dma-mapping-fast: fix iova alloc wrap

iommu: do not attempt reclaim on higher order allocs

iommu: dma-mapping-fast: fix iova alloc wrap

regulator: dts: sdm660 CPU -40 uV

binder: Rate-limit debug and userspace triggered err msgs

msm-poweroff: allow edl mode command

config: use SYNAPTICS_DSX_v21 touchscreen driver for jasmine

power: supply: set max charging temperature limits v4

ANDROID: pstore: Use vmalloc for large allocations due to ramoops size

ANDROID: fs/pstore/ramoops: Use vmalloc() for old buffer

config: increase ring-buffer for console log 128KB -> 1MB

ASoC: msm-cpe: Fix msm_cpe_lsm_ioctl_compat error handling

ASoC: wcd_cpe: fix buffer size

sched: enable Dynamic Schedtune Boost by default

sched/fair: Tune the scheduler using Google's presets

block: add bfq v8 iosched & enable noop iosched

qpnp-fg-gen3: force adherance to charging current limitations

power_supply: Add property for capping parallel FCC

power_supply: add POWER_SUPPLY_PROP_(BATFET_MODE/MIN_CIL) properties

cpuidle:lpm: Fix div by zero bug

fs: compat: Disable logging by default

selinux: stop flooding the log buffer

Revert "drivers: input: touchscreen: ft8719: change MultiTouch Protocol (tulip)"

Revert "msm: camera2_v2: Return proper v4l2 buffer status for empty frames"

Revert "msm_ispif: Increase timeout to 10 seconds from 1 second."

Revert "msm: cpp: Reduce cpp timeout on MC error"

Revert "msm: camera: Do not wait for complete during driver_probe"

Revert "printk: help pr_debug and pr_devel to optimize out arguments" from 4.4.226

Revert "schedutil: squash update"

AGNi whyred v8.5 EAS:-

Merge 'android-linux-stable-4.4/kernel.lnx.4.4.r37-rel' [4.4.224, 4.4.225]

Merge CAF LA.UM.8.2.r1-06600 (Q tag)

qcacld: merge wifi CAF LA.UM.7.2.r1-08800 (Pie tag)

qcacld: merge wifi CAF LA.UM.8.2.r1-06600 (Q tag)

disable dynamic fsync, dynamic fps and dynamic bitclk

camera: support MIUI 12 Android 10 mode

dts: drivers/leds: new white led implemention along with red led

touchscreen: Add an interface to expose dt2w TP features to userspace

power: supply: set max charging temperature limits v3

qpnp-fg-gen3: 1000mA minimum charging <= 90%

mm: implement Android-tuned pageblock heuristic from Xiaomi

tcp congestion algorithm westwood back to default

zram: use default zstd level 1 compression

fbdev: msm: wait for frame complete before triggering dma cmd

fbdev: msm: Fix race condition during te_irq calls

set default tcp congestion control algorithm to hybla

schedutil: squash update

wireguard: version 1.0.20200520

sched/core: nr_migrate = 128 increases number of tasks to iterate in a single balance run.

sched/fair: Make scheduling period more efficient

vfs/ext4,f2fs: finish umount(2) in time with filesystem work [fix f2fs]

f2fs: squash update with rapid gc

mdss: dsi panel minimum refresh rate 30 Hz

mm: Increase ratelimit pages value

dts: sdm660-regulator: Add cooling devices for VDD_MX and VDD_CX

dts: sdm660_e7s/e7t/wayne: Add cpu set for adsp glink

AGNi whyred v8.4 EAS:-

* Sustained temperature controlled fast current charging

* Upstreamed to 4.4.223

* Based on Latest CAF Android Q sources

* touchscreen improvements

* cpu and gaming performance improvements

* memory management improvements

* improved user interface snappiness

Detailed Changelog v8.4:

qcacld: use CAF LA.UM.8.2.r1-06500 (Q tag) wifi version for Q builds

qdsp6v2: restore to LA.UM.7.2.r1-08700 CAF Pie Tag [tulip boot issues]

Rebase from scratch over LA.UM.8.2.r1-06500 (CAF Q tag)

Merge 'android-linux-stable-4.4/kernel.lnx.4.4.r37-rel' [4.4.222]

Merge 'android-linux-stable-4.4/kernel.lnx.4.4.r37-rel' [4.4.223]

f2fs: restore to aosp upstream-f2fs-stable-linux-4.4.y

iommu: msm: Rewrite to improve clarity and performance

touchscreen: use freezable, high priority & unbound workqueues

camera_v2: isp: revert some new CAF Q stuff

dts: add dynamic bitclk support

dts: Reduce the maximum voltage allowed for the panel

dts: use analog brightness dimming

dts: sdm660 increase linux,cma from 32M to 128M

dts: sdm660: Add calculated EAS energy model (kdragon)

dts: qpnp-smb2: modify thermal mitigation limits, max 2500mA/2000mA

dts: raise fg-sys-term-current to 800mA

qpnp-fg-gen3: 1000mA minimum charging 70% to 90%

power: set max charging currents to 2500mA/2000mA, temperature limits

qpnp-smb2: fake as display off to fasten charging rates

power: changes as per Jasmine Q sources

kgsl: Increase worker thread priority

camera2_v2: Return proper v4l2 buffer status for empty frames

Power efficient workqueues for vmstat,ipa,qpnp-fg-gen3,mdss,thermal,block,bcl

nvt_touch_f7a: debloat the driver

enable HYBLA tcp congestion algorithm & set CDG default

v4l2-ioctl: Use a larger on-stack video copy buffer

mdss: Mark display-wake kthread as performance critical

mdss: Power on display asynchronously as early as possible

qcom-cpufreq: Limit the rate of CPU clock-rate changes

schedutil: enforce realtime priority

sound control: add microphone gain

dmaengine: Fix memory leak in dma_async_device_register

mm: add ION heap-pool allocation stat into vmstat

mm: revert some commits

Revert "ANDROID: mmc: move to a SCHED_FIFO thread"

AGNi whyred v8.1 EAS:-

merge kernel.org 4.4.218, 4.4.219

Partial Merge adreno/kgsl CAF/LA.UM.8.2.r1-06300 (Q tag)

msm-poweroff: Do sys_sync() on restart & poweroff

AGNi: auto detection of MIUI rom and apply configuration

iommu: msm: Rewrite to improve clarity and performance

ion: Rewrite to improve clarity and performance

gpu driver updates & add adreno idler

gpu uv modifications

mm: Increase vmstat interval

upgrade low memmorykiller

qpnp-fg-gen3: disable uselss sram dump

qpnp-fg-gen3: make D2S battery calculation like E7S/E7T

power: qpnp-fg-gen3: Return true battery capacity

power: qpnp-fg-gen3: Hardcode nom_cap_uah and learned_cc_uah

qpnp-fg-gen3: allow write any learned capacity

fs: implement exfat v1.2.24-20190524

disable tracing/logging at various places Part 7

block: add ROW io scheduler

kernel/workqueue: fix permission

sched/cpufreq: new cpu governors

exec: Extend task_is_booster check to cover OxygenOS userspace HALs

dts: qcom: modifications for display panel properties whyred/wayne/tulip

Fix kernel taint, disable LRO

loop: avoid EAGAIN, if offset or block_size are changed

Workaround for sensor ipc message causing high power consume

msm: mdss: Fix potential buffer overflow

AGNi whyred v8.0 EAS:-

thermal: implement simple MSM thermal solution

dts: msm_simple_thermal: modify AGNi's thermal zone values

dts: tweak gpu properties

improvements to speaker audio output

staging: Whetstone MIUI memory-swap state driver

qpnp-fg-gen3: disable capacity learning and battery capacity fixes

qpnp-fg-gen3: add cycle_counts_bins device driver attribute

qpnp-fg-gen3: fix soc not keeping full after charging overnight

qpnp-fg: Don't hold wakelocks

qpnp-fg: Calculate battery more linearly

camera_v2: merge CAF/LA.UM.8.2.r1-06300 for AGNi Q builds

Partial merge CAF/LA.UM.8.2.r1-06300 (Q tag)

Build Q from LA.UM.7.2.r1-08500

kernel: Use the stock config for /proc/config.gz

Revert "msm: mdss: fb: fix panel reconfiguration check for format change"

ASoC: TAS2557 various commits

mm: Do readahead if requested size is over 128 KiB

arm64: crypto: add NEON accelerated XOR implementation

ION: Improve cache accounting

usb: gadget: f_fs: Fix possibe deadlock

disable audit & profiling

slimbus: Add missing brackets in slim_change_existing_chans

drivers: char: diagfwd_peripheral: fix misleading-indentation

drivers: msm: ipa: check before freeing allocated memory

AND MANY MORE.

AGNi whyred v7.1 EAS:-

AGNi dynamic swappiness for zram v1.2

* zram swapping is allowed only when-

* 1: available ram is less then 25% of total ram (auto detected)

* 2: gpu load is less than 75% (no swapping while gaming, use those cpu cycles for game instead)

* 3: battery is more than 25%

* Hardwired swappiness values = 1 or 30

* Trigger mechanism integrated in qpnp-fg-gen3 and calculations done on changes in battery %

Merge Kernel.org 4.4.212

block: Add ZEN v2 IO scheduler

arm64: Allow the arch timer to use the HYP timer

Incrase current to 165mA to update fidelity a little bit more

ASoC: wcd9xxx: Increase HPH bias current to improve fidelity

zram: revert changess

dts: disable dynamic fps

Merge Kernel.org 4.4.211

Merge Kernel.org 4.4.210

Merge Kernel.org 4.4.209

qcacld-3.0: merge CAF/LA.UM.7.2.r1-08100

Merge CAF/LA.UM.7.2.r1-08100

block: introduce Depression I/O scheduler

sound: soc: Add DTS Headphone:X driver

fs: exfat: make delayed-meta disabled and discard enabled by default

disable tracing/logging at various places rcu

mm/slab_common: Align all caches' objects to hardware cachelines

fs: exec: block nfs injector from launching

fs: introduce unwated apps blocker

AGNi whyred v6.9:-

(MIUI OreoPie/AOSP Pie):

Merge caf/LA.UM.7.2.r1-07900

qcacld-3.0: Merge LA.UM.7.2.r1-07700 & LA.UM.7.2.r1-07900

Partial Merge CAF/LA.UM.8.2.r1-05100 from Android 10 tag

Merge Kernel.org 4.4.207 & 4.4.208

Revert "ALSA: pcm: Avoid possible info leaks from PCM stream buffers" Fixes Whatsapp & Telegram Calling crashes

wireguard: update version

Many others

(Android 10):

Merge CAF/LA.UM.8.2.r1-05100

qcacld-3.0: Merge LA.UM.7.2.r1-07700 & LA.UM.7.2.r1-07900

Merge Kernel.org 4.4.207 & 4.4.208

Revert "ALSA: pcm: Avoid possible info leaks from PCM stream buffers" Fixes Whatsapp & Telegram Calling crashes

wireguard: update version

lib: update lz4

msm: qpnp-haptic: set up sysfs interface for common cmhw implementation

msm: qpnp-haptic: Process haptics asynchronously

mdss: fix Klapse srgb control

Many others

AGNi whyred v6.6:- (MIUI Oreo/Pie & AOSP pie)

Merge kernel.org 4.4.198,4.4.199,4.4.200,4.4.201,4.4.202

Merge CAF LA.UM.7.2.r1-07600

qcacld-3.0: Merge LA.UM.7.2.r1-07600

CVE-2019-5489 Change mincore() to count "mapped" pages rather than "cached" pages

msm: mdss: Boost CPU when committing a new frame when GPU is used

kgsl: add an api to query adreno kgsl resume/suspend states

msm: mdss: Boost CPU when committing a new frame

AGNi whyred v6.5:- (MIUI Oreo/Pie & AOSP pie)

dts: qcom: whyred/tulip/wayne: fix boot on oreo fw

Klapse v5.0

Merge Linux 4.4.197

msm: mdss: Fix potential buffer overflow

exfat: version 2.2.0-3arter97

kgsl,mdss: rework scheduler priorities

zsmalloc use faster PGTABLE_MAPPING for zram use

Revert "rcu: Squash commits through android kernel 4.9.96"

block: fixup derps

Revert "msm: mdss: Boost CPU when committing a new frame"

mm: fix pageblock heuristic

mm: revert various stuff including speculative page fault, simple lmk, uksm

config: fixup vfat/exfat selinx xattr label

fs: sdfat: rename functions to avoid conflict with exfat-linux driver

fs: exfat: allow discard parameter by default

fs: add exfat-linux filesystem support from arter97

mdss: various reverts

Revert "vidc: restore to stock Xiaomi State"

Revert " sched/tune: Hard-code top-app's stune boost to 1"

Mdss: use O3 compiler optimisation

usb: fix merge derps and resolve USB tethering issues

proc: allow Settings run in the background

dts: whyred/tulip/wayne: selectively undervolt top CPU freq voltages to 20mV

Revert " sched/tune: Hard-code top-app's stune boost to 1"

Revert "vidc: restore to stock Xiaomi State"

AGNi whyred v6.4:- (MIUI & AOSP pie)

dts: whyred/tulip/wayne: CPU OC - Power cluster -> 1.8GHz, Performance cluster -> 2.45GHz

dts: whyred/tulip/wayne: selectively unvervolt top and 2nd last CPU freq voltages by 40mV

dts: sdm660-regulator: -40mV GPU Undervolt

dts: disable dynamic fps

camera_v2,vidc: restore to stock Xiaomi State

kernel: Boost cpu to the max for 250ms when zygote forks

mm: Boost cpu 250ms when memory pressure becomes high

msm: mdss: Boost CPU when committing a new frame

msm: kgsl: Relax adreno spin idle tight loop

sched/tune: Hard-code top-app's stune boost to 1

ANDROID: binder: Switch binder_deferred_lock to a spinlock

mm: set swappiness 30 in any case

drivers: cpufreq: Implement xiaomi power key input boost feature

ASoC: msm: Handle bit_width to configure ASM session for FLAC playback

kgsl/mdss: set equal scheduler priorities

kernel/power/powersuspend: new PM kernel driver for Android w/o early_suspend

power: qpnp-fg-gen3: fix soc not keeping full after charging overnight

fs: update f2fs

Update lz4 v1.8.2

power: reset: msm: Always perform a regular reboot upon panic

proc: Don't let Google Camera,Snapcam, miui camera and Settings run in the background

kernel: introduce CPUSets Assist

msm: kgsl: Dispatch commands using a master kthread

EXT4 optimizations: Some changes for better FS performance

Workaround for sensor ipc message causing high power consume

mm: Do readahead if requested size is over 128 KiB

mmc: queue: Do not attempt request merging

mm: Increase ratelimit pages value

mm: Do not periodically writeback data

mm: Keep dirty pages in ram for at least 120 seconds

mm: Do not reserve memory for admins

kernel: Improve performance critical IRQ framework

AGNi whyred v6.3:- (MIUI & AOSP pie)

Merge Linux 4.4.195 & 4.4.196

sched,camera_v2: boost scheduler to prefer BIG cores when camera in use - Part 2

mm: set swappiness 5 in any case & zram use lz4

dts: whyred/wayne/tulip: increase global shared DMA pool from 44M to 64M

dts: sdm660: Increase UFS CPU latency requirement to 100 us

wait.[ch]: Introduce the simple waitqueue (swait) implementation

rcu: Squash commits through android kernel 4.9.96 & increase priority

relay: Use irq_work instead of plain timer for deferred wakeup

treewide: disable configurable debug mask logging by default

usb_bam: disable event log by default

net: rmnet_data: disable logging

Revert "dts: sdm630-660-regulator: initial GPU UV"

Revert "msm: mdss: Boost CPU when committing a new frame"

AGNi whyred v6.2:- (MIUI & AOSP pie)

qcacld-3.0: Merge CAF LA.UM.7.2.r1-07600

Merge CAF LA.UM.7.2.r1-07600

Merge Linux 4.4.194

leds: qpnp-wled: use IRQF performance critical

dts: sdm660: Disable expedited RCU grace periods after init & BOOT QUIETLY & devbw governor performance

dts: disable dynamic fps & esd check

cpuidle: lpm-levels: Do not predict LPM for isolated cpus

cpumask: Add cpumasks for big and LITTLE CPU clusters

ARM: dts: msm: disable ESD feature

fpc1020: Set fingerprintd priority to max when screen is off

ARM: dts: sdm660-gpu: Disable GPU wake up on touch event

Revert "drivers: input: touchscreen: nvt_touch_e7s & synaptics_dsx_e7s: Use FIFO"

Revert "power: qpnp-fg-gen3: fix soc not keeping full after charging overnight"

Revert "dts: whyred/tulip/wayne: increase linux,cma from 44M to 64M"

Revert "devfreq_boost: Introduce devfreq boost driver"

AGNi whyred v6.1:- (MIUI & AOSP pie)

Merge Linux 4.4.193

dts: whyred/tulip/wayne: increase linux,cma from 44M to 64M

gpu: adreno: sdm636 function as adreno 509 on camera use and revert back to show as 512

ion: use unbounded wq for prefetch work

ARM: dts: sdm660-gpu: Declare cooling-cells for KGSL cooling device

ARM: dts: sdm660: Enable CPU cooling by declaring cooling-cells

arm64: strcmp: Align to cache and preload

msm_rng: fix issue with unbalanced clk_put

Optimized Console FrameBuffer for upto 70% increase in Performance

power: qpnp-fg: Don't hold wakelocks

drivers: gpu: adreno: compile only Adreno 5xx part

power: qpnp-fg-gen3: fix soc not keeping full after charging overnight

thermal: msm_thermal: Remove FIFO scheduling class

power: qcom: Silence smb138x logger

BACKPORT: thermal: core: using power_efficient_wq for thermal worker

AGNi whyred v5.9:- (MIUI & AOSP pie)

Merge linux 4.4.192

mdss_fb: Fix sRGB reset after screen off/on

qcacld: wifi: dont use extra optimisations

mm: stall swappiness on battery < 25% and resume normal swappiness post 25% battery

mm: implement UKSM

kernel: Force trivial, unbound kthreads onto low-power CPUs

msm: mdss: fix inconsistent mutex_lock

fingerprint: use realtime mutex

drivers: input: touchscreen: nvt_touch_e7s & synaptics_dsx_e7s: Use FIFO

AGNi whyred v5.8:- (MIUI & AOSP pie)

Merge CAF/LA.UM.7.2.r1-07500

Merge Wifi LA.UM.7.2.r1-07500

gpu: adreno: sdm636 report as adreno 512 but keep functioning as adreno 509

(enables HD graphics in games like PUBG & possibly many others)

sound: sdm660: increase earphone clarity by reducing digital gains

implement event based cpu boosting

zstd zram with klapse & kcal support

Preserve many stuff from previous version

Also Many more stuff... refer github

(yet to be upstreamed to latest linux 4.4.y)

AGNi whyred v5.6:- (MIUI oreo/AOSP pie)

Merge CAF/LA.UM.7.2.r1-06900

Merge Wifi LA.UM.7.2.r1-06900

AGNi whyred v5.5:- (MIUI oreo/AOSP pie)

Merge kernel.org 4.4.179

AGNi whyred v5.4:- (MIUI oreo/AOSP pie)

Merge CAF/LA.UM.7.2.r1-06700

Merge Wifi LA.UM.7.2.r1-06700

AGNi whyred v5.3a:- (MIUI oreo/AOSP pie)

Merge kernel.org 4.4.178

Update f2fs

net: crypto set sk to NULL when af_alg_release.

arm64: Don't force FRAME_POINTER

kernel: Boost whenever a zygote-forked process becomes a top app

devfreq_boost: Remove unused devfreq_get_boost_dev function

devfreq_boost: Clean up code style and update license header

cpu_input_boost: Mark boost kthread as performance critical

cpu_input_boost: Serialize everything with a master kthread

cpu_input_boost: Clean up some style inconsistencies

cpu_input_boost: Only update cpu policy for one CPU in each cluster

cpu_input_boost: Block external boosts when the screen is turned off

cpu_input_boost: Code style nitpicks

cpu_input_boost: Clean up code style and update license header

cpu_input_boost: Eliminate spin lock by using atomic cmpxchg loop

cpu_input_boost: Simplify bitwise operations used to store boost state

cpu_input_boost: Fix and refactor max boost logic

cpu_input_boost: expose input freqs and duration to userspace

cpu_input_boost: Add API for boosting all CPUs to max frequency

msm: kgsl: Increase worker thread priority

msm: mdss: Boost cpubw devfreq device when a new frame is ready

kernel: Boost cpubw devfreq device to the max for app launches

kernel: Boost all CPUs to the max when userspace launches an app

devfreq: Introduce devfreq boost driver

cpu_input_boost: Destroy workqueue on error path in init

cpu_input_boost: Introduce driver for event-based CPU boosting

qcacld-3.0: Fix uninitialized iface pointer dereference

AGNi whyred v5.2:- (MIUI oreo/AOSP pie)

Merge kernel.org 4.4.177

ARM: dts: msm: enable ULPS and ULPS suspend modes for whyred/tulip panels

AGNi whyred v5.1:- (MIUI oreo/AOSP pie)

Implement KLapse - A kernel level livedisplay module v4.0

interactive: avoid calling usecs_to_jiffies() repeatedly

crypto: boost performance -O3

soc: qcom: service-locator: Use interruptible wait for locator

tulip: pa_therm0 fixup

dts: sdm6xx: reduce cpu uv to -80mV

AGNi whyred v5.0:- (MIUI oreo/AOSP pie) MAJOR Update

Merge CAF LA.UM.7.2.r1-05900, LA.UM.7.2.r1-06500

qcacld-3.0 wifi: merge LA.UM.7.2.r1-05900, LA.UM.7.2.r1-06500

Merge kernel.org 4.4.173, 4.4.174, 4.4.175, 4.4.176

whyred/tulip: cpu OC/UC squash of these commits by mihranz7

dts: sdm630-660-regulator: initial GPU UV

binder: create node flag to request sender's security context

msm: thermal: Import Xiaomi changes

Merge remote-tracking branch 'f2fs-stable/linux-4.4.y'

BACKPORT: userfaultfd: shmem/hugetlbfs: only allow to register VM_MAYWRITE vmas

qpnp-haptic: use aosp specific version for AGNi pie

dts: update GPU ID to use Adreno 512

Fix direct references to HZ (squashed commit)

msm-tsens: Reschedule work instead of causing uninterruptible sleep

AIO: Don't plug the I/O queue in do_io_submit()

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

pwm: qpnp: Fix qcom HW known issue

tick: don't update idle time if cpu offline

sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire

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

int_sqrt: Improve 3x faster integer sqrt.

int_sqrt: correction square root algo with naming

dts: change cont_splash_mem splash_region to stock

arm64: crypto: Improve target optimization flags

BACKPORT: arm64: ensure the kernel is compiled for LP64

arm: dts: sdm660-bus: double the GPU's buswidth

Revert "kgsl/mdss: Increase priorities of RT threads"

Revert "Disable optimisation at some places"

Revert "qpnp-fg-gen3: Limit how frequently fg data can be queried"

AGNi whyred v4.9:- (MIUI oreo/AOSP pie)

arm64: add support for speculative page faults

block: squashed update BFQ IO scheduler to v8r12

f2fs support for PIE

fs/select: use freezable blocking call

selinux: option to disable all logging

crypto,ext4: arm64/speck - add NEON-accelerated implementation of Speck-XTS

usb: increase max current to 2000mA

Disable compiler optimisation at some places

Merge remote-tracking branch 'aosp/android-4.4' into pie

revert "kernel: Force trivial, unbound kthreads onto low-power CPUs"

AGNi whyred v4.8:- (MIUI oreo/AOSP pie)

Merge kernel.org 4.4.172

disable tracing at various places Part 3 [FIX: MAJOR DERP AFFECTING MAGISK MODULES]

f2fs supported [ AGNi Pie variants]

input: goodixfp: Mark IRQ as performance critical

sched: hmp: Reduce number of load reports in a window

sched: cpufreq: HMP load reporting changes

core_ctl: Consider high irq loaded CPU as busy

PM / devfreq: memlat: Don't ignore extremely latency sensitive workloads

cfq-iosched: temporarily boost queue priority for idle classes

qpnp-fg-gen3,smb-lib: disable some excessive logging

lmk: add some packages to whitelist

dts: tulip: Increase power button debounce time

dts: tulip: add HDR Support Display & values

dts: tulip: remove verify flags & optimise system/vendor mount flags

and many more- refer github

AGNi whyred v4.6:- (MIUI oreo/AOSP pie)

msm: mdss: Mark display-wake kthread as performance critical

msm: mdss: Power on display asynchronously as early as possible

msm: kgsl: Mark IRQ and worker thread as performance critical

kernel: Force trivial, unbound kthreads onto low-power CPUs

power: reset: Allow device to preserve memory on restart

AGNi whyred v4.5:- (MIUI oreo/AOSP pie)

mdss: set proper brightness values for AGNi MIUI and aosp builds

kgsl: Mark IRQ as performance critical

input: fpc1020: Mark IRQ as performance critical

msm: mdss: Mark IRQ and important kthreads as performance critical

kernel: Add API to mark IRQs and kthreads as performance critical

sched/core: nr_migrate = 128 increases number of tasks to iterate in a single balance run.

sched/idle: Micro-optimize the idle loop

qdsp6v2: dts_eagle: use newer drivers

ASoC: msm: qdsp6v2: Set decoder output to 24 bit

random: Use /dev/urandom instead of /dev/random

Fix direct references to HZ (squashed commit)

AGNi whyred v4.4:- (MIUI oreo/AOSP pie)

Merge kernel.org 4.4.171

Merge new Xiaomi opensource for Redmi Note5, XiaoMi 6X, Redmi Note6 Pro

fs/ext4: drivers/block/loop: revert to Xiaomi Sources state (fix magisk modules issues)

Revert "msm: camera: isp: Handle frame drop due to delay"

Revert "qcacld-3.0: Add bound check for fixed_param->total_num_tx_power_levels" [PIE]

Revert "ANDROID: dm verity: add minimum prefetch size"

set selinux permissive (PIE & for MIUI to avoid some magisk module issues)

AGNi whyred v4.3:- (MIUI oreo/AOSP pie)

set MDSS_MAX_BL_BRIGHTNESS 4095

selinux: add security in-core xattr support for esdfs,f2fs,tmpfs,exfat,sdcardfs

CHROMIUM: selinux: Do not log "permissive" denials

selinux: fix FORCE PERMISSIVE option

AGNi whyred v4.2:- (MIUI oreo/AOSP pie)

Merge kernel.org 4.4.170

mm/mincore.c: CVE-2019-5489 Change mincore() to count "mapped" pages rather than "cached" pages

merge CAF LA.UM.7.2.r1-05800-sdm660.0

qcacld-3.0: merge LA.UM.7.2.r1-05800-sdm660.0

Merge upstream-f2fs-stable-linux-4.4.y into android-4.4

kernel/fs: fix I/O wait not accounted for RW O_DSYNC

strcmp: align to 64B cache line

fs: sdfat: Update to version 2.1.8

arm64: Add 32-bit vDSO support

whyred: update GPU ID to use Adreno 512

BACKPORT: time: Clean up CLOCK_MONOTONIC_RAW time handling

timekeeping: Get rid of pointless typecasts

whyred: DTS: update HDR value from Pocophone

mm: ratelimit swap write errors

timekeeping: Get rid of pointless typecasts

BACKPORT: arm/syscalls: Optimize address limit check

UPSTREAM: syscalls: Use CHECK_DATA_CORRUPTION for addr_limit_user_check

BACKPORT: arm64/syscalls: Check address limit on user-mode return

BACKPORT: lkdtm: add bad USER_DS test

UPSTREAM: bug: switch data corruption check to __must_check

BACKPORT: lkdtm: Add tests for struct list corruption

UPSTREAM: bug: Provide toggle for BUG on data corruption

UPSTREAM: list: Split list_del() debug checking into separate function

UPSTREAM: rculist: Consolidate DEBUG_LIST for list_add_rcu()

BACKPORT: list: Split list_add() debug checking into separate function

zsmalloc: calling zs_map_object() from irq is a bug

zram: allow zram to allocate CMA pages

UPSTREAM: loop: Add LOOP_SET_BLOCK_SIZE in compat ioctl

BACKPORT: block/loop: set hw_sectors

UPSTREAM: loop: add ioctl for changing logical block size

AGNi whyred v4.0:- (MIUI oreo/AOSP pie)

Merge kernel.org 4.4.169

mm: fix replace get_user_pages() write/force parameters with gup_flags

Merge kernel.org 4.4.168

Merge kernel.org 4.4.167

wireguard: Limit connection time to 30 seconds

Remove Qualcomm's panic changes

ANDROID: uid_sys_stats: Copy task_struct comm field to bigger buffer

FROMGIT,BACKPORT: mac80211-next: rtnetlink wifi simulation device

UPSTREAM: binder: fix race that allows malicious free of live buffer

msm:mdss: add HDR support for SDM660

ARM: dts: sdm660: tas2557: enable 32 bit data

asoc: tas2557: bb noise kanged from HTC source

arm: dts: msm: sdm660-audio: add missing nodes

asoc:sdm660:enable sampling rates up to 384khz for mi2s

arm:dts: enable partial update for whyred panels

arm:dts:enable dynamic fps for whyred panels

AGNi whyred v3.9r2:- (MIUI oreo/AOSP pie)

Merge CAF LA.UM.7.2.r1-05400 & LA.UM.7.2.r1-05500

qcacld-3.0: Merge LA.UM.7.2.r1-05500

soc: qcom: Remove now unused MSM_SMP2P_TEST

mdss_fb: set backlight_max as 4095 default

revert: "msm:mdss: add HDR support for SDM660

revert: "asoc:sdm660:enable sampling rates up to 384khz for mi2s"

revert: "arm: dts: msm: sdm660-audio: add missing nodes"

revert: "asoc: tas2557: bb noise kanged from HTC source"

revert: "ARM: dts: sdm660: tas2557: enable 32 bit data"

revert: "arm:dts: enable partial update for whyred panels

revert: "arm:dts:enable dynamic fps for whyred panels

revert: "mdss: WIP - try to fix kcal reset on panel power cycle

AGNi whyred v3.8:- (MIUI oreo/AOSP pie)

rebased on LA.UM.7.2.r1-05300 (CAF sources for PIE) and all its previous tags merged

all previous features/commits retained (same as before)

AGNi pureMIUI-O whyred v3.7:-

disable tracing/logging at various places Part 6

msm: kgsl: Correctly limit max number of contexts per process

msm: kgsl: Wake GPU upon receiving an ioctl rather than upon touch input

msm: kgsl: Remove POPP

dts: whyred: fix huaxing nt36672 fhd video mode dsi panel support

dts: whyred: Increase power button debounce time

selinux set enforcing

AGNi pureMIUI-O whyred v3.6:-

sdcardfs updates

Merge kernel.org 4.4.166 with some tracing disabled

AGNi pureMIUI-O whyred v3.5:-

Update adreno-kgsl,binder,char,iommu,ion from LA.UM.7.2.r1-05300

AGNi pureMIUI-O whyred v3.4:-

Merge kernel.org 4.4.165

AGNi pureMIUI-O whyred v3.3:-

Merge kernel.org 4.4.164

msm:mdss: add HDR video support for SDM660

mdss: kcal: port AGNi Screen Modes v1.2 from kenzo (Bug: kcal reset on screen off)

msm: mdss: kcal: Use PCC for negative display mode

fs: sdfat: Add MODULE_ALIAS_FS for supported filesystems

BACKPORT: mm: fix pageblock heuristic

ion: avoid allocate high order of pages in system heap pools

serial: msm_serial_hs: Protect spurious irqs after wakeup irq enablement

tty: check before stopping kthread

msm_serial_hs: make the Bluetooth tty thread RT

tty: add tty_port_set_policy function

tty: move tty_port workqueue to be a kthread

Make msm_serial_hs RT to improve bluetooth performance

do not call trace_printk on non-debug build

remove calls to trace_printk

mm: set swappiness to 5 and lock it there

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

ARM: dts: sdm660: tas2557: enable 32 bit data

fs: update pstore & f2fs

sdm660-pm: update LPM values for power cluster

BACKPORT: drivers: cpuidle: lpm-levels: Fix KW issues with idle state idx < 0

sdm660-pm: set LPM parameters from SDM845

BACKPORT: lpm-levels: Add support to parse LPM parameters

BACKPORT: msm: ipa: avoid wakelock acquire/release during data

scsi: ufs: Avoid writing null to Boot LUN enable attribute

BACKPORT: security: pfe: Use non blocking scm call

soc: qcom: scm: Add a noretry variant for scm_call2

thermal: qpnp-adc-tm: release lock upon disable_chan_meas failure

diag: Featurize IPC logging

clk: qcom: fix -Wself-assignment warning

msm: ipc_logging: Disable ipc_log_string

UPSTREAM: block: silently forbid sending any ioctl to a partition

ANDROID: mm: add config for default readahead size & set 1024kb default

soc: qcom: glink: Add downvote of transport during SSR

msm: bus_arb: disable debug logging

AGNi pureMIUI-O whyred v3.2:-

Merge kernel.org 4.4.163

try to resolve compatibility with MiuiPro/Masik roms

mm: skip swap readahead when process is exiting

ASoC: msm: qdsp6v2: Add volume control for capture streams

BACKPORT: clocksource: Use GENMASK_ULL in definition of CLOCKSOURCE_MASK

asoc:sdm660_cdc: sound control: fix microphone gain

arm:dts: enable partial update for whyred panels

arm:dts:enable dynamic fps for whyred panels

msm: camera: isp: Fix memory leaks in vfe probe

ASoC: msm: qdsp6v2: Fix offload gapless transition

sched/topology: fix ignored-qualifiers warning

net_sched: keep backlog updated with qlen

qseecom: fix memory leak in qseecom_start_app()

qpnp-fg-gen3: Limit how frequently fg data can be queried

ASoC: msm: qdsp6v2: Add mutex protection for rtac cal apis

arm64: support __int128 on gcc 5+

arm64: lib: rewrite and optimize memcmp

arm64: Add support ARCH_SUPPORTS_INT128

[SQUASH] Treewide: Fix direct references to HZ

drivers: fix Initial import of DTS-Eagle driver

asoc: msm: sdm660: use 24 bit format for PRIM_MI2S by default

asoc: tas2557: bb noise kanged from HTC source

arm: dts: msm: sdm660-audio: add missing nodes

asoc:sdm660:enable sampling rates up to 384khz for mi2s

qcacld-3.0: Reduce qcom_rx_wakelock timeouts to 7 seconds

sound: DTS-Eagle integration

drivers: Initial import of DTS-Eagle driver

Kconfig: msm: remove deprecated dts eagle driver

block: modify fiops

UPSTREAM: net: sk_pacing_shift_update() helper

UPSTREAM: tcp: allow drivers to tweak TSQ logic

UPSTREAM: net: allow per netns sysctl_rmem and sysctl_wmem for protos

UPSTREAM: tcp: implement TSQ for retransmits

UPSTREAM: tcp-tso: do not split TSO packets at retransmit time

tcp_westwood: tune up a bit

tcp_westwood: make 'rtt_min' and 'init_rtt' tunables and remove HZ dependency

tcp_westwood: use tcp_jiffies32 instead of tcp_time_stamp

tcp_westwood: fix tcp_westwood_info() style mistakes

tcp: replace cnt & rtt with struct in pkts_acked()

kgsl: convert some workqueues to use kthreads

Agile-SD : TCP congestion controller

msm: kgsl: run kgsl-workqueue as a high prio wq

mdss: Update RT priority

mdss: rotator: Use FIFO kthread for rotator work

msm-tsens: remove HZ dependency

ANDROID: fsnotify: Notify lower fs of open

block: tweak maple credits to @GUYVER91

msm: kgsl: Correctly limit max number of contexts per process

msm: kgsl: Limit the maximum number of contexts

BACKPORT: msm: kgsl: Keep dispatcher halted during SUSPEND state

mdss: fix inconsistent mutex_lock

msm: mdss: fix inconsistent mutex_lock

msm: mdss: fix inconsistent mutex_lock

slimbus: fix inconsistent mutex_lock

qdsp6v2: fix inconsistent mutex_lock

wcd9335: fix inconsistent mutex_lock

msm: qdsp6v2: fix inconsistent spin_lock

msm_cci: fix inconsistent mutex_lock

ARM: dts: sdm660: Set GPU idle timeout to 64 ms

msm: kgsl: Wake GPU upon receiving an ioctl rather than upon touch input

soc: qcom: service-locator: Fix memory leak in pd_locator_work()

soc: qcom: watchdog_v2: Fix memory leaks when memory_dump_v2 isn't built

crypto: Make CRYPTO_DEV_QCE depend on CRYPTO_DEV_QCRYPTO being disabled

msm: kgsl: Remove POPP

UPSTREAM: binder: replace "%p" with "%pK"

zram: add zstd to the supported algorithms list

asoc/msm: Reduce min capture size

AGNi pureMIUI-O whyred v3.1:-

Merge LA.UM.6.2.r1-11400

qcacld-3.0: Merge LA.UM.6.2.r1-11400-sdm660.0

selinux: cumulative fixes, set permissive mode but show enforcing (to fix many denials seen in miui roms)

revert: "drivers/md: disable dm-verity"

tcp: introduce tcp_jiffies32

uapi: Define __BITS_PER_LONG based on compiler target

fs/exec: fix use after free in execve

kernel: Fix potential refcount leak in su check

AGNi pureMIUI-O whyred v3.0:-

Merge kernel.org 4.4.162

disable zcache, cleancache

set selinux enforcing by default

AGNi pureMIUI-O whyred v2.9:-

mm/zcache: use lz4 compression and set max pool to 7% of total ram

Merge kernel.org 4.4.161

qcacld-3.0: Merge LA.UM.6.2.r1-11300-sdm660.0

Merge LA.UM.6.2.r1-11300

AGNi MIUI Oreo whyred v2.8:-

Merge kernel.org 4.4.160

disable tracing/logging at various places Part 5

enable TRANSPARENT_HUGEPAGE_MADVISE,cleancache,zcache

AGNi pureMIUI-O whyred v2.7:-

kgsl/mdss: Increase priorities of RT threads

drivers/power: disable bcl

msm_thermal: check temp only if probed and set 1sec poll time

fs: Introduce Reboot Auto File Sync v1.0 driver

qpnp-fg-gen3: disable debug

dts: implement gpu fixups

AGNi pureMIUI-O whyred v2.6:- (Rebuilt from scratch)

Merge kernel.org 4.4.159

qcacld-3.0: merge LA.UM.6.2.r1-10900

Merge LA.UM.6.2.r1-10900-sdm660.0

qcacld-3.0: Merge LA.UM.6.2.r1-10500-sdm660.0

Merge LA.UM.6.2.r1-10500-sdm660.0

Merge LA.UM.6.2.r1-10300-sdm660.0

Merge LA.UM.6.2.r1-09500-sdm660.0

Merge LA.UM.6.2.r1-09300-sdm660.0

Merge LA.UM.6.2.r1-08900-sdm660.0

Merge LA.UM.6.2.r1-08700-sdm660.0

Merge LA.UM.6.2.r1-08500-sdm660.0

Merge LA.UM.6.2.r1-08100-sdm660.0

Merge LA.UM.6.2.r1-08000-sdm660.0

Merge LA.UM.6.2.r1-07700-sdm660.0

Merge LA.UM.6.2.r1-07400-sdm660.0

Merge LA.UM.6.2.r1-07200-sdm660.0

Merge LA.UM.6.2.r1-06900-sdm660.0

Merge LA.UM.6.2.r1-06500-sdm660.0

update wireguard

many more commits

DOWNLOAD from Dropbox

XDA:DevDB Information

AGNi kernel (Blazing Fast & Efficient Kernel), Kernel for the Xiaomi Redmi Note 5 Pro

Contributors

psndna88

Source Code: https://github.com/psndna88/AGNi_pureMIUI.git

Kernel Special Features: Based on caf LA.UM.8.2.r1-07300 with selectively picked mods/patches

Version Information

Status: Stable

Current Stable Version: 9.9.1

Stable Release Date: 2020-09-23

Created 2018-10-20

Last Updated 2020-09-26