Hyeyeon Chung [Wed, 5 Dec 2018 10:59:27 +0000 (19:59 +0900)]
[RAMEN9610-9484][COMMON] scsi: rpmb: print information log when rpmb result is not zero
- Print result code in rpmb packet for debug information
- Remove code checking rpmb result and returning ufs status for consistency
Change-Id: Ib201e34958684a8b7f17a94c718f699e2745e9ae
Signed-off-by: Hyeyeon Chung <hyeon.chung@samsung.com>
Hyeyeon Chung [Fri, 7 Dec 2018 03:37:36 +0000 (12:37 +0900)]
[RAMEN9610-9484][COMMON] scsi: rpmb: fix bug of data lengh in memcopy
Change-Id: If1849061ab3fa3adc14d3a2bb3a43121721b362c
Signed-off-by: Hyeyeon Chung <hyeon.chung@samsung.com>
Nicolai Stange [Mon, 30 Oct 2017 23:15:54 +0000 (00:15 +0100)]
[RAMEN9610-9428] debugfs: defer debugfs_fsdata allocation to first usage
Currently, __debugfs_create_file allocates one struct debugfs_fsdata
instance for every file created. However, there are potentially many
debugfs file around, most of which are never touched by userspace.
Thus, defer the allocations to the first usage, i.e. to the first
debugfs_file_get().
A dentry's ->d_fsdata starts out to point to the "real", user provided
fops. After a debugfs_fsdata instance has been allocated (and the real
fops pointer has been moved over into its ->real_fops member),
->d_fsdata is changed to point to it from then on. The two cases are
distinguished by setting BIT(0) for the real fops case.
struct debugfs_fsdata's foremost purpose is to track active users and to
make debugfs_remove() block until they are done. Since no debugfs_fsdata
instance means no active users, make debugfs_remove() return immediately
in this case.
Take care of possible races between debugfs_file_get() and
debugfs_remove(): either debugfs_remove() must see a debugfs_fsdata
instance and thus wait for possible active users or debugfs_file_get() must
see a dead dentry and return immediately.
Make a dentry's ->d_release(), i.e. debugfs_release_dentry(), check whether
->d_fsdata is actually a debugfs_fsdata instance before kfree()ing it.
Similarly, make debugfs_real_fops() check whether ->d_fsdata is actually
a debugfs_fsdata instance before returning it, otherwise emit a warning.
The set of possible error codes returned from debugfs_file_get() has grown
from -EIO to -EIO and -ENOMEM. Make open_proxy_open() and full_proxy_open()
pass the -ENOMEM onwards to their callers.
Signed-off-by: Nicolai Stange <nicstange@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Nicolai Stange [Mon, 30 Oct 2017 23:15:53 +0000 (00:15 +0100)]
[RAMEN9610-9428] debugfs: call debugfs_real_fops() only after debugfs_file_get()
The current implementation of debugfs_real_fops() relies on a
debugfs_fsdata instance to be installed at ->d_fsdata.
With future patches introducing lazy allocation of these, this requirement
will be guaranteed to be fullfilled only inbetween a
debugfs_file_get()/debugfs_file_put() pair.
The full proxies' fops implemented by debugfs happen to be the only
offenders. Fix them up by moving their debugfs_real_fops() calls past those
to debugfs_file_get().
full_proxy_release() is special as it doesn't invoke debugfs_file_get() at
all. Leave it alone for now.
Signed-off-by: Nicolai Stange <nicstange@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Nicolai Stange [Mon, 30 Oct 2017 23:15:52 +0000 (00:15 +0100)]
[RAMEN9610-9428] debugfs: purge obsolete SRCU based removal protection
Purge the SRCU based file removal race protection in favour of the new,
refcount based debugfs_file_get()/debugfs_file_put() API.
Fixes:
49d200deaa68 ("debugfs: prevent access to removed files' private data")
Signed-off-by: Nicolai Stange <nicstange@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Nicolai Stange [Mon, 30 Oct 2017 23:15:50 +0000 (00:15 +0100)]
[RAMEN9610-9428] debugfs: convert to debugfs_file_get() and -put()
Convert all calls to the now obsolete debugfs_use_file_start() and
debugfs_use_file_finish() from the debugfs core itself to the new
debugfs_file_get() and debugfs_file_put() API.
Fixes:
49d200deaa68 ("debugfs: prevent access to removed files' private data")
Signed-off-by: Nicolai Stange <nicstange@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Nicolai Stange [Mon, 30 Oct 2017 23:15:49 +0000 (00:15 +0100)]
[RAMEN9610-9428] debugfs: debugfs_real_fops(): drop __must_hold sparse annotation
Currently, debugfs_real_fops() is annotated with a
__must_hold(&debugfs_srcu) sparse annotation.
With the conversion of the SRCU based protection of users against
concurrent file removals to a per-file refcount based scheme, this becomes
wrong.
Drop this annotation.
Signed-off-by: Nicolai Stange <nicstange@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Nicolai Stange [Mon, 30 Oct 2017 23:15:48 +0000 (00:15 +0100)]
[RAMEN9610-9428] debugfs: implement per-file removal protection
Since commit
49d200deaa68 ("debugfs: prevent access to removed files'
private data"), accesses to a file's private data are protected from
concurrent removal by covering all file_operations with a SRCU read section
and sychronizing with those before returning from debugfs_remove() by means
of synchronize_srcu().
As pointed out by Johannes Berg, there are debugfs files with forever
blocking file_operations. Their corresponding SRCU read side sections would
block any debugfs_remove() forever as well, even unrelated ones. This
results in a livelock. Because a remover can't cancel any indefinite
blocking within foreign files, this is a problem.
Resolve this by introducing support for more granular protection on a
per-file basis.
This is implemented by introducing an 'active_users' refcount_t to the
per-file struct debugfs_fsdata state. At file creation time, it is set to
one and a debugfs_remove() will drop that initial reference. The new
debugfs_file_get() and debugfs_file_put(), intended to be used in place of
former debugfs_use_file_start() and debugfs_use_file_finish(), increment
and decrement it respectively. Once the count drops to zero,
debugfs_file_put() will signal a completion which is possibly being waited
for from debugfs_remove().
Thus, as long as there is a debugfs_file_get() not yet matched by a
corresponding debugfs_file_put() around, debugfs_remove() will block.
Actual users of debugfs_use_file_start() and -finish() will get converted
to the new debugfs_file_get() and debugfs_file_put() by followup patches.
Fixes:
49d200deaa68 ("debugfs: prevent access to removed files' private data")
Reported-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Nicolai Stange <nicstange@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Nicolai Stange [Mon, 30 Oct 2017 23:15:47 +0000 (00:15 +0100)]
[RAMEN9610-9428] debugfs: add support for more elaborate ->d_fsdata
Currently, the user provided fops, "real_fops", are stored directly into
->d_fsdata.
In order to be able to store more per-file state and thus prepare for more
granular file removal protection, wrap the real_fops into a dynamically
allocated container struct, debugfs_fsdata.
A struct debugfs_fsdata gets allocated at file creation and freed from the
newly intoduced ->d_release().
Finally, move the implementation of debugfs_real_fops() out of the public
debugfs header such that struct debugfs_fsdata's declaration can be kept
private.
Signed-off-by: Nicolai Stange <nicstange@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Sangkyu Kim [Tue, 11 Dec 2018 10:53:46 +0000 (19:53 +0900)]
[RAMEN9610-9421][COMMON] arm64: erd9610_defconfig: Enable CPUSET.
Change-Id: I04fbc512631fae5d66858df6a5031ee4908a3fdd
Signed-off-by: lakkyung.jung <lakkyung.jung@samsung.com>
Sangkyu Kim [Tue, 11 Dec 2018 10:53:09 +0000 (19:53 +0900)]
[RAMEN9610-9421][COMMON] arm64: dts: add user-boost to cpufreq
Change-Id: Ib9afe433e0bb5360ae1b70911686d9e8b801c95d
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
Park Bumgyu [Thu, 23 Aug 2018 06:51:04 +0000 (15:51 +0900)]
[RAMEN9610-9421][COMMON] cpufreq: acme: request prefer perf at cpufreq_min_limit
Change-Id: I6b78a333c52708b59bf84c664795e370d9d8de7c
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
Sangkyu Kim [Tue, 11 Dec 2018 10:52:28 +0000 (19:52 +0900)]
[RAMEN9610-9421][COMMON] arm64: dts: add prefer perf service
Change-Id: Ic2921700f7c1e5574d4e71c9c4ef55eec2a22410
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
Park Bumgyu [Mon, 20 Aug 2018 01:29:10 +0000 (10:29 +0900)]
[RAMEN9610-9421][COMMON] sched: ems: support prefer perf service
Change-Id: Ida3e81c598a22e984839533e62604ffd20c94dc3
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
Park Bumgyu [Mon, 13 Aug 2018 06:21:27 +0000 (15:21 +0900)]
[RAMEN9610-9421][COMMON] sched: ems: introduce ems service
Change-Id: I6e0cc8b8db43035c5c933ed292f443c9a67e4520
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
Park Bumgyu [Thu, 23 Aug 2018 06:35:16 +0000 (15:35 +0900)]
[RAMEN9610-9421][COMMON] cpufreq: acme: remove code related with HMP boost.
Change-Id: I87bda7bd22f54fadefac19582340d9d3e1a09ca5
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
Soohyun Kim [Fri, 16 Nov 2018 05:43:17 +0000 (14:43 +0900)]
[RAMEN9610-9418][COMMON] soc: cpupm: Prevent bug fix.
This patch can prevent out-of-bound case when access pm->modes[i].
Change-Id: I6770fed95af0541426356b804b8c9f8ae43bbea2
Signed-off-by: Soohyun Kim <soohyuni.kim@samsung.com>
Youngtae Lee [Mon, 15 Oct 2018 06:21:01 +0000 (15:21 +0900)]
[RAMEN9610-9418][COMMON] sched: frt: Fix zero dividing bug
Change-Id: Id738b19174de909113aa8c5224a3e57f1762073d
Signed-off-by: Youngtae Lee <yt0729.lee@samsung.com>
Youngtae Lee [Mon, 8 Oct 2018 06:57:12 +0000 (15:57 +0900)]
[RAMEN9610-9418][COMMON] sched: frt: fix cpumask warnning bug
Change-Id: I27eb08fdcbe6ce7b35a09a38b2aa2fb4b90e76a7
Signed-off-by: Youngtae Lee <yt0729.lee@samsung.com>
Daeyeong Lee [Mon, 15 Oct 2018 06:38:00 +0000 (15:38 +0900)]
[RAMEN9610-9418][COMMON] sched: ems: Disable ontime when capacity of coregroup is zero
Change-Id: I22c3b9d97ca5b5f598436cfb06062b9cb24f2ff6
Signed-off-by: Daeyeong Lee <daeyeong.lee@samsung.com>
Daeyeong Lee [Mon, 15 Oct 2018 06:36:06 +0000 (15:36 +0900)]
[RAMEN9610-9418][COMMON] sched: ems: Modify get_cpu_max_capacity not to access NULL point
Change-Id: I2a88779e24ba4f30d0423224d3cdc78aea6e586a
Signed-off-by: Daeyeong Lee <daeyeong.lee@samsung.com>
Sangkyu Kim [Fri, 9 Nov 2018 09:49:41 +0000 (18:49 +0900)]
[RAMEN9610-9418][COMMON] ems: frt: fix initialize variable for check condition
Change-Id: I330d6250f3a8873ffd0bdbb1bca524db6ca56d7d
Signed-off-by: Sangkyu Kim <skwith.kim@samsung.com>
Munjoo Kim [Mon, 26 Nov 2018 08:46:36 +0000 (17:46 +0900)]
[RAMEN9610-9418][RAMEN9610-8873][COMMON] CFI Enabling
CFI enabling with Enforce mode.
Change-Id: I366bc2e9efb5a3646754b1919a3b7c9eb00cd490
Signed-off-by: Munjoo Kim <munjoo.kim@samsung.com>
Munjoo Kim [Tue, 20 Nov 2018 07:09:55 +0000 (16:09 +0900)]
[RAMEN9610-9418][RAMEN9610-8873][COMMON] LTO Enabling
Modify mk files for LLVM related configuration.
Change-Id: Ieeac412c933be2d209f18071bd7a049d5516d6ad
Signed-off-by: Munjoo Kim <munjoo.kim@samsung.com>
Taekki Kim [Tue, 27 Nov 2018 12:06:39 +0000 (21:06 +0900)]
[RAMEN9610-9418][COMMON] soc: samsung: add __nocfi for indirect functions
Change-Id: I521ba2eb7be97ffb5bd606471ff31362df0cb976
Signed-off-by: Taekki Kim <taekki.kim@samsung.com>
Youngmin Nam [Fri, 23 Nov 2018 07:33:53 +0000 (16:33 +0900)]
[RAMEN9610-9418][COMMON] debug: change function prototype related debug
Change-Id: Ie89372fef3256a2f623aaba99cf713bb3fbecfce
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
Signed-off-by: Youngwan Kim <y103.kim@samsung.com>
Munjoo Kim [Thu, 22 Nov 2018 07:39:00 +0000 (16:39 +0900)]
[RAMEN9610-9418][COMMON] soc: samsung: change function prototype related chipid
Change-Id: I4265419af8bf317ec18ee40845bc4cc75e85df83
Yoojin Park [Tue, 27 Nov 2018 08:55:01 +0000 (17:55 +0900)]
[RAMEN9610-9418][R10P0][KERNEL]gpu: To avoid CFI failure.
CFI is Control Flow Integrity.
CFI will make graph to verify the code-flows.
If code-flows don't match with graph generated, It will make the failure.
Change-Id: Ic04be25e9858e432968b08e0c9203b778a0e20b0
Signed-off-by: Yoojin Park <yoojin1.park@samsung.com>
Hyunju Kang [Mon, 26 Nov 2018 07:47:57 +0000 (16:47 +0900)]
[RAMEN9610-9418][9610] soc: samsung: epx: prevent CFI failed.
Change-Id: Icbfea62ec6502f815499ad5ef2cbe2ee98d8170b
Signed-off-by: Hyunju Kang <hjtop.kang@gmail.com>
Hyunju Kang [Mon, 26 Nov 2018 07:11:17 +0000 (16:11 +0900)]
[RAMEN9610-9418][COMMON] cpuidle: profiler: change function prototype
Change-Id: Id2bed6596e613a4388c547734bf611b1cdaa75d1
Signed-off-by: Hyunju Kang <hjtop.kang@gmail.com>
Jiyoung Jeong [Tue, 27 Nov 2018 00:35:09 +0000 (09:35 +0900)]
[RAMEN9610-9418][RAMEN9610-8873][COMMON] drivers: modem_if: change return type for CFI
static int vnet_xmit => static netdev_tx_t vnet_xmit
Change-Id: Ib03e51dfd6906ca7fea714fdbd4e4bd199101d4b
Signed-off-by: Jiyoung Jeong <ji_0.jeong@samsung.com>
dan huh [Wed, 28 Nov 2018 10:59:22 +0000 (19:59 +0900)]
[RAMEN9610-9418][COMMON] fimc-is2: Add a __nocfi at function to happen cfi error
PR JIRA ID: CPR-462
Change-Id: I4e666ac118a4f397e632cad4fe3cb28a4ca40ff7
Signed-off-by: dan huh <dan.huh@samsung.com>
dan huh [Wed, 28 Nov 2018 10:58:29 +0000 (19:58 +0900)]
[RAMEN9610-9418][9610] fimc-is2: Add __nocfi at happen to cfi error function
PR JIRA ID: CPR-462
Change-Id: I71dff7c73114f58a8120aca2de1848f757c09e9f
Signed-off-by: dan huh <dan.huh@samsung.com>
Kim Haksoo [Fri, 30 Nov 2018 09:09:25 +0000 (18:09 +0900)]
[RAMEN9610-9418][9610] fbdev: dpu: modify decon driver to avoid CFI failure
Change-Id: If59ee07e7604e06612f72e2593bf659fa39d40bf
Signed-off-by: Kim Haksoo <herb@samsung.com>
Pilsun Jang [Thu, 10 May 2018 09:52:39 +0000 (18:52 +0900)]
[RAMEN9610-9416][Common] ASoC: abox: added holding dram path while fw is booting
Change-Id: I4063053d31eabadafab92a3290e206044b2ff5fd
Signed-off-by: Pilsun Jang <pilsun.jang@samsung.com>
sanghwan park [Tue, 11 Dec 2018 11:05:12 +0000 (20:05 +0900)]
[RAMEN9610-9358][9610] vipx: increase memory size for dram fw and mailbox latency
Change-Id: Ibdd068ec2f761269ff96c5d07d769ef8e3422db1
Signed-off-by: sanghwan park <senius.park@samsung.com>
Namhyung Kim [Tue, 30 Oct 2018 11:08:09 +0000 (20:08 +0900)]
[RAMEN9610-9352][MODAP-10498][COMMON] drivers: net: add pptp files
Change-Id: Ie2a406146d11403dd87233f2e972fca5ad991a6d
Signed-off-by: Namhyung Kim <nh78.kim@samsung.com>
Jiyoung Jeong [Tue, 11 Dec 2018 05:10:05 +0000 (14:10 +0900)]
[RAMEN9610-9352][MODAP-10498][COMMON] arch: arm64: enable pptp configs
Change-Id: I84a405b4905aafaccf872697f043d2f6b241ab84
Signed-off-by: Jiyoung Jeong <ji_0.jeong@samsung.com>
ChiHun Won [Tue, 11 Dec 2018 06:38:04 +0000 (15:38 +0900)]
[RAMEN9610-9349] fbdev: dpu20: updated dqe driver for supporting xml tune
rebased
Change-Id: I3216a1a82db2fc5c93326a542aa279fbd8ead9aa
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
sanghwan park [Wed, 5 Dec 2018 09:59:39 +0000 (18:59 +0900)]
[RAMEN9610-9176][9610] vipx: support NN framework
Change-Id: Ib868cfc8914ca633827f55131a4a9fec58fe6442
Signed-off-by: sanghwan park <senius.park@samsung.com>
Youngmin Nam [Thu, 6 Dec 2018 07:41:02 +0000 (16:41 +0900)]
[Prelease][COMMON][9610] arm64: dts: separate dts and dtsi of SoC
Change-Id: Ic33c9e2606a6b081a7eca1de176437f983aefd06
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
Wooyeon Kim [Wed, 5 Dec 2018 08:13:18 +0000 (17:13 +0900)]
[RAMEN9610-9225][COMMON] fimc-is2: add omitted 2P7SQ continus mode setting
- remove un-necessary setting
PR JIRA ID: CPR-474
Change-Id: Iff73591db33622db8f97c153c3bc409ccde037c9
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Wooyeon Kim [Tue, 4 Dec 2018 07:40:20 +0000 (16:40 +0900)]
[RAMEN9610-9225][COMMON] fimc-is2: change 2P7SQ to continuous mode
- change non-continous -> continous mode.
PR JIRA ID: CPR-474
Change-Id: I0d7e726d6019b7c204fc22fe3cb0c6125496a3fe
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Youngmin Nam [Wed, 5 Dec 2018 05:09:12 +0000 (14:09 +0900)]
[RAMEN9610-9153][9610] soc: samsung: acpm: Add disable PMU_DBGCORE interrupt on ACPM timeout
Change-Id: I6f3425912b4cf29441a952cd40f9e154a8c394c6
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
Youngwan Kim [Wed, 5 Dec 2018 07:07:12 +0000 (16:07 +0900)]
[RAMEN9610-9150][9610] Enable CONFIG_NETFILTER_XT_MATCH_BPF
Change-Id: I7617aaa1c60a2fb076f2f818b32bd88f3c5fdcef
Signed-off-by: Youngwan Kim <y103.kim@samsung.com>
ChiHun Won [Mon, 3 Dec 2018 06:55:53 +0000 (15:55 +0900)]
[RAMEN9610-9076] fbdev: dpu20: added set color mode
Change-Id: I991435b7e6b13ad0ebb62fe861e86ad323456ab1
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
ChiHun Won [Mon, 26 Nov 2018 07:16:43 +0000 (16:16 +0900)]
[RAMEN9610-9076] fbdev: dpu20: added color transform for night light
Change-Id: I823222e9227cd0045df614e7b79eeac5a2f357ba
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
ChiHun Won [Mon, 26 Nov 2018 01:54:16 +0000 (10:54 +0900)]
[RAMEN9610-9076] fbdev: dpu20: update dqe for supporting cgc2
Change-Id: Iba22dbc8a3b62a59b97b76cb557bbcafccc246dd
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
ChiHun Won [Sat, 24 Nov 2018 05:30:31 +0000 (14:30 +0900)]
[RAMEN9610-9076] fbdev: dpu20: upated dqe for supporting hsc
Change-Id: I53cd86c5983d2857e53ac9f9274914ef331c7032
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
Dongmin Shin [Thu, 29 Nov 2018 11:09:36 +0000 (20:09 +0900)]
[RAMEN9610-9016][RAMEN ERD 9610] VIPx : Add ENF_YUV function
Change-Id: I7f2d5a427f84ec7963ecadd713345ca9c8d7ec4c
Signed-off-by: Dongmin Shin <mini.shin@samsung.com>
Sunyoung Kang [Wed, 28 Nov 2018 05:15:08 +0000 (14:15 +0900)]
[RAMEN9610-8977][COMMON] media: mfc: support COPY_NOT_CODED_FRAME for VP9
In the CTS-9.0_r4 version, the below test case is failed
option: -m CtsMediaTestCases -t android.media.cts.DecoderConformanceTest#testVP9Other
The reason is that the test vector has 'not coded frame'
This adds to enable 'COPY_NOT_CODED_FRAME' feature for VP9.
Change-Id: I19896516d49e6cc7240dd8c7e8c14e8135051162
Signed-off-by: Sunyoung Kang <sy0816.kang@samsung.com>
yi jaeuk [Fri, 23 Nov 2018 05:05:43 +0000 (14:05 +0900)]
[RAMEN9610-8778][9610] firmware: change acpm plugin type ihex to fw
Change-Id: Id573d185faf5adf94353a63cc267c3f6690773bb
Signed-off-by: yi jaeuk <ju.yi@samsung.com>
Youngwan Kim [Fri, 23 Nov 2018 07:15:44 +0000 (16:15 +0900)]
[RAMEN9610-8778][9610] firmware: Remove tsp_synaptics firmwares
Change-Id: I5f9d7cc9def974e3a25b4d1a961dc143368162a5
Signed-off-by: Youngwan Kim <y103.kim@samsung.com>
Youngwan Kim [Wed, 21 Nov 2018 01:57:11 +0000 (10:57 +0900)]
[RAMEN9610-8778]AndroidKernel.mk: Modify build system to move output dir
Change-Id: I2879748bf2a32657c5189fc6350fb855399946bf
Signed-off-by: Youngwan Kim <y103.kim@samsung.com>
Jaejoon Yoo [Tue, 20 Nov 2018 08:16:09 +0000 (17:16 +0900)]
[RAMEN9610-8778][COMMON] soc: samsung: delete soc configuration
Change-Id: Icb4feedb7655eae31743a7cad8f3be6dd6fa6c1f
Signed-off-by: Jaejoon Yoo <joonyj7.yoo@samsung.com>
Youngwan Kim [Tue, 20 Nov 2018 08:19:53 +0000 (17:19 +0900)]
[RAMEN9610-8778][9610] Remove autoconf.h from dtsi
For supporting external object directory
Change-Id: Idaa1245569d46377ed51a1d6f2801669d8c40ea7
Signed-off-by: Youngwan Kim <y103.kim@samsung.com>
Jiyoung Jeong [Wed, 28 Nov 2018 06:16:15 +0000 (15:16 +0900)]
[RAMEN9610-8952][COMMON] drivers: modem_if: Change CP reset sequence.
before: ld->mode = LINK_MODE_OFFLINE next cp power off
after : cp power off next ld->mode = LINK_MODE_OFFLINE
Change-Id: I551be1d4e21887d7221907659d74f5d46b1e3070
Signed-off-by: Jiyoung Jeong <ji_0.jeong@samsung.com>
Youngmin Nam [Tue, 20 Nov 2018 08:52:34 +0000 (17:52 +0900)]
[RAMEN9610-8776][9610][ERD] arm64: dts: seperate specific board dts from common board dtsi
Change-Id: Ia473c44339d19f6c430fdfa94bb36eb8f6826b79
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
hwangjae lee [Thu, 15 Nov 2018 07:06:03 +0000 (16:06 +0900)]
[RAMEN9610-8802] arm64: dts: fb reserved memory size is modified
The logo partition size is increased to 32MB.
So, fb reserved memory size and base address is modified.
reserved memory base address: 0xed000000
reserved memory size: 0x3000000 -> 0x4000000
Change-Id: Id1a63313e817230bfd3412107daf4f94287cabb0
Signed-off-by: hwangjae lee <hj-yo.lee@samsung.com>
JaeHun Jung [Tue, 11 Sep 2018 07:57:15 +0000 (16:57 +0900)]
[RAMEN9610-8702][COMMON] arm64: configs: Enable F2FS
Change-Id: I5b69360bf8c5d7fd6a09e33fa222b0fb9e048353
Signed-off-by: JaeHun Jung <jh0801.jung@samsung.com>
Boojin Kim [Tue, 13 Nov 2018 06:08:59 +0000 (15:08 +0900)]
[RAMEN9610-8702][COMMON] diskcipher: support f2fs
Change-Id: Id0f25792b78a292cd616157d1aacca5d7e17cd8e
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
Boojin Kim [Tue, 13 Nov 2018 06:21:24 +0000 (15:21 +0900)]
[RAMEN9610-8702][COMMON] fmp: remove REQ_AUX_PRIV
fmp removes useless REQ_AUX_PRIV flag
Change-Id: I262c9646d6aa60cd75f5a5fb7c6e6a39ed0e008f
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
Boojin Kim [Fri, 19 Oct 2018 04:56:31 +0000 (13:56 +0900)]
[RAMEN9610-8702][COMMON] fmp: prevent bug fix
1. exynos9820/drivers/crypto/fmp/fmp_fips_fops.c (CID 24089)
2. exynos9820/drivers/crypto/fmp/fmp_fips_fops.c (CID 24206)
3. exynos9820/drivers/crypto/fmp/fmp_fips_fops.c (CID 24809)
4. exynos9820/drivers/crypto/fmp/fmp_fips_fops.c (CID 25104)
Change-Id: I7fba3e224ad2b9aa66a572cc55eac1e6fc3324e7
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
bjae3.kim [Wed, 31 Oct 2018 10:56:46 +0000 (19:56 +0900)]
[RAMEN9610-8702][COMMON] diskcipher: prevent bug fix
1. kernel/exynos9820/crypto/diskcipher.c (CID 24755)
2. kernel/exynos9820/crypto/diskcipher.c (CID 24851)
3. kernel/exynos9820/crypto/diskcipher.c (CID 25038)
Change-Id: Ia8eac2410418bae3964d4896b45fefca7e4df619
Signed-off-by: bjae3.kim <bjae3.kim@samsung.com>
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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)
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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.
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>
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>