GitHub/LineageOS/android_kernel_motorola_exynos9610.git
6 years ago[RAMEN9610-8702][COMMON] f2fs: support fmp encryption
Boojin Kim [Thu, 25 Oct 2018 03:20:58 +0000 (12:20 +0900)]
[RAMEN9610-8702][COMMON] f2fs: support fmp encryption

Change-Id: I9ce6fdb2367c031a0b776cb77fb54fac3944a43a
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
6 years ago[RAMEN9610-8702][COMMON] fs: support f2fs fmp encryption
Boojin Kim [Thu, 25 Oct 2018 03:20:31 +0000 (12:20 +0900)]
[RAMEN9610-8702][COMMON] fs: support f2fs fmp encryption

Change-Id: I6145a8b5062b887daeb06530acfbe14e9ee20e4e
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
6 years ago[RAMEN9610-8702][COMMON] f2fs: Set the bio REQ_NOENCRYPT flag
Michael Halcrow [Tue, 13 Jun 2017 20:59:40 +0000 (13:59 -0700)]
[RAMEN9610-8702][COMMON] f2fs: Set the bio REQ_NOENCRYPT flag

When lower layers such as dm-crypt observe the REQ_NOENCRYPT flag, it
helps the I/O stack avoid redundant encryption, improving performance
and power utilization.

Note that lower layers must be consistent in their observation of this
flag in order to avoid the possibility of data corruption.

Conflicts:
fs/f2fs/data.c

Signed-off-by: Michael Halcrow <mhalcrow@google.com>
Change-Id: Icf8bf3ae30395cf5428b2eae071d227e8ebe6e40
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
6 years ago[RAMEN9610-8686][common] wlbt: Logging Improvements in driver code
Ivan Priest [Fri, 24 Aug 2018 08:25:52 +0000 (09:25 +0100)]
[RAMEN9610-8686][common] wlbt: Logging Improvements in driver code

1. fix WEP key length
2. generate sable tar on wifi disconnect
3. Create BT config log client
4. Serialize log collection.
5. Fixed race condition in MXLOGGER

Change-Id: I961bc71b840927491a4e7ae25a9cd4d50d0c0cb6
Signed-off-by: Ivan Priest <i.priest@samsung.com>
6 years ago[RAMEN9610-8149] [9610] soc: exynos-dm: Modify debug related CONFIG.
Chungwoo Park [Fri, 2 Nov 2018 05:24:04 +0000 (14:24 +0900)]
[RAMEN9610-8149] [9610] soc: exynos-dm: Modify debug related CONFIG.

Change-Id: Ib994598c32fe03caf80a85510b3c8e32dc3dede9
Signed-off-by: Chungwoo Park <cww.park@samsung.com>
6 years ago[RAMEN9610-8149] [COMMON] samsung: exynos-dm: Check gov_min_freq with policy_max
Hyeonseong Gil [Mon, 21 May 2018 00:23:15 +0000 (09:23 +0900)]
[RAMEN9610-8149] [COMMON] samsung: exynos-dm: Check gov_min_freq with policy_max

Change-Id: I9caef6ce27e524135d688f97a0fe5b83bb8dcfa6
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
6 years ago[RAMEN9610-8149] [COMMON] cpufreq: acme: Use policy_update_with_DM_CALL
Hyeonseong Gil [Mon, 21 May 2018 04:08:27 +0000 (13:08 +0900)]
[RAMEN9610-8149] [COMMON] cpufreq: acme: Use policy_update_with_DM_CALL

Race condition occurs betwwen policy_update and DM_CALL.
To prevent the problem, we changed to use policy_upate_with_DM_CALL()
to update all at once.

Change-Id: Ic8442c103db13ed56f6c0497d79e0974c6af5413
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
6 years ago[RAMEN9610-8149] [COMMON] samsung: exynos-dm: Re-organize the mutex_lock with wrapper
Hyeonseong Gil [Fri, 18 May 2018 06:52:49 +0000 (15:52 +0900)]
[RAMEN9610-8149] [COMMON] samsung: exynos-dm: Re-organize the mutex_lock with wrapper

Change-Id: I8a078e58f623b2754c12867dc910fd026d87c0a0
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
6 years ago[RAMEN9610-8149] PM QoS: fix duplicated calling to pm_qos_update_target()
Taekki Kim [Tue, 25 Feb 2014 15:57:30 +0000 (00:57 +0900)]
[RAMEN9610-8149] PM QoS: fix duplicated calling to pm_qos_update_target()

The pm_qos_update_target() function will be called in
__pm_qos_update_request(). So, it's duplicated call.

Change-Id: Ifb48c762b23ff3bf452557313cd21c13b17d9d78
Signed-off-by: Taekki Kim <taekki.kim@samsung.com>
6 years ago[RAMEN9610-8149] PM QoS: add delayed_work_pending check
Taekki Kim [Tue, 25 Feb 2014 15:50:42 +0000 (00:50 +0900)]
[RAMEN9610-8149] PM QoS: add delayed_work_pending check

This patch adds delayed_work_pending check before
cancel_delayed_work_sync(). If cancel_delayed_work_sync()
is called at same time, it can be occur race condition
about pending bit.

Signed-off-by: Taekki Kim <taekki.kim@samsung.com>
Signed-off-by: Sungjinn Chung <sungjinn.chung@samsung.com>
Conflicts:

kernel/power/qos.c

Change-Id: I245504e1934e18480564a3df9c05058cf49383ce

6 years ago[RAMEN9610-8149] PM / QoS: Change type for device_tput_constraints
Jongpill Lee [Thu, 4 Oct 2012 07:42:29 +0000 (16:42 +0900)]
[RAMEN9610-8149] PM / QoS: Change type for device_tput_constraints

This patch changes type for device_tput_constraints
from PM_QOS_MAX to PM_QOS_FORCE_MAX

