OSDN Git Service
Veerabhadrarao Badiganti [Wed, 11 Jan 2017 13:59:41 +0000 (19:29 +0530)]
ARM: config: Enable DEFERRED RESUME flag on SDM660
Enabling deferred resume feature on SDM660. With this feature
enabled, MMC devices won't be resumed as part of the system
resume. It will be resumed only when there's a request to be
processed.
Change-Id: I901a888269b8bc0de006c8174546fd5f5c30baa8
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
Linux Build Service Account [Mon, 9 Jan 2017 00:32:11 +0000 (16:32 -0800)]
Merge "drm/msm: remove clock framework dependency"
Linux Build Service Account [Sun, 8 Jan 2017 16:05:54 +0000 (08:05 -0800)]
Merge "defconfig: msm: compile video drivers as builtins"
Linux Build Service Account [Sun, 8 Jan 2017 16:05:53 +0000 (08:05 -0800)]
Merge "ASoC: wcd934x: Fix out of bounds for mad input value"
Linux Build Service Account [Sun, 8 Jan 2017 16:05:52 +0000 (08:05 -0800)]
Merge "drivers: mfd: Add support for direct apps interrupt"
Linux Build Service Account [Sun, 8 Jan 2017 16:05:51 +0000 (08:05 -0800)]
Merge "ARM: dts: msm: add a new panel driver for sdm660 QRD"
Linux Build Service Account [Sun, 8 Jan 2017 16:05:50 +0000 (08:05 -0800)]
Merge "ARM: dts: msm: Enable volume up key for qrd sdm660"
Linux Build Service Account [Sun, 8 Jan 2017 16:05:46 +0000 (08:05 -0800)]
Merge "qseecom: Rename clock handle names"
Linux Build Service Account [Sun, 8 Jan 2017 07:00:03 +0000 (23:00 -0800)]
Merge "msm: cpp: Fix for integer overflow in cpp"
Linux Build Service Account [Sat, 7 Jan 2017 21:44:17 +0000 (13:44 -0800)]
Merge "media: dvb-core: Fix for dvb_ringbuffer merge conflict"
Linux Build Service Account [Sat, 7 Jan 2017 21:44:16 +0000 (13:44 -0800)]
Merge "msm: isp: Handle ping pong mismatch error"
Linux Build Service Account [Sat, 7 Jan 2017 13:24:01 +0000 (05:24 -0800)]
Merge "input: move qpnp-power-on driver into input/misc directory"
Linux Build Service Account [Sat, 7 Jan 2017 13:24:01 +0000 (05:24 -0800)]
Merge "ARM: dts: msm: Add support for pwr/perf supply for sdm660"
Linux Build Service Account [Sat, 7 Jan 2017 13:23:57 +0000 (05:23 -0800)]
Merge "spcom: free all SKP ION buffers on SSR"
Linux Build Service Account [Sat, 7 Jan 2017 13:23:56 +0000 (05:23 -0800)]
Merge "clk: qcom: osm: remove ioremaps from panic callback"
Manikanta Sivapala [Fri, 6 Jan 2017 12:34:22 +0000 (18:04 +0530)]
defconfig: msm: compile video drivers as builtins
Video kernel modules as LKM make the T32 debugging difficult.
So, make video drivers as part of boot image.
Change-Id: I229eba78f883d7656ac1bd64487dccc70bb0d43c
Signed-off-by: Manikanta Sivapala <msivap@codeaurora.org>
Signed-off-by: Deepak Kushwah <dkushwah@codeaurora.org>
David Collins [Thu, 5 Jan 2017 21:03:36 +0000 (13:03 -0800)]
input: move qpnp-power-on driver into input/misc directory
Move the qpnp-power-on driver from the drivers/input directory
into the drivers/input/misc directory. This is the standard
location where other power key drivers are kept.
Also make a small fix to use octal instead of symbolic
permissions for the ship_mode_en module parameter.
Change-Id: I4d80c2ca0f161bd443dbfe0fcef822459c9fe44b
Signed-off-by: David Collins <collinsd@codeaurora.org>
Linux Build Service Account [Fri, 6 Jan 2017 16:11:50 +0000 (08:11 -0800)]
Merge "ARM: dts: msm: Add an entry to the Silver memlat table for msm8998"
Taniya Das [Mon, 26 Dec 2016 08:49:03 +0000 (14:19 +0530)]
ARM: dts: msm: Add support for pwr/perf supply for sdm660
OSM cpu clocks would require the supply rails on which power and perf
clusters are connected, so add the same.
Change-Id: Ie5e50dff1c3c5b06585d03abb45ff493779f029d
Signed-off-by: Taniya Das <tdas@codeaurora.org>
cyizhao [Tue, 3 Jan 2017 07:48:44 +0000 (15:48 +0800)]
ARM: dts: msm: Enable volume up key for qrd sdm660
GPIO7 is used for volume up key on qrd sdm660 device.
Configure it to input and pull-up and add gpio-keys device to
enable the key detection.
CRs-Fixed:
1108198
Change-Id: I9ef323088e478aa2fd35858d256edb041da6f385
Signed-off-by: cyizhao <cyizhao@codeaurora.org>
cyizhao [Tue, 3 Jan 2017 07:42:55 +0000 (15:42 +0800)]
ARM: dts: msm: Add FG battery profile/JEITA property for qrd sdm660
Add battery profile for qrd sdm660 to make sure FG could load it
and work as expected.
Disable soft hot jeita threshold according to the battery vendor's and
hardware team's suggestion to make sure the battery could sustain at 1C
charging current longer.
CRs-Fixed:
1108198
Change-Id: Ifebeadae1590813ad785d25a399011efb447746d
Signed-off-by: cyizhao <cyizhao@codeaurora.org>
Rohit Gupta [Thu, 22 Dec 2016 18:58:06 +0000 (10:58 -0800)]
ARM: dts: msm: Add an entry to the Silver memlat table for msm8998
Add a level at the lower end of the memlat table for the Silver
cluster so that the memlat driver votes for at least 200MHz
when the CPU's effective frequency is at most 300MHz for latency
bound workloads.
Change-Id: I2695d2d115d925ac8b274d93e59b2be6578f3001
Signed-off-by: Rohit Gupta <rohgup@codeaurora.org>
Amir Samuelov [Thu, 5 Jan 2017 16:40:45 +0000 (18:40 +0200)]
spcom: free all SKP ION buffers on SSR
Free all the SKP ION buffers that were locked for SPSS app swapping,
when remote subsystem reset.
Change-Id: I5230152cc7c3e721b1ebb01b663b9fd14bd2d6c9
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
Linux Build Service Account [Thu, 5 Jan 2017 10:09:07 +0000 (02:09 -0800)]
Merge "ARM: dts: msm: Add APC0/1 CPR instances for sdm660"
Linux Build Service Account [Thu, 5 Jan 2017 10:09:05 +0000 (02:09 -0800)]
Merge "sched: Delete heavy task heuristics in prediction code"
Linux Build Service Account [Thu, 5 Jan 2017 10:09:05 +0000 (02:09 -0800)]
Merge "thermal: tsens: Remove calibration functions"
Linux Build Service Account [Thu, 5 Jan 2017 10:09:04 +0000 (02:09 -0800)]
Merge "msm: mdss: advertize hdr support on msm8998"
Linux Build Service Account [Thu, 5 Jan 2017 10:09:03 +0000 (02:09 -0800)]
Merge "msm: mdss: avoid possible infinite loop on kmalloc failure"
Linux Build Service Account [Thu, 5 Jan 2017 10:09:02 +0000 (02:09 -0800)]
Merge "msm: mdss: fix cwb output buffer memory leak"
Linux Build Service Account [Thu, 5 Jan 2017 10:09:01 +0000 (02:09 -0800)]
Merge "ARM: dts: msm: Introduce bus topology for sdm630"
Linux Build Service Account [Thu, 5 Jan 2017 10:09:00 +0000 (02:09 -0800)]
Merge "msm: mdss: fix programming of scaler lut_ctrl register"
Linux Build Service Account [Thu, 5 Jan 2017 10:08:59 +0000 (02:08 -0800)]
Merge "msm: sde: move config validation earlier to stream on"
Linux Build Service Account [Thu, 5 Jan 2017 10:08:59 +0000 (02:08 -0800)]
Merge "ARM: dts: msm: add support for truly panel in dsc mode"
Linux Build Service Account [Thu, 5 Jan 2017 10:08:58 +0000 (02:08 -0800)]
Merge "sched: Fix new task accounting bug in transfer_busy_time()"
Linux Build Service Account [Thu, 5 Jan 2017 10:08:57 +0000 (02:08 -0800)]
Merge "ppp: take reference on channels netns"
Linux Build Service Account [Thu, 5 Jan 2017 10:08:56 +0000 (02:08 -0800)]
Merge "msm: kgsl: Add Zap shader name for A512 GPU on SDM660"
Linux Build Service Account [Thu, 5 Jan 2017 10:08:56 +0000 (02:08 -0800)]
Merge "msm: mdss: rename dsi phy version for msm8996 and sdm660"
Linux Build Service Account [Thu, 5 Jan 2017 10:08:50 +0000 (02:08 -0800)]
Merge "msm: mdss: Set default fps for dedicated WB"
Linux Build Service Account [Thu, 5 Jan 2017 10:08:49 +0000 (02:08 -0800)]
Merge "msm: mdss: Memset commit structure in compat path"
Linux Build Service Account [Thu, 5 Jan 2017 10:08:49 +0000 (02:08 -0800)]
Merge "msm: mdss: Add sysfs node for mdss to give runtime fps"
Linux Build Service Account [Thu, 5 Jan 2017 10:08:48 +0000 (02:08 -0800)]
Merge "msm: mdss: Allow WB to use first available control path"
Linux Build Service Account [Thu, 5 Jan 2017 10:08:48 +0000 (02:08 -0800)]
Merge "msm: mdss: Fix potential NULL pointer dereference in mdss smmu driver"
Linux Build Service Account [Thu, 5 Jan 2017 10:08:47 +0000 (02:08 -0800)]
Merge "msm: mdss: print fence name during sync fence timeouts"
Linux Build Service Account [Thu, 5 Jan 2017 10:08:47 +0000 (02:08 -0800)]
Merge "msm: mdss: Fix compat IOCTLS in rotator and primary"
Linux Build Service Account [Thu, 5 Jan 2017 10:08:46 +0000 (02:08 -0800)]
Merge "msm: mdss: Fix potential NULL pointer dereferences"
Linux Build Service Account [Thu, 5 Jan 2017 10:08:46 +0000 (02:08 -0800)]
Merge "msm: mdss: Initialize pan_name array to 0 and handle error case"
Linux Build Service Account [Thu, 5 Jan 2017 10:08:45 +0000 (02:08 -0800)]
Merge "msm: mdss: Update WB OT settings for SDM660"
Linux Build Service Account [Thu, 5 Jan 2017 10:08:43 +0000 (02:08 -0800)]
Merge "qpnp-fg-gen3: add support for configuring ESR filter coefficients"
AnilKumar Chimata [Thu, 3 Nov 2016 14:10:03 +0000 (19:40 +0530)]
qseecom: Rename clock handle names
Rename clock handles as per de-initialization sequence,
which is required to avoid the dangling pointers.
Change-Id: I9e0715e2a47f318acc414605ce8e624c432d6665
Signed-off-by: AnilKumar Chimata <anilc@codeaurora.org>
Udaya Bhaskara Reddy Mallavarapu [Thu, 5 Jan 2017 05:19:50 +0000 (10:49 +0530)]
media: dvb-core: Fix for dvb_ringbuffer merge conflict
resolve the dvb_ringbuffer merge conflicts due to
v4.4-16.09-android-tmp branch merging.
CRs-Fixed:
1086706
Change-Id: Ic5ec87d48e86fd9504fed7232286cf81b46c4035
Signed-off-by: Udaya Bhaskara Reddy Mallavarapu <udaym@codeaurora.org>
Taniya Das [Thu, 5 Jan 2017 04:33:30 +0000 (10:03 +0530)]
clk: qcom: osm: remove ioremaps from panic callback
Calling ioremap() in clk_osm_panic_callback() can result in
BUG() when the kernel is panic-ing. It is not safe to use
ioremap() in atomic context. Map the debug registers at probe
time instead.
Change-Id: I4009ea6e10df2dc8649cf0b0c1a5b6398d3c689e
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Kumar Behera [Fri, 9 Dec 2016 17:55:00 +0000 (09:55 -0800)]
msm: cpp: Fix for integer overflow in cpp
Due to integer overflow ,the bound check in config frame function
may pass and this may allow user to access invalid buffer. This
fix takes care of proper bound and don't allow integer overflow.
CRs-Fxied:
1097709
Change-Id: I504ad591633afaba82268b5ee27a321691d75c80
Signed-off-by: Kumar Behera <mohanb@codeaurora.org>
Rohit Gupta [Fri, 16 Dec 2016 18:51:18 +0000 (10:51 -0800)]
sched: Delete heavy task heuristics in prediction code
Heavy task prediction code needs further tuning to avoid any
negative power impact. Delete the code for now instead of adding
tunables to avoid inefficiencies in the scheduler path.
Change-Id: I71e3b37a5c99e24bc5be93cc825d7e171e8ff7ce
Signed-off-by: Rohit Gupta <rohgup@codeaurora.org>
Tirupathi Reddy [Mon, 2 Jan 2017 04:03:07 +0000 (09:33 +0530)]
ARM: dts: msm: Add APC0/1 CPR instances for sdm660
Add CPR device nodes with required configuration for supporting
closed-loop operation for APC0/1 CPR instances in sdm660.
CRs-Fixed:
1105923
Change-Id: I6c085f7fb3a491b595f27c959468589b741cd2c0
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
Rohit Gupta [Tue, 6 Dec 2016 01:36:49 +0000 (17:36 -0800)]
cpufreq_interactive: Allow hispeed_freq to work with prediction
hispeed_freq can still be useful with some versions of predictive
load based scaling. So, allow that.
Change-Id: I84ce1e2b6e7e839bd278aa3deaac21f4cd8503a8
Signed-off-by: Rohit Gupta <rohgup@codeaurora.org>
Linux Build Service Account [Wed, 4 Jan 2017 23:40:20 +0000 (15:40 -0800)]
Merge "ARM: dts: msm: Add G-Link SPI transport device for sdm630"
Linux Build Service Account [Wed, 4 Jan 2017 23:40:19 +0000 (15:40 -0800)]
Merge "ARM: dts: msm: Add G-Link SPI transport device for sdm660"
Linux Build Service Account [Wed, 4 Jan 2017 23:40:18 +0000 (15:40 -0800)]
Merge "nf: IDLETIMER: Use fullsock when querying uid"
Linux Build Service Account [Wed, 4 Jan 2017 23:40:17 +0000 (15:40 -0800)]
Merge "ARM: dts: msm: Enable red LED blinking for pm660"
Guillaume Nault [Wed, 23 Mar 2016 15:38:55 +0000 (16:38 +0100)]
ppp: take reference on channels netns
Let channels hold a reference on their network namespace.
Some channel types, like ppp_async and ppp_synctty, can have their
userspace controller running in a different namespace. Therefore they
can't rely on them to preclude their netns from being removed from
under them.
==================================================================
BUG: KASAN: use-after-free in ppp_unregister_channel+0x372/0x3a0 at
addr
ffff880064e217e0
Read of size 8 by task syz-executor/11581
=============================================================================
BUG net_namespace (Not tainted): kasan: bad access detected
-----------------------------------------------------------------------------
Disabling lock debugging due to kernel taint
INFO: Allocated in copy_net_ns+0x6b/0x1a0 age=92569 cpu=3 pid=6906
[< none >] ___slab_alloc+0x4c7/0x500 kernel/mm/slub.c:2440
[< none >] __slab_alloc+0x4c/0x90 kernel/mm/slub.c:2469
[< inline >] slab_alloc_node kernel/mm/slub.c:2532
[< inline >] slab_alloc kernel/mm/slub.c:2574
[< none >] kmem_cache_alloc+0x23a/0x2b0 kernel/mm/slub.c:2579
[< inline >] kmem_cache_zalloc kernel/include/linux/slab.h:597
[< inline >] net_alloc kernel/net/core/net_namespace.c:325
[< none >] copy_net_ns+0x6b/0x1a0 kernel/net/core/net_namespace.c:360
[< none >] create_new_namespaces+0x2f6/0x610 kernel/kernel/nsproxy.c:95
[< none >] copy_namespaces+0x297/0x320 kernel/kernel/nsproxy.c:150
[< none >] copy_process.part.35+0x1bf4/0x5760 kernel/kernel/fork.c:1451
[< inline >] copy_process kernel/kernel/fork.c:1274
[< none >] _do_fork+0x1bc/0xcb0 kernel/kernel/fork.c:1723
[< inline >] SYSC_clone kernel/kernel/fork.c:1832
[< none >] SyS_clone+0x37/0x50 kernel/kernel/fork.c:1826
[< none >] entry_SYSCALL_64_fastpath+0x16/0x7a kernel/arch/x86/entry/entry_64.S:185
INFO: Freed in net_drop_ns+0x67/0x80 age=575 cpu=2 pid=2631
[< none >] __slab_free+0x1fc/0x320 kernel/mm/slub.c:2650
[< inline >] slab_free kernel/mm/slub.c:2805
[< none >] kmem_cache_free+0x2a0/0x330 kernel/mm/slub.c:2814
[< inline >] net_free kernel/net/core/net_namespace.c:341
[< none >] net_drop_ns+0x67/0x80 kernel/net/core/net_namespace.c:348
[< none >] cleanup_net+0x4e5/0x600 kernel/net/core/net_namespace.c:448
[< none >] process_one_work+0x794/0x1440 kernel/kernel/workqueue.c:2036
[< none >] worker_thread+0xdb/0xfc0 kernel/kernel/workqueue.c:2170
[< none >] kthread+0x23f/0x2d0 kernel/drivers/block/aoe/aoecmd.c:1303
[< none >] ret_from_fork+0x3f/0x70 kernel/arch/x86/entry/entry_64.S:468
INFO: Slab 0xffffea0001938800 objects=3 used=0 fp=0xffff880064e20000
flags=0x5fffc0000004080
INFO: Object 0xffff880064e20000 @offset=0 fp=0xffff880064e24200
CPU: 1 PID: 11581 Comm: syz-executor Tainted: G B 4.4.0+
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
rel-1.8.2-0-g33fbe13 by qemu-project.org 04/01/2014
00000000ffffffff ffff8800662c7790 ffffffff8292049d ffff88003e36a300
ffff880064e20000 ffff880064e20000 ffff8800662c77c0 ffffffff816f2054
ffff88003e36a300 ffffea0001938800 ffff880064e20000 0000000000000000
Call Trace:
[< inline >] __dump_stack kernel/lib/dump_stack.c:15
[<
ffffffff8292049d>] dump_stack+0x6f/0xa2 kernel/lib/dump_stack.c:50
[<
ffffffff816f2054>] print_trailer+0xf4/0x150 kernel/mm/slub.c:654
[<
ffffffff816f875f>] object_err+0x2f/0x40 kernel/mm/slub.c:661
[< inline >] print_address_description kernel/mm/kasan/report.c:138
[<
ffffffff816fb0c5>] kasan_report_error+0x215/0x530 kernel/mm/kasan/report.c:236
[< inline >] kasan_report kernel/mm/kasan/report.c:259
[<
ffffffff816fb4de>] __asan_report_load8_noabort+0x3e/0x40 kernel/mm/kasan/report.c:280
[< inline >] ? ppp_pernet kernel/include/linux/compiler.h:218
[<
ffffffff83ad71b2>] ? ppp_unregister_channel+0x372/0x3a0 kernel/drivers/net/ppp/ppp_generic.c:2392
[< inline >] ppp_pernet kernel/include/linux/compiler.h:218
[<
ffffffff83ad71b2>] ppp_unregister_channel+0x372/0x3a0 kernel/drivers/net/ppp/ppp_generic.c:2392
[< inline >] ? ppp_pernet kernel/drivers/net/ppp/ppp_generic.c:293
[<
ffffffff83ad6f26>] ? ppp_unregister_channel+0xe6/0x3a0 kernel/drivers/net/ppp/ppp_generic.c:2392
[<
ffffffff83ae18f3>] ppp_asynctty_close+0xa3/0x130 kernel/drivers/net/ppp/ppp_async.c:241
[<
ffffffff83ae1850>] ? async_lcp_peek+0x5b0/0x5b0 kernel/drivers/net/ppp/ppp_async.c:1000
[<
ffffffff82c33239>] tty_ldisc_close.isra.1+0x99/0xe0 kernel/drivers/tty/tty_ldisc.c:478
[<
ffffffff82c332c0>] tty_ldisc_kill+0x40/0x170 kernel/drivers/tty/tty_ldisc.c:744
[<
ffffffff82c34943>] tty_ldisc_release+0x1b3/0x260 kernel/drivers/tty/tty_ldisc.c:772
[<
ffffffff82c1ef21>] tty_release+0xac1/0x13e0 kernel/drivers/tty/tty_io.c:1901
[<
ffffffff82c1e460>] ? release_tty+0x320/0x320 kernel/drivers/tty/tty_io.c:1688
[<
ffffffff8174de36>] __fput+0x236/0x780 kernel/fs/file_table.c:208
[<
ffffffff8174e405>] ____fput+0x15/0x20 kernel/fs/file_table.c:244
[<
ffffffff813595ab>] task_work_run+0x16b/0x200 kernel/kernel/task_work.c:115
[< inline >] exit_task_work kernel/include/linux/task_work.h:21
[<
ffffffff81307105>] do_exit+0x8b5/0x2c60 kernel/kernel/exit.c:750
[<
ffffffff813fdd20>] ? debug_check_no_locks_freed+0x290/0x290 kernel/kernel/locking/lockdep.c:4123
[<
ffffffff81306850>] ? mm_update_next_owner+0x6f0/0x6f0 kernel/kernel/exit.c:357
[<
ffffffff813215e6>] ? __dequeue_signal+0x136/0x470 kernel/kernel/signal.c:550
[<
ffffffff8132067b>] ? recalc_sigpending_tsk+0x13b/0x180 kernel/kernel/signal.c:145
[<
ffffffff81309628>] do_group_exit+0x108/0x330 kernel/kernel/exit.c:880
[<
ffffffff8132b9d4>] get_signal+0x5e4/0x14f0 kernel/kernel/signal.c:2307
[< inline >] ? kretprobe_table_lock kernel/kernel/kprobes.c:1113
[<
ffffffff8151d355>] ? kprobe_flush_task+0xb5/0x450 kernel/kernel/kprobes.c:1158
[<
ffffffff8115f7d3>] do_signal+0x83/0x1c90 kernel/arch/x86/kernel/signal.c:712
[<
ffffffff8151d2a0>] ? recycle_rp_inst+0x310/0x310 kernel/include/linux/list.h:655
[<
ffffffff8115f750>] ? setup_sigcontext+0x780/0x780 kernel/arch/x86/kernel/signal.c:165
[<
ffffffff81380864>] ? finish_task_switch+0x424/0x5f0 kernel/kernel/sched/core.c:2692
[< inline >] ? finish_lock_switch kernel/kernel/sched/sched.h:1099
[<
ffffffff81380560>] ? finish_task_switch+0x120/0x5f0 kernel/kernel/sched/core.c:2678
[< inline >] ? context_switch kernel/kernel/sched/core.c:2807
[<
ffffffff85d794e9>] ? __schedule+0x919/0x1bd0 kernel/kernel/sched/core.c:3283
[<
ffffffff81003901>] exit_to_usermode_loop+0xf1/0x1a0 kernel/arch/x86/entry/common.c:247
[< inline >] prepare_exit_to_usermode kernel/arch/x86/entry/common.c:282
[<
ffffffff810062ef>] syscall_return_slowpath+0x19f/0x210 kernel/arch/x86/entry/common.c:344
[<
ffffffff85d88022>] int_ret_from_sys_call+0x25/0x9f kernel/arch/x86/entry/entry_64.S:281
Memory state around the buggy address:
ffff880064e21680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff880064e21700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
>
ffff880064e21780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
^
ffff880064e21800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff880064e21880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
Change-Id: I6b7e3b60aa17e7b67d20d4a894cafcb05e76dcbd
Fixes:
273ec51dd7ce ("net: ppp_generic - introduce net-namespace functionality v2")
Reported-by: Baozeng Ding <sploving1@gmail.com>
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Reviewed-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
[d-cagle@codeaurora.org: Merge conflicts resolved automatically]
Git-repo: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git
Git-commit:
1f461dcdd296eecedaffffc6bae2bfa90bd7eb89
Signed-off-by: Dennis Cagle <d-cagle@codeaurora.org>
Rajesh Kemisetti [Wed, 4 Jan 2017 13:23:39 +0000 (18:53 +0530)]
msm: kgsl: Add Zap shader name for A512 GPU on SDM660
This is needed to clear out the internal memories of
GPU while moving from secure to unsecure mode.
Change-Id: I9ef4848212246a2ed45395ef97c7f755784cb635
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
Linux Build Service Account [Wed, 4 Jan 2017 11:25:38 +0000 (03:25 -0800)]
Merge "regulator: cprh-kbss: add support for sdm660 kbss cpr instances"
Linux Build Service Account [Wed, 4 Jan 2017 11:25:36 +0000 (03:25 -0800)]
Merge "ARM: dts: msm: Add initial device tree for SDA630"
Linux Build Service Account [Wed, 4 Jan 2017 11:25:36 +0000 (03:25 -0800)]
Merge "ARM: dts: msm: Add device tree for SDM630 CDP, MTP and RCM"
Linux Build Service Account [Wed, 4 Jan 2017 11:25:35 +0000 (03:25 -0800)]
Merge "ARM: dts: msm: Add initial device tree for SDM658"
Linux Build Service Account [Wed, 4 Jan 2017 11:25:34 +0000 (03:25 -0800)]
Merge "sched: Fix deadlock between cpu hotplug and upmigrate change"
Linux Build Service Account [Wed, 4 Jan 2017 11:25:33 +0000 (03:25 -0800)]
Merge "ARM: dts: msm: modify cpu nodes for sdm660"
Linux Build Service Account [Wed, 4 Jan 2017 11:25:32 +0000 (03:25 -0800)]
Merge "ARM: dts: msm: Update SDM660+PM660A QRD board hardware version"
Linux Build Service Account [Wed, 4 Jan 2017 11:25:31 +0000 (03:25 -0800)]
Merge "ARM: dts: msm: Update Venus QOS settings for SDM660"
Linux Build Service Account [Wed, 4 Jan 2017 11:25:30 +0000 (03:25 -0800)]
Merge "ARM: dts: msm: Add camera dtsi for sdm660 qrd"
Rama Krishna Phani A [Wed, 21 Dec 2016 16:49:05 +0000 (22:19 +0530)]
thermal: tsens: Remove calibration functions
Remove calibration functions for older targets from driver file.
Change-Id: Ic7c298e5d586a970301132708380d58d12c8c558
Signed-off-by: Rama Krishna Phani A <rphani@codeaurora.org>
Dhoat Harpal [Tue, 3 Jan 2017 13:11:16 +0000 (18:41 +0530)]
ARM: dts: msm: Add G-Link SPI transport device for sdm660
G-Link SPI transport is used to communicate with external audio codec.
Add G-Link SPI transport device to support that configuration.
CRs-Fixed:
1106989
Change-Id: Id447b5e89e653065df6f368a4e5e59b22e0dc159
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
Dhoat Harpal [Tue, 3 Jan 2017 13:00:56 +0000 (18:30 +0530)]
ARM: dts: msm: Add G-Link SPI transport device for sdm630
G-Link SPI transport is used to communicate with external audio codec.
Add G-Link SPI transport device to support that configuration.
CRs-Fixed:
1106989
Change-Id: Iac48fe87152379244e2c813f767b4e497553b8d1
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
Ray Zhang [Mon, 14 Nov 2016 03:09:12 +0000 (11:09 +0800)]
ARM: dts: msm: add a new panel driver for sdm660 QRD
nt36850 wqhd command panel will be used for sdm660 QRD,
so add a new panel driver for it.
Change-Id: I94a76aa3972978f8fb6ebca96bd452fec827b355
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
Signed-off-by: Yahui Wang <yahuiw@codeaurora.org>
Odelu Kukatla [Sat, 12 Nov 2016 18:57:22 +0000 (00:27 +0530)]
ARM: dts: msm: Introduce bus topology for sdm630
Bus topology is the representation of bus connections in SOC
and is required for the bus driver to serve the bandwidth
requests from clients.
Change-Id: I474f390e86f291e78d6126ed769837b123e2a409
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
ansharma [Tue, 27 Dec 2016 12:23:13 +0000 (17:53 +0530)]
ARM: dts: msm: Enable red LED blinking for pm660
Add LPG and PWM parameters to blink the red LED. This is controlled by
userspace during charging.
Disable the battery-charging LED triggers to avoid conflicting LED control
by userspace and kernel battery-charging events.
CRs-Fixed:
1106738
Change-Id: Ic1c0f7ef7f8144fade05cc06db3cf87bce55c236
Signed-off-by: ansharma <ansharma@codeaurora.org>
Tirupathi Reddy [Thu, 22 Sep 2016 10:59:52 +0000 (16:29 +0530)]
regulator: cprh-kbss: add support for sdm660 kbss cpr instances
sdm660 CPU CPR controllers support full hardware closed-loop CPR
operation also known as CPR hardening. Extend the cprh-kbss-regulator
driver to handle CPU subsystem specific power requirements of
the sdm660 chip.
CRs-Fixed:
1105923
Change-Id: I2e24a061a5ad4ee959dd578da9e811ac7700702c
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
Subbaraman Narayanamurthy [Thu, 22 Dec 2016 23:10:09 +0000 (15:10 -0800)]
qpnp-fg-gen3: add support for configuring ESR filter coefficients
As per the hardware documentation, add support for configuring
ESR tight and broad filters for normal and low temperature. This
is needed as the low temperature ESR filter coefficients are not
functional in the hardware.
All the filter values (in terms of percentage) can be configured
through the device tree. When the battery temperature goes below
10 C or user configured temperature threshold, ESR filter values
of room temperature will be applied to ESR low temperature
filters. Once the battery temperature goes above 10 C, original
values will be applied back to ESR low temperature filters.
Change-Id: I347f194f96ace3036a3c49efe0306d9f909cef36
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Subbaraman Narayanamurthy [Fri, 16 Dec 2016 02:03:09 +0000 (18:03 -0800)]
qpnp-fg-gen3: Handle false positives in battery missing detection
Battery missing detection interrupt fires prematurely for higher
battery ID values than the desired range. Fix this by disabling
BMD when battery is re-inserted and enable it after obtaining the
battery ID.
While at it, update the battery type shown in particular when a
battery profile is not available.
Change-Id: Ia5458a85289e47bda0a9f4bc59683af695974bc5
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Subbaraman Narayanamurthy [Thu, 22 Dec 2016 23:09:38 +0000 (15:09 -0800)]
qpnp-fg-gen3: clear profile integrity bit upon battery removal
In certain cases like battery hotswap where a strong charger is
connected and battery is re-inserted, the expectation from the
user is to reload the battery profile. This cannot happen unless
a dVdd reset happens and wipes out FG SRAM. To help with the
aforementioned scenario, clear the profile integrity bit every
time when the battery is re-inserted. This way, FG driver will
reload the profile everytime upon battery insertion.
When the battery is missing, cycle counters cannot be cleared as
the access to FG SRAM might not succeed. Hence remove it from the
battery removal path. It will be cleared anyways when the profile
is loaded after the battery is inserted.
While at it, show the cached value of battery_id instead of
reading it every time from RR_ADC peripheral. When the battery is
re-inserted, battery id is obtained from RR_ADC driver anyways
which is sufficient.
Change-Id: I0b9566f7a9fcc81e26e68280382e2d960c49eeb5
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Subbaraman Narayanamurthy [Sat, 10 Dec 2016 00:43:52 +0000 (16:43 -0800)]
qpnp-fg-gen3: add support for dumping FG SRAM
Add support to dump FG SRAM periodically based on the module
parameters. This will be useful for debugging purpose.
To enable FG SRAM dump,
echo 1 > /sys/module/qpnp_fg_gen3/parameters/sram_dump_en
To disable FG SRAM dump,
echo 0 > /sys/module/qpnp_fg_gen3/parameters/sram_dump_en
To set FG SRAM dump period,
echo 15000 > /sys/module/qpnp_fg_gen3/parameters/sram_dump_period_ms
Change-Id: Ib4bae7f67100a4bda1e4b996f2fbaeb86da979d2
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Syed Rameez Mustafa [Tue, 3 Jan 2017 23:29:14 +0000 (15:29 -0800)]
sched: Fix new task accounting bug in transfer_busy_time()
In transfer_busy_time(), the new_task flag is set based on the active
window count prior to the call to update_task_ravg(). update_task_ravg()
however, can then increment the active window count and consequently
the new_task flag above becomes stale. This is turn leads to inaccurate
accounting whereby update_task_ravg() does accounting based on the fact
that the task is not new whereas transfer_busy_time() then continues to
do further accounting assuming that the task is new. The accounting
discrepancies are sometimes caught by some of the scheduler BUGs.
Fix the described problem by moving the check is_new_task() after the
call to update_task_ravg(). Also add two missing BUGs that would catch
the problem sooner rather than later.
Change-Id: I8dc4822e97cc03ebf2ca1ee2de95eb4e5851f459
Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
Jiangen Jiao [Fri, 30 Dec 2016 01:35:51 +0000 (09:35 +0800)]
ARM: dts: msm: Update SDM660+PM660A QRD board hardware version
Change QRD board(SDM660+PM660A) major hardware version to 0x12.
CRs-Fixed:
1106360
Change-Id: I647e406199ee1daf3b7d489ccad07c5b8f448e8f
Signed-off-by: Jiangen Jiao <jiangenj@codeaurora.org>
Linux Build Service Account [Wed, 4 Jan 2017 01:56:57 +0000 (17:56 -0800)]
Merge "msm: pcie: add mutex for PCIe enumeration"
Linux Build Service Account [Wed, 4 Jan 2017 01:56:57 +0000 (17:56 -0800)]
Merge "cpufreq: Register for hotplug notifier before locking hotplug"
Linux Build Service Account [Wed, 4 Jan 2017 01:56:56 +0000 (17:56 -0800)]
Merge "soc: qcom: Add support to enable gladiator main error logger only"
Linux Build Service Account [Wed, 4 Jan 2017 01:56:55 +0000 (17:56 -0800)]
Merge "clk: qcom: Remove mmssnoc_a_clk_cpu_vote clock instance for msm8996"
Linux Build Service Account [Wed, 4 Jan 2017 01:56:54 +0000 (17:56 -0800)]
Merge "msm: mdss: Fix invalid dma attachment during fb shutdown"
Linux Build Service Account [Wed, 4 Jan 2017 01:56:53 +0000 (17:56 -0800)]
Merge "soc: qcom: smem: Fix uninitialized usage of a stack variable"
Linux Build Service Account [Wed, 4 Jan 2017 01:56:52 +0000 (17:56 -0800)]
Merge "ARM: dts: msm: add ufs support to sdm660 QRD"
Linux Build Service Account [Wed, 4 Jan 2017 01:56:52 +0000 (17:56 -0800)]
Merge "ARM: dts: msm: Enable sdhc2 for sdm660 QRD"
Linux Build Service Account [Wed, 4 Jan 2017 01:56:51 +0000 (17:56 -0800)]
Merge "ARM: dts: msm: Add CPU efficiency values for sdm630"
Linux Build Service Account [Wed, 4 Jan 2017 01:56:50 +0000 (17:56 -0800)]
Merge "msm: ipa: add ipc logging for ipa driver"
Linux Build Service Account [Wed, 4 Jan 2017 01:56:50 +0000 (17:56 -0800)]
Merge "mmc: block: Add check to mmc_blk_part_switch"
Linux Build Service Account [Wed, 4 Jan 2017 01:56:49 +0000 (17:56 -0800)]
Merge "msm: kgsl: Enable Content Protection for A512 GPU"
Linux Build Service Account [Wed, 4 Jan 2017 01:56:48 +0000 (17:56 -0800)]
Merge "soc: qcom: glink: Fix queue intent after glink close"
Linux Build Service Account [Wed, 4 Jan 2017 01:56:47 +0000 (17:56 -0800)]
Merge "ARM: dts: msm: add cpufreq node for SDM660"
Linux Build Service Account [Wed, 4 Jan 2017 01:56:47 +0000 (17:56 -0800)]
Merge "ARM: dts: msm: Add hw trigger for CPP GDSC on SDM/8998/8996"
Linux Build Service Account [Wed, 4 Jan 2017 01:56:46 +0000 (17:56 -0800)]
Merge "defconfig: msm: Enable MMCC/GPUCC and OSM clocks for sdm660"
Linux Build Service Account [Wed, 4 Jan 2017 01:56:45 +0000 (17:56 -0800)]
Merge "msm: ipa3: Fix to release IPA clock during ap suspend"