GitHub/LineageOS/android_kernel_motorola_exynos9610.git
6 years agomedia: tsmux: init version
shinwon.lee [Fri, 20 Jul 2018 09:49:13 +0000 (18:49 +0900)]
media: tsmux: init version

Change-Id: I482433ad032068c39884d12b71a80e804bc8f81b
Signed-off-by: shinwon.lee <shinwon.lee@samsung.com>
6 years ago[COMMON] tsmux: add header file
shinwon.lee [Fri, 20 Jul 2018 07:47:35 +0000 (16:47 +0900)]
[COMMON] tsmux: add header file

Change-Id: Ifcf87f240479dcbec56ebf0efa8e6b81a81a52d6
Signed-off-by: shinwon.lee <shinwon.lee@samsung.com>
6 years ago[COMMON] iommu/exynos: set sharable mapping for dma coherent device
hyesoo.yu [Sun, 3 Jun 2018 08:20:45 +0000 (17:20 +0900)]
[COMMON] iommu/exynos: set sharable mapping for dma coherent device

Change-Id: I9036ff34b860eb9bd698a4e8a938fca5d3dabb4e
Signed-off-by: hyesoo.yu <hyesoo.yu@samsung.com>
6 years ago[COMMON] iommu/exynos: add checking TLB entries
Janghyuck Kim [Thu, 10 May 2018 08:31:37 +0000 (17:31 +0900)]
[COMMON] iommu/exynos: add checking TLB entries

TLB checking is added when SysMMU fault occurred.
It compares TLB value to page table entry and displays message if it
doesn't refered different entries.

Change-Id: I6599f7bb04f548093dc60e528466fd7f6a81cb30
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
6 years ago[COMMON] iommu/exynos: fix prevent issue
Janghyuck Kim [Fri, 13 Apr 2018 04:09:05 +0000 (13:09 +0900)]
[COMMON] iommu/exynos: fix prevent issue

This patch fixed BITSHIFT_MIGHT_OVERFLOW issue that was detected by
prevent.

Change-Id: I59d662f3d2d3e671cacd51349253ff8871b1e8f3
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
6 years ago[COMMON] iommu/exynos: add checking SBB entries
Janghyuck Kim [Wed, 4 Apr 2018 08:07:19 +0000 (17:07 +0900)]
[COMMON] iommu/exynos: add checking SBB entries

This patch added SBB entries checking that comparing to page table, and
displays message when it cached different address.

Change-Id: I562633813afa771419e5124811469d431d866a96
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
6 years ago[COMMON] iommu/exynos: improve SLPD logging
Janghyuck Kim [Tue, 3 Apr 2018 11:44:39 +0000 (20:44 +0900)]
[COMMON] iommu/exynos: improve SLPD logging

When SLPD is allocated and freed, logging for base address is added.

Change-Id: I19ea17808278f455b5faf3db3fddffdd9beec73e
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
6 years agoAndroid-P: Change the build rule of dtbo image
Taein, An [Tue, 19 Jun 2018 08:04:11 +0000 (17:04 +0900)]
Android-P: Change the build rule of dtbo image

Change-Id: Iea712679a44df21f10377c8fc192675e9104f60e
Signed-off-by: Taein, An <taein.an@samsung.com>
6 years ago[9610] arch:arm64:dts: enable AVB for vendor partition
Shinkyu Park [Mon, 16 Jul 2018 12:57:42 +0000 (21:57 +0900)]
[9610] arch:arm64:dts: enable AVB for vendor partition

[Description]
Enable AVB for vendor partition

Platform Development Team
Shinkyu Park (shinkyu.park@samsung.com)

Change-Id: I704eca545297793aa43771df5212dc27d4e1c673
Signed-off-by: Youngwan Kim <y103.kim@samsung.com>
6 years agoAndroid-P: rename ro.hardware to exynos9610
Youngwan Kim [Tue, 3 Jul 2018 10:02:31 +0000 (19:02 +0900)]
Android-P: rename ro.hardware to exynos9610

In android-P ro.arch is not accessible in vendor partition
For resolving this problem, I substitude ro.arch as ro.hardware.

Change-Id: If9cfa3e58a59189ded00fb3b43649d8518ef6557
Signed-off-by: Youngwan Kim <y103.kim@samsung.com>
6 years agoAndroid-P: DTB is inlcluded in second section of bootimage
Youngwan Kim [Thu, 12 Jul 2018 06:38:18 +0000 (15:38 +0900)]
Android-P: DTB is inlcluded in second section of bootimage

Change-Id: I86839752e878254378a7b3493eacaecec3defff1
Signed-off-by: Youngwan Kim <y103.kim@samsung.com>
6 years agoAndroid-P: Add DTBOIMAGE to android build system
Youngwan Kim [Thu, 31 May 2018 02:23:40 +0000 (11:23 +0900)]
Android-P: Add DTBOIMAGE to android build system

Change-Id: I09b20cda5d03f02d5f80b505e8d1b27dac68c6e4
Signed-off-by: Youngwan Kim <y103.kim@samsung.com>
6 years agoAndroid-P: Add DTBO build sequnce
Youngwan Kim [Thu, 12 Jul 2018 03:23:19 +0000 (12:23 +0900)]
Android-P: Add DTBO build sequnce

Change-Id: I5c73a923bea56269cae4d02e0a773ee087592d48
Signed-off-by: Youngwan Kim <y103.kim@samsung.com>
6 years ago[9610][ERD] Add dtboimg config file
Changki Kim [Mon, 9 Jul 2018 04:41:02 +0000 (13:41 +0900)]
[9610][ERD] Add dtboimg config file

Change-Id: I9787cc493b0cca2472129713a7cc78106edb858b
Signed-off-by: Changki Kim <changki.kim@samsung.com>
6 years ago[9610][ERD] arm64: dts: fix dtbo build error
Youngmin Nam [Fri, 6 Jul 2018 10:01:01 +0000 (19:01 +0900)]
[9610][ERD] arm64: dts: fix dtbo build error