Change-Id: Ie2a68250b65b7e163079e9990fa806e3a89df4ae
Signed-off-by: Jongpill Lee <boyko.lee@samsung.com>
6 years ago[RAMEN9610-8100] [COMMON] soc: samsung: bcmdbg: add NULL point when kfree
Taekki Kim [Wed, 31 Oct 2018 11:53:05 +0000 (20:53 +0900)]
[RAMEN9610-8100] [COMMON] soc: samsung: bcmdbg: add NULL point when kfree

Change-Id: Ifb6f5ce6ce03ef3760bd9d24d3ecc840297a5768
Signed-off-by: Taekki Kim <taekki.kim@samsung.com>
6 years ago[RAMEN9610-8099] [COMMON] bcm: Add NULL check for variable initialized.
Jaejoon Yoo [Tue, 23 Oct 2018 01:45:36 +0000 (10:45 +0900)]
[RAMEN9610-8099] [COMMON] bcm: Add NULL check for variable initialized.

Change-Id: I0ab18dbd890b9dfa1bdba03571fa84e34c7b4b6b
Signed-off-by: Jaejoon Yoo <joonyj7.yoo@samsung.com>
6 years ago[RAMEN9610-7789] [9610] arm64: config: enabled decon dqe feature
ChiHun Won [Mon, 22 Oct 2018 01:57:39 +0000 (10:57 +0900)]
[RAMEN9610-7789] [9610] arm64: config: enabled decon dqe feature

rebased

Change-Id: I5fb9d8fa463eb4b8c1fb37bff684948d2c9459ff
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
6 years ago[RAMEN9610-7789] fbdev: dpu20: enabled dqe interface
ChiHun Won [Mon, 22 Oct 2018 01:33:12 +0000 (10:33 +0900)]
[RAMEN9610-7789] fbdev: dpu20: enabled dqe interface

rebased

Change-Id: I535ae488b99a65e285e42cbccfb8f0c88c4b74c3
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
6 years ago[RAMEN9610-7789] [9610] fbdev: dpu20: enabled decon enhance path
ChiHun Won [Mon, 22 Oct 2018 01:31:15 +0000 (10:31 +0900)]
[RAMEN9610-7789] [9610] fbdev: dpu20: enabled decon enhance path

rebased

Change-Id: Ia071733b6d4651b96eef3cce6dde5cc7bfa2d90d
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
6 years ago[RAMEN9610-7789] [9610] fbdev: dpu20: added dqe cal driver
ChiHun Won [Mon, 22 Oct 2018 01:28:55 +0000 (10:28 +0900)]
[RAMEN9610-7789] [9610] fbdev: dpu20: added dqe cal driver

Change-Id: I5f1483fca383591a2df121998bf05e2fb8dd4e22
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
6 years ago[RAMEN9610-7789] fbdev: dpu20: added dqe driver
ChiHun Won [Mon, 22 Oct 2018 01:27:17 +0000 (10:27 +0900)]
[RAMEN9610-7789] fbdev: dpu20: added dqe driver

Change-Id: Ic42245556a8431e44b883bb90025bbce8027d789
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
6 years ago[9610] wlbt: Removing the mib read of 40MHz support in 2.4GHz
Jayaprakash Sangaru [Tue, 4 Sep 2018 12:53:36 +0000 (18:23 +0530)]
[9610] wlbt: Removing the mib read of 40MHz support in 2.4GHz

40 MHz bandwidth in 2.4 GHz is no longer supported in AP/GO Mode.
Hence Mib read is removed and initialized to zero in driver.

SCSC-Bug-Id: SSB-43397

Change-Id: Ie14884f1607c5df91d83da61b6a3060a97c48334
Signed-off-by: Kavitha Velayutham <k.velayutham@samsung.com>
(cherry picked from commit 19d284875f4e7d57114747fa7555197cbbe2d4ec)

6 years ago[9610] drivers: modem_if: change recv buffer property to Cacheable
Jiyoung Jeong [Wed, 24 Oct 2018 08:08:26 +0000 (17:08 +0900)]
[9610] drivers: modem_if: change recv buffer property to Cacheable

Change-Id: I96a305749625f029e816fd8f0e06490498cbaf75
Signed-off-by: Jiyoung Jeong <ji_0.jeong@samsung.com>
6 years ago[9610] drivers: modem_if: If rxq is full, an error should be returned.
Jiyoung Jeong [Wed, 24 Oct 2018 06:33:51 +0000 (15:33 +0900)]
[9610] drivers: modem_if: If rxq is full, an error should be returned.

Change-Id: Ib08cf216ac07e7bc13c71edbff6be2e72386925f
Signed-off-by: Jiyoung Jeong <ji_0.jeong@samsung.com>
6 years ago[9610] drivers: modem_if: Enable NAPI & GRO
Jiyoung Jeong [Wed, 24 Oct 2018 00:51:41 +0000 (09:51 +0900)]
[9610] drivers: modem_if: Enable NAPI & GRO

Change-Id: I6942bec874d54ad08952d1c60627fc4e188425e5
Signed-off-by: Jiyoung Jeong <ji_0.jeong@samsung.com>
6 years ago[9610] drivers: modem_if: Add GRO to SIT modem interface
Jiyoung Jeong [Tue, 23 Oct 2018 12:15:38 +0000 (21:15 +0900)]
[9610] drivers: modem_if: Add GRO to SIT modem interface

Change-Id: I1a1e3d83b703ec39be3d11f789f5e2f0acfc0221
Signed-off-by: Jiyoung Jeong <ji_0.jeong@samsung.com>
6 years ago[9610] drivers: modem_if: Add NAPI to SIT modem interface
Jiyoung Jeong [Tue, 23 Oct 2018 11:22:07 +0000 (20:22 +0900)]
[9610] drivers: modem_if: Add NAPI to SIT modem interface

