[Nexus 6P Android Development] nathanchance:
Update for M and N!

Nothing super major here, just a lot of optimization patches from CAF and other Angler developers. As always, let me know if there are issues using the process in the OP.

Downloads: v1.3 for M and v2.3 for N

Changelog for M:

Short list:

Version 1.3

Enabled KSM

Added some network fixes

Added some scheduler patches

Added some other minor bug fixes

Latest Linaro 6.1 source

Full list: (see Github for full details)

4095383 NINJA: v1.3

5783e43 ninja_defconfig: enable IP_SET

7f12f00 ARM: dts: msm: enable UFS ICE

d5ee50e qseecom: Enable crypto clocks for SSD listener service

7e35ac2 qseecom: Fix: qseecom_send_service_cmd failing secure world busy

ca7f725 qseecom: Remove core affinity requirement when loading external elf files

68ae857 qseecom: Remove legacy TZ scm_call request support.

31ff9de qseecom: Propagate qseecom_load_external_elf failure to userspace

242fcb1 qseecom: change _qseecom_send_cmd errno if app is not found

a580b14 qseecom: Change qseecom bw_inactive_req_ws worker

6387909 msm: qseecom: handle vdd power supply correctly

54d6cad qseecom: Add MDTP cipher DIP support

71d4104 qseecom: Send 64bit physical address for TZ 4.0

e136a7f Revert "Revert "ARM: dts: qcom: enable ICE driver for msm8994""

4bde0d4 crypto: ice: Add more ICE debug registers

f0c0c24 crypto: ice: Check right bit for BYPASS status

5c4954d crypto: ice: fix ICE HW setup sequence

ee449d4 crypto: ice: Add an interface to dump ICE register

4eed810 crypto: ice: Update ICE regs with correct value for optimization

960cf60 crypto: ice: Fix ICE key index type

a18f8f4 crypto: ice: Add support of BIST

cdec1a8 crypto: ice: Add support of new interrupts for ICE

6375caa crypto: ice: use devm api to unmap IO Resource

67b3d3c crypto: ice: use devm api to unmap IO Resource

a03137d qcom: ice: Expose an API to setup ICE hardware

fc87bb1 crypto: msm: ice: Add support for eMMC based ICE

c2f9330 qseecom: Update ICE driver for eMMC based ICE HW

1778057 msm: qseecom: Update ICE driver for next version of ICE hardware

0b3a440 crypto: qcom: Update ICE driver for next version of hardware

b9691f7 sched: add missing rq_clock and rq_clock_task functions

253202c sched: encourage idle load balance and discourage active load balance

5e646ef soc: qcom: smd: Catch missed close state transitions

011b41b sched: Fix race in idle_balance()

26e882d KEYS: Fix handling of stored error in a negatively instantiated user key

87f6c56 ipv6: addrconf: validate new MTU before applying it

1ad74b5 net: fix iterating over hashtable in tcp_nuke_addr()

fb43465 soc: qcom: smd: Use memcpy_io

bde898a arm64: kernel: refactor the CPU suspend API for retention states

9902459 rcu: Don't disable CPU hotplug during OOM notifiers

4e15a29 msm: pm: use correct cpu_suspend call for Non-PSCI targets

e712cc8 mpm: Fix clk_get API issue

2ed4dbc msm-core: add notification support for cpu power stats ready

5c421d5 qcom: msm-core: uninterruptible wait - you can kiss my arse goodbye

b964c65 kernel: cpu: use cpu_read_relaxed on cpu_down()

ccd2789 arm64: crypto: reduce priority of core AES cipher

eea08a0 crypto: msm: qcrypto: Fix spinlock deadlock issue

9ac7f04 crypto: msm: qcrypto: Fix null pointer dereferences

8f01923 crypto: msm: qce50: Fix null pointer dereferences

7bb301b crypto: qce50: Update clock management

ac7f4c2 crypto: msm: remove wakeup lock in qcrypto driver

