[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Eliminater74:
Kernel Update V7.0.5 Standard/Advanced

Update: New:

Nebula has been updated v7.0.5 Standard/Advanced Editions.

In Download Section.

New: Maple IO/Scheduler

Nebula Gov: <--- Interactive ported over from msm-4.4 and Modded to suit me.. WIP:

FastChange Switch now added:

Many Memory Optimizations.

Linaro LSK 3.18 Branch merged into Code: Only in Advanced Kernel.

Many more things. check the changelog for em.

PS: advanced kernel only: system/bin/pnpmgr renamed to pnpmgr.bak and system/etc/pnp.xml renamed to pnp.xml.bak

Advanced: Simple Thermal Monitor has been disabled and now using a modified msm_monitor:

Standared: I will not merge the Linaro lsk 3.18 branch into it.

[Advanced: 3.18.46 while standard is 3.18.31]

PS: Advanced Users: Make sure you backup your boot partition................

PS: Most of you have no clue what goes into development on a kernel, you only see the finished release product, The few that do know, know how frustrating and a pain it can be.

I put many hours/days/weeks into the creation of this kernel. I do this on my own time. I also want to thank the testers that put up with my attitude and who test every release for me.

I also want to thank you the users, who have motivated me to keep moving forward.... When I first started kernel development on the LG G3, I had no idea where I would be today......

I strive to do my best, I am not always lucky, and many times I trash it all and start all over again...

So I hope you appreciate what I release here...........

ChangeLog: Mostly Advanced

Project name: HTC10_pme_msm8996_Dev_Kernel
* Nebula: htc10_defconfig Update. Add Nebula Gov (Eliminater74) [a9c65df2d1cb]
* cpufreq: Gov: Introduce cpufreq_nebula: Based on Interactive ported from msm-4.4 (Eliminater74) [21532548e522]
* Nebula: defconfig: htc10_defconfig Update Minor, Enable Fastcharge (Eliminater74) [300b55c2469d]
* arm64: bpf: optimize JMP_CALL Remove superfluous stack frame, saving us 3 instructions for every JMP_CALL. (Eliminater74) [859b20697bdb]
* arm64: fix missing syscall trace exit If a syscall is entered without TIF_SYSCALL_TRACE set, then it goes on the fast path. It's then possible to have TIF_SYSCALL_TRACE added in the middle of the syscall, but ret_fast_syscall doesn't check this flag again. This causes a ptrace syscall-exit-stop to be missed. (Eliminater74) [de67eb767a4e]
* arm64, thp: remove infrastructure for handling splitting PMDs With new refcounting we don't need to mark PMDs splitting. Let's drop code to handle this. (Eliminater74) [8295f0c14309]
* arm64: entry: remove pointless SPSR mode check In work_pending, we may skip work if the stacked SPSR value represents anything other than an EL0 context. We then immediately invoke the kernel_exit 0 macro as part of ret_to_user, assuming a return to EL0. This is somewhat confusing. (Eliminater74) [82f21e1d3f0e]
* arm64: defconfig: enable Generic on-chip SRAM driver Most of the ARM SoCs have small SRAM memory used for various purposes that require faster access to data compared to normal DDR. (Eliminater74) [04540b1f4da2]
* arm64: Implement optimised IP checksum helpers * AArch64 is capable of 128-bit memory accesses without alignment * restrictions, which makes it both possible and highly practical to slurp * up a typical 20-byte IP header in just 2 loads. Implement our own * version of ip_fast_checksum() to take advantage of that, resulting in * considerably fewer instructions and memory accesses than the generic * version. We can also get more optimal code generation for csum_fold() by * defining it a slightly different way round from the generic version, so * throw that into the mix too. (Eliminater74) [9b3311cc6944]
* Nebula: Update Defconfig Settings.. Bring into line with 3.18.46 (Eliminater74) [ef3cfe9ca5c0]
* Nebula: No Need to take this commit, Its all personal tools and defconfig setups (Eliminater74) [fb6bf7b03146]
* sound: msm: qdsp6v2: optimize for size (Alex Naidis) [d8b35ff89787]
* power:qpnp-charger: extended charge time from 30s to 100s when battery status is near to full (Zhao Xuewen) [6a2f694323ac]
* drivers: misc: implement usb fast charge mode (engstk) [aeb183f06473]
* drivers/cpufreq: Gov: Interactive: reduce timer with screen off * Standard Qualcomm configuration on userspace's PowerHAL is to increase the timer_rate value to reduce power consumption. * That doesn't seem to happen with some devices, so this patch implements it in the governor driver instead * * Tested with Google Play Music streaming in its higher bitrate, and there's no audio issues * * Original Author: @franciscofranco (Eliminater74) [685a865e8e77]
* drivers/cpufreq: Gov: interactive: change sysfs permissions to r/W also for groups (Eliminater74) [60901b1c606d]
* drivers/cpufreq: Gov: chill: Snapshot Latest Edition: V2.7 By @flop129 (Eliminater74) [82afdc30f605]
* Nebula: Defconfig Update: Add Maple IO Sched and Fix Disable Simple_thermal and enable msm_thermal, fix few other areas * Simple_Thermal_Monitor was disabled because it kept locking the cpufreq at max: Author has been notified. (Eliminater74) [2cb0992188d8]
* Nebula: 7.0.5-Advanced Edition: 01/06/2017 (Eliminater74) [f571f46624d5]
* drivers: thermal: queue work on system_power_efficient_wq (Francisco Franco) [cc5a6565aabe]
* msm-thermal: fix offlined core counting (Wei Wang) [6f6f9d493793]
* msm-thermal: create core_control sysfs node only when necessary (Wei Wang) [6976289e9999]
* Revert "msm-thermal: remove core_control sysfs node when disabled" (Wei Wang) [a6f710eace4a]
* msm-thermal: remove core_control sysfs node when disabled (Wei Wang) [f3d72754e8e7]
* msm-thermal: add option to disable core_control and disable it in 8996 (Wei Wang) [13c74eea0491]
* msm: thermal: fix KTM config and wrong error message (Wei Wang) [62a58f472a82]
* include/linux/sched: sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire (Eliminater74) [978934d8618a]
* slimbus: slim-msm-ctrl: OverClock SlimBus: 11/31 Settings, Default 7/11: Now: enum frm_cfg {	FRM_ACTIVE	= 1,	CLK_GEAR	= 11,	ROOT_FREQ	= 31,	REF_CLK_GEAR	= 15,	INTR_WAKE	= 19, }; (Eliminater74) [2e80b4e65ad9]
* cpufreq: add ZZMoove big.LITTLE Edition (bLE) development version as of 09.01.2016 (andip71) [48dccb2afa04]
* block: Maple.iosched: Fix Compiler Errors (Eliminater74) [65d7530105aa]
* block: maple: Stop abusing csd.list for fifo_time (Joe Maples) [6e50e611fcde]
* maple-iosched: Fix the -Wdeclaration-after-statement warnings (Yoinx) [286de14d25bc]
* block: maple: Fix inverted logic (Joe Maples) [e19d5ad94607]
* block: maple: Make bools constant across functions (Joe Maples) [145d6a891189]
* block: maple: Use native display state instead of PowerSuspend (Joe Maples) [f6c7ae360ccf]
* block: maple: Serve asynchronous requests before synchronous ones (Joe Maples) [9755e303e999]
* block: maple: Fix some logic, import former/latter request logic from SIO, and use some improved bits of SIO (Joe Maples) [6ae6082dc8f3]
* block: maple: Catch writes_starved sooner, increase limit. (Joe Maples) [3c3ade14af7c]
* block: maple: Clean up and add patchlevel macro to keep track of commits (Joe Maples) [3defe894c359]
* block: maple: Remove CONFIG_HZ dependency, assume 300 for interrupt frequency (Joe Maples) [99cd7a0a9b71]
* block: [Introduded for 3.18.y] Add Maple I/O Scheduler (Joe Maples) [d6330b9016c4]
* workqueue: make sure delayed work run in local cpu (Shaohua Li) [fa1d34b9c166]
* writeback: fix writeback cache thrashing (Namjae Jeon) [489a17617173]
* msm_cpu_voltage: Show only CPUx available voltages. (alucard24) [580b0c0c5350]
* msm_cpu_voltage: Show frequency voltages for CPU0 and CPU2. (alucard24) [4e945f89c621]
* soc: watchdog: Dump debugging info. before timeout (Woody Lin) [fa80b5321107]
* sched: Add a knob to disable the core_ctl (Pavankumar Kondeti) [3165eec699c9]
* trace: Move core control trace events to scheduler (Olav Haugan) [90e0883b4862]
* Revert "trace: Move core control trace events to scheduler" (Eliminater74) [655acbb27f15]
* core_ctrl: Move core control into kernel (Olav Haugan) [581f6d2518b7]
* sched: core_ctrl: [Revert HTC Offical UM 5.5 Series Core Control] (Eliminater74) [1a0ed7841901]
* lib: lz4: cleanup unaligned access efficiency detection (Rui Salvaterra) [31b3502ecf6b]
* sg: Fix double-free when drives detach during SG_IO (Calvin Owens) [6569fe07a872]
* sched/fair: Optimize find_idlest_cpu() when there is no choice (Morten Rasmussen) [4feac30a1f55]
* Optimize copy_page for modern ARM platforms (Harm Hanemaaijer) [2b55b2d2c07a]
* rivers/clk/msm: Some Minor Changes to match msm-4.4 (Eliminater74) [388d6462e521]
* arm64: [Backported] Split out platform options to separate Kconfig * Fixed to work on 3.18.y Kernels By @Eliminater74 (Olof Johansson) [3e324f00a638]
* Nebula: V3.0.4-Advanced: 01/03/2017 (Eliminater74) [c6717ef2240e]
* ASoC: GCC: sound/soc/codecs/wcd9335: Compiler Warning Fix.. (Eliminater74) [04da9846a5a4]
* ASoC:[Backported msm-4.4r9] msm: fix ULL playback over a2dp (Preetam Singh Ranawat) [a802b2102ced]
* ASoC:[Backported msm-4.4r9] msm: qdsp6v2: Modify wait event and cmd state check (Yamit Mehta) [407326988847]
* ASoC:[Backported msm-4.4r9] wcd-mbhc: check HPH PA status before impedance detection (Walter Yang) [cebc0a1493be]
* ASoC:[Backported msm-4.4r9] wcd-spi: fix clock disable request during shutdown (Bhalchandra Gajare) [08233f389658]
* ASoC:[Backported msm-4.4r9] wcd9335: Add dapm ignore suspend for codec dai (Sudheer Papothi) [3994dcaa1b2b]
* ASoC:[Backported msm-4.4r9] wcd-dsp-mgr: fix restart logic when codec comes back online (Bhalchandra Gajare) [b91ca23d3653]
* ASoC:[Backported msm-4.4r9] wcd9335: Fix register sequence for CPE configuration (Bhalchandra Gajare) [dd8e691997bb]
* ASoC:[Backported msm-4.4r9] wcd9335: Fix race during codec master clock (mclk) enablement (Bhalchandra Gajare) [1a8d5680a04b]
* ASoC:[Backported msm-4.4r9] wcd-spi: Add memory read debug support (Bhalchandra Gajare) [646b20eba72a]
* ASoC:[Backported msm-4.4r9] wcd-spi: fix the maximum transfer unit setting (Bhalchandra Gajare) [16bcbdd7c4b6]
* ASoc:[Backported msm-4.4r9] wcd9335: Ignore mbhc get impedance error (Phani Kumar Uppalapati) [7abbcffa1f89]
* ASoC:[Backported msm-4.4r9] wcd-spi: Initialize local variables before usage (Bhalchandra Gajare) [b9664df14bfb]
* ASoC:[Backported msm-4.4r9] wcd-spi: Move one time initializations to component bind (Bhalchandra Gajare) [37b365eddb95]
* ASoC:[Backported msm-4.4r9] wcd-dsp-mgr: set status before broadcasting post events (Bhalchandra Gajare) [bc1a7c4a6054]
* ASoC:[Backported msm-4.4r9] wcd-spi: fix clock disable (Bhalchandra Gajare) [efca7d154333]
* ASoC:[Backported msm-4.4r9] wcd-dsp-mgr: add support for subsystem restart (Bhalchandra Gajare) [c4a62269ec81]
* ASoC:[Backported msm-4.4r9] wcd-spi: add support to read requested section of memory (Bhalchandra Gajare) [50208219996d]
* ASoC:[Backported msm-4.4r9] wcd_cpe_core: add arch_setup_dma_ops call (Bhalchandra Gajare) [c841f0735969]
* ASoC:[Backported msm-4.4r9] wcd9xxx: check impedance index before use (Meng Wang) [f5dc98f9a629]
* ASoC:[Backported msm-4.4r9] codecs: fix edid error when hdmi ops is null (Shiv Maliyappanahalli) [d808bd0cf310]
* ASoC:[Backported msm-4.4r9] wcd: change classh settings as per impedance value (Neema Shetty) [745e097eb090]
* ASoC:[Backported msm-4.4r9] wcd9335: Configure DMIC clock rate for ECPP path (Sudheer Papothi) [f44c3322e991]
* ASoC:[Backported msm-4.4r9] wcd9335: Add support to enable low power mode on codec (Sudheer Papothi) [99bec65a20b2]
* ASoC:[Backported msm-4.4r9] wcd-spi: SPI driver for WCD audio codecs (Bhalchandra Gajare) [f5f3c35a1e9b]
* ASoC:[Backported msm-4.4r9] wcd_dsp_mgr: Add the WCD DSP manager driver (Bhalchandra Gajare) [91db1cd316bd]
* ASoC:[Backported msm-4.4r9] wcd-dsp-utils: Add utilities for wcd dsp (Bhalchandra Gajare) [56d9a87e5150]
* ASoC:[Backported msm-4.4r9] wcd9335: Changes to support CPE session using EC PP path (Sudheer Papothi) [59cbabfad17d]
* ASoC:[Backported msm-4.4r9] wcd9335: Add dapm ignore suspend for backend dais (Sudheer Papothi) [0eb495a0966d]
* ASoC:[Backported msm-4.4r9] wcd9335: don't check for HPHL and HPHR for mono headset (Yeleswarapu Nagaradhesh) [09056841a8eb]
* ASoC:[Backported msm-4.4r9] audio-ext-clk: check for null pointer de-reference (Yeleswarapu Nagaradhesh) [40aea1da6b12]
* ASoC:[Backported msm-4.4r9] wcd9335: add all child devices of codec (Yeleswarapu Nagaradhesh) [cffd2d17c88e]
* ASoC:[Backported msm-4.4r9] wcd9335: Remove pop on bring-up of noise cancelling headset (Stephen Oglesby) [64379a7a6f52]
* ASoC:[Backported msm-4.4r9] wcd-mbhc: fix plug removal detection from extension cable (Yeleswarapu Nagaradhesh) [868c851bc286]
* ASoC:[Backported msm-4.4r9] wcd9335: Update codec driver probe sequence (Vidyakumar Athota) [f1e8343ee6b2]
* ASoC:[Backported msm-4.4r9] wcd9335: Fix traversing of source dapm widgets (Sudheer Papothi) [173b52b579e3]
* ASoC:[Backported msm-4.4r9] wcd9335: Infinite loop when routing DMIC for handset ANC (Stephen Oglesby) [264bd74f0924]
* ASoC:[Backported msm-4.4r9] wcd9335: Adjust DMIC clock based on sample rate (Stephen Oglesby) [9b548e305caa]
* ASoC:[Backported msm-4.4r9] wcd: set pointer to null after kfree (Meng Wang) [6699a83f4e92]
* ASoC:[Backported msm-4.4r9] wcd9335: Fix race during codec master clock (mclk) enablement (Bhalchandra Gajare) [e9563c1067fc]
* ASoc:[Backported msm-4.4r9] wcd9335: Ignore mbhc get impedance error (Phani Kumar Uppalapati) [e8b626f8d731]
* ASoC:[Backported msm-4.4r9] wcd9335: add handset speaker gain mixer control (Vidyakumar Athota) [3a93c03b9cc9]
* ASoC:[Backported msm-4.4r9] wcd9335: reduce speaker teardown latency (Laxminath Kasam) [1780947cef1a]
* ASoc:[Backported msm-4.4r9] wcd9335: correct native playback widget on msmcobalt (Meng Wang) [cde494254446]
* ASoC:[Backported msm-4.4r9] wcd9335: Add 24bit record support (Dhanalakshmi Siddani) [71bdb31d795c]
* sound/soc/msm: GCC: Fix a few compiling errors due to droping googles qdsp6v2 into kernel (Eliminater74) [abd598f3533a]
* qdsp6v2: Google: Drop Googles qdsp6v2 From Marlin Pixel XL (Eliminater74) [02e4ca5ec4aa]