Change-Id: Icf92c6699f2119b200ada3ec0d28a8d97d8277d6
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
6 years ago[COMMON] arch: arm64: Support to build dtbo
Youngmin Nam [Fri, 6 Jul 2018 09:26:43 +0000 (18:26 +0900)]
[COMMON] arch: arm64: Support to build dtbo

Change-Id: I4032912aedf24ab68125cad91f5da81408049381
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
6 years ago[COMMON] script: dtc: remove build error
Hyunki Koo [Mon, 29 Jan 2018 11:37:41 +0000 (20:37 +0900)]
[COMMON] script: dtc: remove build error

This patch remove build error after applying
"Update dtc for Device Tree Overlay"

FATAL ERROR: Unrecognized check name "simple_bus_reg"
make[2]: *** [arch/arm64/boot/dts/exynos/exynos7-espresso.dtb] Error 1
make[2]: *** Waiting for unfinished jobs....
FATAL ERROR: Unrecognized check name "simple_bus_reg"
make[2]: *** [arch/arm64/boot/dts/exynos/exynos5433-tm2e.dtb] Error 1
FATAL ERROR: Unrecognized check name "simple_bus_reg"
make[2]: *** [arch/arm64/boot/dts/exynos/exynos5433-tm2.dtb] Error 1
FATAL ERROR: Unrecognized check name "simple_bus_reg"
make[2]: *** [arch/arm64/boot/dts/exynos/exynos9810.dtb] Error 1
make[1]: *** [arch/arm64/boot/dts/exynos] Error 2
make: *** [dtbs] Error 2
make: *** Waiting for unfinished jobs....

Change-Id: I23919357ca3e24821dd5dbb6ace47b80b2f2fe47
Signed-off-by: Hyunki Koo <hyunki00.koo@samsung.com>
6 years ago[COMMON] script: dtc: Update dtc for Device Tree Overlay
Hyunki Koo [Mon, 29 Jan 2018 11:36:24 +0000 (20:36 +0900)]
[COMMON] script: dtc: Update dtc for Device Tree Overlay

Change-Id: I00b8471767b066b614d979517b85d520007b07f3
Signed-off-by: Changki Kim <changki.kim@samsung.com>
6 years ago[9610] arm64: dts: apply dtbo image build
Youngmin Nam [Fri, 6 Jul 2018 08:58:12 +0000 (17:58 +0900)]
[9610] arm64: dts: apply dtbo image build

Change-Id: I2222ed5aada69604295cda0364f08e2f18ecff8c
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
6 years ago[9610][ERD] arm64: dts: enable dtbo overlay to make dtbo image
Youngmin Nam [Fri, 6 Jul 2018 07:54:52 +0000 (16:54 +0900)]
[9610][ERD] arm64: dts: enable dtbo overlay to make dtbo image

Change-Id: If498f7478282dabb32df5889e40ac2ace73fe916
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
6 years ago[9610] arm64: dts: add SoC dts file to make dtbo image
Youngmin Nam [Fri, 6 Jul 2018 07:51:21 +0000 (16:51 +0900)]
[9610] arm64: dts: add SoC dts file to make dtbo image

Change-Id: I3ecd2787761768dc4bf9537e9cc8d1c406916392
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
6 years ago[9610] drivers: modem_if: Remove device node name print during rx_demux error
Taejin Kim [Mon, 16 Jul 2018 02:34:39 +0000 (11:34 +0900)]
[9610] drivers: modem_if: Remove device node name print during rx_demux error

Change-Id: If9dc23a822b3bc83cc3a2b5e945eb7a98fd51b53
Signed-off-by: Taejin Kim <tj7.kim@samsung.com>
6 years ago[9610] drivers: modem_if: Fix checkpatch issue
Jiyoung Jeong [Fri, 15 Jun 2018 01:35:09 +0000 (10:35 +0900)]
[9610] drivers: modem_if: Fix checkpatch issue

Change-Id: I26c04dba9830942b8a97aaf98df14d876ce91358
Signed-off-by: Jiyoung Jeong <ji_0.jeong@samsung.com>
6 years ago[9610] drivers: misc: For the consistency of rx_demux logic
Jiyoung Jeong [Thu, 14 Jun 2018 07:21:22 +0000 (16:21 +0900)]
[9610] drivers: misc: For the consistency of rx_demux logic

When rx_demux call, error handling instead of higher layer function

Change-Id: I319bb8642d53bc215ed9b8a6606dd3e8439a5367
Signed-off-by: Jiyoung Jeong <ji_0.jeong@samsung.com>
6 years ago[9610] drivers: mcu_ipc: Add debug log to verify CP memory map
Jiyoung Jeong [Mon, 16 Jul 2018 04:17:35 +0000 (13:17 +0900)]
[9610] drivers: mcu_ipc: Add debug log to verify CP memory map

Change-Id: Ia4651cde60d4d3329963e1ed8ef05b95ed7bfbf5
Signed-off-by: Jiyoung Jeong <ji_0.jeong@samsung.com>
6 years ago[9610] tcp: clear tp->packets_out when purging write queue
Soheil Hassas Yeganeh [Sun, 15 Apr 2018 00:45:20 +0000 (20:45 -0400)]
[9610] tcp: clear tp->packets_out when purging write queue

Clear tp->packets_out when purging the write queue, otherwise
tcp_rearm_rto() mistakenly assumes TCP write queue is not empty.
This results in NULL pointer dereference.

Also, remove the redundant `tp->packets_out = 0` from
tcp_disconnect(), since tcp_disconnect() calls
tcp_write_queue_purge().

Change-Id: If7e959a4adf6a830ff551bcf2452f15dcb7ccdab
Fixes: a27fd7a8ed38 (tcp: purge write queue upon RST)
Reported-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Reported-by: Sami Farin <hvtaifwkbgefbaei@gmail.com>
Tested-by: Sami Farin <hvtaifwkbgefbaei@gmail.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Soheil Hassas Yeganeh <soheil@google.com>
Acked-by: Yuchung Cheng <ycheng@google.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
6 years ago[9610] drivers: modem_if: Remove redundant ap2cp_status for dump
Jiyoung Jeong [Thu, 5 Jul 2018 07:52:05 +0000 (16:52 +0900)]
[9610] drivers: modem_if: Remove redundant ap2cp_status for dump