5573239 crypto: msm: fix WDT because of excessive logging

e257229 crypto: msm: fix qcrypto driver to improve IPSec performance

ae1ef4c cpuidle: kick all cpu after idle handler installed

4e70db3 arm: idle: add missing need_resched check

e5c5e07 proc: add a reschedule point in proc_readfd_common()

0642715 netfilter: xt_hashlimit: perform garbage collection from process context

fefad7d netfilter: xt_hashlimit: fix proc entry leak in netns destroy path

7781aed cputime: Fix jiffies based cputime assumption on steal accounting

01138dd sched: Change autogroup_move_group() to use for_each_thread()

5b0feec sched: Change thread_group_cputime() to use for_each_thread()

250f637 sched: s/do_each_thread/for_each_process_thread/ in debug.c

a096bb4 IKSWL-3377 power: make sync on suspend optional

6349619 IKSWL-3402 proc: stat: fix idle time jump

83c9487 IKSWL-3402 tick: don't update idle time if cpu offline

00fa955 IKKRNBSP-3173 arm64: lib: memory utilities optimization

520a6db net: attempt a single high order allocation

c5d4acc net: use __GFP_NORETRY for high order allocations

a11bddf net: allow > 0 order atomic page alloc in skb_page_frag_refill

84ae430 net: refactor sk_page_frag_refill()

9726500 af_unix: fix bug on large send()

ecbb3df net: attempt high order allocations in sock_alloc_send_pskb()

61e0641 af_unix: improve STREAM behavior with fragmented memory

7914074 clk: qcom: clock-pll: Optimize debug code for PLL lock failures

cb6d167 bluetooth: Validate socket address length in sco_sock_bind().

4dc44c1 net: add validation for the socket syscall protocol argument

6b24612 power: bcl: Re-evaluate hotplug for unexpected cpu online

e69a83d diag: Add checks before sending real time mask updates

bd19898 msm: ipa: increase modem memory partition in IPA SRAM

73ba585 arm64: irq: remove affinity logging. Makes it hard to use dmesg with this spam

72e3a70 defconfig: enable KSM

8cfcf77 Add Ninja build guide and script

6a1be13 Remove AK scripts

Changelog for N:

Short list:

Version 2.3

Enabled KSM

Added some network fixes

Added some scheduler patches

Added some other minor bug fixes

Latest Linaro 6.1 source

Full list: (see Github for full details)

bdccf6c NINJA: v2.3

4609917 ninja_defconfig: enable IP_SET

7a4d7af ARM: dts: msm: enable UFS ICE

663b8f3 qseecom: Enable crypto clocks for SSD listener service

48a26f1 qseecom: Fix: qseecom_send_service_cmd failing secure world busy

ddd993f qseecom: Remove core affinity requirement when loading external elf files

90dc2cc qseecom: Remove legacy TZ scm_call request support.

91d568a qseecom: Propagate qseecom_load_external_elf failure to userspace

af048ee qseecom: change _qseecom_send_cmd errno if app is not found

34f7005 qseecom: Change qseecom bw_inactive_req_ws worker

325ff0e msm: qseecom: handle vdd power supply correctly

9d84b04 qseecom: Add MDTP cipher DIP support

076eb87 qseecom: Send 64bit physical address for TZ 4.0

61310e4 Revert "Revert "ARM: dts: qcom: enable ICE driver for msm8994""

a965133 crypto: ice: Add more ICE debug registers

8d09fd6 crypto: ice: Check right bit for BYPASS status

c6916d9 crypto: ice: fix ICE HW setup sequence

bbd0f44 crypto: ice: Add an interface to dump ICE register

090016d crypto: ice: Update ICE regs with correct value for optimization

cd5d764 crypto: ice: Fix ICE key index type

2cb5621 crypto: ice: Add support of BIST

3637f4d crypto: ice: Add support of new interrupts for ICE

e6e0024 crypto: ice: use devm api to unmap IO Resource

31b9e73 crypto: ice: use devm api to unmap IO Resource

