Jiyoung Jeong [Tue, 26 Jun 2018 12:28:08 +0000 (21:28 +0900)]
[9610] drivers: modem_if: Set pda_active to high before initalizing CP
Change-Id: Ifeb5df59671c0e03d7881f56f3b132ca618fd99a
Signed-off-by: Jiyoung Jeong <ji_0.jeong@samsung.com>
Eric Dumazet [Tue, 15 May 2018 04:14:26 +0000 (21:14 -0700)]
tcp: purge write queue in tcp_connect_init()
[ Upstream commit
7f582b248d0a86bae5788c548d7bb5bca6f7691a ]
syzkaller found a reliable way to crash the host, hitting a BUG()
in __tcp_retransmit_skb()
Malicous MSG_FASTOPEN is the root cause. We need to purge write queue
in tcp_connect_init() at the point we init snd_una/write_seq.
This patch also replaces the BUG() by a less intrusive WARN_ON_ONCE()
kernel BUG at net/ipv4/tcp_output.c:2837!
invalid opcode: 0000 [#1] SMP KASAN
Dumping ftrace buffer:
(ftrace buffer empty)
Modules linked in:
CPU: 0 PID: 5276 Comm: syz-executor0 Not tainted 4.17.0-rc3+ #51
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__tcp_retransmit_skb+0x2992/0x2eb0 net/ipv4/tcp_output.c:2837
RSP: 0000:
ffff8801dae06ff8 EFLAGS:
00010206
RAX:
ffff8801b9fe61c0 RBX:
00000000ffc18a16 RCX:
ffffffff864e1a49
RDX:
0000000000000100 RSI:
ffffffff864e2e12 RDI:
0000000000000005
RBP:
ffff8801dae073a0 R08:
ffff8801b9fe61c0 R09:
ffffed0039c40dd2
R10:
ffffed0039c40dd2 R11:
ffff8801ce206e93 R12:
00000000421eeaad
R13:
ffff8801ce206d4e R14:
ffff8801ce206cc0 R15:
ffff8801cd4f4a80
FS:
0000000000000000(0000) GS:
ffff8801dae00000(0063) knlGS:
00000000096bc900
CS: 0010 DS: 002b ES: 002b CR0:
0000000080050033
CR2:
0000000020000000 CR3:
00000001c47b6000 CR4:
00000000001406f0
DR0:
0000000000000000 DR1:
0000000000000000 DR2:
0000000000000000
DR3:
0000000000000000 DR6:
00000000fffe0ff0 DR7:
0000000000000400
Call Trace:
<IRQ>
tcp_retransmit_skb+0x2e/0x250 net/ipv4/tcp_output.c:2923
tcp_retransmit_timer+0xc50/0x3060 net/ipv4/tcp_timer.c:488
tcp_write_timer_handler+0x339/0x960 net/ipv4/tcp_timer.c:573
tcp_write_timer+0x111/0x1d0 net/ipv4/tcp_timer.c:593
call_timer_fn+0x230/0x940 kernel/time/timer.c:1326
expire_timers kernel/time/timer.c:1363 [inline]
__run_timers+0x79e/0xc50 kernel/time/timer.c:1666
run_timer_softirq+0x4c/0x70 kernel/time/timer.c:1692
__do_softirq+0x2e0/0xaf5 kernel/softirq.c:285
invoke_softirq kernel/softirq.c:365 [inline]
irq_exit+0x1d1/0x200 kernel/softirq.c:405
exiting_irq arch/x86/include/asm/apic.h:525 [inline]
smp_apic_timer_interrupt+0x17e/0x710 arch/x86/kernel/apic/apic.c:1052
apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:863
Change-Id: Iee222f98268d346c9d4c09950206e2f97ec6ec0f
Fixes:
cf60af03ca4e ("net-tcp: Fast Open client - sendmsg(MSG_FASTOPEN)")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Yuchung Cheng <ycheng@google.com>
Cc: Neal Cardwell <ncardwell@google.com>
Reported-by: syzbot <syzkaller@googlegroups.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Hosung Kim [Thu, 24 May 2018 11:41:41 +0000 (20:41 +0900)]
[COMMON] lib: dss: remove debug-snapshot-soc.h
debug-snapshot-soc.h file adds to the confusion.
Change-Id: I2d8bb7f2286636ec0c459b7f5aa55c60cf98136d
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Hosung Kim [Thu, 24 May 2018 11:11:50 +0000 (20:11 +0900)]
[COMMON] lib: dss: move soc specific code to helper file
Change-Id: If73ff5cb16d2c51164a00dc02b8a5c63cc9fff45
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Hosung Kim [Wed, 30 May 2018 01:53:47 +0000 (10:53 +0900)]
[COMMON] lib: dss: move spin_unlock logging
spin_lock / spin_unlock functions are logged by DSS, others
logging is protected atomics by irq_disable. So this logging
is protected atomics by spinlock inside.
Change-Id: I0ee6544e325e0b8abad31c7e5f8696aeb21ebb31
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Hosung Kim [Thu, 24 May 2018 04:48:30 +0000 (13:48 +0900)]
[COMMON] lib: dss: change timing to clear DSS_SIGN_PANIC
This commit change timing to clear DSS_SIGN_PANIC because
it works it including panic of leading core
Change-Id: I1fa1bbf187c276935a126b7f6c78629944daa617
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Hosung Kim [Thu, 24 May 2018 04:46:31 +0000 (13:46 +0900)]
[COMMON] lib: dss: support soc_post_reboot_entry/exit
Change-Id: Ifbc756ba82fe3755adaf8272f986151335b4d70c
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Hosung Kim [Thu, 24 May 2018 02:20:21 +0000 (11:20 +0900)]
[COMMON] lib: dss: move cache ops to soc helper
Change-Id: I5e3e6fc620f16dbe38aad741b283c3ec6b116d94
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Hosung Kim [Thu, 24 May 2018 01:47:44 +0000 (10:47 +0900)]
[COMMON] arm64: smp: show system_state explictly
This commit shows system_state explictly for easy
debugging during abnormal reboot / panic / power off
state.
Change-Id: I4917fbda66cabb58b76b19369573980cabed53ca
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Hosung Kim [Mon, 22 May 2017 14:19:55 +0000 (23:19 +0900)]
[COMMON] lib: dss: add spinlock logging
Change-Id: Iba4a6b003f5ab9af4d020d30131bb701d503807e
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Hosung Kim [Tue, 11 Apr 2017 10:12:30 +0000 (19:12 +0900)]
[COMMON] arm64: smp: recall to print other cpu information
This commit reverts following commits it is already merged.
arm64: Reduce verbosity on SMP CPU stop by Jab Glauber.
In mobile, this information is very important to debug.
Change-Id: I1ca149608d70903675b7ff0a98c206e339b45e1e
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Hosung Kim [Mon, 29 May 2017 06:51:50 +0000 (15:51 +0900)]
[COMMON] arm64: kernel: fix show data with regs
This commit fix the situation that it couldn't output register
informatio which is located in vmalloc address because of
kaslr enable. KASLR is the default after 4.6 kernel of arm64.
Change-Id: Ied75938e89d31d1e6386ac88e5e4d9a97f1159e4
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Hosung Kim [Tue, 2 May 2017 09:21:59 +0000 (18:21 +0900)]
[COMMON] arm64: kernel: fix to output extra register info
This commit fixes the align when printing extra register
information.
Change-Id: I2a091b5f06b78274a4bb1908140f10d84798a90b
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Hosung Kim [Tue, 19 Jun 2018 05:38:33 +0000 (14:38 +0900)]
[COMMON] lib: dss: disable to output kworker information
DSS doesn't support to output kworker information anymore
for security and stablity.
Change-Id: If65dc702dba81b56d71af276b6f8d405a895d118
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Hosung Kim [Tue, 19 Jun 2018 05:00:28 +0000 (14:00 +0900)]
[COMMON] lib: dss: fix condition exiting hook hardlockup function
This commit fixes the condition when detecting hardlockup or
allcore hardlockup. If path is return, others should be waited
for 3 seconds. Checking dss_desc.allcorelockup_detected variable
is not valid in this function.
Change-Id: I4f65109368762cd1249a17af8d6d32f1cf873afa
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Hosung Kim [Mon, 18 Jun 2018 11:11:44 +0000 (20:11 +0900)]
Revert "arm64: traps: disable irq in die()"
This reverts commit
6f44a0bacb79a03972c83759711832b382b1b8ac.
This patch causes a hang situation when running hardlockup
detector or fiq debugger or multistage watchdog.
Change-Id: I4ae25ad7671381cc1333d5429790d30cf1a86789
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Donghyeok Choe [Mon, 25 Jun 2018 01:20:14 +0000 (10:20 +0900)]
[9610] lib: dss: fix freq info item information
Change-Id: Ic11ddddfa599e6961b9a4a6954ba4fe10b3d394c
Signed-off-by: Donghyeok Choe <d7271.choe@samsung.com>
Hosung Kim [Thu, 28 Jun 2018 13:15:40 +0000 (22:15 +0900)]
[9610] ASoC: abox: add including itmon header to fix build error
Change-Id: I89f699e5df7e7416c69a4f12b08d9f8b9aa5b645
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Hosung Kim [Thu, 28 Jun 2018 13:03:54 +0000 (22:03 +0900)]
[9610] samsung: itmon: add suport ITMON for exynos9610
Change-Id: Ifb39726e5ddbf0370d575b491dd0946c170754f5
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Gyeongtaek Lee [Thu, 29 Mar 2018 05:37:28 +0000 (14:37 +0900)]
mfd: madera: add delay before enabling regulators
Change-Id: I8fe817cb80a536192f586b95bad3dd87ffb3e456
Signed-off-by: Gyeongtaek Lee <gt82.lee@samsung.com>
Gyeongtaek Lee [Tue, 23 Jan 2018 05:05:00 +0000 (14:05 +0900)]
[9610] mfd: madera: delay for stable ldo on probe
Delay is needed to get stable regulator for DCVDD.
Change-Id: I4f03c68bddf00f7a20e21316f965f6e88b3b2c46
Signed-off-by: Gyeongtaek Lee <gt82.lee@samsung.com>
Gyeongtaek Lee [Thu, 21 Dec 2017 08:22:43 +0000 (17:22 +0900)]
[9610] mfd: madera: delay for stable ldo
Delay is needed to get stable regulator for DCVDD.
Change-Id: I993e8fc48f1cfad3b1413f066fd370232f10753a
Signed-off-by: Gyeongtaek Lee <gt82.lee@samsung.com>
Boojin Kim [Thu, 28 Jun 2018 03:35:14 +0000 (12:35 +0900)]
[COMMON] chub: fix chub driver kernel panic
This patch fixs the following kernel panic
- remove access after free during download_image
- remove invalid chub access
Change-Id: Icd760df4aef48ef7273f3f18fb83aa73d0672a2d
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
Boojin Kim [Fri, 29 Jun 2018 00:43:24 +0000 (09:43 +0900)]
[9610] arm64: dsti: disable pinctrl used on chub
Change-Id: I93e767862f8945b18f07541402a5bf5d5c805b85
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
Sukwon Ryoo [Fri, 29 Jun 2018 07:25:38 +0000 (16:25 +0900)]
[COMMON] chub: modify PMUCAL_SHUB log message
Change-Id: Ia6801b1a759e082691cdd3dfa63cea35e75501a5
Signed-off-by: Sukwon Ryoo <sw.ryoo@samsung.com>
Kisang Lee [Wed, 27 Jun 2018 05:29:24 +0000 (14:29 +0900)]
[COMMON] usb: notify: add TA checking condition
Change-Id: Id7b640d0a81c7383b83ee200ebfc51037858f7c8
Signed-off-by: Kisang Lee <kisang80.lee@samsung.com>
Kisang Lee [Wed, 27 Jun 2018 02:05:43 +0000 (11:05 +0900)]
[COMMON] usb: xhci: move location of wake_unlock for stable
Change-Id: I4c251312240342304a8631d81c63f06a240f4d83
Signed-off-by: Kisang Lee <kisang80.lee@samsung.com>
Boojin Kim [Fri, 22 Jun 2018 03:58:33 +0000 (12:58 +0900)]
[COMMON] chub: support debug feature
this patch supports chub debug feature like dump_hw and dump_log.
Change-Id: I798d964a433f8ab442b4b91c35d92340536e7b4a
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
Boojin Kim [Wed, 20 Jun 2018 05:08:52 +0000 (14:08 +0900)]
[9610][ERD] pmucal: enable shub pmucal
Change-Id: Icd66fe25e208dc901debcf031fc3b2a3aacbd679
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
Sukwon Ryoo [Tue, 19 Jun 2018 03:46:01 +0000 (12:46 +0900)]
[9610] dtsi: modified contexthub(reset mode)
Change-Id: I0d733ac57c0cc7f5a98ff77872dd329a4d7d1162
Signed-off-by: Sukwon Ryoo <sw.ryoo@samsung.com>
Sukwon Ryoo [Thu, 10 May 2018 01:34:13 +0000 (10:34 +0900)]
[9610] soc: samsung: add SMC interface for SHUB
Change-Id: Ie02cdec04dc09d499ed806d3ef61d98c84ff4971
Signed-off-by: Sukwon Ryoo <sw.ryoo@samsung.com>
Byoung Kim [Fri, 20 Apr 2018 13:42:44 +0000 (22:42 +0900)]
[9610] drivers: soc: cal-if: Apply CAL_IF for SHUB
Change-Id: I58b627cb61aaf9832031e2d0b9e35a267c74cc75
Signed-off-by: Byoung Kim <eric.by.kim@samsung.com>
Signed-off-by: Sukwon Ryoo <sw.ryoo@samsung.com>
Sukwon Ryoo [Wed, 16 May 2018 06:54:25 +0000 (15:54 +0900)]
[COMMON] chub: block reset
Change-Id: I498349f9b1832653a69505d36a7cd0cb3412d44e
Signed-off-by: Sukwon Ryoo <sw.ryoo@samsung.com>
Kisang Lee [Mon, 25 Jun 2018 07:15:25 +0000 (16:15 +0900)]
[COMMON] usb: notify: check TA to disable USB device
Change-Id: I03e5764d5de99de6de1e7f368feebc3a9092e0e3
Signed-off-by: Kisang Lee <kisang80.lee@samsung.com>
Kisang Lee [Mon, 25 Jun 2018 05:36:04 +0000 (14:36 +0900)]
[COMMON] usb: typec: check invalid accessory id
Change-Id: I243f47c1782cf59f0be9b2caf754d5bf4ba05a19
Signed-off-by: Kisang Lee <kisang80.lee@samsung.com>
Kisang Lee [Mon, 25 Jun 2018 01:13:38 +0000 (10:13 +0900)]
[COMMON] usb: dwc3: move TypeC configuration to otg
Change-Id: Ie1160e2011aab2b357d37bd1018246a0e5aa94aa
Signed-off-by: Kisang Lee <kisang80.lee@samsung.com>
taehyun.cho [Tue, 29 May 2018 06:10:20 +0000 (15:10 +0900)]
[COMMON] usb: add typec driver for VTS test
Change-Id: I24f9a351bdde65d4e6cbe32487c499f562d3385f
Signed-off-by: taehyun.cho <taehyun.cho@samsung.com>
Jiyoung Jeong [Mon, 25 Jun 2018 07:00:43 +0000 (16:00 +0900)]
[9610] net: netfilter: nf_conntrack_helper config set true
Change-Id: Ib44da87440446cfe222743192fbf243e77e4dc14
Signed-off-by: Jiyoung Jeong <ji_0.jeong@samsung.com>
ChiHun Won [Mon, 25 Jun 2018 05:29:35 +0000 (14:29 +0900)]
[9610] arm64: dts: changed fb rmem base address for avoiding overlap
Change-Id: I7c0e895bacd48aa1c50107940b63d718ef28bcc1
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
ChiHun Won [Sat, 23 Jun 2018 00:23:32 +0000 (09:23 +0900)]
[9610] fbdev: dpu20: changed dsim cmd allow setting
Change-Id: I6b0847d21ae13f30ede6722f7dea973d9b0c1467
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
ChiHun Won [Sat, 23 Jun 2018 00:05:41 +0000 (09:05 +0900)]
fbdev: dpu20: fixed display blinking issue of 3FA0 video mode
Change-Id: I1aa99cae7a53dc42f3a53e13bf24e0918e79454a
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
Chungwoo Park [Thu, 21 Jun 2018 03:26:48 +0000 (12:26 +0900)]
[9610] firmware: add ACPM TMU plugin binary
This patch apply 2 patches.
b71964d (HEAD -> acpm2.0-dev, origin/acpm2.0-dev) [9610] plugins: tmu: Modify tmu_update_cold_comp parameter
2497709 [9610] plugins: tmu: fix hysteresis for cold temperature
a9c0eb8 [9610] plugins: tmu: de-optimize array at compilation
e2b29ba [9110] flexpmu: update flexpmu_cal for RCO_DIV
Change-Id: I6ce8ce4994f7aeb4d50345a35f1d7cd5a102e387
Signed-off-by: Chungwoo Park <cww.park@samsung.com>
Chungwoo Park [Thu, 21 Jun 2018 01:48:21 +0000 (10:48 +0900)]
[9610] arm64: erd9610_defconfig: Enable ISP_COOLING feature.
Change-Id: Iece077b8358cf0d9781e8b50de32b6a31caa2b3f
Signed-off-by: Chungwoo Park <cww.park@samsung.com>
Ivan Priest [Fri, 22 Jun 2018 12:09:12 +0000 (13:09 +0100)]
[9610] wlbt: increment scsc_release to 6.34.2
Import FW for iteration 6.34.2
Change-Id: I10e848525f615207ce978151f88c14831a2befbd
SCSC-Bug-Id: scsc_release_6.34.2
Signed-off-by: Ivan Priest <i.priest@samsung.com>
Ivan Priest [Fri, 22 Jun 2018 09:40:41 +0000 (10:40 +0100)]
[9610][7885][7872][7570] wlbt: rename coredump_wlbtd() to call_wlbtd()
Rename the function, as the calling of wlbtd does not necessarily
imply a moredump being taken.
Change-Id: I3c7e0ab4324b8eed20859e5a696806b191ae9234
SCSC-Bug-Id: SSB-41190
Signed-off-by: Ivan Priest <i.priest@samsung.com>
scsc_gerrit [Wed, 20 Jun 2018 09:07:11 +0000 (10:07 +0100)]
[9610] wlbt: increment scsc_release to 6.34.1
Import FW for iteration 6.34.1
Change-Id: I6c33ab436b091530b50fa0c54fc9dd3c5284c372
SCSC-Bug-Id: scsc_iteration_6.34.1_wws
Signed-off-by: scsc_gerrit <scsc_gerrit@samsung.com>
Ivan Priest [Tue, 19 Jun 2018 09:56:55 +0000 (10:56 +0100)]
[9610] wlbt: remove tcp_get_info() in ack suppression and re-enable.
Workaround TCP ack suppression
Change-Id: Id85be7c977675d9f6fd55d3534b22e8f680dfbab
SCSC-Bug-Id: SSB-41049
Signed-off-by: Ivan Priest <i.priest@samsung.com>
Roman Geller [Thu, 14 Jun 2018 18:27:37 +0000 (19:27 +0100)]
[9610] wlbt: Introduced halt confirmation (normal shutdown)
Added halt confirmation insuring that the fw shutdown
activity is completed before reset from host
Change-Id: I23d338d3ab212df1be9634dd62c190ef04d3cda4
SCSC-Bug-Id: SSB-38486
Signed-off-by: Roman Geller <r.geller@samsung.com>
Srishti Piplani [Fri, 15 Jun 2018 06:08:28 +0000 (11:38 +0530)]
[9610][7885][7872][7570] wlbt: Fixing checkpatch issue.
Fixing checkpatch error,space required before open
parenthesis.
Change-Id: I3a6299aaa777c8949c7349084a162c95d92fea60
SCSC-Bug-Id:SSB-40679
Signed-off-by: Himani Gupta <himani.g2@samsung.com>
Srishti Piplani [Fri, 8 Jun 2018 06:39:30 +0000 (12:09 +0530)]
[7872] wlbt: [Katmai O]Soft AP should not start on NO-OUTDOOR channels
Whenever softAP tries to start on any indoor channel, the driver will
move the softAP to a valid channel and send channel switched
notification.
Change-Id: I4261baf3ba0fe63eb68b170b28a2492583e9e9ce
SCSC-Bug-Id: SSB-40331
Signed-off-by: Srishti Piplani <srishti.p@samsung.com>
Himani Gupta [Mon, 11 Jun 2018 10:20:19 +0000 (15:50 +0530)]
[9610][7885][7872][7570] wlbt: Kernel Panic in slsi_lls_get_stats API.
Unable to handle kernel null pointer dereference(sdev) in
slsi_lls_get_stats API.
Change-Id: I5bd7ddb7c1c131adf510b56eccb2ad0046970802
SCSC-Bug-Id:SSB-40679
Signed-off-by: Himani Gupta <himani.g2@samsung.com>
Ivan Priest [Tue, 12 Jun 2018 16:03:32 +0000 (17:03 +0100)]
[9610][7885][7570] wlbt: module param override for HCF path
Add the cfg_platform module parameter which allows the
subdirectory containing the HCF files to be overridden.
Use "echo -n <platform>" to override.
Change-Id: I1e2980821d05e35697471a6c7867ae46640243c6
SCSC-Bug-Id: SSB-40752
Signed-off-by: Ivan Priest <i.priest@samsung.com>
(cherry picked from commit
cc33db2d54d068505e8cf6998d836b57d19fc48e)
Himani Gupta [Wed, 30 May 2018 14:18:50 +0000 (19:48 +0530)]
[7570][7872][7885][9610] wlbt:2.4GHz softAP RX throughput is low.
Added RX STBC support in host.Hence improving the data rate.
Change-Id: Ia53405a1414a459f62060b1c8d673ffffbacb9ba
SCSC-Bug-Id: SSB-40341
Signed-off-by: Himani Gupta <himani.g2@samsung.com>
Ivan Priest [Mon, 11 Jun 2018 15:26:22 +0000 (16:26 +0100)]
[9610] wlbt: fix CTRL_NS ownership and whitespace
CTRL_NS ownership wasn't taken by WLBT on UNIV
due to merge error in previous patch.
Also fix the whitespace issue on the previous
patch.
Change-Id: I92434781693ca74daafc7bb15ff80eec289109b1
SCSC-Bug-Id: SSB-40135
Signed-off-by: Ivan Priest <i.priest@samsung.com>
ChiHun Won [Thu, 21 Jun 2018 07:36:59 +0000 (16:36 +0900)]
[9610] arm64: dts: chagend fb rmem base address
Change-Id: I69a7204c40152d50d85db2d5cd4527903e4cf6e7
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
ChiHun Won [Thu, 21 Jun 2018 07:27:16 +0000 (16:27 +0900)]
Revert "[HACK][9610][ERD] chub rmem move to avoid overlabing with bootloder_fb"
This reverts commit
7e899fbe88f02bd949e7178f88d82823cf732c14.
Change-Id: I7a02ac669610dee2566558868e9c6a89cd2b0bc9
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
hwangjae lee [Thu, 21 Jun 2018 06:41:01 +0000 (15:41 +0900)]
fbdev: dpu: shadow register update request method is modified.
In DPU common driver, shadow register update request was configured in
order for the used winodw only. However, in this case, if vsync occurs
during windows setup, only shadow register update request windows can be
shadow update.
So, shadow register update request method is modified to make shdadow
update requests for all windows at once.
Change-Id: I81b2b2aaddd7191df7c33feaa4b7a99dbcbf5fe5
Signed-off-by: hwangjae lee <hj-yo.lee@samsung.com>
hwangjae lee [Thu, 21 Jun 2018 06:39:33 +0000 (15:39 +0900)]
fbdev: dpu: decon_reg_all_win_shadow_update_req() is added
Change-Id: I7da5238360be2618c8a5e1ceeeb52a148ff76bef
Signed-off-by: hwangjae lee <hj-yo.lee@samsung.com>
hwangjae lee [Wed, 20 Jun 2018 08:44:56 +0000 (17:44 +0900)]
[9610] arm64: dtsi: s6e3fa0 panel video configuration is changed.
panel HS clk is changed 550 -> 1100.
panel pmsk value is changed <1 169 3 0> -> <4 677 2 0>.
Change-Id: Id32349c0c60e066a3ea1e8b2ff8f716b6ad0d67d
Signed-off-by: hwangjae lee <hj-yo.lee@samsung.com>
Ivan Priest [Mon, 18 Jun 2018 16:48:20 +0000 (17:48 +0100)]
[9610] wlbt: disable TCP ack suppression.
Kernel panics in ack suppression code in 4.14, turn
it off for now.
Change-Id: Ie00254edf26bc5065e1804a2236757a8bf072a34
SCSC-Bug-Id: SSB-41034
Signed-off-by: Ivan Priest <i.priest@samsung.com>
Yunsu Kim [Wed, 20 Jun 2018 11:48:54 +0000 (20:48 +0900)]
[9610] media: radio: Remove pm runtime while suspend/resume.
Change-Id: I6527b35fb8e6c587bb3e15b82125fd03d599f2b1
Signed-off-by: Yunsu Kim <iamyunsu.kim@samsung.com>
Jang JeongHoon [Wed, 30 May 2018 06:09:56 +0000 (15:09 +0900)]
[9610] soc: samsung: cal-if: Added cal_dll_get[set]_rate API
Change-Id: I80bce1751e9aad5cc0134781116c44b4debe7512
Signed-off-by: Jang JeongHoon <jnghn.jang@samsung.com>
Boojin Kim [Wed, 20 Jun 2018 02:40:53 +0000 (11:40 +0900)]
[HACK][9610][ERD] chub rmem move to avoid overlabing with bootloder_fb
Change-Id: I5b2a337fc11733f7b35fdc0b87a06586010e6ca4
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
Sukwon Ryoo [Tue, 29 May 2018 04:05:57 +0000 (13:05 +0900)]
[9610][ERD] defconfig: enable contexthub
Change-Id: I8053a9bada6d9110a5cd25232dbcf9c9b77652b0
Signed-off-by: Sukwon Ryoo <sw.ryoo@samsung.com>
Boojin Kim [Wed, 20 Jun 2018 00:50:36 +0000 (09:50 +0900)]
[9610] dtsi: add contexthub
Change-Id: I536d1c09d6f029bbeba1a99254df214a45a63072
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
Boojin Kim [Fri, 15 Jun 2018 06:06:33 +0000 (15:06 +0900)]
[COMMON] nanohub: add contexthub driver
Change-Id: I0b7f52933901cc439643594f97c6e1df495a3260
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
Signed-off-by: Sukwon Ryoo <sw.ryoo@samsung.com>
Sukwon Ryoo [Thu, 17 May 2018 04:05:37 +0000 (13:05 +0900)]
[COMMON] nanohub base from CHRE p-version
b4cbbe1 nanohub: fix out of bounds write in nanohub_spi_read
fdba416 Merge branch 'android-msm-marlin-3.18-nyc-mr2' into android-msm-marlin-3.18
c9f88a4 nanohub: detect wakeup signal stuck high and reset
e8faaee ANDROID: fix uninitilized variable
e9199f7 nanohub: error reset time calculation should use monotonic time
Change-Id: Ie2cb50046dddc3c607b5977c31813a6e8ee4fab9
Signed-off-by: Sukwon Ryoo <sw.ryoo@samsung.com>
ShinHyung [Tue, 19 Jun 2018 11:00:19 +0000 (20:00 +0900)]
[9610] arm64: dts: enable abox bt driver
Change-Id: I853faf259d4d1be1690757278cffb5d9792ddbf4
Signed-off-by: ShinHyung <s47.kang@samsung.com>
Yunsu Kim [Tue, 19 Jun 2018 04:54:03 +0000 (13:54 +0900)]
[9610] arm64: dtsi: Enable FM
Change-Id: Idd6d6091fd0392259e32303efff8036dadc14bd3
Signed-off-by: Yunsu Kim <iamyunsu.kim@samsung.com>
Yunsu Kim [Tue, 19 Jun 2018 04:53:14 +0000 (13:53 +0900)]
[9610] media: radio: Add call abox_request_cpu_gear()
Change-Id: I5a13a03c37a10cde3cb287c977b8aa70dbb0599b
Signed-off-by: Yunsu Kim <iamyunsu.kim@samsung.com>
JaeHun Jung [Tue, 12 Jun 2018 03:52:34 +0000 (12:52 +0900)]
[COMMON] scsi: ufs: Remove comment at pm_qos
Add pm_qos code for min lock.
Change-Id: Ie9ba65c70df7802480abfd1b0d37b6bfb9468073
Signed-off-by: JaeHun Jung <jh0801.jung@samsung.com>
JaeHun Jung [Fri, 1 Jun 2018 05:57:40 +0000 (14:57 +0900)]
[COMMON] mmc: dw_mmc: dw_mmc caps bug fix
Change-Id: Ifaf38aca4b0585c33352db5262b2524571707233
Signed-off-by: JaeHun Jung <jh0801.jung@samsung.com>
JaeHun Jung [Thu, 7 Jun 2018 12:36:22 +0000 (21:36 +0900)]
[9610] arm64: dts: Enable SD card for erd9610
Change-Id: I4f58d39764b57353e3ddccb7ac082b5ba454415d
Signed-off-by: JaeHun Jung <jh0801.jung@samsung.com>
JaeHun Jung [Thu, 7 Jun 2018 12:35:14 +0000 (21:35 +0900)]
[9610] arm64: configs: Enable dw_mci driver for SD card
Change-Id: I6592877316497be9040312ac7ba8ffb0328c5f2b
Signed-off-by: JaeHun Jung <jh0801.jung@samsung.com>
JaeHun Jung [Wed, 21 Mar 2018 06:33:46 +0000 (15:33 +0900)]
[COMMON] mmc: fmp: Add fmp. smu, srpmb
Change-Id: I62b23e4a5ffa310fe7c8ec4cb05c977f9c9b2358
Signed-off-by: JaeHun Jung <jh0801.jung@samsung.com>
JaeHun Jung [Tue, 19 Jun 2018 11:11:55 +0000 (20:11 +0900)]
[COMMON] mmc: dw_mmc: Driver migration
SD/MMC driver migration from 4.9 to 4.14.
Change-Id: I5b51faf6a10856bdff3d2a175b17d505aa4f347f
Signed-off-by: JaeHun Jung <jh0801.jung@samsung.com>
duk hyun.kwon [Thu, 4 May 2017 08:30:03 +0000 (17:30 +0900)]
[COMOON] mmc: dw_mmc: enhanched strobe support
Change-Id: I77b0b149c141e70fa25d838f4f22a0b0706513c9
Signed-off-by: duk hyun.kwon <d_hyun.kwon@samsung.com>
ChiHun Won [Tue, 19 Jun 2018 01:36:17 +0000 (10:36 +0900)]
[9610] arm64: config: disabled dpu features for video mode
Change-Id: Ia4a9a3a28bc281c42940562dc8e795c48f9236a7
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
ChiHun Won [Tue, 19 Jun 2018 01:32:37 +0000 (10:32 +0900)]
[9610] arm64: dts: enabled 3FA0 video mode
Change-Id: I29124958c117f4e8b1e0d3382f0fbc930f6a7a3c
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
ChiHun Won [Tue, 19 Jun 2018 01:29:30 +0000 (10:29 +0900)]
[9610] arm64: dts: reserved bootloader fb memory
Change-Id: I38e13ec76af535a3926629b5aaba234d3f0fd434
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
ChiHun Won [Tue, 19 Jun 2018 01:21:33 +0000 (10:21 +0900)]
[9610] fbdev: dpu20: increased pll stable time for various panel
Change-Id: Ib4a42144f7a5635d6f191e8c6c5ecfea5f1a5600
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
ChiHun Won [Tue, 19 Jun 2018 01:17:07 +0000 (10:17 +0900)]
fbdev: dpu20: removed unnecessary dsim dump area
Change-Id: Iebd69ab0b483a779bb23fdf92fd7ceefd766cfb2
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
ChiHun Won [Tue, 19 Jun 2018 01:15:36 +0000 (10:15 +0900)]
fbdev: dpu20: added event log for video mode
Change-Id: I0767f5629ab804f03f2e296131c4028b27a1115c
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
ChiHun Won [Tue, 19 Jun 2018 01:07:11 +0000 (10:07 +0900)]
fbdev: dpu20: moved iovmm active positon for video mode
Change-Id: I4ed1a37c718ace1d5dec44d11d04620f65f451c7
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
ChiHun Won [Tue, 19 Jun 2018 01:04:20 +0000 (10:04 +0900)]
fbdev: dpu20: reserved frame buffer memory area
Change-Id: I67988ad14d30ae391702f8b9811f3b1577befce2
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
Janghyuck Kim [Tue, 12 Jun 2018 07:27:16 +0000 (16:27 +0900)]
[9610] dtsi: add hold-rpm-on-boot property for sysmmu_dpu
Change-Id: I3fa2e32a3e0940cd501b67467776817c5cb939e9
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
Janghyuck Kim [Tue, 12 Jun 2018 07:19:53 +0000 (16:19 +0900)]
[HACK] iommu/exynos: hold runtime pm during boot time
Change-Id: I08997782bb36b9dec11834c4fdefda6a021327a7
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
Janghyuck Kim [Wed, 28 Feb 2018 07:50:28 +0000 (16:50 +0900)]
[COMMON] iommu/exynos: move pm_runtime_enable() in probe
Multiple SysMMUs can be the child node of same power domain.
In really_probe(), it tries to disable the power domain after calling
probe() if pm_runtime_suspend() of child node is true.
So calling pm_runtime_enable() before SFR access in sysmmu_probe() would
make external abort because it allows to be powered off.
Change-Id: I3f46b300afc5ca15300561eb4cf55837f29a50ab
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
Janghyuck Kim [Tue, 12 Jun 2018 05:02:51 +0000 (14:02 +0900)]
[9610] dtsi: increase DVA range for DPU
DVA range is increased to support 1:1 mapping.
Change-Id: I4aca46ac39c2e8af5637675baf41d31a1e90b06c
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
Janghyuck Kim [Wed, 9 Aug 2017 05:56:52 +0000 (14:56 +0900)]
iommu/exynos: zero initialization for region structure
To avoid reference the uninitialized variable in region structure,
kmalloc is replaced with kzalloc.
Change-Id: I9430d05b912e97521694516548e5cca61d4a40bf
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
Janghyuck Kim [Tue, 8 Aug 2017 06:15:08 +0000 (15:15 +0900)]
iommu/exynos: support 1:1 mapping between DVA and PA
This patch supports interface of 1:1 mapping between DVA and PA, which
is required for frame buffer handover
Change-Id: Ib7b3a2382621900e05016e289fbadccb51c5f663
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
Jaehyoung Choi [Tue, 19 Jun 2018 04:17:17 +0000 (13:17 +0900)]
[9610][ERD] arm64: config: Change Stack frame
Change-Id: I17af75ffdac98943a360ebedb9928543fe915c67
Signed-off-by: Jaehyoung Choi <jkkkkk.choi@samsung.com>
Seungchul Kim [Thu, 7 Jun 2018 07:39:24 +0000 (16:39 +0900)]
[9610] arm64: dtsi: change smfc compatible name
Change-Id: Ieb729a3fdc92af47e6c6318497067c5a891c38b8
Signed-off-by: Seungchul Kim <sc377.kim@samsung.com>
Sanghoon Lee [Thu, 14 Jun 2018 05:36:02 +0000 (14:36 +0900)]
[COMMON] arm64: fpsimd: Restore FPSIMD state for user thread
When user thread calls system call to kernel and kernel has overwritten the FPSIMD registers,
these registers should be restored for user when kernel completes its job.
Change-Id: Ieca1f7baa8a1b245d172bfc750517c70b999ccfa
Signed-off-by: Sanghoon Lee <shoon114.lee@samsung.com>
Eunyoung Lee [Fri, 15 Jun 2018 02:57:06 +0000 (11:57 +0900)]
[COMMON] fimc-is2: fixed image dump error in kernel 4.14
Change-Id: I5c8d3f8e3976a5b99aa96d3b67cc0a2ad020d13d
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Fri, 15 Jun 2018 03:00:17 +0000 (12:00 +0900)]
[COMMON] fimc-is2: removed unused code
- if fimc_is_mexc_buffer_init/fimc_is_vra_buffer_init function is
deleted, vbuf->kva[] will not use.
Change-Id: I9d13c78df839e6d0ee89972641a560240ca68893
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Thu, 14 Jun 2018 06:34:47 +0000 (15:34 +0900)]
[COMMON] fimc-is2: Changed buf_init function as common function(vra)
- vra will use fimc_is_buffer_init func like other subdev.
- It is possible only if the kvaddr is always enabled.
Change-Id: Id12a52eeea459a9e75bcdb9a4fba525e27c3a5c4
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Thu, 14 Jun 2018 06:31:00 +0000 (15:31 +0900)]
[COMMON] fimc-is2: Changed buf_init function as common function(mexc)
- mexc will use fimc_is_buffer_init func like other subdev.
- It is possible only if the kvaddr is always enabled.
Change-Id: I9460a7e0394c2a34c99aeea6f77a351e4e0b9f31
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Fri, 15 Jun 2018 01:58:10 +0000 (10:58 +0900)]
[COMMON] fimc-is2: fix a bug buf_kva for meta plane
Change-Id: Idccf927bfc8a8d182a0167bd9dc9c2dc6850aad4
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Fri, 15 Jun 2018 02:15:38 +0000 (11:15 +0900)]
[COMMON] fimc-is2: fix a bug in updating kvaddr_buffer
Change-Id: Ifbdaa4ab1fde1042b8b1a5a01e6f70b15eb28e13
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>