Add waiting cp2ap status enable

Change-Id: Ie8ae6dbe4bacc7111f2236fe275b387c34e0683e
Signed-off-by: Jiyoung Jeong <ji_0.jeong@samsung.com>
6 years agoRevert "[HACK] iommu/exynos: fix compile error"
DongHyun Cha [Wed, 11 Jul 2018 07:40:51 +0000 (16:40 +0900)]
Revert "[HACK] iommu/exynos: fix compile error"

This reverts commit 99ee2e11f8522bf0dee40b7aee1eab497d2ecd2f.

Change-Id: Ie0139d3f23b860acbba9a9b50816a8e8b3a1a571

6 years ago[9610] soc: samsung: Add secmem
DongHyun Cha [Tue, 13 Mar 2018 11:49:20 +0000 (20:49 +0900)]
[9610] soc: samsung: Add secmem

Change-Id: I89c984a9331e0e9da21254441a36149e73a5c9f4
Signed-off-by: DongHyun Cha <dhyun.cha@samsung.com>
Signed-off-by: Jungtae Kim <jt1217.kim@samsung.com>
6 years ago[COMMON] spi: s3c64xx: check xfer length in DMA spi_map and unmap
myung-su.cha [Thu, 5 Jul 2018 04:55:54 +0000 (13:55 +0900)]
[COMMON] spi: s3c64xx: check xfer length in DMA spi_map and unmap

When transfer length is smaller than fifo-size in DMA mode,
it is transferred by CPU mode not DMA. This patch makes spi_map
function not executed in this case.

Change-Id: Iec9f52f83b1a8abefed67af3276f2194df90e9e4
Signed-off-by: myung-su.cha <myung-su.cha@samsung.com>
6 years ago[9610] soc: samsung: el3_mon: Invalidate smc_debug_mem
Junho Choi [Tue, 5 Jun 2018 05:14:29 +0000 (14:14 +0900)]
[9610] soc: samsung: el3_mon: Invalidate smc_debug_mem

smc_debug_mem has been used as shared memory between
SWd and NWd. Therefore, Kernel needs to invalidate
this memory before reading it.

Change-Id: I0d99ebf681bfee97dc8bf96067a4d90e37960d98
Signed-off-by: Junho Choi <junhosj.choi@samsung.com>
6 years ago[9610] soc: samsung: el3_mon: Delete unused codes
Junho Choi [Tue, 5 Jun 2018 02:26:20 +0000 (11:26 +0900)]
[9610] soc: samsung: el3_mon: Delete unused codes

This code is not used any more.

Change-Id: I42d183a5d72c43bef897b3c05d4ee6f9681c8e34
Signed-off-by: Junho Choi <junhosj.choi@samsung.com>
6 years ago[COMMON] lib: dss: fix processor ID when scheduling
Donghyeok Choe [Mon, 2 Jul 2018 03:32:19 +0000 (12:32 +0900)]
[COMMON] lib: dss: fix processor ID when scheduling

Change-Id: I65bef72f54930f0374a5a2a722e7adb85a3e54cb
Signed-off-by: Donghyeok Choe <d7271.choe@samsung.com>
6 years ago[COMMON] arm64: traps: Add to print callstack in last information
Changki Kim [Wed, 30 May 2018 05:30:44 +0000 (14:30 +0900)]
[COMMON] arm64: traps: Add to print callstack in last information

Change-Id: I6e20a80adc72e4d11e912605d1559dbc331dd3b0
Signed-off-by: Changki Kim <changki.kim@samsung.com>
6 years ago[9610][ERD] arm64: configs: enable coresight for debugging
Donghyeok Choe [Mon, 16 Jul 2018 06:51:02 +0000 (15:51 +0900)]
[9610][ERD] arm64: configs: enable coresight for debugging

Change-Id: Ic10e725525d76a69e15eb991bc7d0a1945bf5aa2
Signed-off-by: Donghyeok Choe <d7271.choe@samsung.com>
6 years ago[9610] arm64: dtsi: add coresight entry
Donghyeok Choe [Mon, 16 Jul 2018 05:40:06 +0000 (14:40 +0900)]
[9610] arm64: dtsi: add coresight entry

Change-Id: Ie6761967ce0f0a48b3b27ca0eaff03bd5de7a598
Signed-off-by: Donghyeok Choe <d7271.choe@samsung.com>
6 years ago[COMMON] samsung: debug: add coresight for debugging
Donghyeok Choe [Mon, 16 Jul 2018 05:38:29 +0000 (14:38 +0900)]
[COMMON] samsung: debug: add coresight for debugging

Change-Id: I45cd528009297eba86e8c5a6fea0eac206a6adb2
Signed-off-by: Donghyeok Choe <d7271.choe@samsung.com>
6 years ago[9610] samsung: debug: fix watchdog config name
Donghyeok Choe [Thu, 5 Jul 2018 03:14:18 +0000 (12:14 +0900)]
[9610] samsung: debug: fix watchdog config name

Change-Id: I2be359091ed88f062e1fb75f047f9f3c13127f2d
Signed-off-by: Donghyeok Choe <d7271.choe@samsung.com>
6 years ago[9610] fimc-is2: Disable a sensor vc tasklet
dan huh [Wed, 11 Jul 2018 01:53:48 +0000 (10:53 +0900)]
[9610] fimc-is2: Disable a sensor vc tasklet

PR JIRA ID: CPR-47

Change-Id: I3ee47ad7894c1eea3244b4451f3bbcf9b91405d5
Signed-off-by: dan huh <dan.huh@samsung.com>
6 years ago[COMMON] fimc-is2: Modify a use tasklet and function
dan huh [Tue, 10 Jul 2018 03:40:12 +0000 (12:40 +0900)]
[COMMON] fimc-is2: Modify a use tasklet and function

