alucard_hotplug: speed optimization.
alucard_hotplug: removed useless get_online_cpus()..put_online_cpus().
Revert "genirq: Add IRQS_PENDING for nested and simple irq". It caused kernel panic on phone charging.

This reverts commit 00ef44d6265f7ab8aa5c4b6c69c978d909cf8209.
Revert "genirq: Allow check_wakeup_irqs to notice level-triggered interrupts". It caused kernel panic on phone charging.

This reverts commit f066d00f119ddc1aca99aae2c405d30389b8763f.
Fix LCD notifi functions in lge_touch_core and sweep2wake
KERNEL BUILD: get rid of LOKI in kernel zip package. + cleanups.

Conflicts:
	READY-KERNEL/META-INF/com/google/android/updater-script
RECOVERY BUMP: get rid of loki trace. + unify scripts.

Conflicts:
	RECOVERY/bumped_recovery/META-INF/com/google/android/updater-script
auto_sleep: allow sys_sync also if power_suspend is not defined and PM_SYNC_BEFORE_SUSPEND is defined.
Turn OFF HTC ASYNC_FSYNC code for all models.

FS was changed a lot. i dont see any need for this code for now.
WIFI: do not use powersuspend for WIFI, it's has it's own PM triggers.
HOTPLUGS: update suspend code selectors. idea by @Alucard24

If we have LCD_NOTIFY but wish to use POWERUSPEND now it's possible.

If only LCD_NOTIFY then it's will be selected by auto
MMC: Reverting all WAKE/SUSPEND changes to fix MMC hangs during suspend.

This reverts:
https://github.com/dorimanx/Dorimanx-LG-G2-D802-Kernel/commit/e439062ac344a9bd88b5560f58b6ef654e35c60a
https://github.com/dorimanx/Dorimanx-LG-G2-D802-Kernel/commit/f436acc570d16bf330b875fcd94b077e55051a58
https://github.com/dorimanx/Dorimanx-LG-G2-D802-Kernel/commit/545d315391b0613932adfd373b934767184f5e21
https://github.com/dorimanx/Dorimanx-LG-G2-D802-Kernel/commit/1a6c77ca40177f4ff8f6af60ab8197cd16a858c6
https://github.com/dorimanx/Dorimanx-LG-G2-D802-Kernel/commit/001fdb4ca1cd06ba4176567d3eec67f28f900dd1
https://github.com/dorimanx/Dorimanx-LG-G2-D802-Kernel/commit/0049ab570ada4b84909e43f5f89db47c01951e94
https://github.com/dorimanx/Dorimanx-LG-G2-D802-Kernel/commit/6241623da43deeaaef849ac451ed6b2b6d499898
https://github.com/dorimanx/Dorimanx-LG-G2-D802-Kernel/commit/ae8695e2fd8021f64c4748f1b0ebc872ebc1778b
https://github.com/dorimanx/Dorimanx-LG-G2-D802-Kernel/commit/38f752bed0ea0be8573a765e7ea84ba4c6424e3a
https://github.com/dorimanx/Dorimanx-LG-G2-D802-Kernel/commit/0ec4df36a63aee16f2d37cdc8ef0400d7433ba36
https://github.com/dorimanx/Dorimanx-LG-G2-D802-Kernel/commit/8b00c3d522e4332f789830b8181bb8f60bb810f4

I need stability, i dont see any change with all that added. but i see dead MMC...
now ok after many tests.
CONFIG UPDATE: found BUG with MMC config. now all OK again. READ MORE.

I was not able to set discard on any mounted partitions! and to use trim
when mmc in suspend. that cause SOD, kernel hang in mmc suspend/resume.

by default LG dont use deffered suspend, so i have disabled.
we need the HPI! and it's was disabled, that caused the major SOD bugs.
once ENABLED, all OK now.

