Youngsoo [Thu, 26 Sep 2019 06:30:45 +0000 (15:30 +0900)]
[RAMEN9610-20413][lv] host update 10.6.1.1 for lenovo only
add ipv4 multicast packet filter again.
add prevent issue fix : 310263
Change-Id: I3895000b184dd6c8731b7ead4343056deb9d80cc
Signed-off-by: Youngsoo <youngss.kim@samsung.com>
Tarun Karela [Tue, 24 Sep 2019 15:34:00 +0000 (16:34 +0100)]
[RAMEN9610-20413][9610] wlbt: SCSC Driver version 10.6.1.0
SCSC Driver version 10.6.1.0
Change-Id: Ib3cae4b7bce4b448477a1d5d0e92e4bad364282a
SCSC-Bug-Id: Rels-3171
Signed-off-by: Tarun Karela <t.karela@samsung.com>
Tarun Karela [Tue, 24 Sep 2019 15:33:02 +0000 (16:33 +0100)]
[RAMEN9610-20413][9610] [9630] wlbt: Delete SCSC drivers before update
Remove existing SCSC drivers before applying update
Change-Id: Ia9b0382ae916227a19498733ac362e8fdf752066
SCSC-Bug-Id: Rels-3171
Signed-off-by: Tarun Karela <t.karela@samsung.com>
Kim Taejeong [Sun, 11 Aug 2019 06:45:49 +0000 (15:45 +0900)]
[RAMEN9610-20350][9610] drivers: muic: support bad TA
Change-Id: I605bf8bbd5df0dfeea091836bd90cdeca5dfad34
Signed-off-by: Kim Taejeong <tj.kim@samsung.com>
Signed-off-by: Kim Gunho <gunho.kim@samsung.com>
Sangkyu Kim [Fri, 27 Sep 2019 15:49:11 +0000 (00:49 +0900)]
[ERD][RAMEN9610-20347]arm64: defconfig: add CPU_FREQ_TIMES
Change-Id: I9292c790830c406e80d1b623d6946e0ba79fbe19
Signed-off-by: Sangkyu Kim <skwith.kim@samsung.com>
Sangkyu Kim [Fri, 27 Sep 2019 14:14:53 +0000 (23:14 +0900)]
[ERD][RAMEN9610-20347]ANDROID: cpufreq: times: optimize proc files
The majority of the time spent reading /proc/uid_time_in_state is due
to seq_printf calls. Use the faster seq_put_* variations instead.
Also skip empty hash buckets in uid_seq_next for a further performance
improvement.
Bug:
111216804
Test: Read /proc/uid_time_in_state and confirm output is sane
Test: Compare read times to confirm performance improvement
Change-Id: I9a735a591b0f1d879dba8e1d9dd05bb47e18a9c5
Signed-off-by: Connor O'Brien <connoro@google.com>
Sangkyu Kim [Fri, 27 Sep 2019 14:12:34 +0000 (23:12 +0900)]
[ERD][RAMEN9610-20347]ANDROID: cpufreq: times: add /proc/uid_concurrent_{active,policy}_time
In order to model the energy used by the cpu, we need to expose cpu
time information to userspace. We can use this information to blame
uids for the energy they are using.
This patch adds 2 files:
/proc/uid_concurrent_active_time outputs the time each uid spent
running with 1 to num_possible_cpus online and not idle.
For instance, if 4 cores are online and active for 50ms and the uid is
running on one of the cores, the uid should be blamed for 1/4 of the
base energy used by the cpu when 1 or more cores is active.
/proc/uid_concurrent_policy_time outputs the time each uid spent
running on group of cpu's with the same policy with 1 to
num_related_cpus online and not idle.
For instance, if 2 cores that are a part of the same policy are online
and active for 50ms and the uid is running on one of the cores, the
uid should be blamed for 1/2 of the energy that is used everytime one
or more cpus in the same policy is active.
This patch is based on commit
c89e69136fec ("ANDROID: cpufreq:
uid_concurrent_active_time") and commit
989212536842 ("ANDROID:
cpufreq: uid_concurrent_policy_time") in the android-msm-wahoo-4.4
kernel by Marissa Wall.
Bug:
111216804
Test: cat files on hikey960 and confirm output is reasonable
Change-Id: I075fef030c261b47831ae8d4ddb286ee9d8b9347
Signed-off-by: Connor O'Brien <connoro@google.com>
Sangkyu Kim [Fri, 27 Sep 2019 14:07:44 +0000 (23:07 +0900)]
[ERD][RAMEN9610-20347]ANDROID: Fix massive cpufreq_times memory leaks
Every time _cpu_up() is called for a CPU, idle_thread_get() is called
which then re-initializes a CPU's idle thread that was already
previously created and cached in a global variable in
smpboot.c. idle_thread_get() calls init_idle() which then calls
__sched_fork(). __sched_fork() is where cpufreq_task_times_init() is,
and cpufreq_task_times_init() allocates memory for the task struct's
time_in_state array.
Since idle_thread_get() reuses a task struct instance that was already
previously created, this means that every time it calls init_idle(),
cpufreq_task_times_init() allocates this array again and overwrites
the existing allocation that the idle thread already had.
This causes memory to be leaked every time a CPU is onlined. In order
to fix this, move allocation of time_in_state into _do_fork to avoid
allocating it at all for idle threads. The cpufreq times interface is
intended to be used for tracking userspace tasks, so we can safely
remove it from the kernel's idle threads without killing any
functionality.
But that's not all!
Task structs can be freed outside of release_task(), which creates
another memory leak because a task struct can be freed without having
its cpufreq times allocation freed. To fix this, free the cpufreq
times allocation at the same time that task struct allocations are
freed, in free_task().
Since free_task() can also be called in error paths of copy_process()
after dup_task_struct(), set time_in_state to NULL immediately after
calling dup_task_struct() to avoid possible double free.
Bug description and fix adapted from patch submitted by
Sultan Alsawaf <sultanxda@gmail.com> at
https://android-review.googlesource.com/c/kernel/msm/+/700134
Bug:
110044919
Test: Hikey960 builds, boots & reports /proc/<pid>/time_in_state
correctly
Change-Id: I12fe7611fc88eb7f6c39f8f7629ad27b6ec4722c
Signed-off-by: Connor O'Brien <connoro@google.com>
Sangkyu Kim [Fri, 27 Sep 2019 14:03:54 +0000 (23:03 +0900)]
[ERD][RAMEN9610-20347]ANDROID: cpufreq: Add time_in_state to /proc/uid directories
Add per-uid files that report the data in binary format rather than
text, to allow faster reading & parsing by userspace.
Signed-off-by: Connor O'Brien <connoro@google.com>
Bug:
72339335
Bug:
70951257
Test: compare values to those reported in /proc/uid_time_in_state
Change-Id: I463039ea7f17b842be4c70024fe772539fe2ce02
Sanghoon Lee [Mon, 15 Jul 2019 07:07:43 +0000 (16:07 +0900)]
[ERD][RAMEN9610-20325][COMMON] fimc-is2: Fix prevent issue
ISSUE JIRA ID: RAMEN9610-17294, RAMEN9610-17295, RAMEN9610-17297
PREVENT ID: 80694, 80703, 80723
PR JIRA ID: CSWPR-59, CSWPR-124
Change-Id: I77342f00f03d23618183789df309b9a222340594
Signed-off-by: Sanghoon Lee <shoon114.lee@samsung.com>
Sanghoon Lee [Wed, 24 Jul 2019 07:21:45 +0000 (16:21 +0900)]
[ERD][RAMEN9610-20325][COMMON] fimc-is2: Fix prevent issues
ISSUE JIRA ID: MAKA9820-6229, NEUS7920-327, RAMEN9610-16606, RAMEN9610-18289
PR JIRA ID: CSWPR-124
Change-Id: I275d7c1e2d9de196c6f42aaae065879401d95e8e
Signed-off-by: Sanghoon Lee <shoon114.lee@samsung.com>
Sukwon Ryoo [Fri, 27 Sep 2019 10:33:26 +0000 (19:33 +0900)]
[ERD][RAMEN9610-20321][9610] driver: chub: exit resume when not working
Especially in charger mode
Change-Id: I58f40b4ba373b3832e5d2b71add8d07055d99eaa
Signed-off-by: Sukwon Ryoo <sw.ryoo@samsung.com>
Jiyoung Jeong [Fri, 27 Sep 2019 11:22:39 +0000 (20:22 +0900)]
[RAMEN9610-20318][9610] arm64: configs: add config for resolving VtsKernelNetTest fail
Change-Id: Ic683efe27c6c1df4396ff4a89d73b1eb295121d3
Signed-off-by: Jiyoung Jeong <ji_0.jeong@samsung.com>
Sanghwa Park [Fri, 27 Sep 2019 00:45:59 +0000 (09:45 +0900)]
[RAMEN9610-20297][9610] vipx: fix prevent defects
prevent defects (275231, 275562) is fixed
Change-Id: Ia18640d45964f8a28a1d90589cf42ebbdb04e9dc
Signed-off-by: Sanghwa Park <senius.park@samsung.com>
Sukwon Ryoo [Thu, 26 Sep 2019 07:20:56 +0000 (16:20 +0900)]
[ERD][RAMEN9610-20296][COMMON] driver: chub: handle invalid logbuf index
When an invalid logbuffer index issue happened,
1. reset eq and dq to 0
2. chub dump
also resolves prevent CID 275510, 275336 and 276075
Change-Id: I6b2f9205b4b8ed31f135e1f04a6963b9aa8bb4f0
Signed-off-by: Sukwon Ryoo <sw.ryoo@samsung.com>
Youngsoo [Mon, 16 Sep 2019 05:16:39 +0000 (14:16 +0900)]
[RAMEN9610-20095][lv] host update 10.5.1.1 for lenovo only
add ipv4 multicast packet filter again.
Change-Id: I6c801c86787e257cd3f04e898e2da269aca0289d
Signed-off-by: Youngsoo <youngss.kim@samsung.com>
Tarun Karela [Tue, 10 Sep 2019 14:26:57 +0000 (15:26 +0100)]
[RAMEN9610-20095][9630][3830][9610] wlbt: SCSC WLBT Driver Ver. 10.5.1.0
WLBT Driver relase : Version 10.5.1.0
Change-Id: Ia1c5822c979526103ffa9ca2a7e62a59a2991970
SCSC-Bug-Id: Rels-3147
Signed-off-by: Tarun Karela <t.karela@samsung.com>
Tarun Karela [Tue, 10 Sep 2019 14:26:09 +0000 (15:26 +0100)]
[RAMEN9610-20095][9630][3830][9610] wlbt: Delete Scsc Drivers
Delete Scsc drivers from upstream kernel in prepartion
of appling new SCSC WLBT Driver release
for RAMEN Q
Change-Id: Ic36f3d98770f9e9883e7f5f67cf15769bb10365a
SCSC-Bug-Id: Rels-3147
Signed-off-by: Tarun Karela <t.karela@samsung.com>
Seongwoo hong [Fri, 20 Sep 2019 01:19:21 +0000 (10:19 +0900)]
[RAMEN9610-20090][9610] dts: battery: change max_rawsoc initial value
Change-Id: I0e90fdf12c1c9b4ae4e658a9619e78798b667143
Signed-off-by: Seongwoo hong <seong.hong@samsung.com>
Keunho Hwang [Mon, 1 Jul 2019 07:25:37 +0000 (16:25 +0900)]
[RAMEN9610-20069][9610] drivers: fuelgauge: change recalculation condition for SOCni
Change-Id: Ia83139177c09bb9471728d1597d71d1d802f7579
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
Yunsu Kim [Wed, 18 Sep 2019 07:16:04 +0000 (16:16 +0900)]
[RAMEN9610-20040][9609] media: radio: Sync p branch update
Change-Id: I61ccfb5d760fa1d3fbb3adc2800347a08380238e
Signed-off-by: Yunsu Kim <iamyunsu.kim@samsung.com>
Sanghwa Park [Tue, 10 Sep 2019 15:24:03 +0000 (00:24 +0900)]
[RAMEN9610-19845][9610] vipx: fix prevent defects
275134: Uninitialized scalar variable
275231: Uninitialized scalar variable
275245: Uninitialized pointer read
275283: Uninitialized scalar variable
275562: Uninitialized scalar variable
275638: Uninitialized scalar variable
Change-Id: I12838a018382220052c9c8e99a3e79c8caa4699c
Signed-off-by: Sanghwa Park <senius.park@samsung.com>
Signed-off-by: Kim Gunho <gunho.kim@samsung.com>
Srishti Piplani [Thu, 5 Sep 2019 09:50:05 +0000 (15:20 +0530)]
[RAMEN9610-19755]wlbt: Resource Leak prevent issue in APF
Free the program variable, before doing a kmalloc,
in order to fix resource leak prevent issue.
Change-Id: I841c958401abeb7a359e8dacae6da530ee4a39a9
SCSC-Bug-Id: HOST-10865
Signed-off-by: Srishti Piplani <srishti.p@samsung.com>
Signed-off-by: Kim Gunho <gunho.kim@samsung.com>
dujeonglee [Thu, 5 Sep 2019 01:01:47 +0000 (10:01 +0900)]
[RAMEN9610-19737][MODAP-40430] Fix CFI panic on ip_expire
Change-Id: I678395a3dc85ceb833532379653d2dd2b8670796
Signed-off-by: dujeonglee <dujeong.lee@samsung.com>
Signed-off-by: Kim Gunho <gunho.kim@samsung.com>
Sunyoung Kang [Tue, 26 Feb 2019 00:22:24 +0000 (09:22 +0900)]
[RAMEN9610-19721][COMMON] media: mfc: DRV5.0: apply spin_lock to ctx_ready
The ctx_ready() and set_bit() should be synchronized.
So this applies the spin_lock to ctx_ready() by using
new function mfc_ctx_ready_set_bit().
Change-Id: I366b64ccfaa18fe929c1a174531aa52c5a97b094
Signed-off-by: Sunyoung Kang <sy0816.kang@samsung.com>
seungmin.ahn [Tue, 18 Jun 2019 05:12:55 +0000 (14:12 +0900)]
[RAMEN9610-19721][COMMON] media: mfc: fix the prevent issue
Fixed null pointer dereference(FORWARD_NULL)
Change-Id: Idb8f7f271d49ce0ac936e0885bd868d7eb94ea39
Signed-off-by: seungmin.ahn <seungmin.ahn@samsung.com>
Ayoung Sim [Mon, 1 Jul 2019 08:17:20 +0000 (17:17 +0900)]
[RAMEN9610-19721][COMMON] media: mfc: allocation failure doesn't go to panic
Change-Id: I85735db02ac6363c96eda760266378cb8dda9601
Signed-off-by: Ayoung Sim <a.sim@samsung.com>
Ayoung Sim [Tue, 18 Jun 2019 04:17:08 +0000 (13:17 +0900)]
[RAMEN9610-19721][COMMON] media: mfc: adjust FRAME_RATE_RESOLUTION scope
FRAME_RATE_RESOLUTION has been used based on 1000ms
in order to calculate with timestamp.
But for H.263 codec only 8 bit is used and maximum value
can be 0xFF(256).
We adjust the FRAME_RATE_RESOLUTION to 100 in case of only H.263.
Change-Id: I4766b65828beba435fe495804b70146218e2dacd
Signed-off-by: Ayoung Sim <a.sim@samsung.com>
Ayoung Sim [Fri, 31 May 2019 08:10:06 +0000 (17:10 +0900)]
[RAMEN9610-19721][COMMON] media: mfc: add the lock for qos_queue list
Change-Id: Id400dc5dc400b7de17c8aa1157d179c11026d2af
Signed-off-by: Ayoung Sim <a.sim@samsung.com>
Tarun Karela [Thu, 29 Aug 2019 16:46:44 +0000 (17:46 +0100)]
[RAMEN9610-19706][9610] wlbt: WLBT Kernel Driver 10.3.1.0
WLBT kernel driver release scsc_release_10.3.1.0_mx450_p_ww
Change-Id: I4247b339fee79185c052c9bc486c69eb4b7646f0
SCSC-Bug-Id: Rels-3122
Signed-off-by: Tarun Karela <t.karela@samsung.com>
Signed-off-by: Kim Gunho <gunho.kim@samsung.com>
Kun-Pil Jung [Tue, 25 Jun 2019 23:41:54 +0000 (08:41 +0900)]
[RAMEN9610-19688][9610] PMIC: RTC: Poweroff Alarm WA
Change-Id: Ib5f3de229bec484947f08743e2657a54fd142268
Signed-off-by: Kun-Pil Jung <kp.jung@samsung.com>
Keunho Hwang [Tue, 21 May 2019 01:55:52 +0000 (01:55 +0000)]
[RAMEN9610-19688][COMMON] drivers: battery: Skip select pdo work
Change-Id: Ic5559dd07d5f80e0bbe7efc58c110b40f8aebed8
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
Jieun Yi [Mon, 13 May 2019 02:01:18 +0000 (02:01 +0000)]
[RAMEN9610-19688][Common] s2mpu09: use ldo scp interrupts
Change-Id: Ica4639a4826ddbb05dbb29a15553768cf62ae7f6
Signed-off-by: Jieun Yi <jieun.yi@samsung.com>
SeYeong Byeon [Thu, 5 Sep 2019 01:35:04 +0000 (10:35 +0900)]
[RAMEN9610-19685][9630] drivers: gpu: disable MALI_DMA_BUF_LEGACY_COMPAT
Disables cache flush on dma buf map.
This is not needed anymore and enabling this option
may cause performance issues.
Change-Id: I6278f2ebd52e28b63123aec2cc8b4b1cd3f098f1
Signed-off-by: SeYeong Byeon <sy.byeon@samsung.com>
Signed-off-by: Kim Gunho <gunho.kim@samsung.com>
JaeHun Jung [Wed, 4 Sep 2019 06:44:09 +0000 (15:44 +0900)]
[RAMEN9610-19678][COMMON] arch: dts: Enable runtime PM ignore for SD card.
Change-Id: Idd546adde3dfeaaec9af1d655b4e28e2d6251c59
Signed-off-by: JaeHun Jung <jh0801.jung@samsung.com>
JaeHun Jung [Tue, 25 Jun 2019 02:20:42 +0000 (11:20 +0900)]
[RAMEN9610-19678][COMMON] mmc: dw_mmc: Add ignore runtime PM notify.
MMC does not use runtime PM.
So, Driver don't need register notifier for runtime PM.
Change-Id: I16cd8ded2c21fb00507f77edb3456e826f1d8802
Signed-off-by: JaeHun Jung <jh0801.jung@samsung.com>
Signed-off-by: Kim Gunho <gunho.kim@samsung.com>
JaeHun Jung [Thu, 30 May 2019 08:21:19 +0000 (17:21 +0900)]
[RAMEN9610-19678][COMMON] mmc: dw_mmc: Change regulator_disable from tasklet to workqueue.
Regulator disable function has mutex_lock. And, mutex_lock has might_sleep().
It can not use in ISR & BH(bottom Half).
So, Using WQ with WQ_UNBOUND, WQ_HIGHPRI for execution.
Change-Id: I4f7a3d1b8d5a27000fb61ee9feb321749c956f59
Signed-off-by: JaeHun Jung <jh0801.jung@samsung.com>
Sukmin Kang [Tue, 3 Sep 2019 07:52:55 +0000 (16:52 +0900)]
[RAMEN9610-19689]driver: staging: chub change chub_resume to complete
Change-Id: I66f433c02576a8ae7b22b041333439af2b698176
Signed-off-by: Kim Gunho <gunho.kim@samsung.com>
hgchu [Wed, 31 Jul 2019 05:01:06 +0000 (14:01 +0900)]
[RAMEN9610-19641][COMMON] ext2: support statx syscall
Since statx, every filesystem should fill the attributes/attributes_mask
in routine getattr. But the generic_fillattr has not fill that, so add
ext2_getattr to do this. This can fix generic/424 while testing ext2.
Change-Id: I08fa576ebf8191462290f81bdd5fb93d79018b57
Signed-off-by: hgchu <hg.chu@samsung.com>
Signed-off-by: Kim Gunho <gunho.kim@samsung.com>
Kisang Lee [Thu, 23 May 2019 10:14:37 +0000 (19:14 +0900)]
[RAMEN9610-19639][COMMON] usb: check cdev in retry configuration
Change-Id: I125d4c004c84b33c41c842c49032eeef3b157d0f
Signed-off-by: Kisang Lee <kisang80.lee@samsung.com>
SEO HOYOUNG [Wed, 15 May 2019 10:34:41 +0000 (19:34 +0900)]
[RAMEN9610-19639][COMMON] usb: modified to re-try usb enumeration 5times
Change-Id: I2f4cfdb8ded582ae77b41a573de813390827304e
Signed-off-by: SEO HOYOUNG <hy50.seo@samsung.com>
SEO HOYOUNG [Mon, 13 May 2019 10:44:06 +0000 (19:44 +0900)]
[RAMEN9610-19639][COMMON] usb: add DCTL run/stop when enumeration fail.
Change-Id: I0da546bc9c2053c3f5e8f2867022577919c3c74f
Signed-off-by: SEO HOYOUNG <hy50.seo@samsung.com>
Jiyoung Jeong [Thu, 14 Mar 2019 15:00:01 +0000 (00:00 +0900)]
[RAMEN9610-19622] Save CP crash infomation when occured reset without dump
Change-Id: I2e087a78a4a33f8092b0d4b34d0e6dd70488f47d
Signed-off-by: Jiyoung Jeong <ji_0.jeong@samsung.com>
Signed-off-by: Kim Gunho <gunho.kim@samsung.com>
ShinHyung [Tue, 4 Jun 2019 09:41:50 +0000 (18:41 +0900)]
[RAMEN9610-19621][9610] ASoC: abox: Direct clock control
To prevent the failure of the freezing task when entering suspend mode,
Change clock control method from gear_sync to set_rate.
Change-Id: Ieee64f5c90c7b4650de7259e32ca845190dbc8a9
Signed-off-by: ShinHyung <s47.kang@samsung.com>
ShinHyung [Wed, 5 Jun 2019 08:58:48 +0000 (17:58 +0900)]
[RAMEN9610-19621][9610] ASoC: abox: added wake_lock to guarantee abox resume completion.
abox_boot_done_work_func(resume operation) didn't work before starting suspend scequence.
To avoid it, Added wake_lock to guarantee abox resume completion.
Change-Id: I531fbda221aaae4782e786e6e8673a7781803975
Signed-off-by: ShinHyung <s47.kang@samsung.com>
Keunho Hwang [Tue, 9 Jul 2019 08:46:50 +0000 (17:46 +0900)]
[RAMEN9610-19595]muic: Support India Turbo-charger (SC-25)
- Set VNMON Vref 0.5V -> 0.4V
- Set DP_src 0.6 -> 0.75
Change-Id: Iac23950c195a0097f3f0b3ef8e611188ffb204f5
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
Signed-off-by: Kim Gunho <gunho.kim@samsung.com>
Junhan Bae [Tue, 25 Jun 2019 03:46:32 +0000 (12:46 +0900)]
[RAMEN9610-19595]ccic : fix init cc detach debounce for battery pack
Change-Id: I66cad46ed950527543e96ca49fd84ca6de3822ff
Signed-off-by: Junhan Bae <junhan84.bae@samsung.com>
Junhan Bae [Fri, 14 Jun 2019 01:44:01 +0000 (10:44 +0900)]
[RAMEN9610-19595]ccic : add function which control abnormal attach
Change-Id: Ie888e46deb67ea81c0ec5e160978a42802b9477e
Signed-off-by: Junhan Bae <junhan84.bae@samsung.com>
Junhan Bae [Wed, 29 May 2019 06:45:58 +0000 (15:45 +0900)]
[RAMEN9610-19595]ccic : fix ccic rp source when attach source
Change-Id: I4c9570f760add4f7b60e358b2662bcd7d6854489
Signed-off-by: Junhan Bae <junhan84.bae@samsung.com>
Wonchul Shin [Tue, 3 Sep 2019 07:13:06 +0000 (16:13 +0900)]
[RAMEN9610-19594][COMMON][NFC] Change nfc related config setting
- Remove LDO_EN pin settings that are not required in ERD B/D
Change-Id: I7f2f880daf35cf7f4a358bfbeb1c9c8e0677e853
Signed-off-by: Wonchul Shin <wchuls.shin@samsung.com>
Signed-off-by: Kim Gunho <gunho.kim@samsung.com>
Hyeonseong Gil [Tue, 21 May 2019 06:00:32 +0000 (15:00 +0900)]
[RAMEN9610-19593][COMMON][MODAP-30279] ntc_thermistor: Update ncpXXxh103 table
Change-Id: I23a11145d4db70e178fdce8f22bb52e622c1f580
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Signed-off-by: Kim Gunho <gunho.kim@samsung.com>
Jaehyoung Choi [Tue, 21 May 2019 04:34:05 +0000 (13:34 +0900)]
[RAMEN9610-19588][COMMON] pinctrl: samsung: Add Exynos pin debug state
In pin drvdata, you can see the current status of each pin.
Change-Id: I1eca9c3e5cbff60fba4bda6530a9f8435eaab28b
Signed-off-by: Jaehyoung Choi <jkkkkk.choi@samsung.com>
Signed-off-by: Shinbeom Choi <sbeom.choi@samsung.com>
Signed-off-by: Kim Gunho <gunho.kim@samsung.com>
Jaehyoung Choi [Mon, 17 Jun 2019 07:11:22 +0000 (16:11 +0900)]
[RAMEN9610-19587][COMMON] touchscreen: synaptics: Fix prevent issue
Change-Id: I56071262458b93028ffa703e7eba1094ae229c34
Signed-off-by: Jaehyoung Choi <jkkkkk.choi@samsung.com>
Signed-off-by: Kim Gunho <gunho.kim@samsung.com>
Youngmin Nam [Mon, 10 Jun 2019 08:15:37 +0000 (17:15 +0900)]
[RAMEN9610-19586]vsprintf: fix data type of variable in string_nocheck()
This patch fixes data type of precision with int.
The precision is declared as signed int in struct printf_spec.
Change-Id: Iaa6e2d074ed9d4ca191a8366489a394d79b62ac1
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
Signed-off-by: Kim Gunho <gunho.kim@samsung.com>
Youngsoo [Thu, 22 Aug 2019 08:25:47 +0000 (17:25 +0900)]
[RAMEN9610-19423] wlbt: increase filter id for adnormal multicast
Change-Id: Ib4e001d96015de9a9cd016a379c699a99a229453
Signed-off-by: Youngsoo <youngss.kim@samsung.com>
dujeonglee [Fri, 24 May 2019 12:05:43 +0000 (21:05 +0900)]
[RAMEN9610-19423] wlbt: filter abnormal ipv4 multicast packet
Change-Id: I50511db5dcec9a9959670eb843ef87c3def99bcc
Signed-off-by: dujeonglee <dujeong.lee@samsung.com>
Signed-off-by: Kim Gunho <gunho.kim@samsung.com>
Yuseok Kim [Tue, 18 Jun 2019 11:00:19 +0000 (20:00 +0900)]
[RAMEN9610-19423] wlbt : update packet filter for unwanted ARP packet
Sometimes, Client send unicast ARP packet with different IP range.
And, Wifi module processes it and wakes up the host.
But, It is weakness from the point of view of power consumption.
Since the desired ARP is offloaded from the FW,
the other ARP packets that are not needed will be dropped.
Change-Id: I34c0c7e29ca5deb1da7da899182e953db6bd7276
Ivan Priest [Tue, 16 Jul 2019 12:54:13 +0000 (13:54 +0100)]
[RAMEN9610-19422][9630] wlbt: add WLBT drivers 10.1.1.0
Add WLBT driver drop for Neus
From tag scsc_release_10.1.1_mx450_p_ww
Change-Id: Ic7fe507ff007a870431f4dcbb6c263e49c334d9c
SCSC-Bug-Id: RELS-3034
Signed-off-by: Ivan Priest <i.priest@samsung.com>
Signed-off-by: Kim Gunho <gunho.kim@samsung.com>
Ivan Priest [Tue, 16 Jul 2019 12:44:03 +0000 (13:44 +0100)]
[RAMEN9610-19422][9630] wlbt: prepare for WLBT driver integration
Replacing drivers with release from SCSC project
Change-Id: Ifb871c6e32744e6016f7a97d08f4150a6452ee2e
SCSC-Bug-Id: RELS-3034
Signed-off-by: Ivan Priest <i.priest@samsung.com>
Signed-off-by: Kim Gunho <gunho.kim@samsung.com>
Yoojin Park [Thu, 4 Jul 2019 09:11:11 +0000 (18:11 +0900)]
[9610] drivers: gpu: add Bifrost r19p0 in config
Change-Id: I699cb67c76f4b6c24b2995be0ad172b33296fe75
Signed-off-by: Yoojin Park <yoojin1.park@samsung.com>
Yoojin Park [Mon, 5 Aug 2019 12:45:19 +0000 (21:45 +0900)]
[9610] drivers: gpu: add SECURE_RENDERING codes
Change-Id: I3fbfaf65a4b3ea592efb2dabc5281e61f093343c
Signed-off-by: Yoojin Park <yoojin1.park@samsung.com>
Yoojin Park [Thu, 4 Jul 2019 14:18:39 +0000 (23:18 +0900)]
[9610] drivers: gpu: remove BTS codes in Bifrost r19p0
To avoid buiid error
Change-Id: I9f68bcf381b81528341d34e959c2c33d3ba1b50c
Signed-off-by: Yoojin Park <yoojin1.park@samsung.com>
Yoojin Park [Thu, 4 Jul 2019 09:45:37 +0000 (18:45 +0900)]
[9610] drivers: gpu: adding gpu kernel driver for Bifrost r19p0
Change-Id: I493e8a9b636db4cfe24a3cd9756937f2250d233f
Signed-off-by: Yoojin Park <yoojin1.park@samsung.com>
Sunyoung Kang [Thu, 8 Aug 2019 10:51:46 +0000 (19:51 +0900)]
[COMMON] media: mfc: support H264 5.2 level
Change-Id: I128a614127cec65d56e8e1edf5aa151846f3c777
Signed-off-by: Sunyoung Kang <sy0816.kang@samsung.com>
SEO HOYOUNG [Fri, 10 May 2019 00:46:22 +0000 (09:46 +0900)]
[ERD][NEUS7920-261] [9610] usb: notify: add wake_lock
Change-Id: I7d2995efa208a8e00501d16fba2faa24f1c48758
Signed-off-by: SEO HOYOUNG <hy50.seo@samsung.com>
SEO HOYOUNG [Fri, 10 May 2019 01:10:11 +0000 (10:10 +0900)]
[ERD][NEUS7920-261] [9610] usb: notify: disable USB L2 mode
Change-Id: Ic3ef8ca60924e69735173555a0921fe9d6a0096c
Signed-off-by: SEO HOYOUNG <hy50.seo@samsung.com>
SEO HOYOUNG [Tue, 7 May 2019 05:49:29 +0000 (14:49 +0900)]
[ERD][NEUS7920-261] [9610] usb: notify: add timer 5s for otg_sw_switch
Change-Id: I77b8658640e761eef6b5ec9224939035e95f79ac
Signed-off-by: SEO HOYOUNG <hy50.seo@samsung.com>
Kyungwoo Kang [Mon, 22 Apr 2019 05:01:35 +0000 (14:01 +0900)]
[ERD][NEUS7920-226] [COMMON] i2c: exynos: Support multi mode for HSI2C
Change-Id: I15809b11225fd0fc017505231c65d2feea53f755
Signed-off-by: Kyungwoo Kang <kwoo.kang@samsung.com>
Kyungwoo Kang [Tue, 23 Apr 2019 01:31:22 +0000 (10:31 +0900)]
[ERD][NEUS7920-226] [COMMON] i2c: core: Add client data for multi mode slave devices
Change-Id: Ie43d3c5c80281fe542383de9176918a6a0e50d15
Signed-off-by: Kyungwoo Kang <kwoo.kang@samsung.com>
Changki Kim [Tue, 26 Mar 2019 11:20:46 +0000 (20:20 +0900)]
[ERD][RAMEN9610-14963] [COMMON] lib: dss: Change debug level policy.
debug level is related with ramdump.
low: if error(like panic, wdtreset ..) happened,
system does not enter fastboot mode.
mid: system enters fastboot mode.
debug level is determined in bootloader.
Change-Id: I9186dc97ee7591ef2f4e888da488602141779ebf
Signed-off-by: Changki Kim <changki.kim@samsung.com>
HOYOUNG SEO [Thu, 2 May 2019 05:21:28 +0000 (14:21 +0900)]
[ERD][NEUS7920-190] [9610] arm64: defconfig: enable otg_sw_switch
Change-Id: Ia00b93c25e7b034ab14c767db584a1083c3f610c
Signed-off-by: HOYOUNG SEO <hy50.seo@samsung.com>
HOYOUNG SEO [Thu, 2 May 2019 05:11:33 +0000 (14:11 +0900)]
[ERD][NEUS7920-190] [9610] usb: notify: add otg_sw_switch
Change-Id: I405315c4ee28d0006c5c6c01f286affb7f2936d5
Signed-off-by: HOYOUNG SEO <hy50.seo@samsung.com>
Kijun Kim [Tue, 23 Apr 2019 01:57:09 +0000 (10:57 +0900)]
[ERD][NEUS7920-140] [9610] fbdev: dpu20: dsim: sysfs for read and write panel addr
Change-Id: I994bddac72d82567982e4f3aceca0f90e628f40e
Signed-off-by: Kijun Kim <kijun.kim@samsung.com>
Boojin Kim [Mon, 1 Apr 2019 08:16:50 +0000 (17:16 +0900)]
[ERD][NEUS7920-135] [COMMON]chub: print-out chub fw log to AP during power-on
Change-Id: I6979c0c2d61867ff1e6b97fedafc21a8f8e06625
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
Sukwon Ryoo [Wed, 13 Mar 2019 06:32:09 +0000 (15:32 +0900)]
[ERD][NEUS7920-135] [COMMON]chub: No remove sensorinfo in reset
When something went wrong during os select,
sensorinfo area is swiped out because of reset.
So HAL can not get sensorlist.
This patch makes IPC area set 0 except
sensorinfo area.
Change-Id: I667deedbd4ba4b0b190aa46c13f0b3008ca193b3
Signed-off-by: Sukwon Ryoo <sw.ryoo@samsung.com>
Boojin Kim [Wed, 23 Jan 2019 04:48:02 +0000 (13:48 +0900)]
[ERD][NEUS7920-135] [COMMON] Revert "[RAMEN9610-10009][COMMON] soc: samsung: cal-if: Changed DLL freq from 360 to 104Mhz"
This reverts commit
e8d8ebe6793550609a802cb0526a706ca9160cf9.
Change-Id: Ifa21c50306512a3ff8a91f973142bc934a7a0034
Hyunki Koo [Thu, 11 Oct 2018 10:27:21 +0000 (19:27 +0900)]
[ERD][NEUS7920-76] [COMMON] lib: dss: add null check before refer to desc->action
Change-Id: I9f5211c8a08b94ce5430cb49995e5be79d3ab567
Signed-off-by: Hyunki Koo <hyunki00.koo@samsung.com>
Changki Kim [Wed, 24 Oct 2018 05:37:12 +0000 (14:37 +0900)]
[ERD][NEUS7920-76] [COMMON]lib: dss: Add saving dss item information for bootloader
Change-Id: Ie4094df9be7d1a8296dd108667a8d7e6e1e6fde0
Signed-off-by: Changki Kim <changki.kim@samsung.com>
Kyungwoo Kang [Mon, 20 Aug 2018 05:36:09 +0000 (14:36 +0900)]
[ERD][NEUS7920-76] [COMMON] i2c: core: Add Debug Snapshot Feature for I2C
Since 9820, a debugging feature has been changed
from Exynos snapshot to Debug snapshot.
This is a new porting of Debug snapshot
Change-Id: I671485ed64629c2d00504b13058bcfa0a9282447
Signed-off-by: Kyungwoo Kang <kwoo.kang@samsung.com>
Donghyeok Choe [Tue, 28 Aug 2018 07:33:27 +0000 (16:33 +0900)]
[ERD][NEUS7920-76] [COMMON] smc: add smc call for FIQ debugger
add smc cmd about entering multistage WDT FIQ debugger.
Change-Id: Id18b4b720180adf888cfc04623f5e22fd9a25232
Signed-off-by: Donghyeok Choe <d7271.choe@samsung.com>
Donghyeok Choe [Fri, 14 Dec 2018 06:47:56 +0000 (15:47 +0900)]
[ERD][NEUS7920-76] [9610] arm64: dts: Add watchdog device node for FIQ Debugger
Change-Id: Ifccfe5b7fa347a12df4169c728cbbea5fa13ecbd
Signed-off-by: Donghyeok Choe <d7271.choe@samsung.com>
Hosung Kim [Mon, 22 Oct 2018 11:26:35 +0000 (20:26 +0900)]
[ERD][NEUS7920-76] [COMMON] lib: dss: support connected logging for platform log
Change-Id: I448813459c3b931ad969bc031085c7ab95b3c36e
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Hosung Kim [Wed, 12 Sep 2018 01:44:12 +0000 (10:44 +0900)]
[ERD][NEUS7920-76] [COMMON] lib: dss: add missing logging for spin_trylock
This commit adds missing logging when using spin_trylock.
It was logging only exit(en = 3) before when using spin_trylock.
Change-Id: I8776a20846f6b1bfca5da7e77f051c9a3f28c9b5
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Hosung Kim [Mon, 20 Aug 2018 07:30:39 +0000 (16:30 +0900)]
[ERD][NEUS7920-76] [COMMON] lib: dss: save some information to DSS header region
DSS want to know some physical address in ramdump directly.
- linux-banner is saved to 0x700 -- 0x8FF offset
- kernel log address is saved to 0x900 offset
- platform log address is saved to 0x904 offset
- kernel event address is saved to 0x908 offset
from DSS reserved region.
Change-Id: I74f110249fbc3cecc32bcd2d22ba1cba65d9fbf9
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Hosung Kim [Fri, 3 Aug 2018 07:25:33 +0000 (16:25 +0900)]
[ERD][NEUS7920-76] [COMMON] lib: dss: remove dbg_snapshot_clockevents logging
Change-Id: Ida00fe5f17b5bc4262cf3d7675b8db78c6862568
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Hosung Kim [Thu, 2 Aug 2018 02:18:37 +0000 (11:18 +0900)]
[ERD][NEUS7920-76] [COMMON] lib: dss: refactor dbg_snapshot_irq logging
This commit refactors logging of dbg_snapshot_irq as following.
1. Remove dbg_snapshot_irq_exit logging (actually it is merged to
dbg_snapshot_irq like measuring latency)
2. Adding logging actually called function in smp_call_function
to dbg_snapshot_irq. its flag is DSS_FLAG_SMP_CALL_FN.
3. Replace logging from irqaction structure to irq_desc structure.
irq_desc includes irqaction and it has more informations.
And we are too hard to see it in ramdump.
Change-Id: I351593a454fd39eb87a965093349d69b6182e7ce
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Hosung Kim [Mon, 30 Jul 2018 11:18:12 +0000 (20:18 +0900)]
[ERD][NEUS7920-76] [COMMON] lib: dss: refactor dbg_snapshot_suspend logging
Previously dbg_snapshot_suspend was wrong by logging in
notifier function. This patch fixes it and adding various logging
when suspending and resuming this system.
Now dbg_snapshot_suspend logging is used when analyzing
various issues.
Change-Id: I024a23bfeb995ccd6f6b1ba2831bc85ee4404afd
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Hosung Kim [Wed, 11 Jul 2018 06:31:00 +0000 (15:31 +0900)]
[ERD][NEUS7920-76] [COMMON] lib: dss: support to output notifier call functions
On reboot/panic/occuring itmon, notifier call adding from device
function breaks system sometime.
This commit prevents such a situation to output reboot/panic notifier
like following.
debug-snapshot: panic_notifier_list -> hung_task_panic call +
debug-snapshot: panic_notifier_list -> hung_task_panic call -
debug-snapshot: panic_notifier_list -> exynos_cs_panic_handler call +
debug-snapshot: panic_notifier_list -> exynos_cs_panic_handler call -
Change-Id: Iec9bc3afe77a928a12d1138acd42bf02e3706bb4
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
syoo [Wed, 26 Jun 2019 20:25:57 +0000 (15:25 -0500)]
[9610] fimc-is2: OIS HEA test SW change
- actual measured values are stored separately
- calibration mode procedure is changed
Change-Id: I5a67a3f6b81d314716efa45dea7e77ea68c7a685
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Dohyun Kim [Mon, 11 Mar 2019 04:53:36 +0000 (13:53 +0900)]
[COMMON] fimc-is2: Add OV12a10/OV12a10FF long exposure function
PR JIRA ID: CPR-892
Change-Id: I9e0f0597ff3bc6171d36cf80add17580b3e0c9ad
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
xff [Fri, 29 Mar 2019 08:41:43 +0000 (16:41 +0800)]
[COMMON] fimc-is2: modify OV16885 setting to decrease V-blank time
Change-Id: Ia9cfb584eceb51dd626245db15ee62b7644d6962
Signed-off-by: xff <fangfang.xu@samsung.com>
xff [Wed, 10 Apr 2019 12:28:36 +0000 (20:28 +0800)]
[COMMON] fimc-is2: update max register value of again for ov sensor
Change-Id: Ied7f8d30133c3393d1c31f679b65dfb129387f41
Signed-off-by: xff <fangfang.xu@samsung.com>
Wooyeon Kim [Thu, 4 Apr 2019 05:40:22 +0000 (14:40 +0900)]
[COMMON] fimc-is2: fix 2X5SP LTE capture cancel freeze
PR JIRA ID: CPR-914
Change-Id: I573445914d43a06b5a56f3d93bfbe2e9b7a0e503
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Wooyeon Kim [Mon, 8 Apr 2019 04:21:52 +0000 (13:21 +0900)]
[COMMON] fimc-is2: modified 2X5 remosaic exp multiplier
- move remosaic exp to "adjust_frame_duration"
PR JIRA ID: CPR-935
Change-Id: I270cb7c77ce36cf40daa5a9195f0d24e6678de24
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Wooyeon Kim [Thu, 14 Mar 2019 08:59:17 +0000 (17:59 +0900)]
[COMMON] fimc-is2: add & fixed a 2x5 3dhdr stat
- motion stat update interface added
- fix wrong register update method for some stats
PR JIRA ID: CPR-828
Change-Id: Idab1c8dceb671cd8a1f22fa2785455d3d4ea7ba8
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Wooyeon Kim [Sat, 13 Jul 2019 05:35:50 +0000 (14:35 +0900)]
Revert "[COMMON] fimc-is2: add & fixed a 2x5 3dhdr stat"
This reverts commit
5163d533c949d86848ce7db975bf4a090bffe7ba.
Change-Id: Iff98b7dd427df8ca2c8ff45e2f8ca5f7f36462f8
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Dohyun Kim [Thu, 16 May 2019 08:52:49 +0000 (17:52 +0900)]
[9610] fimc-is2: Buffer modification in case of otp data error at 2x5 module
Change-Id: Ic4e74070efecf34fa3d7943faf2ea124dd87968f
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
Dohyun Kim [Thu, 16 May 2019 08:53:29 +0000 (17:53 +0900)]
[9610] fimc-is2: add otp data set function
Change-Id: I8ffc5d9d43ae7b07903284c67b64d1f96ede43b9
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
Dohyun Kim [Thu, 4 Apr 2019 09:27:20 +0000 (18:27 +0900)]
[COMMON] fimc-is2: paf on at MSPD mode
PR JIRA ID: CPR-924
Change-Id: Iffd6f010bdd54359af0fd0e0c74661a99d302fbc
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
Wooyeon Kim [Fri, 21 Dec 2018 11:20:48 +0000 (20:20 +0900)]
[COMMON] fimc-is2: paf on at MSPD tail mode
PR JIRA ID: CPR-924
Change-Id: I01866b5ce51eb71022ffca4d19ebbd65ec7b5b62
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>