- When sensor vc tasklet delayed, already dqbuf group leader
  so access a group leader at tasklet, unable to handle kernel paging

PR JIRA ID: CPR-47

Change-Id: I5fa23a92ce340956f6a71c7aa476c3acf1fc7490
Signed-off-by: dan huh <dan.huh@samsung.com>
6 years ago[COMMON] media: mfc: remove debug mode when "But error"
Sunyoung Kang [Thu, 12 Jul 2018 02:09:19 +0000 (11:09 +0900)]
[COMMON] media: mfc: remove debug mode when "But error"

If the result has error in s5p_mfc_wait_for_done_ctx()  the debug mode
generates panic. If there is an error stream, panic will always occur.
So this removes the debug mode in that case.

Change-Id: I89b124fdb41ca8fe7ca16cc9cd7d3251011242d7
Signed-off-by: Sunyoung Kang <sy0816.kang@samsung.com>
6 years agofbdev: dpu20: added decon bgr565 pixcel format
ChiHun Won [Fri, 13 Jul 2018 04:31:43 +0000 (13:31 +0900)]
fbdev: dpu20: added decon bgr565 pixcel format

Change-Id: Idd9d27d16dd10bc22f714086485dd94bc13d887d
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
6 years agofbdev: dpu20: AFBC debug patch modified
Min Ho Kim [Fri, 18 May 2018 11:35:07 +0000 (20:35 +0900)]
fbdev: dpu20: AFBC debug patch modified

- added sgtables for each afbc channel for the buffer dump
- name change (vgf -> afbc)

Change-Id: I3daa0e361800658c40798316a3bc4212d0973d7a
Signed-off-by: Min Ho Kim <m8891.kim@samsung.com>
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
6 years agofbdev: dpu20: AFBC debug feature code changed
Min Ho Kim [Wed, 2 May 2018 06:31:38 +0000 (15:31 +0900)]
fbdev: dpu20: AFBC debug feature code changed

- due to common layer, general concept for AFBC channel
has been applied

Change-Id: I6a98aa396e02d398b760af7e179ad9fcb89fed13
Signed-off-by: Min Ho Kim <m8891.kim@samsung.com>
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
6 years ago[9610] arm64: dts: updated dpu dma hw restriction
ChiHun Won [Sat, 7 Jul 2018 03:37:01 +0000 (12:37 +0900)]
[9610] arm64: dts: updated dpu dma hw restriction

Change-Id: I00aaca1fef5210202547e4d34aedb976ea844e0f
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
6 years agofbdev: dpu20: added acquire fence logging
ChiHun Won [Sat, 7 Jul 2018 03:36:03 +0000 (12:36 +0900)]
fbdev: dpu20: added acquire fence logging

Change-Id: I6aba0ba31c43aa16579ad4f5829213dae1cc742c
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
6 years ago[9610] fbdev: dpu20: fixed dpu null pointer exception
ChiHun Won [Sat, 7 Jul 2018 03:30:38 +0000 (12:30 +0900)]
[9610] fbdev: dpu20: fixed dpu null pointer exception

Change-Id: I017138815d129f22fccab48f01509da624de5507
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
6 years agofbdev: dpu20: fixed dpu null pointer exception
ChiHun Won [Sat, 7 Jul 2018 03:29:58 +0000 (12:29 +0900)]
fbdev: dpu20: fixed dpu null pointer exception

Change-Id: I27906b12ddecec8744e8ab56561f13e23c8f9a25
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
6 years ago[9610] wlbt: increment scsc_release to 6.36.1
Ivan Priest [Wed, 11 Jul 2018 18:05:25 +0000 (19:05 +0100)]
[9610] wlbt: increment scsc_release to 6.36.1

Import FW for iteration 6.36.1

Change-Id: I1831fabff7a91ed83f877d7142cc6b1284e5ade8
SCSC-Bug-Id: scsc_release_6.36.1
Signed-off-by: Ivan Priest <i.priest@samsung.com>
6 years ago[9610][7885][7872][7570] wlbt: reprint last service failure reason
Ivan Priest [Tue, 1 May 2018 08:44:40 +0000 (09:44 +0100)]
[9610][7885][7872][7570] wlbt: reprint last service failure reason

Buffer the reason string from scsc_mx_service_failed() and reprint it
whenever a mxman_open() is rejected due to WLBT being in the failed
state. This allows historical failure reasons to be determined
more easily when they have scrolled out of the kernel log.

Change-Id: I28d7df1aba12b0b55912605071b8c3d2e80e6e76
SCSC-Bug-Id: SSB-39469
Signed-off-by: Ivan Priest <i.priest@samsung.com>
6 years ago[7885] Driver crash on startup
Pragya Gupta [Thu, 22 Feb 2018 13:14:40 +0000 (18:44 +0530)]
[7885] Driver crash on startup

For single band solutions, do not access the 5g channels

Change-Id: Iaf7ad26129eb43795fb03bc73cae9f58ef4409ef
SCSC-Bug-Id: SSB-37249
Signed-off-by: Himani Gupta <himani.g2@samsung.com>
6 years ago[9610] wlbt: files in /data/misc move to /data/vendor
Ivan Priest [Wed, 11 Jul 2018 11:28:39 +0000 (12:28 +0100)]
[9610] wlbt: files in /data/misc move to /data/vendor

Some log files generated in /data/misc move to /data/vendor
for P Treble compliance.

Change-Id: I155af88fd91a86bb36c4747ad7b6f78855790338
SCSC-Bug-Id: SSB-41803
Signed-off-by: Ivan Priest <i.priest@samsung.com>
6 years ago[9610] wlbt: add regdom revision to .wifiver.info file
Albert Cano [Fri, 6 Jul 2018 05:31:03 +0000 (06:31 +0100)]
[9610] wlbt: add regdom revision to .wifiver.info file

1) Move the .wifiver.info file from common code to
Wi-Fi service driver.
2) Read regdom revision from a new added MIB and
print it in .wifiver.info file