Change-Id: Id58b82e685cd373267a1482e0a5abebe2f7aca2a
Signed-off-by: Jiyoung Jeong <ji_0.jeong@samsung.com>
6 years ago[9610] chub: ipc: version 181024
Boojin Kim [Wed, 24 Oct 2018 00:38:59 +0000 (09:38 +0900)]
[9610] chub: ipc: version 181024

This patch increases data and event buffer because the these are full during ap sleep.
This patch makes 'dump' and 'reset' sequentially.

Change-Id: I492d3048dd2152c5170b15dcd29b129c2421c3e8
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
6 years ago[9610] chub: update chub reset sequence
Boojin Kim [Mon, 22 Oct 2018 09:42:55 +0000 (18:42 +0900)]
[9610] chub: update chub reset sequence

Itmon error occured during chub reset because AP access CHUB-GRP before tzpc setting.
Orignal sequence is below.
1.PMUCAL:assert ->  2.PMUCAL:release_config -> 3.FW download -> 4. tzpc(for baaw) + PMUCAL:release(reset)
New sequence moves the tzpc setting from 2th to 4th as following.
1.PMUCAL:assert ->  2.PMUCAL:release_config + tzpc(for baaw) -> 3.FW download -> 4. PMUCAL:release(reset)

Change-Id: I6b4c306d9692874e5a72d85ea500861eab63e296
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
6 years ago[9610] Set irq affinity and rps on big core when TP is high
Jiyoung Jeong [Fri, 19 Oct 2018 13:36:44 +0000 (22:36 +0900)]
[9610] Set irq affinity and rps on big core when TP is high

Change-Id: I538a63d2c48143ee71d08275cde523f2063dc9c2
Signed-off-by: Jiyoung Jeong <ji_0.jeong@samsung.com>
6 years ago[9610] bts: limit CAM bandwidth
Taekki Kim [Fri, 19 Oct 2018 10:41:32 +0000 (19:41 +0900)]
[9610] bts: limit CAM bandwidth

Change-Id: I545e4de9387a1a591ea8eb3b15577e737fc4cfef
Signed-off-by: Taekki Kim <taekki.kim@samsung.com>
6 years agosched: rt: fix prevent
Youngtae Lee [Fri, 12 Oct 2018 02:27:15 +0000 (11:27 +0900)]
sched: rt: fix prevent

Change-Id: Ia34ab264f22a956c45a654d9e4d5e737c5629822
Signed-off-by: Youngtae Lee <yt0729.lee@samsung.com>
6 years ago[9610] wlbt: fix prevent issue CID:240470,240473,240480
Albert Cano [Wed, 29 Aug 2018 08:04:27 +0000 (09:04 +0100)]
[9610] wlbt: fix prevent issue CID:240470,240473,240480

drivers/net/wireless/scsc/hip4_smapper.c