d571c59 qcom: ice: Expose an API to setup ICE hardware

7a9f728 crypto: msm: ice: Add support for eMMC based ICE

083ebe0 qseecom: Update ICE driver for eMMC based ICE HW

0e2781c msm: qseecom: Update ICE driver for next version of ICE hardware

c5c5c3f crypto: qcom: Update ICE driver for next version of hardware

403890b sched: add missing rq_clock and rq_clock_task functions

3650ab0 sched: encourage idle load balance and discourage active load balance

e8f9554 soc: qcom: smd: Catch missed close state transitions

93a549f sched: Fix race in idle_balance()

33dc08d KEYS: Fix handling of stored error in a negatively instantiated user key

1b2f9bc ipv6: addrconf: validate new MTU before applying it

747fd39 soc: qcom: smd: Use memcpy_io

38b65a9 arm64: kernel: refactor the CPU suspend API for retention states

c201ce7 rcu: Don't disable CPU hotplug during OOM notifiers

aa34f5c msm: pm: use correct cpu_suspend call for Non-PSCI targets

a816dd0 mpm: Fix clk_get API issue

4da9f20 msm-core: add notification support for cpu power stats ready

507b606 qcom: msm-core: uninterruptible wait - you can kiss my arse goodbye

a86201c kernel: cpu: use cpu_read_relaxed on cpu_down()

d50482d arm64: crypto: reduce priority of core AES cipher

83c9192 crypto: msm: qcrypto: Fix spinlock deadlock issue

d3579a8 crypto: msm: qcrypto: Fix null pointer dereferences

bc7b255 crypto: msm: qce50: Fix null pointer dereferences

c17de20 crypto: qce50: Update clock management

1e2d04b crypto: msm: remove wakeup lock in qcrypto driver

a26e746 crypto: msm: fix WDT because of excessive logging

4f1fdda crypto: msm: fix qcrypto driver to improve IPSec performance

ef0ff77 cpuidle: kick all cpu after idle handler installed

5f0aab1 arm: idle: add missing need_resched check

4de7cbe proc: add a reschedule point in proc_readfd_common()

37474c4 netfilter: xt_hashlimit: perform garbage collection from process context

d4add9a netfilter: xt_hashlimit: fix proc entry leak in netns destroy path

0c087c6 cputime: Fix jiffies based cputime assumption on steal accounting

e171d25 sched: Change autogroup_move_group() to use for_each_thread()

25de56b sched: Change thread_group_cputime() to use for_each_thread()

e1025f7 sched: s/do_each_thread/for_each_process_thread/ in debug.c

2417033 IKSWL-3377 power: make sync on suspend optional

b741544 IKSWL-3402 proc: stat: fix idle time jump

9283b29 IKSWL-3402 tick: don't update idle time if cpu offline

8703bb1 IKKRNBSP-3173 arm64: lib: memory utilities optimization

4d32ded net: attempt a single high order allocation

ca4e8e2 net: use __GFP_NORETRY for high order allocations

692892f net: allow > 0 order atomic page alloc in skb_page_frag_refill

3689a5b net: refactor sk_page_frag_refill()

2038032 af_unix: fix bug on large send()

a98c71e0 net: attempt high order allocations in sock_alloc_send_pskb()

8275623 af_unix: improve STREAM behavior with fragmented memory

855a089 clk: qcom: clock-pll: Optimize debug code for PLL lock failures

ea75c90 bluetooth: Validate socket address length in sco_sock_bind().

03ec10c net: add validation for the socket syscall protocol argument

c0298d9 power: bcl: Re-evaluate hotplug for unexpected cpu online

6a80887 diag: Add checks before sending real time mask updates

1949660 msm: ipa: increase modem memory partition in IPA SRAM

e946877 arm64: irq: remove affinity logging. Makes it hard to use dmesg with this spam

db46e11 defconfig: enable KSM

676baa5 Add Ninja build guide and script

7272c9d Remove AK scripts