Change-Id: I1d72abc92d15d3d9e5cdf72a301ca6459b24aa2e
SCSC-Bug-Id: SSB-41300
Signed-off-by: Debabrata Purohit <d.purohit@samsung.com>
Signed-off-by: Albert Cano <a.canocamps@samsung.com>
6 years ago[9610][7885][7872][7570] wlbt: Correction to host configuration of ctwindow
raj.chandra [Mon, 24 Jul 2017 05:33:22 +0000 (11:03 +0530)]
[9610][7885][7872][7570] wlbt: Correction to host configuration of ctwindow

Driver converts ctwindow from msec to TU on the FAPI interface. This
is not required as configuration received in driver is in TU. Hence
reverting conversion.

SCSC-Bug-Id: SSB-30843
Change-Id: Iff3ef5138839cb65c579a94bfdf4c94d31812f5b
Signed-off-by: raj.chandra <raj.chandra@samsung.com>
6 years ago[7880][7872][7885][9610] wlbt:SPP A-MSDU Capable in RSN capabilites.
Himani Gupta [Tue, 3 Jul 2018 06:32:52 +0000 (12:02 +0530)]
[7880][7872][7885][9610] wlbt:SPP A-MSDU Capable in RSN capabilites.

Set SPP A-MSDU capable and Extended Key ID MASK bit in RSN
capabilites to 1 for AP mode.Which indicate
support for signaling and payload protected A-MSDUs.

Change-Id: Icb1e3ab2a055f1a424321ee2a5d078cf6b2dfb6d
SCSC-Bug-ID: SSB-41417
Signed-off-by: Himani Gupta <himani.g2@samsung.com>
6 years ago[9610][7885][7872][7570] wlbt: add additional release counter
Ivan Priest [Wed, 4 Jul 2018 14:55:56 +0000 (15:55 +0100)]
[9610][7885][7872][7570] wlbt: add additional release counter

Add another decimal point to describe the downstream patch
level.

Change-Id: Ia913a2bb89236878e6d13a823855f7ea0411ba1f
SCSC-Bug-Id: SSB-41599
Signed-off-by: Ivan Priest <i.priest@samsung.com>
6 years ago[9610][7885][7872][7570] wlbt : No del_scan before connection initiation.
Mohit Ghuley [Tue, 3 Jul 2018 13:31:38 +0000 (19:01 +0530)]
[9610][7885][7872][7570] wlbt : No del_scan before connection initiation.

Wifi Driver will not initiate any del_scan request
before connection initiation.

Change-Id: I3bc5bc7afb46020b4da1bc5e4b7568a416ac1067
SCSC-Bug-Id:SSB-41531
Signed-off-by: Mohit Ghuley <mohit.ghuley@samsung.com>
6 years ago[9610][7885][7872][7570] wlbt: Test for mx_logger_dump.sh
Ivan Priest [Thu, 28 Jun 2018 13:39:25 +0000 (14:39 +0100)]
[9610][7885][7872][7570] wlbt: Test for mx_logger_dump.sh

Test for presence of the mx_logger_dump.sh script before
trying to use it, to suppress error messages in the
kernel log.

Change-Id: I65833c5ff01714dec555c0ff1f63d20cbc97ae79
SCSC-Bug-Id: SSB-41411
Signed-off-by: Ivan Priest <i.priest@samsung.com>
6 years ago[9610] wlbt: traffic monitor - update hysteresis
Debabrata Purohit [Mon, 18 Jun 2018 16:23:07 +0000 (17:23 +0100)]
[9610] wlbt: traffic monitor - update hysteresis

The transitions from high throughput to mid
throughput and vice versa are too frequent.

Add more hysteresis to transition from High to mid.

Change-Id: I8662eaf21d52073acb34ec229933e649be73bcf6
SCSC-Bug-Id: SSB-41039
Signed-off-by: Debabrata Purohit <d.purohit@samsung.com>
6 years ago[9610] wlbt: traffic monitor - fix throughput report
Debabrata Purohit [Thu, 14 Jun 2018 17:46:41 +0000 (18:46 +0100)]
[9610] wlbt: traffic monitor - fix throughput report

1) The traffic monitor uses a jiffies based timer
which is not exactly accurate as it is not a
High resolution timer.

The throughput calculation assumes the time to be
same as the timer interval. But it causes the
throughput report to be slightly off the mark.

Measure exact time diff between each timer
interrupt to report accurate throughput.

2) report throughput per second instead of per
timer interval.

3) Apply a rough correction to exclude IP and
transport header from payload size calculation.

Change-Id: Icf595b2bd694b2877b67484db0c0bb57ca8c64d5
SCSC-Bug-Id: SSB-40955
Signed-off-by: Debabrata Purohit <d.purohit@samsung.com>
6 years ago[7885] wlbt: Add packet inspection bypass for ACL data dump
Jes Andersen [Fri, 4 May 2018 10:51:51 +0000 (12:51 +0200)]
[7885] wlbt: Add packet inspection bypass for ACL data dump

To implement a vendor specific command raw acl data must be passed to
the host without a connection.

The upper byte in the connection_handle is unused by the firmware
currently, as it previously would just have increased the error count.

Change-Id: I8667f8249323449418a3c9c7ef28f8ad8a6122f1
SCSC-Bug-Id: SSB-39242
Signed-off-by: Jes Andersen <jes.andersen@samsung.com>
6 years ago[9610] wlbt: SMAPPER. Check DMA addr alignment
Albert Cano [Fri, 1 Jun 2018 08:29:29 +0000 (09:29 +0100)]
[9610] wlbt: SMAPPER. Check DMA addr alignment

Since SMAPPER bank entry base address forces alignment (i.e. 2048
octets), hip4_smapper alloc should validate the dma buffer (phys
address) before setting the entry.

Usually skb/dma allocation will 'guarantee' 4k alignment unless
SLUB/SLAB debug is enabled.

Extended the smapper api to get the aligment from platform device
virtual implementation