CID 240470 (#1 of 1): Out-of-bounds write (OVERRUN)
6. overrun-local: Overrunning array control->lookuptable of 10
bytes at byte offset 251 using index bank->bank (which evaluates to
251).

CID 240473 (#1 of 1): Out-of-bounds read (OVERRUN)
4. overrun-local: Overrunning array control->lookuptable of 10
bytes at byte offset 10 using index bank_num (which evaluates to 10).

drivers/misc/samsung/scsc/mxlogger.h

CID 240480 (#1 of 1): Uninitialized scalar variable (UNINIT)
2. uninit_use_in_call: Using uninitialized value sync_r. Field
sync_r.fw_time

Change-Id: Id6d1a434518e401d1bf28cd8833514c82ac3652f
Signed-off-by: Albert Cano <a.canocamps@samsung.com>
Signed-off-by: Youngsoo Kim <youngss.kim@samsung.com>
SCSC-Bug-Id: CBR-6

6 years ago[9610] fbdev: dpu: fixed prevent issue
hwangjae lee [Fri, 12 Oct 2018 04:11:34 +0000 (13:11 +0900)]
[9610] fbdev: dpu: fixed prevent issue

CID: 232758

Change-Id: I8f7610a720a17282a09acf6c3c81d0ea2d8195f6
Signed-off-by: hwangjae lee <hj-yo.lee@samsung.com>
6 years ago[9610] wlbt: Fixed panic on __dma_inv_area
Albert Cano [Thu, 30 Aug 2018 13:17:33 +0000 (14:17 +0100)]
[9610] wlbt: Fixed panic on __dma_inv_area

Moved skb_free *after* the memory has been invalidated.
Otherwise, we are at risk of invalidating an non-dma or
protected area.

Enable SMAPPER by default again.

Change-Id: I3be2f5726890f1a251e4dbbdbc54ff12812e6860
SCSC-Bug-Id: SSB-43126
Signed-off-by: Albert Cano <a.canocamps@samsung.com>
6 years ago[9610] arch: configs: enable CONFIG_MODEM_IF_ADAPTIVE_QOS for high TP
Jiyoung Jeong [Mon, 1 Oct 2018 08:35:09 +0000 (17:35 +0900)]
[9610] arch: configs: enable CONFIG_MODEM_IF_ADAPTIVE_QOS for high TP

Change-Id: I9a08390e531f2351544385e0a7d7e9714b4613fa
Signed-off-by: Jiyoung Jeong <ji_0.jeong@samsung.com>
6 years agoRevert "[9610] arch: configs: enable CONFIG_MODEM_IF_ADAPTIVE_QOS for high TP"
hskang [Thu, 11 Oct 2018 10:15:01 +0000 (19:15 +0900)]
Revert "[9610] arch: configs: enable CONFIG_MODEM_IF_ADAPTIVE_QOS for high TP"

This reverts commit ee7c62ecf6c1d3f088d4f25fe5489fe1f015018d.

6 years ago[9610] arch: configs: enable configs for VtsKernelNetTest
Jiyoung Jeong [Thu, 11 Oct 2018 06:32:16 +0000 (15:32 +0900)]
[9610] arch: configs: enable configs for VtsKernelNetTest

RAMEN9610-7424

Change-Id: Ie4266cade91834e4c4a56e187fed8081a7594171
Signed-off-by: Jiyoung Jeong <ji_0.jeong@samsung.com>
6 years ago[COMMON] usb: dwc3: prevent fix - 233994
taehyun.cho [Thu, 11 Oct 2018 01:41:14 +0000 (10:41 +0900)]
[COMMON] usb: dwc3: prevent fix - 233994

Change-Id: I35d97f5fb2829ec1846ae36f6d6a35f44719a6cd
Signed-off-by: taehyun.cho <taehyun.cho@samsung.com>
6 years ago[9610] fbdev: dpu: prevent error corrected
hwangjae lee [Thu, 11 Oct 2018 00:45:29 +0000 (09:45 +0900)]
[9610] fbdev: dpu: prevent error corrected

CID : 244154, 244164

Change-Id: Ic1df7246bf346a1c45c95cdc8d185cd07ef80e54
Signed-off-by: hwangjae lee <hj-yo.lee@samsung.com>
6 years ago[COMMON] fbdev: dpu: Added code to check if variable is NULL
hwangjae lee [Wed, 10 Oct 2018 11:43:55 +0000 (20:43 +0900)]
[COMMON] fbdev: dpu: Added code to check if variable is NULL

prevent 232754, 232758.

Change-Id: I36e40c1aeb0eb5cdeada77c7e541b0682833e5aa
Signed-off-by: hwangjae lee <hj-yo.lee@samsung.com>
6 years ago[9610] fbdev: dpu: 'ret' value is initialized
hwangjae lee [Wed, 10 Oct 2018 11:23:18 +0000 (20:23 +0900)]
[9610] fbdev: dpu: 'ret' value is initialized

In decon_init_resource(), 'ret' value is initialzed.
prevent defect 233996.

Change-Id: I7e50ebc470bd3e6e5ced40fe4fae5778f6644b00
Signed-off-by: hwangjae lee <hj-yo.lee@samsung.com>
6 years agoion: fix illegal access to use after free
hyesoo.yu [Thu, 9 Aug 2018 05:23:36 +0000 (14:23 +0900)]
ion: fix illegal access to use after free

Change-Id: I78cf27c6bc47e25c4523383aec80b5a38d250705
Signed-off-by: hyesoo.yu <hyesoo.yu@samsung.com>
6 years ago[COMMON] smfc: fix prevent issue
Seungchul Kim [Wed, 8 Aug 2018 04:36:57 +0000 (13:36 +0900)]
[COMMON] smfc: fix prevent issue

CID 232745: Dereferencing null pointer
CID 234028: Using uninitialized value

Change-Id: I6048a3b013688d706ad46b6944102c88fb960bbb
Signed-off-by: Seungchul Kim <sc377.kim@samsung.com>
6 years ago[9610] wlbt: Changed hip4_sampler serialization.
Albert Cano [Mon, 24 Sep 2018 08:40:02 +0000 (09:40 +0100)]
[9610] wlbt: Changed hip4_sampler serialization.

Changed hip4_sampler serialization after hitting
a kernel panic when the spinlock logic gets out of
sync. We still don't know the reason behind the
kernel crash and it would require more research as
the issue occurs around spinlock arm64 logic.

Removed the per device node spinlcok and substituted
by a global spinlock.

This patch also includes an optimization in the
tput update function. If the new tput value (rx/tx)
has no changed from previous sample, do not generate
a new one.

Change-Id: I216097037f024e21fa8f4e598874e683ca436d54
SCSC-Bug-Id: SSB-43554
Signed-off-by: Albert Cano <a.canocamps@samsung.com>
6 years agoems: frt: sync for latest
Sangkyu Kim [Mon, 8 Oct 2018 11:18:04 +0000 (20:18 +0900)]
ems: frt: sync for latest

Change-Id: I6bfc7af78625019ad1e81823e257c11f4a124e11
Signed-off-by: Sangkyu Kim <skwith.kim@samsung.com>
6 years agoems: frt: Disable cache-hot
Youngtae Lee [Mon, 17 Sep 2018 09:42:57 +0000 (18:42 +0900)]
ems: frt: Disable cache-hot

Change-Id: I8ee0adc10fbac465eef46bae604d301cc827cd25
Signed-off-by: Youngtae Lee <yt0729.lee@samsung.com>
6 years agoems: frt: Change cache-hot check conditon
Youngtae Lee [Fri, 14 Sep 2018 08:50:28 +0000 (17:50 +0900)]
ems: frt: Change cache-hot check conditon

Change-Id: I35f05c4843e548dee12d047e0cdbd7d7678a3e2a
Signed-off-by: Youngtae Lee <yt0729.lee@samsung.com>
6 years agoems: frt: Add exception condition for frt init
Youngtae Lee [Thu, 13 Sep 2018 10:00:36 +0000 (19:00 +0900)]
ems: frt: Add exception condition for frt init

Change-Id: Ic69f786a4098e518fc043cc335339b6ef4822ba9
Signed-off-by: Youngtae Lee <yt0729.lee@samsung.com>
6 years agosched: frt: Fix loop condition to use domain pointer
Youngtae Lee [Fri, 7 Sep 2018 05:20:14 +0000 (14:20 +0900)]
sched: frt: Fix loop condition to use domain pointer

Change-Id: Ie4646c26f21438c7bbaad84ff70ad1056e0f0912
Signed-off-by: Youngtae Lee <yt0729.lee@samsung.com>
6 years agodts: exynos9610: Add active_ratio
Sangkyu Kim [Mon, 1 Oct 2018 12:44:45 +0000 (21:44 +0900)]
dts: exynos9610: Add active_ratio

It is use to decide whether cluster is idle or active

Change-Id: I5fad1608ecddc452841a9c9d2ac13675a3c24b01
Signed-off-by: Sangkyu Kim <skwith.kim@samsung.com>
6 years agotrace: events: sched: Add event "activated_cpus" for frt
Youngtae Lee [Thu, 6 Sep 2018 00:57:15 +0000 (09:57 +0900)]
trace: events: sched: Add event "activated_cpus" for frt

Change-Id: I97802fb9f7bd0f3102ad3686848cc73bc4855966
Signed-off-by: Youngtae Lee <yt0729.lee@samsung.com>
6 years agoems: frt: Support activated_cpus to reflect system_idle
Youngtae Lee [Thu, 6 Sep 2018 00:51:34 +0000 (09:51 +0900)]
ems: frt: Support activated_cpus to reflect system_idle

If cluster A is idle and cluster B slower than cluster A is also idle,
frt removes cpus of cluster A from prefer_cpus.
and then "find_idle_cpu" selects idle cpu among activated_cpus.

Change-Id: If321de699b11202c5156e2beb1e7dfa543acd223
Signed-off-by: Youngtae Lee <yt0729.lee@samsung.com>
6 years agokernel: cgroup: cpuset: cpu_requested mask initialize to possible mask
Soohyun Kim [Fri, 7 Sep 2018 01:07:36 +0000 (10:07 +0900)]
kernel: cgroup: cpuset: cpu_requested mask initialize to possible mask

Change-Id: I9812e046dc4bdb262d4c5e21f7c695d78644c982
Signen-off-by: Soohyun Kim <soohyuni.kim@samsung.com>
6 years ago[COMMON] soc: cpupm: Add possible cpu checks.
Soohyun Kim [Fri, 7 Sep 2018 00:07:36 +0000 (09:07 +0900)]
[COMMON] soc: cpupm: Add possible cpu checks.

Change-Id: Ia319e7d99d5242f315a329e83da9a8be62b469dc
Signed-off-by: Soohyun Kim <soohyuni.kim@samsung.com>
6 years ago[COMMON] sched: ems: Disable ontime and lbt when using core control.
Soohyun Kim [Fri, 7 Sep 2018 00:03:45 +0000 (09:03 +0900)]
[COMMON] sched: ems: Disable ontime and lbt when using core control.

Change-Id: I390d6cebaa2db2ff692ea13da6658793edc48e62
Signed-off-by: Soohyun Kim <soohyuni.kim@samsung.com>
6 years ago[COMMON] soc: samsung: cpu_topology for core_control
Soohyun Kim [Fri, 7 Sep 2018 00:02:04 +0000 (09:02 +0900)]
[COMMON] soc: samsung: cpu_topology for core_control

Change-Id: I379e92b6a8c05679f73a2d2db503af084fbf953a
Signed-off-by: Soohyun Kim <soohyuni.kim@samsung.com>
6 years agosched: rt: Refactoring select idle cpu and recessive cpu
Youngtae Lee [Thu, 9 Aug 2018 02:11:05 +0000 (11:11 +0900)]
sched: rt: Refactoring select idle cpu and recessive cpu

Implement init code for sysfs, dt to
support multi min_thr to detect heavy rt task
change loop and condition for find_idle_cpu/find_recessive_cpu

Change-Id: I4ca5525c4275115c74f9c1577a8f716275526b9a
Signed-off-by: Youngtae Lee <yt0729.lee@samsung.com>
6 years agofmp: fix prevent defect
Boojin Kim [Wed, 21 Mar 2018 05:43:59 +0000 (14:43 +0900)]
fmp: fix prevent defect

This patch fix prevent defect(214797)

Change-Id: Id95e5ce9b39862e07a1d995cefad3743887fa837
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
6 years agocpu: fix prevent defect
Park Bumgyu [Tue, 24 Jul 2018 04:02:35 +0000 (13:02 +0900)]
cpu: fix prevent defect

Change-Id: I97b0f154cfd224b47f8266972bdfa488a0969e28
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
6 years ago[COMMON] soc: samsung: Corrected prevent defect. (CID: 233919)
Jang JeongHoon [Wed, 8 Aug 2018 07:57:01 +0000 (16:57 +0900)]
[COMMON] soc: samsung: Corrected prevent defect. (CID: 233919)

Change-Id: I85efb49d73bd5c416b51f139d1adab4c93556aff
Signed-off-by: Jang JeongHoon <jnghn.jang@samsung.com>
6 years ago[9610] arm64: dts: move SoC feature to SoC dts
Youngmin Nam [Fri, 5 Oct 2018 07:29:47 +0000 (16:29 +0900)]
[9610] arm64: dts: move SoC feature to SoC dts

This patch moves SoC feature to SoC dts file to resolve
VtsFirmwareDtboVerification test

Change-Id: I20f541e0b7743184c53c832e02a8dc3d365ba863
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
6 years ago[9610] arch:arm64:dts: enable AVB for dtbo partition
Hyeyeon Chung [Thu, 9 Aug 2018 01:56:56 +0000 (10:56 +0900)]
[9610] arch:arm64:dts: enable AVB for dtbo partition

Change-Id: I9ccf8e0308384730629228af867280def68cdaf4
Signed-off-by: Hyeyeon Chung <hyeon.chung@samsung.com>
6 years ago[9610] arch: configs: enable CONFIG_MODEM_IF_ADAPTIVE_QOS for high TP
Jiyoung Jeong [Fri, 14 Sep 2018 06:46:02 +0000 (15:46 +0900)]
[9610] arch: configs: enable CONFIG_MODEM_IF_ADAPTIVE_QOS for high TP

Change-Id: Ib09fc9f6906bc82ab1484fb0a4c76b1665b2ad5f
Signed-off-by: Jiyoung Jeong <ji_0.jeong@samsung.com>
6 years ago[COMMON] drivers: soc: remove 'bytes' for memory size
Boojin Kim [Mon, 1 Oct 2018 11:06:12 +0000 (20:06 +0900)]
[COMMON] drivers: soc: remove 'bytes' for memory size

This patch removes 'bytes' from the output string of memory size.

Change-Id: I73584072c99d4031ab828effbfbc296ebad7aac1
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
6 years ago[COMMON] fimc-is2: add omitted manual sensor ctl condition for copy_sensor_control API
Wooyeon Kim [Thu, 4 Oct 2018 04:58:20 +0000 (13:58 +0900)]
[COMMON] fimc-is2: add omitted manual sensor ctl condition for copy_sensor_control API

 - for Manual sensor control, below ctl meta is used.
    shot->ctl.aa.aeMode == AA_AEMODE_OFF
    shot->ctl.aa.mode == AA_CONTROL_OFF
    (it is ommited)

 PR JIRA ID: CPR-290

Change-Id: Id41ab8df5d1923c44cde94f50dc32ab35f762cde
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
6 years ago[HACK][9610] fimc-is2: enable INIT_AWB feature
Wooyeon Kim [Tue, 14 Aug 2018 10:06:30 +0000 (19:06 +0900)]
[HACK][9610] fimc-is2: enable INIT_AWB feature

 PR JIRA ID: CPR-167

Change-Id: I970605d3db7c59717281d01f51f7d2d90a49a2f7
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
6 years ago[HACK][COMMON] fimc-is2: implement init_AWB feature
Wooyeon Kim [Thu, 26 Jul 2018 09:41:05 +0000 (18:41 +0900)]
[HACK][COMMON] fimc-is2: implement init_AWB feature

 - store WB gain(color.gains[4]) value and use camera operating

 PR JIRA ID: CPR-167

Change-Id: Ic6d62fb20571b3bda6279ec12ad0c166e1cbd2ec
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
6 years ago[HACK][9610] fimc-is2: use 10bit unpacked for DNG in 3AC of fimc-is-v6_10_0
Wooyeon Kim [Wed, 8 Aug 2018 00:56:18 +0000 (09:56 +0900)]
[HACK][9610] fimc-is2: use 10bit unpacked for DNG in 3AC of fimc-is-v6_10_0

Change-Id: I01445d7256730267c75cb5078238aefe34767257
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
6 years ago[COMMON] fimc-is2: adjust tclk setting for 2P7SQ at each modes
Wooyeon Kim [Tue, 18 Sep 2018 04:51:17 +0000 (13:51 +0900)]
[COMMON] fimc-is2: adjust tclk setting for 2P7SQ at each modes

Change-Id: I8143a2685e4bbdb953086e3f21e00438d4fe354d
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
6 years ago[9610] drviers: battery: Add sysfs for VTS/CTS
Keunho Hwang [Fri, 28 Sep 2018 01:29:52 +0000 (10:29 +0900)]
[9610] drviers: battery: Add sysfs for VTS/CTS

Change-Id: I41384302c5721cd78e6423aaac99d70dc81fe381
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
6 years ago[9610] fbdev: dpu20: Remove ECC defect at video mode
Kim Manseok [Mon, 10 Sep 2018 12:22:03 +0000 (21:22 +0900)]
[9610] fbdev: dpu20: Remove ECC defect at video mode

Change-Id: If50ca078fd052082c457c8864de9971d5a17210e
Signed-off-by: Kim Manseok <manseoks.kim@samsung.com>
6 years ago[9610] fbdev: dpu20: Add new panel for multi panel solution
Kim Manseok [Fri, 28 Sep 2018 04:16:56 +0000 (13:16 +0900)]
[9610] fbdev: dpu20: Add new panel for multi panel solution

Change-Id: I9ce718e4df242f7c2603bfc427b461e5e1d5b0b8
Signed-off-by: Kim Manseok <manseoks.kim@samsung.com>
6 years ago[9610] fbdev: dpu20: Support Muti panel solution
Kim Manseok [Fri, 28 Sep 2018 04:11:01 +0000 (13:11 +0900)]
[9610] fbdev: dpu20: Support Muti panel solution

Change-Id: I3b3f23eb92eacec8a4b5d034447b7194f75a1ce1
Signed-off-by: Kim Manseok <manseoks.kim@samsung.com>
6 years ago[common] binder: fix conflict (4.14.47 -> 4.14.62)
Yunji Kim [Fri, 10 Aug 2018 08:11:56 +0000 (17:11 +0900)]
[common] binder: fix conflict (4.14.47 -> 4.14.62)

Change-Id: I34e66f7917db6d6f27e28b12b205953889ecc64f
Signed-off-by: Yunji Kim <yunji.kim@samsung.com>
6 years ago[COMMON] binder: fix wrong pointer access
Yunji Kim [Fri, 25 May 2018 03:31:32 +0000 (12:31 +0900)]
[COMMON] binder: fix wrong pointer access

Change-Id: I7632298e5f0b14a55acc47c47cf0bd5242557896
Signed-off-by: Yunji Kim <yunji.kim@samsung.com>
6 years ago[COMMON] binder: add to print process name in the log and debugfs
Yunji Kim [Thu, 10 May 2018 04:54:11 +0000 (13:54 +0900)]
[COMMON] binder: add to print process name in the log and debugfs

Change-Id: I0715f5c8a6296d80a3bb8e55c7fa0f5060141f6e
Signed-off-by: Yunji Kim <yunji.kim@samsung.com>
6 years agofbdev: dpu20: removed unnecessary reference in sysmmu fault handler
ChiHun Won [Fri, 21 Sep 2018 02:34:47 +0000 (11:34 +0900)]
fbdev: dpu20: removed unnecessary reference in sysmmu fault handler

Change-Id: I2bbeb41ba6feecc4900317a65f16b8b49df3ee1b
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
6 years ago[9610] asoc: samsung: set ignore_suspend flag of UAIF/SIFS/amp dai
Hyunwoong Kim [Tue, 18 Sep 2018 03:43:48 +0000 (12:43 +0900)]
[9610] asoc: samsung: set ignore_suspend flag of UAIF/SIFS/amp dai

Audio widgets on the path of CP Voice call were powered down when
system was being suspended to RAM. Because the ignore_suspend flag of
UAIF/SIFS/amp backend DAIs weren't set. Then ASoC layer tried to
control the power state of those DAI widgets depending on PM state.
This patch set ignore_suspend flag of the DAIs to prevent the widgets
from being controlled by ASoC layer while system is being suspended.

Change-Id: If7b3befd1d681af20a1ac225df74299d2f9324b8
Signed-off-by: Hyunwoong Kim <khw0178.kim@samsung.com>
6 years ago[9610] arm64: defconfig: enable ext2/ext3 XATTR
Jungtae Kim [Fri, 14 Sep 2018 11:29:52 +0000 (20:29 +0900)]
[9610] arm64: defconfig: enable ext2/ext3 XATTR

Change-Id: I377a1c8d5fba85ff468b930a381a4f7b1c66c2d9
Signed-off-by: Jungtae Kim <jt1217.kim@samsung.com>
6 years ago[9610] arch: configs: UART_SWITCH config is moved to erd9610_defconfig
Jiyoung Jeong [Mon, 3 Sep 2018 11:23:10 +0000 (20:23 +0900)]
[9610] arch: configs: UART_SWITCH config is moved to erd9610_defconfig

UART_SWITCH config is always enable because it was defined in Kconfig.
so UART_SWITCH config is moved to erd9610_defconfig.

Change-Id: Ie4c4636591f6f4ed11057335e5e57d528a63663b
Signed-off-by: Jiyoung Jeong <ji_0.jeong@samsung.com>
6 years ago[COMMON] fimc-is2: replace bcm APIs for new bcm driver
Jeongtae Park [Tue, 10 Apr 2018 04:19:25 +0000 (13:19 +0900)]
[COMMON] fimc-is2: replace bcm APIs for new bcm driver

Change-Id: Ie16bef5aeca5c6aa3ec9c620583773d4458414b9
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
6 years agolibdss: fix bug when building libdss with clang
Youngwan Kim [Mon, 17 Sep 2018 01:19:12 +0000 (10:19 +0900)]
libdss: fix bug when building libdss with clang

Change-Id: I046210443bbac3d8837c78629e236f36a49cee4a
Signed-off-by: Youngwan Kim <y103.kim@samsung.com>
6 years agoAndroidKernel.mk: Get clang version from soong's global config.
Youngwan Kim [Tue, 4 Sep 2018 08:25:48 +0000 (17:25 +0900)]
AndroidKernel.mk: Get clang version from soong's global config.

Change-Id: I0f5651470358bdabffe9ee31c238be06d675a228
Signed-off-by: Youngwan Kim <y103.kim@samsung.com>
6 years agolib: libdss: only execute libdss-build.sh when CC is clang
Youngwan Kim [Wed, 12 Sep 2018 06:40:34 +0000 (15:40 +0900)]
lib: libdss: only execute libdss-build.sh when CC is clang

Change-Id: I7e29331a4ec1edd7d097b431278383a3be95eaa4
Signed-off-by: Youngwan Kim <y103.kim@samsung.com>
6 years agoAndroid-P: remove unused codes
Youngwan Kim [Wed, 25 Jul 2018 03:10:51 +0000 (12:10 +0900)]
Android-P: remove unused codes

Change-Id: I9da47f0101cfe7d439b2d9270819210e75c1e9a0
Signed-off-by: Youngwan Kim <y103.kim@samsung.com>
6 years ago[COMMON] devfreq: exynos: Modify to get devfreq struct
Hyeonseong Gil [Mon, 10 Sep 2018 00:16:03 +0000 (09:16 +0900)]
[COMMON] devfreq: exynos: Modify to get devfreq struct

Previously, find_exynos_devfreq_device() returns (struct dev *)
and it is used to get devfreq struct by using devfreq_list.
This method hold the mutex(devfreq_list_lock).
It may cause a circular lock problem.
Therefore, it is modified to get devfreq struct directly.

Change-Id: Iee0970dd77d67d9a344419cff47e112e7a2bbee7
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
6 years ago[9610][ERD] arm64: dts: add androidboot.dtbo_idx
Youngmin Nam [Fri, 14 Sep 2018 07:07:48 +0000 (16:07 +0900)]
[9610][ERD] arm64: dts: add androidboot.dtbo_idx

Change-Id: I1e8e92797d2e3acd94d181ac26b81a22092d5825
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
6 years ago[7570][7872][7885][9610] wlbt : Addition of set_mac_address() API for VTS Fix.
Mohit Ghuley [Tue, 28 Aug 2018 08:05:49 +0000 (13:35 +0530)]
[7570][7872][7885][9610] wlbt : Addition of set_mac_address() API for VTS Fix.

Addition of set_mac_address() API for VTS Fix.

Change-Id: Ib323c9a1fecde0cc3f3ab18304579eff29994106
SCSC-Bug-Id:SSB-43216
Signed-off-by: Mohit Ghuley <mohit.ghuley@samsung.com>
6 years agodts: Add frt dts data
Youngtae Lee [Thu, 13 Sep 2018 07:04:33 +0000 (16:04 +0900)]
dts: Add frt dts data

Change-Id: I517ceb339765b77462996d58fb803992f1c77a49
Signed-off-by: Youngtae Lee <yt0729.lee@samsung.com>
6 years ago[COMMON] fimc-is2: increase delay in 2p7sq module power on sequence
Wooyeon Kim [Fri, 14 Sep 2018 01:17:31 +0000 (10:17 +0900)]
[COMMON] fimc-is2: increase delay in 2p7sq module power on sequence

 - 2P7SQ need more delay between MCLK ~ first i2c timing
   (42000 MCLK cycles, common sensor need 23000 MCLK cycles)
   so it may needs to get more margin

   PR JIRA ID: CPR-255

Change-Id: I45ddef9a71a0b3287181b4c735ffa04a5ba3472d
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
6 years ago[COMMON] fimc-is2: fix a bug 2t7sx setting delay
Wooyeon Kim [Mon, 20 Aug 2018 08:35:54 +0000 (17:35 +0900)]
[COMMON] fimc-is2: fix a bug 2t7sx setting delay

 - fix wrong value(0x3000) to dec value(3000)

 PR JIRA ID: CPR-184

Change-Id: Ic046080b57aa67ec6266cdae2643147c1551f7af
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
6 years ago[COMMON] fimc-is2: fix a bug 2p7sq setting delay
Wooyeon Kim [Mon, 20 Aug 2018 08:32:11 +0000 (17:32 +0900)]
[COMMON] fimc-is2: fix a bug 2p7sq setting delay

 - fix wrong value(0x3000) to dec value(3000)

 PR JIRA ID: CPR-184

Change-Id: I61ec4dfda90c9d12012976fa208aeeddd8a206a7
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
6 years ago[9610] arm64: dts: edit i2c max bus freq for nfc
kiwoo Kwon [Thu, 13 Sep 2018 04:35:53 +0000 (13:35 +0900)]
[9610] arm64: dts: edit i2c max bus freq for nfc

Change-Id: If7f7d4fcdaf0201897a316d7e1c7c53b61a05f77
Signed-off-by: kiwoo Kwon <kiwo.kwon@samsung.com>
6 years ago[ANDROID] ext4: Set the bio REQ_NOENCRYPT flag
Michael Halcrow [Wed, 11 Oct 2017 23:36:05 +0000 (16:36 -0700)]
[ANDROID] ext4: Set the bio REQ_NOENCRYPT flag

Sets the REQ_NOENCRYPT flag for I/O requests that ext4 has already
encrypted.  Lower layers such as dm-crypt can observe that flag to
avoid encrypting again if that's how the user configures the
environment.

Conflicts:
fs/ext4/inode.c
fs/ext4/readpage.c

Change-Id: I62a93e480a9f5788070446bd94694dfb9f83c277
Signed-off-by: Michael Halcrow <mhalcrow@google.com>
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
6 years ago[ANDROID] dm-crypt: Skip encryption of file system-encrypted blocks
Michael Halcrow [Wed, 11 Oct 2017 23:19:57 +0000 (16:19 -0700)]
[ANDROID] dm-crypt: Skip encryption of file system-encrypted blocks

File systems can encrypt some of their data blocks with their own
encryption keys, and for those blocks another round of encryption at
the dm-crypt layer may be redundant, depending on the keys being used.

This patch enables dm-crypt to observe the REQ_NOENCRYPT flag as an
indicator that a bio request should bypass the dm-crypt encryption
queue.

By default dm-crypt will ignore this request flag from the file
system.  The user must set the allow_encrypt_override option to enable
this functionality.  Once the dm-crypt has been used with the
allow_encrypt_override option for any given block device, it must
continue to be used with the option to avoid the possibility of data
corruption.

Change-Id: Ie1b4d40f4e4d96f3349ec8970c56230b2de2de1a
Signed-off-by: Michael Halcrow <mhalcrow@google.com>
6 years ago[ANDROID] block: Add bio req flag to disable encryption in block
Michael Halcrow [Wed, 11 Oct 2017 23:13:41 +0000 (16:13 -0700)]
[ANDROID] block: Add bio req flag to disable encryption in block

When lower layers such as dm-crypt observe the REQ_NOENCRYPT flag, it
helps the I/O stack avoid redundant encryption, improving performance
and power utilization.

Note that lower layers must be consistent in their observation of this
flag in order to avoid the possibility of data corruption.

Change-Id: I4805c3b06b3e765d7362d0b360523813ed77b8aa
Signed-off-by: Michael Halcrow <mhalcrow@google.com>
6 years agodrivers: soc: add memsize to soc info
Boojin Kim [Wed, 5 Sep 2018 01:58:26 +0000 (10:58 +0900)]
drivers: soc: add memsize to soc info

This patch adds memsize to soc info to support mptool

Change-Id: I57ee267a8ee029e684fa655254a51a06c12446db
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
6 years agoarm64: dts: add base address to get dram size
Boojin Kim [Wed, 5 Sep 2018 01:56:37 +0000 (10:56 +0900)]
arm64: dts: add base address to get dram size

Change-Id: Ibda1a2df053aa5ee7ad5c72ea93103e075672ae2
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
6 years agochub: ipc: update version 0831 to support chipid read
Boojin Kim [Tue, 4 Sep 2018 22:32:52 +0000 (07:32 +0900)]
chub: ipc: update version 0831 to support chipid read

This patch updates ipc version 0831 to add debug value on ipc_map.
The debug value is used for chipid read.

Change-Id: Id051d227dc7afa099f41a8a8302ab649ba109449
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
6 years ago[COMMON] usb: gadget: print limited dump to avoid hard lockup
Kisang Lee [Tue, 11 Sep 2018 07:41:40 +0000 (16:41 +0900)]
[COMMON] usb: gadget: print limited dump to avoid hard lockup

Change-Id: I066380d1bec3b5a3286625f2c4394faae4307849
Signed-off-by: Kisang Lee <kisang80.lee@samsung.com>
6 years ago[9610] bts: fix buffer size in debugfs
Taekki Kim [Fri, 7 Sep 2018 12:23:12 +0000 (21:23 +0900)]
[9610] bts: fix buffer size in debugfs

This patch fixes buffer size when copy data from user space
to the buffer in debugfs.

Change-Id: I0ca5b04649df44f8f85b4f95b04c019e8388f683
Signed-off-by: Taekki Kim <taekki.kim@samsung.com>
6 years ago[COMMON] usb: dwc3: wait for end of transfer
Kisang Lee [Fri, 7 Sep 2018 07:25:31 +0000 (16:25 +0900)]
[COMMON] usb: dwc3: wait for end of transfer

Change-Id: I422c8c96ab01836697dc738fe8b429835e67088f
Signed-off-by: Kisang Lee <kisang80.lee@samsung.com>