GitHub/LineageOS/android_kernel_motorola_exynos9610.git
5 months ago[RAMEN9610-13665][common] Wlbt: FM request API should signal active mxman
Ivan Priest [Wed, 20 Mar 2019 15:03:55 +0000 (15:03 +0000)]
[RAMEN9610-13665][common] Wlbt: FM request API should signal active mxman

Signal FM requests to the "active" mxman context,
so that requests can be consumed during WLBT recovery,
instead of querying via the service structure that
could be NULL during the recovery phase.

Remove the service driver API for FM LDO control.

Change-Id: Icd3dadb0105ab3266639f2b83d81c353a89cc0b0
SCSC-Bug-Id: SSB-50826
Signed-off-by: Ivan Priest <i.priest@samsung.com>
5 months ago[RAMEN9610-13636][common][prevent][9610] wlbt: fix CID261400
Youngsoo [Thu, 21 Mar 2019 10:54:38 +0000 (19:54 +0900)]
[RAMEN9610-13636][common][prevent][9610] wlbt: fix CID261400

CID 261400 (#1 of 1): Resource leak (RESOURCE_LEAK)
8. leaked_storage: Variable firm going out of scope leaks the storage it points to.

func should return after free resources.

Change-Id: I9dcb8ff93c05785e6da10bab24660bb4f97a2db6

5 months ago[RAMEN9610-13634][common][9610] wlbt: NAPI: prevent issues in hip4.c
Debabrata Purohit [Wed, 20 Mar 2019 16:20:33 +0000 (16:20 +0000)]
[RAMEN9610-13634][common][9610] wlbt: NAPI: prevent issues in hip4.c

Resolve Prevent reported issues in hip4.c

Change-Id: I5f57e53c546242b3f789b8f8921f0e710fe77916
SCSC-Bug-Id: SSB-50793
Signed-off-by: Debabrata Purohit <d.purohit@samsung.com>
5 months ago[RAMEN9610-13634][common][7570][7872][7885][9610] wlbt: Prevent issues in nl80211_ven...
Srishti Piplani [Wed, 20 Mar 2019 11:09:05 +0000 (16:39 +0530)]
[RAMEN9610-13634][common][7570][7872][7885][9610] wlbt: Prevent issues in nl80211_vendor.c and cfg80211_ops.c

Changes done to fix prevent issues in nl80211_vendor.c
and cfg80211_ops.c files.

Change-Id: Icffd273de1c0a0dde1e201b73fc3709df0e5e1d4
SCSC-Bug-Id: SSB-50792
Signed-off-by: Srishti Piplani <srishti.p@samsung.com>
5 months ago[RAMEN9610-13626][COMMON][9610] drivers : fix pd communication timing for mac
Junhan Bae [Wed, 20 Mar 2019 11:37:53 +0000 (20:37 +0900)]
[RAMEN9610-13626][COMMON][9610] drivers : fix pd communication timing for mac

Change-Id: I1a47f5803fba91e0050571be211427e3daaaf846
Signed-off-by: Junhan Bae <junhan84.bae@samsung.com>
5 months ago[RAMEN9610-13624] sound: core: decrease read/write timeout to 1 second
hayoung78.joo [Thu, 21 Mar 2019 05:17:42 +0000 (14:17 +0900)]
[RAMEN9610-13624] sound: core: decrease read/write timeout to 1 second

Read/Write timeout was 10 seconds.
But default timeout value of android audio server is 5 second.
If read/write is blocked for 10 seconds in read/write ioctl,
it exceeds the timeout of audio server.

Change-Id: Ia823419594f4a3e35ab38bc2d3103acaf99545be
Signed-off-by: hayoung78.joo <hayoung78.joo@samsung.com>
5 months ago[RAMEN9610-13621] crypto: disable cfi on crypto_cts_encrypt
Munjoo Kim [Thu, 21 Mar 2019 05:29:34 +0000 (14:29 +0900)]
[RAMEN9610-13621] crypto: disable cfi on crypto_cts_encrypt

Change-Id: I9e7adc6b8700e7a4ba7fb8a33d229ae243e59539
Signed-off-by: Munjoo Kim <munjoo.kim@samsung.com>
5 months ago[RAMEN9610-13609][common][RAMEN9610-13609][9610] wlbt: scheduling while atomic
Debabrata Purohit [Wed, 20 Mar 2019 11:22:00 +0000 (11:22 +0000)]
[RAMEN9610-13609][common][RAMEN9610-13609][9610] wlbt: scheduling while atomic

Cause:
For intra BSS relay, the SKBs are allocated with
GFP_KERNEL flag. this is done in atomic context, which can be fatal.

Resolution:
Allocate the SKBs with GFP_ATOMIC flag.

Change-Id: I667ad314c7c1f95b7b2bda73a9d2252668b6efa6
SCSC-Bug-Id: SSB-50805
Signed-off-by: Debabrata Purohit <d.purohit@samsung.com>
5 months ago[RAMEN9610-13608][COMMON][RAMEN9610-13599] lib: dss: fix to set debug level
Hosung Kim [Thu, 21 Mar 2019 02:20:17 +0000 (11:20 +0900)]
[RAMEN9610-13608][COMMON][RAMEN9610-13599] lib: dss: fix to set debug level

This commit fixes to set wrong debug level.
It was detected by prevent.

Change-Id: I5a7f76da3bb083e0091644b317e03bf38fc68896
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
5 months ago[RAMEN9610-13448] arm64: remove dma zone
Cho KyongHo [Tue, 19 Mar 2019 09:55:42 +0000 (18:55 +0900)]
[RAMEN9610-13448] arm64: remove dma zone

DMA zone (ZONE_DMA) is not necessary in Exynos SoCs because all
peripherals are capable of 36-bit wide DMA access.

Change-Id: I04749a3cd42e3d07d3a41ba1a2259c1159931173
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
5 months ago[RAMEN9610-13496][COMMON] arm64: configs: enable USB video class to support USB camera
Kisang Lee [Wed, 20 Mar 2019 02:20:06 +0000 (11:20 +0900)]
[RAMEN9610-13496][COMMON] arm64: configs: enable USB video class to support USB camera

Change-Id: I32e91b9108a6af90d6b0d5bbdb12d6769f26566e
Signed-off-by: Kisang Lee <kisang80.lee@samsung.com>
5 months ago[RAMEN9610-13496][COMMON] media: vb2: modify code to support USB camera
Kisang Lee [Wed, 20 Mar 2019 02:09:50 +0000 (11:09 +0900)]
[RAMEN9610-13496][COMMON] media: vb2: modify code to support USB camera

Compile error occures after enable CONFIG_USB_VIDEO_CLASS. This patch
modified code to fit changed function prototype.

Change-Id: Iee717c5da94be504a9237528d95334b6a6762225
Signed-off-by: Kisang Lee <kisang80.lee@samsung.com>
5 months ago[common][RAMEN9610-13443][9610] wlbt: host update 6.64.2
Youngsoo [Fri, 15 Mar 2019 09:07:23 +0000 (18:07 +0900)]
[common][RAMEN9610-13443][9610] wlbt: host update 6.64.2

1. Protect SMAPPER from possible spurious interrupts
2. slsi_convert_tlv_data_to_value should be outside
3. NAPI: config RPS
4. NAPI: increase retry time when no space in FB queue
5. NAPI: false watchdog trigger
6. [9610][7885][7872][7570] wlbt: Notify CFG regarding the Disconnection, on ...
7. [9610][7885][7872][7570] wlbt: Perform Dual Interface registration in ...
8. wlbt: update host induced error code
9. increment scsc_release to 6.64.2

Change-Id: I0bc936a5ce4ecdd905b1deba629db7f816fc43f3
Signed-off-by: Youngsoo <youngss.kim@samsung.com>
5 months ago[RAMEN9610-13390][COMMON] mmc: dw_mmc: Change card_detect_delay
dukhyun kwon [Tue, 21 Aug 2018 07:26:45 +0000 (16:26 +0900)]
[RAMEN9610-13390][COMMON] mmc: dw_mmc: Change card_detect_delay

When SD card removed in slot that can happen
sometimes abnormal removed in 0ms delay.
So, Set to 200ms for stability.

Change-Id: Ie5bf4ff4424888ab0c9f1686bb02b3b7e1c7a76c
Signed-off-by: dukhyun kwon <d_hyun.kwon@samsung.com>
5 months ago[RAMEN9610-13376][COMMON] media: radio: align 0xFFF240 shared by WLBT
Yunsu Kim [Thu, 14 Mar 2019 10:46:32 +0000 (19:46 +0900)]
[RAMEN9610-13376][COMMON] media: radio: align 0xFFF240 shared by WLBT

Change-Id: I3eb970bac5033f02093edfd5d3fe79a997925c34
Signed-off-by: Yunsu Kim <iamyunsu.kim@samsung.com>
5 months ago[RAMEN9610-13333][COMMON] soc: samsung: seclog: add code which check valdation of...
Jang Hyunsung [Wed, 31 Oct 2018 04:15:45 +0000 (13:15 +0900)]
[RAMEN9610-13333][COMMON] soc: samsung: seclog: add code which check valdation of address

code which checks validation of v_log_addr address has been added.

Change-Id: Ia26ebdf8200fa3538fa3f27d03334df1cc716927
Signed-off-by: Jang Hyunsung <hs79.jang@samsung.com>
5 months ago[RAMEN9610-13366][COMMON] ufs: add ufs dump stuct log for ufs err debug.
dukhyun kwon [Thu, 17 Jan 2019 05:29:31 +0000 (14:29 +0900)]
[RAMEN9610-13366][COMMON] ufs: add ufs dump stuct log for ufs err debug.

Change-Id: Icba94e44882161e39d5e1e6aa20b120cf85812b9
Signed-off-by: dukhyun kwon <d_hyun.kwon@samsung.com>
5 months ago[RAMEN9610-13315][9610] include: fuelgauge: change capacity learning cycle
Keunho Hwang [Fri, 15 Mar 2019 05:38:08 +0000 (14:38 +0900)]
[RAMEN9610-13315][9610] include: fuelgauge: change capacity learning cycle

Change-Id: I4b388c11704ce6d3aa7cb3caea63c8769237773d
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
5 months ago[RAMEN9610-13248][9610] drivers: battery: add full charge condition
Keunho Hwang [Thu, 14 Mar 2019 01:52:05 +0000 (10:52 +0900)]
[RAMEN9610-13248][9610] drivers: battery: add full charge condition

When battery is fully charged, charging current is
near to 0mA. So it need to be added for full charge check
condition.

Change-Id: If6adc9431b977ec769aef112b8709e81561024c0
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
5 months ago[RAMEN9610-13248][9610] drivers: battery: Maintain 1%, until raw SOC reaches 0%
Keunho Hwang [Tue, 12 Mar 2019 04:27:48 +0000 (13:27 +0900)]
[RAMEN9610-13248][9610] drivers: battery: Maintain 1%, until raw SOC reaches 0%

Change-Id: Ide0b42cd839d9320ea92c8f59bbdd7b618a31798
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
5 months ago[RAMEN9610-13205] asoc: abox: register abox log debugfs file node at system probe
hayoung78.joo [Wed, 13 Mar 2019 05:34:53 +0000 (14:34 +0900)]
[RAMEN9610-13205] asoc: abox: register abox log debugfs file node at system probe

Change-Id: Ib30d3a9ddabe268ef61e0904a1a000053c476f4f
Signed-off-by: hayoung78.joo <hayoung78.joo@samsung.com>
5 months ago[RAMEN9610-13185][COMMON][9610] drivers : fix ccic driver for PD 2.0 communication
Junhan Bae [Tue, 12 Mar 2019 01:41:07 +0000 (10:41 +0900)]
[RAMEN9610-13185][COMMON][9610] drivers : fix ccic driver for PD 2.0 communication

Change-Id: I60371c71a841cbe58914bfc27d0db2303162b65d
Signed-off-by: Junhan Bae <junhan84.bae@samsung.com>
5 months ago[RAMEN9610-13159][common][MODAP-20690][9610] wlbt: NAPI: do not use GRO path in BA...
Debabrata Purohit [Mon, 11 Mar 2019 19:13:53 +0000 (19:13 +0000)]
[RAMEN9610-13159][common][MODAP-20690][9610] wlbt: NAPI: do not use GRO path in BA timer context

When releasing frames from BA timer context, do not use
napi_gro_receive() as that can corrupt the kernel GRO lists.

Resolution:
Use non-NAPI path when releasing frames from BA timer context.

Change-Id: I9ac803e0a69d6eca3bb8c69e1be8bdfb152b4058
SCSC-Bug-Id: SSB-50448
Signed-off-by: Debabrata Purohit <d.purohit@samsung.com>
5 months ago[RAMEN9610-13131][COMMON] ASoC: abox: enable timer 0 at wake up from WFI
ShinHyung [Tue, 12 Mar 2019 06:12:39 +0000 (15:12 +0900)]
[RAMEN9610-13131][COMMON] ASoC: abox: enable timer 0 at wake up from WFI

Timer can be enabled without proper setting, if kernel enable a timer
before initializing by firmware. It cause malfunction on the ABOX.

change-Id: I1840cd676a47ed73773fa9bf916123da082b7b9a
Signed-off-by: ShinHyung <s47.kang@samsung.com>
5 months ago[RAMEN9610-13098][COMMON] soc: samsung: exynos-reboot: clear RAMDUMP SCRATCH register
Youngmin Nam [Mon, 11 Mar 2019 08:34:07 +0000 (17:34 +0900)]
[RAMEN9610-13098][COMMON] soc: samsung: exynos-reboot: clear RAMDUMP SCRATCH register

This patch clears RAMDUMP SCRATCH register in case of device power off.

As soon as the devcie power is down and then the device power is up with pin reset,
the device can enter fastboot mode when power up.
To avoid this situation we should clear RAMDUMP SCRATCH register.

Change-Id: I01c05fa6c67bc8ea1c7dcd11a4e2777f279c87af
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
5 months ago[RAMEN9610-13087][COMMON] i2c: s3c2410: Add IICCON SFR dump for debug
Kyungwoo Kang [Mon, 11 Mar 2019 05:02:27 +0000 (14:02 +0900)]
[RAMEN9610-13087][COMMON] i2c: s3c2410: Add IICCON SFR dump for debug

Change-Id: Iabbde5e3601a6f7d605b5859e30ebc34322f0062
Signed-off-by: Kyungwoo Kang <kwoo.kang@samsung.com>
5 months ago[RAMEN9610-13083][9610] drivers: battery: use offset for max_rawsoc calc.
Keunho Hwang [Sun, 10 Mar 2019 05:43:05 +0000 (14:43 +0900)]
[RAMEN9610-13083][9610] drivers: battery: use offset for max_rawsoc calc.

Change-Id: Ifae02fb2cdde804ff4ffd128b8b901c6b8aaeccb
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
5 months ago[RAMEN9610-13080][COMMON] media: radio: revert workaround for ldo control unstable
Yunsu Kim [Sat, 9 Mar 2019 06:45:49 +0000 (15:45 +0900)]
[RAMEN9610-13080][COMMON] media: radio: revert workaround for ldo control unstable

Change-Id: I92d332436694ad206b14a2940f3283e342ed68b2
Signed-off-by: Yunsu Kim <iamyunsu.kim@samsung.com>
5 months ago[RAMEN9610-13050][COMMON] media: radio: Modify AGC tunning value
Yunsu Kim [Fri, 8 Mar 2019 11:09:05 +0000 (20:09 +0900)]
[RAMEN9610-13050][COMMON] media: radio: Modify AGC tunning value

- Fix FM radio signal is worst then before

Change-Id: I0e8727717406983efa13340b1202009e57666883
Signed-off-by: Yunsu Kim <iamyunsu.kim@samsung.com>
5 months ago[RAMEN9610-13049][common][9610][7885][7872][7570] wlbt: Update P2P GO Channel in...
Mohit Ghuley [Fri, 8 Mar 2019 07:29:04 +0000 (12:59 +0530)]
[RAMEN9610-13049][common][9610][7885][7872][7570] wlbt: Update P2P GO Channel in Driver, on receiving Channel Switched Indication from Firmware.

Update P2P GO Channel in Driver, on receiving
Channel Switched Indication from Firmware.

Change-Id: Idb9f3076231d915d62f61acc73cf34f2f28bf99c
SCSC-Bug-Id: SSB-50359
Signed-off-by: Mohit Ghuley <mohit.ghuley@samsung.com>
5 months ago[RAMEN9610-13030][9610] drivers: battery: Add C type Rp current setting
Keunho Hwang [Thu, 7 Mar 2019 13:08:54 +0000 (22:08 +0900)]
[RAMEN9610-13030][9610] drivers: battery: Add C type Rp current setting

Change-Id: I9525b6c4b70600d97283aefecb848ab0bfe38a9a
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
5 months ago[RAMEN9610-13030][9610] drivers : add ccic rp current level check fucntion
Junhan Bae [Thu, 7 Mar 2019 12:52:55 +0000 (21:52 +0900)]
[RAMEN9610-13030][9610] drivers : add ccic rp current level check fucntion

Change-Id: I6e300c7e3f8b1024370d2a424d2c6e6ced5dc348
Signed-off-by: Junhan Bae <junhan84.bae@samsung.com>
5 months ago[RAMEN9610-13018][COMMON] iommu/exynos: check return value and retry if PTW fault
Janghyuck Kim [Fri, 8 Mar 2019 02:19:54 +0000 (11:19 +0900)]
[RAMEN9610-13018][COMMON] iommu/exynos: check return value and retry if PTW fault

Change-Id: Ic6eabb2d13a22f629fe8aa7384e96fe01228ce8a
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
5 months ago[RAMEN9610-12969][COMMON] iommu/exynos: retry when PTW fault occur
Janghyuck Kim [Tue, 5 Mar 2019 06:53:32 +0000 (15:53 +0900)]
[RAMEN9610-12969][COMMON] iommu/exynos: retry when PTW fault occur

Change-Id: I3e425c2e611d65c6b619b3e21c46fce7de7fde18
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
5 months ago[RAMEN9610-12937][COMMON] media: radio: fix FM open fail
Yunsu Kim [Wed, 6 Mar 2019 04:53:17 +0000 (13:53 +0900)]
[RAMEN9610-12937][COMMON] media: radio: fix FM open fail

Add polling for wlbt shared ldo stable

Change-Id: Ic3f80ca8a419238b2ad37028c1b2595855777d79
Signed-off-by: Yunsu Kim <iamyunsu.kim@samsung.com>
5 months ago[RAMEN9610-12909][COMMON] muic: irq init sequnece change
Kim Taejeong [Tue, 5 Mar 2019 05:27:35 +0000 (14:27 +0900)]
[RAMEN9610-12909][COMMON] muic: irq init sequnece change

Problem: Kernel panic
Cause: Before work queue init, the work is called in ISR
Solution: Sequence is modified that the order on work queue and irq init
is reversed.

Change-Id: I99dfac1f36d01bb1c608e71cb88a95ad190aa34f
Signed-off-by: Kim Taejeong <tj.kim@samsung.com>
5 months ago[RAMEN9610-12817][COMMON][9610] driver : fix vsafe voltage and vbus check fail log
Junhan Bae [Thu, 28 Feb 2019 06:44:41 +0000 (15:44 +0900)]
[RAMEN9610-12817][COMMON][9610] driver : fix vsafe voltage and vbus check fail log

Change-Id: I0639d7149460b43dc02b2c7b94f870ec7fc5c158
Signed-off-by: Junhan Bae <junhan84.bae@samsung.com>
5 months ago[RAMEN9610-12700][Common] Revert "fix not releasing hip4_wake_lock"
Youngsoo Kim [Thu, 28 Feb 2019 04:01:32 +0000 (13:01 +0900)]
[RAMEN9610-12700][Common] Revert "fix not releasing hip4_wake_lock"

This reverts commit d8ed961c7594adba0beb962ac76546c48ef3cbc4.

Change-Id: I1eb2fff62589620b2783c96382c3b3a4f1701683

5 months ago[RAMEN9610-12705][Mptool]:Porting factory mode function.
yan0414.chen [Thu, 28 Feb 2019 02:10:02 +0000 (10:10 +0800)]
[RAMEN9610-12705][Mptool]:Porting factory mode function.

Change-Id: I94b6a98c28ce9841af90ed01274cb99621a559b5
Signed-off-by: yan0414.chen <yan0414.chen@samsung.com>
5 months ago[RAMEN9610-12700][Common] wlbt: Mac Randomization Fixes
Kavitha Velayutham [Tue, 22 Jan 2019 12:55:47 +0000 (18:25 +0530)]
[RAMEN9610-12700][Common] wlbt: Mac Randomization Fixes

Mac randomization Fixes and optimization

Change-Id: I26d6dea2162c202cd962abcc6fadb3b54b6950a1
SCSC-Bug-Id: SSB-48540
Signed-off-by: Kavitha Velayutham <k.velayutham@samsung.com>
5 months ago[RAMEN9610-12700][Common] wlbt: NAPI: fix wakelocks
Debabrata Purohit [Mon, 25 Feb 2019 19:16:11 +0000 (19:16 +0000)]
[RAMEN9610-12700][Common] wlbt: NAPI: fix wakelocks

Fix broken HIP wakelocks for NAPI config.

Change-Id: I1ca71171a9c8084a8050facbaa431139c53e93f9
SCSC-Bug-Id: SSB-49805
Signed-off-by: Debabrata Purohit <d.purohit@samsung.com>
5 months ago[RAMEN9610-12700][Common] wlbt: Fix interrupt leakage
Albert Cano [Fri, 22 Feb 2019 13:35:17 +0000 (13:35 +0000)]
[RAMEN9610-12700][Common] wlbt: Fix interrupt leakage

SSB-49603 has introduced a regression where intr_tohost interrupt is not
getting freed on hip4_deinit. If BT remains on, and WIFI runs few on-off
cycles we will see that allocation will eventually fail.

Change-Id: I3419b3f47ad7fc75970d30e870efe607469c3a27
SCSC-Bug-Id: SSB-49808
Signed-off-by: Albert Cano <a.canocamps@samsung.com>
5 months ago[RAMEN9610-12700][Common] wlbt: Enhance kernel logs.
Himani Gupta [Mon, 18 Feb 2019 07:03:15 +0000 (12:33 +0530)]
[RAMEN9610-12700][Common] wlbt: Enhance kernel logs.

Enhance kernel logs and decouple driver changes from enhance
logging in rx_event_log_indication path.
Parse result code in connect_ind and pass it to above.

Change-Id: I0ed613754d8396621f733b8da78c784eadc30235
SCSC-Bug-Id: SSB-49329
Signed-off-by: Himani Gupta <himani.g2@samsung.com>
5 months ago[RAMEN9610-12700][Common] wlbt: remove needless inlining in scsc_log_collector.c
Ivan Priest [Thu, 21 Feb 2019 11:14:38 +0000 (11:14 +0000)]
[RAMEN9610-12700][Common] wlbt: remove needless inlining in scsc_log_collector.c

Some functions are needlessly static inline.

Change-Id: I1da206bfef24687717f95fbe9cae46cb700454e8
SCSC-Bug-Id: SSB-49743
Signed-off-by: Ivan Priest <i.priest@samsung.com>
5 months ago[RAMEN9610-12700][Common] wlbt: remove redundant free of static A-Box buffer
Ivan Priest [Tue, 19 Feb 2019 11:47:09 +0000 (11:47 +0000)]
[RAMEN9610-12700][Common] wlbt: remove redundant free of static A-Box buffer

Since the BT/A-Box ringbuffer moved to static memory, the
attempt to free it from the pool returns an error. Remove
the superfluous free.

Change-Id: I8dd2a5274e1503ff72452d41b4ec8c8e34bae9e9
SCSC-Bug-Id: SSB-48965
Signed-off-by: Ivan Priest <i.priest@samsung.com>
5 months ago[RAMEN9610-12695][COMMON][MODAP-20423] fix L2TP cfi_check_fail issue
Jiyoung Jeong [Thu, 28 Feb 2019 01:06:44 +0000 (10:06 +0900)]
[RAMEN9610-12695][COMMON][MODAP-20423] fix L2TP cfi_check_fail issue

Change-Id: I9b517321289235d60d44f6f814a7a6c96235836e
Signed-off-by: Jiyoung Jeong <ji_0.jeong@samsung.com>
5 months ago[RAMEN9610-12679][Common] driver: fuelgauge: power off 3.25V using SW off.
Keunho Hwang [Tue, 26 Feb 2019 13:11:25 +0000 (22:11 +0900)]
[RAMEN9610-12679][Common] driver: fuelgauge: power off 3.25V using SW off.

Change-Id: Ibc537b96c8dea8ffee6e1352bdd2cb3b421fe8d2
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
5 months ago[RAMEN9610-12679][Common] driver: fuelgauge: Force power off 3.25V.
Keunho Hwang [Thu, 21 Feb 2019 10:17:24 +0000 (19:17 +0900)]
[RAMEN9610-12679][Common] driver: fuelgauge: Force power off 3.25V.

Change-Id: I9cf62abdc8bfaceb279c32dac8c229672db14f6b
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
5 months ago[RAMEN9610-12677][Common] wlbt: Scheduled Scan Results will not be reported to CFG...
Mohit Ghuley [Wed, 27 Feb 2019 10:38:51 +0000 (16:08 +0530)]
[RAMEN9610-12677][Common] wlbt: Scheduled Scan Results will not be reported to CFG, in case of 0 Scan Results.

Scheduled Scan Results will not be reported
to CFG, in case of 0 Scan Results.

Change-Id: I4d52dfe5546ba921e6ceca52de98fb9d9d6ae444
SCSC-Bug-Id: CBR-242
Signed-off-by: Mohit Ghuley <mohit.ghuley@samsung.com>
5 months ago[RAMEN9610-12641][COMMON][9610] ccic : fix ccic for turbo charger
Kim Taejeong [Wed, 27 Feb 2019 06:09:04 +0000 (15:09 +0900)]
[RAMEN9610-12641][COMMON][9610] ccic : fix ccic for turbo charger

Cause :
The VBUS Short check function was removed for usbpd compliance,
and ID_TA notification that was sent to MUIC after vbus short check
was completed does not come anymore ,
The flag that was checked before the muic TURBO TA HVDCP recognition was proceeded was not set.

CounterMeasure :
Send ID_TA to muic when SINK attach.

Change-Id: I150e15a9ee9b46fc16fb0487f39a98775225da05
Signed-off-by: Junhan Bae <junan84.bae@samsung.com>
5 months ago[RAMEN9610-12631][COMMON] s2mcs02: delete unnecessary alloc
Keunho Hwang [Wed, 27 Feb 2019 06:06:28 +0000 (15:06 +0900)]
[RAMEN9610-12631][COMMON] s2mcs02: delete unnecessary alloc

Change-Id: I8b96b1a480c1ccdf3b3366e63c8520a03c6d87a0
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
5 months ago[RAMEN9610-12620][COMMON] power_supply: update power_supply_sysfs
Keunho Hwang [Wed, 27 Feb 2019 04:04:33 +0000 (13:04 +0900)]
[RAMEN9610-12620][COMMON] power_supply: update power_supply_sysfs

Change-Id: I9b572678f1327cf30416ec173a6290be3960df29
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
5 months ago[RAMEN9610-12618][COMMON] media: radio: Add 512k trf
Yunsu Kim [Tue, 26 Feb 2019 12:02:06 +0000 (21:02 +0900)]
[RAMEN9610-12618][COMMON] media: radio: Add 512k trf

Change-Id: If31b41ece32e959642d98923826ed2ba4493a69a
Signed-off-by: Yunsu Kim <iamyunsu.kim@samsung.com>
5 months ago[RAMEN9610-12615][Common] wlbt: Sable firmware SCSC_LOG_FW_PANIC collection must...
Ivan Priest [Thu, 21 Feb 2019 10:23:26 +0000 (10:23 +0000)]
[RAMEN9610-12615][Common] wlbt: Sable firmware SCSC_LOG_FW_PANIC collection must be synchronous

The mxman_failure_work must wait for wlbtd to collect and archive moredump
before allowing recovery to proceed. The scsc_log_collector_schedule_collection()
must block until it is done.

Change-Id: Ic89b1a0df532782f99ed261306b6a82e1f77db44
SCSC-Bug-Id: SSB-49743
Signed-off-by: Ivan Priest <i.priest@samsung.com>
5 months ago[RAMEN9610-12615][Common][9610] wlbt : STATIC_INTERFACE disabled
Yuseok Kim [Tue, 26 Feb 2019 23:49:22 +0000 (08:49 +0900)]
[RAMEN9610-12615][Common][9610] wlbt : STATIC_INTERFACE disabled

Static interface is for STA/AP concurrency mode.
It causes kernel panic about data abort during MHS on/off test.

Change-Id: I5a6a541724bd1f6239d89ee7118539b2c4ff7743

5 months ago[RAMEN9610-12508] ion: avoid accumulation of memory of page pool
hyesoo.yu [Wed, 23 Jan 2019 06:48:26 +0000 (15:48 +0900)]
[RAMEN9610-12508] ion: avoid accumulation of memory of page pool

Cached buffer allocated from cached pool and
noncached buffer allocated from uncached pool.

However there is an exception for sync_force flag.
If the sync_force is present, it is allocated to
uncached pool regardless of buffer cachable attribute
without unnecessary cache flush.

It makes accumulation of page pool because cached buffer
with sync force flag allocates from uncached pool and
it releases to cached pool.

If uncached pool exhausts, uncached pool get pages
from buddy, but it release to cached pool.
It makes accumulation of cached pool.

To avoid this situation, the page of exception case
with cachable and sync force flags returns the uncachable
page pool after cache flush.

Change-Id: Iacba9b8f536c3e480cbdc738dc139f5c8bd4b28c
Signed-off-by: hyesoo.yu <hyesoo.yu@samsung.com>
5 months ago[RAMEN9610-12602][COMMON][MODAP-18802] The default value of gro_flush_time is set 0
Jiyoung Jeong [Tue, 26 Feb 2019 06:04:29 +0000 (15:04 +0900)]
[RAMEN9610-12602][COMMON][MODAP-18802] The default value of gro_flush_time is set 0

Change-Id: I60d6fe73468791e7f877688fa83c5e699d32bda5
Signed-off-by: Jiyoung Jeong <ji_0.jeong@samsung.com>
5 months ago[RAMEN9610-12589][COMMON] arm64: dts: Disabling erase at SD card.
JaeHun Jung [Tue, 26 Feb 2019 00:18:46 +0000 (09:18 +0900)]
[RAMEN9610-12589][COMMON] arm64: dts: Disabling erase at SD card.

Android StorageManagerService has timeout(180 sec) for format.
But, Some devices are over the timeout. (Because, Spend time for erase.)
Disable on ERD9610.

Change-Id: I752bc5586643280b8c46211165e4b4452bb8f7ae
Signed-off-by: JaeHun Jung <jh0801.jung@samsung.com>
5 months ago[RAMEN9610-12589][COMMON] mmc: dw_mmc: Disable mmc erase(discard) for slow device...
JaeHun Jung [Sat, 23 Feb 2019 10:19:15 +0000 (19:19 +0900)]
[RAMEN9610-12589][COMMON] mmc: dw_mmc: Disable mmc erase(discard) for slow device format.

Android StorageManagerService has timeout(180 sec) for format.
But, Some devices are over the timeout. (Because, Spend time for erase.)

Change-Id: If5d38642d28b3937dceeca80048bc3813b27f41d
Signed-off-by: JaeHun Jung <jh0801.jung@samsung.com>
5 months ago[RAMEN9610-12449][COMMON] muic: skip vdnmon low when plug out
Kim Taejeong [Fri, 22 Feb 2019 06:26:59 +0000 (15:26 +0900)]
[RAMEN9610-12449][COMMON] muic: skip vdnmon low when plug out

Change-Id: Iaf6af296eee9cc6cb274f22b25f00c963bb5b3e8
Signed-off-by: Kim Taejeong <tj.kim@samsung.com>
5 months ago[RAMEN9610-12442][COMMON] muic: TA noti for sleep test
Kim Taejeong [Thu, 21 Feb 2019 02:15:42 +0000 (11:15 +0900)]
[RAMEN9610-12442][COMMON] muic: TA noti for sleep test

Change-Id: I09b9098ebdcdd71753bb24814d464ca4948ef032
Signed-off-by: Kim Taejeong <tj.kim@samsung.com>
5 months ago[RAMEN9610-12462][9610] fix not releasing hip4_wake_lock
dujeonglee [Fri, 22 Feb 2019 11:57:31 +0000 (20:57 +0900)]
[RAMEN9610-12462][9610] fix not releasing hip4_wake_lock

Signed-off-by: dujeonglee <dujeong.lee@samsung.com>
Disable napi

Change-Id: I64e16669943c2f9eb82ade188ac96c0e39f61c4c

5 months ago[RAMEN9610-12413][COMMON][9610] usbpd : update s2mu106 drivers for usbpd compliance
Junhan Bae [Thu, 21 Feb 2019 09:10:01 +0000 (18:10 +0900)]
[RAMEN9610-12413][COMMON][9610] usbpd : update s2mu106 drivers for usbpd compliance

Change-Id: I88bfa9de57153f0d802d689c81f97ce452e5848e
Signed-off-by: Junhan Bae <junhan84.bae@samsung.com>
5 months ago[RAMEN9610-12413][kernel] modified turbo charge max charging current to 3A
hq_zhixueyin_tmp [Fri, 15 Feb 2019 01:42:02 +0000 (09:42 +0800)]
[RAMEN9610-12413][kernel] modified turbo charge max charging current to 3A

modified turbo charger max charging current to 3A

Change-Id: I2286b059e7524db6512627c3f731b0a59a457425

5 months ago[RAMEN9610-12421][COMMON][MODAP-19520] Add skb free when skb is empty
Jiyoung Jeong [Thu, 21 Feb 2019 10:06:19 +0000 (19:06 +0900)]
[RAMEN9610-12421][COMMON][MODAP-19520] Add skb free when skb is empty

Change-Id: Idfbc4f1b507855d94c35e503b32640f5b0fd6a62
Signed-off-by: Jiyoung Jeong <ji_0.jeong@samsung.com>
5 months ago[RAMEN9610-12417][COMMON] media:radio: align register value shared by FM/WLBT
Yunsu Kim [Thu, 21 Feb 2019 09:48:12 +0000 (18:48 +0900)]
[RAMEN9610-12417][COMMON] media:radio: align register value shared by FM/WLBT

Change-Id: I1983cdc9b820681a08acc5b5840ae6885f5af6e0
Signed-off-by: Yunsu Kim <iamyunsu.kim@samsung.com>
5 months ago[RAMEN9610-12398] [common][9610] wlbt: host 6.63.1 release
Youngsoo [Thu, 21 Feb 2019 02:42:56 +0000 (11:42 +0900)]
[RAMEN9610-12398] [common][9610] wlbt: host 6.63.1 release

1. wlbt: Enabling GSCAN in SLSI Wifi Driver.
2. wlbt: Dwell time handling for WPS
3. wlbt: Add some missing compilation gates
4. wlbt: Send DNS request on VO AC
5. wlbt: MHS doesn't start in 5GHz for IN
6. wlbt: kstrtoint fixup

Change-Id: I2258bf9708669d83276a28c11d5bc95814ea9be5

5 months ago[RAMEN9610-12373] fbdev: dpu20: added dqe software reset
ChiHun Won [Tue, 19 Feb 2019 11:15:55 +0000 (20:15 +0900)]
[RAMEN9610-12373] fbdev: dpu20: added dqe software reset

Change-Id: I26a5e551d8fdbbec2109e1304de90c4ec5d6e5ec
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
5 months ago[RAMEN9610-12373] fbdev: dpu20: added dqe sfr dump
ChiHun Won [Fri, 15 Feb 2019 08:10:27 +0000 (17:10 +0900)]
[RAMEN9610-12373] fbdev: dpu20: added dqe sfr dump

Change-Id: Ic86eafb0bb8022f59047e34ea177120494b8848f
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
5 months ago[RAMEN9610-12350][COMMON] clocksource: arm_arch_timer: apply ARM ERRATA 858921
Hosung Kim [Thu, 14 Feb 2019 06:43:19 +0000 (15:43 +0900)]
[RAMEN9610-12350][COMMON] clocksource: arm_arch_timer: apply ARM ERRATA 858921

Change-Id: I8fcb5a9ed6ff49b333988d59aff7e60795a5798e
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
5 months ago[RAMEN9610-12339][9610] wlbt: separate completion for fw_panic
Purnendu Kapadia [Tue, 19 Feb 2019 17:54:50 +0000 (17:54 +0000)]
[RAMEN9610-12339][9610] wlbt: separate completion for fw_panic

use separate completion for fw_panic than other triggers.

for other triggers complete *ONLY ONCE* when we have written .sbl file and
ignore the second message with tar completion time

SCSC-Bug-Id: ssb-49322
Change-Id: Ia6ec5064bb795858f82a6c358c4a0517fa4b29bb
Signed-off-by: Purnendu Kapadia <p.kapadia@samsung.com>
5 months ago[RAMEN9610-12328][9610] vipx: change DRAM address for cacheable configuration and...
Sanghwa Park [Tue, 19 Feb 2019 07:59:05 +0000 (16:59 +0900)]
[RAMEN9610-12328][9610] vipx: change DRAM address for cacheable configuration and add debugging methods

Change-Id: I8c11914bc28bff84fb19884c38c00009e8eedd67
Signed-off-by: Sanghwa Park <senius.park@samsung.com>
5 months ago[RAMEN9610-12322][COMMON] media: radio: Fix CE FCC FM Test fail (EN303345)
Yunsu Kim [Tue, 19 Feb 2019 10:26:04 +0000 (19:26 +0900)]
[RAMEN9610-12322][COMMON] media: radio: Fix CE FCC FM Test fail (EN303345)

Change-Id: I87a88557fe1afa23bb43a02debb2e21f325d357f
Signed-off-by: Yunsu Kim <iamyunsu.kim@samsung.com>
5 months ago[RAMEN9610-12321][9610] driver: charger: bat OCP level 7A increase
Suji Lee [Tue, 19 Feb 2019 08:15:26 +0000 (17:15 +0900)]
[RAMEN9610-12321][9610] driver: charger: bat OCP level 7A increase

Change-Id: Ifc1b470bb1fbc15d621cee53ddcce387f81c116d
Signed-off-by: Suji Lee <suji0908.lee@samsung.com>
5 months ago[RAMEN9610-12313][COMMON] fbdev: dpu: Added esd_thread problem defence code
hwangjae lee [Tue, 19 Feb 2019 06:17:06 +0000 (15:17 +0900)]
[RAMEN9610-12313][COMMON] fbdev: dpu: Added esd_thread problem defence code

Change-Id: I688025c7a114c1db35d2b1c22b7f23e8e1a1f680
Signed-off-by: hwangjae lee <hj-yo.lee@samsung.com>
5 months ago[RAMEN9610-12309][9610] drivers: fuelgauge: update mode change condition
Keunho Hwang [Mon, 28 Jan 2019 04:24:38 +0000 (13:24 +0900)]
[RAMEN9610-12309][9610] drivers: fuelgauge: update mode change condition

Change-Id: Icc0d89673678ca3bd679c0a7dd042907538421fa
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
5 months ago[RAMEN9610-12309][9610] drivers: fuelgauge: change Low voltage W/A threshold
Keunho Hwang [Tue, 19 Feb 2019 07:37:09 +0000 (16:37 +0900)]
[RAMEN9610-12309][9610] drivers: fuelgauge: change Low voltage W/A threshold

Change Low voltage W/A threshold voltage 3.45V to 3.4V

Change-Id: Ib139e80f32a61e38c1ce4370e28876d3e382964c
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
5 months ago[RAMEN9610-12309][9610] dts: battery: Update battery parameter, 0% at 3.4V
Keunho Hwang [Tue, 19 Feb 2019 07:34:25 +0000 (16:34 +0900)]
[RAMEN9610-12309][9610] dts: battery: Update battery parameter, 0% at 3.4V

Change-Id: I250b4b4c6161f032188c0c56d454c21cd92e44f9
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
5 months ago[RAMEN9610-12302][common][9610] wlbt: support HIP version 3 in NAPI enabled config
Debabrata Purohit [Mon, 18 Feb 2019 18:16:32 +0000 (18:16 +0000)]
[RAMEN9610-12302][common][9610] wlbt: support HIP version 3 in NAPI enabled config

NAPI is supported for HIP config version 4 onwards.

But if in kernel config NAPI is enabled, and the
firmware is HIP config version 3, then it causes a
fatal kernel panic.

Resoultion: add support for both config version 3 and
config version 4 when NAPI is enabled in kernel config.

Change-Id: I08e7769db73ba3decbc2d4c6a1843b10a7b7f96a
SCSC-Bug-Id: SSB-49603
Signed-off-by: Debabrata Purohit <d.purohit@samsung.com>
5 months ago[RAMEN9610-12296][Common][9610] wlbt: Sanitise ACL connection handle in credit checks
Mathias Sass Michno [Tue, 21 Aug 2018 06:42:32 +0000 (08:42 +0200)]
[RAMEN9610-12296][Common][9610] wlbt: Sanitise ACL connection handle in credit checks

Only the first 12 of the 16 bits in the ACL connection handles
identifies a given connection, the remaining 4 bits should therefore be
masked when used to identify the connection.

Change-Id: Ieb771952274cb036dae49db9e1229385466acbc2
SCSC-Bug-Id: SSB-42734
Signed-off-by: Mathias Sass Michno <m.michno@samsung.com>
5 months ago[RAMEN9610-12270] media: vb2: fix for wrong GFP mask to sg_alloc_table_from_pages
Janghyuck Kim [Fri, 15 Feb 2019 08:03:41 +0000 (17:03 +0900)]
[RAMEN9610-12270] media: vb2: fix for wrong GFP mask to sg_alloc_table_from_pages

sg_alloc_table_from_pages() would be failed if free memory is not
enough. GFP mask is changed to GFP_KERNEL to reclaim memory in this
situation.

Change-Id: I654975ce7903f1545e10ac1bc2f905f1caff8268
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
5 months ago[RAMEN9610-12270] media: smfc: force unshareable for HWFC buffer
Cho KyongHo [Mon, 18 Feb 2019 04:19:34 +0000 (13:19 +0900)]
[RAMEN9610-12270] media: smfc: force unshareable for HWFC buffer

Camera driver has no chance to maintain its destination buffer before
reading the buffer by SMFC if HWFC is enabled because SMFC starts
reading the buffer before MSCS finishes writing to the buffer.
Therefore, we should make SMFC read the buffer with the unshareable
attribute.

Change-Id: I9e9e326ecaa742fba1995a1bfc3f2ff60e68ef37
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
5 months ago[RAMEN9610-12270] media/vb2-dma-sg: add IOMMU_UNCACHED memops flag
Cho KyongHo [Mon, 18 Feb 2019 04:10:45 +0000 (13:10 +0900)]
[RAMEN9610-12270] media/vb2-dma-sg: add IOMMU_UNCACHED memops flag

VB2_DMA_SG_MEMFLAG_IOMMU_UNCACHED is introduced to prevent configuring
IOMMU_CACHE to iovmm_map() and ion_iovmm_map() which force shareable
mapping to the page table of the client device.
It is required by some shareable devices(devices with I/O Cache
coherency) which does not want to create shareable mappings for some
buffers.

Change-Id: Ic0c380a35cb6044d8d92500716081d45535965fe
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
5 months ago[RAMEN9610-12270] media: vb2: deliver alloc/map context to memops
Cho KyongHo [Mon, 18 Feb 2019 03:57:02 +0000 (12:57 +0900)]
[RAMEN9610-12270] media: vb2: deliver alloc/map context to memops

vb2 memops never know about the context in which it is working because
vb2 does not deliver information about the current working context.
However, vb2 memops sometimes needs to know the current context to
improve the performance or manage memory access correctly. Instead of
passing such information from vb2-core, it had better generated from
the client drivers because the information might be driver-specific
or memops-specific.
Let's deliver the information with flags. The flags should be memops-
specific and the client drivers can configure the flags in a callback,
memops.mem_flags(). It is called before .alloc() for mmap,
.get_userptr() for userptr and .map_dmabuf() for dmabuf.
The flags are defined by and specific to memops implementations.

Change-Id: I0b68df4bed659fb99e94755bf9333594b68c0b3b
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
5 months ago[RAMEN9610-12270] android: ion: do not force IOMMU_CACHE
Cho KyongHo [Mon, 18 Feb 2019 02:32:11 +0000 (11:32 +0900)]
[RAMEN9610-12270] android: ion: do not force IOMMU_CACHE

Some I/O coherent DMA may not want to force IOMMU_CACHE. Let's leave
its decision to the clients.

Change-Id: I574e55cfbf79a17b55ea71ba8753cfe799f7b5db
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
5 months ago[RAMEN9610-12270] iommu/exynos: do not force IOMMU_CACHE
Cho KyongHo [Mon, 18 Feb 2019 02:28:45 +0000 (11:28 +0900)]
[RAMEN9610-12270] iommu/exynos: do not force IOMMU_CACHE

IOMMU_CACHE of Exynos IOMMU means shareable in the page tables of IOMMU.
Forcing shareable to all I/O coherent DMAs may obstruct changes to
shareability property of DMAs of the client drivers.

Change-Id: Ibb5e0f5f5a0e0ef6942b2d7901014e6b94e430b1
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
5 months ago[RAMEN9610-12270] g2d: add missing IOMMU_CACHE to iommu mapping
Cho KyongHo [Mon, 18 Feb 2019 02:24:59 +0000 (11:24 +0900)]
[RAMEN9610-12270] g2d: add missing IOMMU_CACHE to iommu mapping

IOMMU_CACHE should be specified to iovmm_map() if G2D supports IO Cache
Coherency but it was missing because ION and IOMMU drivers adds
IOMMU_CACHE if their clients has DMA attributes of IO cache coherency.
But it is not correct to delegate configuration to IOMMU_CACHE to ION
and IOMMU drivers because G2D driver does not have any room to change
such configurations.

Change-Id: I6c20727c913af52781230669621bf8cf12faafdc
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
5 months ago[RAMEN9610-12270][COMMON] media: vb2: modify to support offset in dmabuf
Seungchul Kim [Thu, 27 Sep 2018 05:03:43 +0000 (14:03 +0900)]
[RAMEN9610-12270][COMMON] media: vb2: modify to support offset in dmabuf

The offset was added to v4l2_buffer,
but vb2 does not support offset.
So vb2 is modified to support offset calculation.

Change-Id: Iee6e4b1146043eae00450556ba4686ba412aec0d
Signed-off-by: Seungchul Kim <sc377.kim@samsung.com>
5 months ago[RAMEN9610-12270] media: vb2: avoid accessing buffer from dmabuf_container
hyesoo.yu [Mon, 13 Aug 2018 09:42:52 +0000 (18:42 +0900)]
[RAMEN9610-12270] media: vb2: avoid accessing buffer from dmabuf_container

dmabuf_container is a dmabuf but it just has metadata of buffers that
it is containing. Trying to access buffer information through the
result of dma_buf_map_attachment() should be avoided.

Change-Id: I55c2e9a11ce4932d98cc0e72ab25e85f27a9f670
Signed-off-by: hyesoo.yu <hyesoo.yu@samsung.com>
5 months ago[RAMEN9610-12270] videobuf2: sync the buffer with as much as payload
hyesoo.yu [Fri, 31 Aug 2018 01:19:55 +0000 (10:19 +0900)]
[RAMEN9610-12270] videobuf2: sync the buffer with as much as payload

Change-Id: Ibda4b01e19a26e3ad771ee45bfa688ec394c55fe
Signed-off-by: hyesoo.yu <hyesoo.yu@samsung.com>
5 months ago[RAMEN9610-12266][MODAP-18597[9610] wlbt: do not unmap A-Box memory from MMU when...
Ivan Priest [Fri, 15 Feb 2019 11:22:54 +0000 (11:22 +0000)]
[RAMEN9610-12266][MODAP-18597[9610] wlbt: do not unmap A-Box memory from MMU when BT restarts

The A-Box memory was being unmapped from the MMU when BT restarted,
this caused a kernel panic if A-Box was still using the memory.
Once the A-Box memory is mapped, do not unmap it.

Change-Id: I1bcd78aa1adbac12e87b8c8ad3c4afe1b2fd9314
SCSC-Bug-Id: SSB-49425
Signed-off-by: Ivan Priest <i.priest@samsung.com>
5 months ago[RAMEN9610-12262][COMMON] usb: add __nocfi to avoid cfi checking
Kisang Lee [Mon, 18 Feb 2019 04:45:18 +0000 (13:45 +0900)]
[RAMEN9610-12262][COMMON] usb: add __nocfi to avoid cfi checking

Change-Id: I8795e8c2f8828bb71d85a1b48516f037d77bdfaf
Signed-off-by: Kisang Lee <kisang80.lee@samsung.com>
5 months ago[RAMEN9610-12260][COMMON] fbdev: dpu: PHY status check code is added
hwangjae lee [Mon, 18 Feb 2019 04:15:47 +0000 (13:15 +0900)]
[RAMEN9610-12260][COMMON] fbdev: dpu: PHY status check code is added

Change-Id: Iab233973f1822972e5632a4c3e39acaf3b4b491f
Signed-off-by: hwangjae lee <hj-yo.lee@samsung.com>
5 months ago[RAMEN9610-12257][COMMON][MODAP-18889] Change alloc type GFP_KERNEL -> GFP_ATOMIC
Jiyoung Jeong [Mon, 18 Feb 2019 04:23:06 +0000 (13:23 +0900)]
[RAMEN9610-12257][COMMON][MODAP-18889] Change alloc type GFP_KERNEL -> GFP_ATOMIC

Change-Id: I7ff09d8a728c02e5687c448f380302d073d41538
Signed-off-by: Jiyoung Jeong <ji_0.jeong@samsung.com>
5 months ago[RAMEN9610-12196] crypto: check the validation of crypto pointer
Boojin Kim [Fri, 15 Feb 2019 04:51:42 +0000 (13:51 +0900)]
[RAMEN9610-12196] crypto: check the validation of crypto pointer

This patch checkes the validation of crypto pointer before puting it.

Change-Id: If016ae6108cb59d3cdf9c010340f022845a744a0
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
5 months ago[RAMEN9610-12194][9610] thermal: exynos_tmu: Add cpu max frequency limit control...
Chungwoo Park [Mon, 21 Jan 2019 10:18:39 +0000 (19:18 +0900)]
[RAMEN9610-12194][9610] thermal: exynos_tmu: Add cpu max frequency limit control code.

This patch added thermal driver control to cpu max freqency through temperature.
First if ect has limited_frequency value, exynos-tmu operate limit max frequency to pm qos.
If temperature higher than limited_threshold, driver set max qos to limited_frequency.
And if temperature is lower than limited_threshold_release,
driver release max qos value.

Change-Id: Iaccd295818eeceae035631a6dc7eebdd38044e40
Signed-off-by: Chungwoo Park <cww.park@samsung.com>
5 months ago[RAMEN9610-12171] android: ion: include <slub.h>
Cho KyongHo [Fri, 26 Oct 2018 06:27:37 +0000 (15:27 +0900)]
[RAMEN9610-12171] android: ion: include <slub.h>

<linux/slub.h> is needed by kmalloc_array().

Change-Id: I7237cd0a3ddd53fa8419f265c459e6afc3c3c487
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
5 months ago[RAMEN9610-12171] dma-buf: add dma_buf_[un]map_attacment_area
hyesoo.yu [Fri, 31 Aug 2018 01:15:20 +0000 (10:15 +0900)]
[RAMEN9610-12171] dma-buf: add dma_buf_[un]map_attacment_area

dma-buf supports the dma_buf_[un]map_attachment_area
to inform exporter of the payload area to use
buffer synchronization or mapping for DMA.

Change-Id: I690a6f9695df77a650eadceb38a8280b1a569408
Signed-off-by: hyesoo.yu <hyesoo.yu@samsung.com>
5 months ago[RAMEN9610-12171] dma-buf: fix gcc build error due to type
hyesoo.yu [Wed, 5 Sep 2018 00:31:06 +0000 (09:31 +0900)]
[RAMEN9610-12171] dma-buf: fix gcc build error due to type

Change-Id: I33c7cf960b02c9d1c43a438671fb038da59076a7
Signed-off-by: hyesoo.yu <hyesoo.yu@samsung.com>
5 months ago[RAMEN9610-12171] mm/hpa: fix possible inifinite page isolation
Cho KyongHo [Thu, 7 Feb 2019 07:52:12 +0000 (16:52 +0900)]
[RAMEN9610-12171] mm/hpa: fix possible inifinite page isolation

If HPA starts isolating pages in a page block that is currently
isolated in another thread, the page block possibly remains isolated
infinitely because HPA decides the target migratetype of the page block
from the current migratetype of it. Once it gets migratetype of a page
block as MT_ISOLATE and passes it to alloc_contig_range(), the final
migratetype of the page block becomes MT_ISOLATE which is not expected.

See the following race condition described by Jaewon Kim.
CPU0                              CPU1

get_pageblock_migratetype
 -> get MT_NON_ISOLATE as previous MT
alloc_contig_range_fast
 __alloc_contig_range
  start_isolate_page_range
   -> set to MT_ISOALTE
                                  get_pageblock_migratetype
                                   -> get MT_ISOLATE as previous MT
                                   alloc_contig_range_fast
                                    __alloc_contig_range
                                     start_isolate_page_range
                                      -> set to MT_ISOALTE
  undo_isolate_page_range to the
   -> recover to MT_NON_ISOLATE
                                     undo_isolate_page_range
                                      -> recover to MT_ISOLATE

He observed a page block is remained isolated for a log time.

Change-Id: I933b5c1a281ee32f400d63913c52301bb01cb550
Reported-by: Jaewon Kim <jaewon31.kim@samsung.com>
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>