Change-Id: Ic03f952d029efad7c60281d33d6915470072a3b5
SCSC-Bug-Id: SSB-40382
Signed-off-by: Albert Cano <a.canocamps@samsung.com>
6 years ago[9610] wlbt: frame summary - support A-MSDU subframe format
Debabrata Purohit [Tue, 29 May 2018 13:27:48 +0000 (14:27 +0100)]
[9610] wlbt: frame summary - support A-MSDU subframe format

Add support for FAPI_DATAUNITDESCRIPTOR_AMSDU_SUBFRAME
format in summary frame debug module.

Change-Id: I46b3cda898e9fce55cf1f02d83f2a18828fea16e
SCSC-Bug-Id: SSB-40293
Signed-off-by: Debabrata Purohit <d.purohit@samsung.com>
6 years ago[9610] wlbt: enable PM QoS by default
Debabrata Purohit [Fri, 1 Jun 2018 13:43:34 +0000 (14:43 +0100)]
[9610] wlbt: enable PM QoS by default

The driver can detect high throughput condition and
can configure kernel PM QoS to run the MIF and CPU
at high frequency.

Enable this feature by default.

Change-Id: I554cb442a882d3efe96304e62384bbcefd24f77d
SCSC-Bug-Id: SSB-40399
Signed-off-by: Debabrata Purohit <d.purohit@samsung.com>
6 years ago[9610] wlbt: fix SKB MAC header offset
Debabrata Purohit [Fri, 25 May 2018 14:51:49 +0000 (15:51 +0100)]
[9610] wlbt: fix SKB MAC header offset

If A-MSDU is enabled in transmit, the frame is translated
to MSDU sub frame format from Ethernet format.

But the MAC header in SKB is not updated and it causes
access to wrong offset for destination address.

The MAC header offset is corrected in such translation.

Change-Id: I509dd5754ccd1d179ca63b9e232264a0fdd76b0e
SCSC-Bug-Id: SQA-3156
Signed-off-by: Debabrata Purohit <d.purohit@samsung.com>
6 years ago[9610][7885][7872] wlbt: AP WPS
Jaya Prakash Sangaru [Mon, 2 Jul 2018 05:03:00 +0000 (10:33 +0530)]
[9610][7885][7872] wlbt: AP WPS

Allow beacon_ies, probe_response_ies and assoc_ies to be set
in FW in AP mode. This is required form AP-WPS.

SCSC-Bug-Id: SSB-41429

Change-Id: If03c5f73cd0f67bbc8b529bba78d007d6ba0d51d
Signed-off-by: Jaya Prakash Sangaru <j.sangaru@samsung.com>
6 years ago[9610] [7885] [7872] wlbt: update beacon ies in roaming
Jaya Prakash Sangaru [Mon, 25 Jun 2018 12:02:50 +0000 (17:32 +0530)]
[9610] [7885] [7872] wlbt: update beacon ies in roaming

Send beacon ies in roam vendor event.

SCSC-Bug-Id: SSB-41243

Change-Id: I12db3173b20e32af9957f1bdebf93ea5ab7282e2
Signed-off-by: Jaya Prakash Sangaru <j.sangaru@samsung.com>
6 years ago[7570][7872][7885][9610] wlbt: Logging improvement:ioctl.c,mlme.c
Himani Gupta [Fri, 25 May 2018 13:55:42 +0000 (19:25 +0530)]
[7570][7872][7885][9610] wlbt: Logging improvement:ioctl.c,mlme.c

Include wanted and remove unwanted logs from ioctl.c to improve
logging.Use SLSI_CHECK_TYPE instead of WARN_ON in for mib checking.

Change-Id: I39fc684e59c564d7ece8b1efe4cc4a92c8b8327e
SCSC-Bug-Id: SSB-40163
Signed-off-by: Himani Gupta <himani.g2@samsung.com>
6 years ago[9610][7885][7872][7570] wlbt: remove IWOTH permissions from procs
Ivan Priest [Mon, 25 Jun 2018 15:35:02 +0000 (16:35 +0100)]
[9610][7885][7872][7570] wlbt: remove IWOTH permissions from procs

Some /proc and mxlog debugfs notes had "other writeable" permissions,
remove these.

Change-Id: Ie209f69ef6b25da36321303bd4b80f412bc1c489
SCSC-Bug-Id: SSB-41270
Signed-off-by: Ivan Priest <i.priest@samsung.com>
6 years ago[9610] fimc-is2: Modify a regs_start addr for 3AA1
dan huh [Mon, 9 Jul 2018 04:38:07 +0000 (13:38 +0900)]
[9610] fimc-is2: Modify a regs_start addr for 3AA1

- not have a 3AA1 but internal use 3AA1 when front
- 3AA0 offset 0x0, 3AA1 offset 0x4000
- 3AA1 reg dump is out of range 3AA0 so invalid memory

PR JIRA ID: CPR-43

Change-Id: I3688c6c26751012b15c91e82c4c4f5f6aa195277
Signed-off-by: dan huh <dan.huh@samsung.com>
6 years ago[COMMON] fimc-is2: Modify a vra kthread_stop error handling
dan huh [Mon, 9 Jul 2018 02:05:46 +0000 (11:05 +0900)]
[COMMON] fimc-is2: Modify a vra kthread_stop error handling

- kthread_stop check has to success to kthread_run
- when kthread_run fail, don't has to kthread_stop

PR JIRA ID: CPR-44

Change-Id: Ia9e46173971853f2709cbd39d2345e11fcc9d242
Signed-off-by: dan huh <dan.huh@samsung.com>
6 years agoA/B OTA: Add flags for A/B OTA
Youngwan Kim [Tue, 26 Jun 2018 09:47:23 +0000 (18:47 +0900)]
A/B OTA: Add flags for A/B OTA

Change-Id: I9039f0c6377ee2f5a73bddc9decd12ef8edd3c12
Signed-off-by: Youngwan Kim <y103.kim@samsung.com>
6 years agoAndroid-P: Enable system-as-root
Youngwan Kim [Tue, 26 Jun 2018 09:46:33 +0000 (18:46 +0900)]
Android-P: Enable system-as-root