About the SHA1_ARM_NEON && SHA512_ARM_NEON seems to brake L2TP VPN.
Need to test if OK now. was working in kernel 8.5 then stop in 8.6
when i added this code. other things have no connection to vpn/encrypt
so it's must be this.
cpufreq_intellimm: intelliminmax cpu governor initial baseline commit

intelliminmax (intellimm) governor is designed to work with the newer SOCs with fixed voltage rails (ie MSM8974+ SOCs).  It is designed to work within those
fixed voltage ranges in order to maximize battery performance while creating a
smooth UI operations.

Copyright 2014 Paul Reioux <aka faux123>

Signed-off-by: Paul Reioux <reioux@gmail.com>

WIP: Intellimm: remove unused code and change tblmap algorithm

tblmap: add power-save frequencies for the first 5 entries

Signed-off-by: Paul Reioux <reioux@gmail.com>

WIP: intellimm: more tweaks and table clean up

Signed-off-by: Paul Reioux <reioux@gmail.com>

WIP: intellimm: more tweaks

Signed-off-by: Paul Reioux <reioux@gmail.com>

WIP: intellimm: clean up derpy logic

Signed-off-by: Paul Reioux <reioux@gmail.com>

WIP: intellimm: final clean up and algorithm tweaks

Signed-off-by: Paul Reioux <reioux@gmail.com>

WIP: intellimm: finalizing part 2

Signed-off-by: Paul Reioux <reioux@gmail.com>

WIP: intellimm: finalizing part 3

add back burst for smoother UI

Signed-off-by: Paul Reioux <reioux@gmail.com>

intellimm: fix div by zero derp

Signed-off-by: Paul Reioux <reioux@gmail.com>
CONFIG: Enable CPU_FREQ_GOV_INTELLIMM thanks @faux123
CPUFREQ Intellimm: adapt to my tree and needs :) nice toy.

*Set more freqs for my kernel.
*Adapt the common used functions.
*Cleaned 80 char lines.
*Renamed optimal_freq as default ROM MP mod that value to some crap.
no matter what gov.
*Cleaned useless defines.
*Split upthreshoulds
Kernel 9.2
net: ipv6: allow choosing optimistic addresses with use_optimistic

The use_optimistic sysctl makes optimistic IPv6 addresses
equivalent to preferred addresses for source address selection
(e.g., when calling connect()), but it does not allow an
application to bind to optimistic addresses. This behaviour is
inconsistent - for example, it doesn't make sense for bind() to
an optimistic address fail with EADDRNOTAVAIL, but connect() to
choose that address outgoing address on the same socket.

Bug: 17769720
Bug: 18609055
Change-Id: I9de0d6c92ac45e29d28e318ac626c71806666f13
Signed-off-by: Erik Kline <ek@google.com>
Signed-off-by: Lorenzo Colitti <lorenzo@google.com>
MMC: Restore MMC_BLOCK_DEFERRED_RESUME changes. for future use.

This restore:
https://github.com/dorimanx/Dorimanx-LG-G2-D802-Kernel/commit/0ec4df36a63aee16f2d37cdc8ef0400d7433ba36
https://github.com/dorimanx/Dorimanx-LG-G2-D802-Kernel/commit/38f752bed0ea0be8573a765e7ea84ba4c6424e3a
https://github.com/dorimanx/Dorimanx-LG-G2-D802-Kernel/commit/ae8695e2fd8021f64c4748f1b0ebc872ebc1778b
https://github.com/dorimanx/Dorimanx-LG-G2-D802-Kernel/commit/6241623da43deeaaef849ac451ed6b2b6d499898
https://github.com/dorimanx/Dorimanx-LG-G2-D802-Kernel/commit/0049ab570ada4b84909e43f5f89db47c01951e94

+ change not delete:
ifndef CONFIG_MMC_BLOCK_DEFERRED_RESUME
        if (host->bus_ops->detect && !host->bus_dead)
                host->bus_ops->detect(host);
endif
alucard_hotplug: use cpu_is_offline instead of !cpu_online function.