Change-Id: Iaae43f68b24c346cb7fcb75805695026c3fb6479
Signed-off-by: Youngwan Kim <y103.kim@samsung.com>
6 years agoAndroid-P: Merge into android platform build
Youngwan Kim [Thu, 24 May 2018 23:59:29 +0000 (08:59 +0900)]
Android-P: Merge into android platform build

Change-Id: Ia807111917a538f66d6317d7e4537cee27563a03
Signed-off-by: Youngwan Kim <y103.kim@samsung.com>
6 years ago[9610][ERD] dtsi: camera: seperated camera dtsi
Wooyeon Kim [Wed, 4 Jul 2018 07:16:22 +0000 (16:16 +0900)]
[9610][ERD] dtsi: camera: seperated camera dtsi

seperated erd9610-camera.dtsi camera nodes into
exynos9610-erd9610-camera.dtsi

ISSUE JIRA/PLM ID: N/A
PR JIRA ID: CPR-35

Change-Id: I33bded3b57d62a376a9005d989266e32f3084ee8
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
6 years ago[9610] arm64: dtsi: seperated camera dtsi
Eunyoung Lee [Mon, 2 Jul 2018 09:30:17 +0000 (18:30 +0900)]
[9610] arm64: dtsi: seperated camera dtsi

seperated camera driver nodes at exynos9610.dtsi
into exynos9610-camera.dtsi

ISSUE JIRA/PLM ID: N/A
PR JIRA ID : CPR-35

Change-Id: Iac709953174258333b8d621c899c15a8678dea93
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
6 years ago[COMMON] fimc-is2: seperated RTA_VERSION_OFFSET, DDK_VERSION_OFFSET from FIMC_IS_VERS...
Eunyoung Lee [Tue, 26 Jun 2018 04:13:20 +0000 (13:13 +0900)]
[COMMON] fimc-is2: seperated RTA_VERSION_OFFSET, DDK_VERSION_OFFSET from FIMC_IS_VERSION_OFFSET

Change-Id: I19f0e1f2651cc9725f42420226ac99134cc9c9af
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
6 years ago[9610] fimc-is2: enabled USE_BINAYR_PADDING_DATA_ADDED option for DDK signature
Eunyoung Lee [Mon, 25 Jun 2018 06:26:11 +0000 (15:26 +0900)]
[9610] fimc-is2: enabled USE_BINAYR_PADDING_DATA_ADDED option for DDK signature

Change-Id: I2f2fc89e43937ca8d5f7a35342197eb6e65e0e12
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
6 years ago[COMMON] fimc-is2: modified FIMC_IS_SIGNATURE_SIZE from 272 to 528
Eunyoung Lee [Mon, 25 Jun 2018 06:24:47 +0000 (15:24 +0900)]
[COMMON] fimc-is2: modified FIMC_IS_SIGNATURE_SIZE from 272 to 528

Change-Id: I3de0a47844ef47ea3fe32d1cbc1a0798e60bb580
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
6 years ago[COMMON] fimc-is2: added start/stop bcm debug sync with camera
Eunyoung Lee [Wed, 27 Jun 2018 10:03:04 +0000 (19:03 +0900)]
[COMMON] fimc-is2: added start/stop bcm debug sync with camera

Change-Id: I718692c5608277408a7ae77239ceda4bac5508ba
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
6 years ago[COMMON] fimc-is2: changed reserved memory map for BCM monitoring
Eunyoung Lee [Mon, 25 Jun 2018 04:59:11 +0000 (13:59 +0900)]
[COMMON] fimc-is2: changed reserved memory map for BCM monitoring

Change-Id: I832073b952e7b5dd71f227ea4a6f01aa1d149046
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
6 years ago[9610][ERD] arm64: dts: changed reserve-fimc memory for BCM monitoring
Eunyoung Lee [Mon, 25 Jun 2018 05:01:37 +0000 (14:01 +0900)]
[9610][ERD] arm64: dts: changed reserve-fimc memory for BCM monitoring

Change-Id: I297205e031f1c5ca1342a036ba97ea222d143428
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
6 years ago[COMMON] fimc-is2: modify fps setting in 4h5yc module
SangHyun Sim [Mon, 18 Jun 2018 00:27:37 +0000 (09:27 +0900)]
[COMMON] fimc-is2: modify fps setting in 4h5yc module

Change-Id: I48713776b81a68db2b1ba3d0b03a70b1377c7803
Signed-off-by: SangHyun Sim <sanghyun.sim@samsung.com>
6 years ago[COMMOM] fimc-is2: enable af function(zc533) in maestro
SangHyun Sim [Fri, 8 Jun 2018 06:37:19 +0000 (15:37 +0900)]
[COMMOM] fimc-is2: enable af function(zc533) in maestro

Change-Id: I5ab529755b05e4a19d1fdc047139e6b5c6924aa7
Signed-off-by: SangHyun Sim <sanghyun.sim@samsung.com>
6 years ago[COMMON] fimc-is2: modify 4h5yc module files for maestro
SangHyun Sim [Fri, 8 Jun 2018 06:36:37 +0000 (15:36 +0900)]
[COMMON] fimc-is2: modify 4h5yc module files for maestro

Change-Id: Iea9480cded76805df6603f042cf564d4147ec45d
Signed-off-by: SangHyun Sim <sanghyun.sim@samsung.com>
6 years ago[COMMON] fimc-is2: modify 3l2 module files for maestro
SangHyun Sim [Fri, 8 Jun 2018 06:20:40 +0000 (15:20 +0900)]
[COMMON] fimc-is2: modify 3l2 module files for maestro

Change-Id: I1c03f3829a5ba1574c2d44f7779692bf81a1157c
Signed-off-by: SangHyun Sim <sanghyun.sim@samsung.com>
6 years ago[COMMON] fimc-is2: add preventing logic regarding to pattern generator on/off
Wooki Min [Tue, 29 May 2018 11:16:58 +0000 (20:16 +0900)]
[COMMON] fimc-is2: add preventing logic regarding to pattern generator on/off

The pattern generator should be enabled while camera is not running.
So, a checking state is added if pattern generator can be enable or not.

Change-Id: I0664949d7c31c69d52cfcc68bfbfc7d8928201b4
Signed-off-by: Wooki Min <wooki.min@samsung.com>
6 years ago[COMMON] fimc-is2: force vsync generation
Wooki Min [Thu, 31 May 2018 09:58:14 +0000 (18:58 +0900)]
[COMMON] fimc-is2: force vsync generation

Change-Id: I4f62b3bda66320276e38db614790704e106fb1fa
Signed-off-by: Wooki Min <wooki.min@samsung.com>
6 years ago[COMMON] fimc-is2: modify stream off/on sequence of module for pattern gen
Wooki Min [Wed, 23 May 2018 04:49:32 +0000 (13:49 +0900)]
[COMMON] fimc-is2: modify stream off/on sequence of module for pattern gen

When the pattern generator is used, only sensor module stream on / off is
skipped.

Change-Id: I325f47f6a641be6a6bad1c272935aa4853bac629
Signed-off-by: Wooki Min <wooki.min@samsung.com>
6 years ago[COMMON] fimc-is2: add function of pattern generator disable
Wooki Min [Fri, 1 Jun 2018 08:39:50 +0000 (17:39 +0900)]
[COMMON] fimc-is2: add function of pattern generator disable

Change-Id: I70f34de56de6767db930709b4f81e8323d5c985a
Signed-off-by: Wooki Min <wooki.min@samsung.com>
6 years ago[COMMON] fimc-is2: fix pattern generator timing at csi v5.2 file
Wooki Min [Thu, 24 May 2018 07:07:53 +0000 (16:07 +0900)]
[COMMON] fimc-is2: fix pattern generator timing at csi v5.2 file

The hblank, v_to_hblank and h_to_vblank is fixed value depend on
hardware. And vvalid is calculated by widthm heigh and clock. And vblank
is calculated by fps - vvalid.

Change-Id: I9e8e30710fdd3d4ace7a2233e32bf938b6eb5bc5
Signed-off-by: Wooki Min <wooki.min@samsung.com>
6 years ago[COMMON] fimc-is2: fix pattern generator timing
Wooki Min [Fri, 4 Aug 2017 06:17:31 +0000 (15:17 +0900)]
[COMMON] fimc-is2: fix pattern generator timing

The hblank, v_to_hblank and h_to_vblank is fixed value depend on
hardware. And vvalid is calculated by widthm heigh and clock. And vblank
is calculated by fps - vvalid.

Change-Id: Ia8781a1814bcc8b666ed741813648dec100f8442
Signed-off-by: Wooki Min <wooki.min@samsung.com>
6 years ago[9610] wlbt : Initialization of Newly Introduced cfg80211_roam_info structure from...
Mohit Ghuley [Tue, 3 Jul 2018 12:42:02 +0000 (18:12 +0530)]
[9610] wlbt : Initialization of Newly Introduced cfg80211_roam_info structure from Kernel 4.12.0.

From Kernel 4.12.0, a new structure named cfg80211_roam_info
has been introduced in CFG.
cfg80211_roam_info structure is passed in cfg80211_roamed()
API call from Driver.

But, While initializing this structure in SLSI Wifi Driver,
sta_bss info should not be populated, because the new roamed
sta_bss info is retrieved later via cfg80211_get_bss() API
call from sme.

Change-Id: I65d6cf4de6f67ef055f7051c1e89278a6e11a692
SCSC-Bug-Id:SSB-41479
Signed-off-by: Mohit Ghuley <mohit.ghuley@samsung.com>
6 years agofbdev: dpu20: sync-up dpu panel code
ChiHun Won [Wed, 4 Jul 2018 06:14:41 +0000 (15:14 +0900)]
fbdev: dpu20: sync-up dpu panel code

Change-Id: Ide0732f669b599411308056a795220fd7b4716a6
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
6 years agofbdev: dpu20: sync-up dpu common code
ChiHun Won [Wed, 4 Jul 2018 06:10:34 +0000 (15:10 +0900)]
fbdev: dpu20: sync-up dpu common code

Change-Id: Ifa434bd0a2d91bbf1d5cea3fbbd092ae4a8368c9
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
6 years agofbdev: dpu20: call global contraint check function.
Jiun Yu [Tue, 29 May 2018 06:05:56 +0000 (15:05 +0900)]
fbdev: dpu20: call global contraint check function.

Change-Id: I69723a4fc40628cd62ffb6226f2839d7068b550a
Signed-off-by: Jiun Yu <jiun.yu@samsung.com>
6 years ago[9610] fbdev: dpu20: add win config global wise HW constraint check
ChiHun Won [Sat, 9 Jun 2018 01:47:43 +0000 (10:47 +0900)]
[9610] fbdev: dpu20: add win config global wise HW constraint check

Change-Id: I4baa8b450c01699952b63fd23947240de67d80b2
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
6 years agofbdev: dpu20: CONFIG_EXYNOS9610_BTS is change to CONFIG_EXYNOS_BTS
ChiHun Won [Sat, 9 Jun 2018 01:42:49 +0000 (10:42 +0900)]
fbdev: dpu20: CONFIG_EXYNOS9610_BTS is change to CONFIG_EXYNOS_BTS

Change-Id: Ief51b37323710df884df90e60c41ab8f0a12ae62
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
6 years ago[9610] arm64: dts: parse DPU count and HW limitation
ChiHun Won [Wed, 4 Jul 2018 05:42:44 +0000 (14:42 +0900)]
[9610] arm64: dts: parse DPU count and HW limitation

Change-Id: Iba607dcb247c0a81265278fb8991a567e097dfe6
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
6 years ago[9610] fbdev: dpu20: parse DPU count and HW limitation in CAL
ChiHun Won [Wed, 4 Jul 2018 05:41:54 +0000 (14:41 +0900)]
[9610] fbdev: dpu20: parse DPU count and HW limitation in CAL

Change-Id: I5cb6f5b2bd6ddaf9b9a3afe0d45b1f2747ae21f5
Signed-off-by: ChiHun Won <chihun.won@samsung.com>