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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
ChiHun Won [Wed, 4 Jul 2018 05:41:15 +0000 (14:41 +0900)]
fbdev: dpu20: parse DPU count and HW limitation
Change-Id: Ibbddefc595cf19142a3c2cdfcba508e1af2bd86c
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
ChiHun Won [Wed, 4 Jul 2018 05:30:41 +0000 (14:30 +0900)]
[9610] fbdev: dpu20: implement DPU SFR dump function in CAL
Change-Id: I526f0ecd042a97d5f3ad6a841ef4ae6b09c65050
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
ChiHun Won [Wed, 4 Jul 2018 05:30:01 +0000 (14:30 +0900)]
fbdev: dpu20: implement DPU SFR dump function
Change-Id: I6edab25e9c79b768cc4b0d492b6a245724552682
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
ShinHyung [Wed, 4 Jul 2018 04:34:05 +0000 (13:34 +0900)]
[9610] arm64: dts: fixed DAPM end-point routing
Change-Id: I022c62e9715cf3f44a22b7563e4f930b64d23632
Signed-off-by: ShinHyung <s47.kang@samsung.com>
Boojin Kim [Wed, 4 Jul 2018 10:08:56 +0000 (19:08 +0900)]
chub: disable silent-reset
Change-Id: I08c37f8053b7dd60c664f5ce952a72eaef6094c3
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
Boojin Kim [Wed, 4 Jul 2018 10:07:51 +0000 (19:07 +0900)]
Revert "chub: add itmon notifier"
This reverts commit
eee3f8c0132d4b53b45876d957c55c92b2d14219.
Change-Id: I8cf94c9c0d6ab1464d425e58c17eddcda84bf513
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
Boojin Kim [Wed, 4 Jul 2018 10:07:43 +0000 (19:07 +0900)]
Revert "chub: nanohub: don't reset on chub error status"
This reverts commit
9cdb43034b0d0c882c87ee497bde5fb42c34656c.
Change-Id: I65adec052aeaddfaf15093c750abd13e3967a58f
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
Boojin Kim [Wed, 4 Jul 2018 02:13:55 +0000 (11:13 +0900)]
chub: nanohub: don't reset on chub error status
Change-Id: I0f1da6039a0023674a7741203820ea98e866afc0
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
Boojin Kim [Mon, 2 Jul 2018 12:40:59 +0000 (21:40 +0900)]
chub: add itmon notifier
Change-Id: I3712e75bc92057d41f18b313b6ea60e5a8c910c9
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
Hosung Kim [Mon, 2 Jul 2018 08:00:41 +0000 (17:00 +0900)]
samsung: itmon: modify to find master IPs
This commit modified to find master IPs with M-node.
Change-Id: I8c96b59aea342e724e15accf2a58fe2aa99ea777
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Wooyeon Kim [Tue, 3 Jul 2018 09:59:39 +0000 (18:59 +0900)]
[COMMON] fimc-is2: fix a bug for child group smp processed to close
related Patch review ID : CPR-27
Change-Id: I515c84fe646dc5de615c752b83fb2310b0a68f96
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Youngmin Nam [Tue, 3 Jul 2018 09:51:58 +0000 (18:51 +0900)]
[9610][ERD] arm64: config: run savedefconfig
Change-Id: Id0ed40ae56e28857f337c19e75357bc868cccbd9
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
lakkyung.jung [Tue, 3 Jul 2018 07:02:23 +0000 (16:02 +0900)]
[9610] arm64: erd9610_defconfig: Disable ARMv8.1/8.2 features.
Change-Id: I141139f416297b07f8289870fe76a153cddfb978
Signed-off-by: lakkyung.jung <lakkyung.jung@samsung.com>
yi jaeuk [Wed, 20 Jun 2018 06:23:00 +0000 (15:23 +0900)]
[9610] arm64: dts: remove power-domain regard in cam,isp
Change-Id: Ie00daff8e587ca2bbc640a4f8e561c7c89e22bd2
Signed-off-by: yi jaeuk <ju.yi@samsung.com>
yi jaeuk [Tue, 3 Jul 2018 06:23:08 +0000 (15:23 +0900)]
[9610] soc: samsung: cal-if: Updated PMUCAL guide. (0703)
add save_restore seq in G3D for EMA
Change-Id: Ib6a840571f9bdf5e6a425b6a02c4b07311f8888f
Signed-off-by: yi jaeuk <ju.yi@samsung.com>
ChiHun Won [Tue, 3 Jul 2018 01:54:02 +0000 (10:54 +0900)]
[9610] soc: samsung: cal-if: pmucal read PPMU_DPU SFR
Change-Id: I98a5bdc1c88da05d060a8cf8b86ff309972dd544
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
ShinHyung [Tue, 19 Jun 2018 08:32:26 +0000 (17:32 +0900)]
[9610] ASoC: Changed the sequence in which ABOX enters suspend
Change-Id: I4e9518c79c20a93d5ebafccb81a0053f44cfd69d
Signed-off-by: ShinHyung <s47.kang@samsung.com>
Janghyuck Kim [Wed, 9 May 2018 09:59:00 +0000 (18:59 +0900)]
[COMMON] iommu/exynos: use integer type for no_rpm_control variable
Fix skipping TLB invalidation due to use bool type variable which has
three state.
Change-Id: I4be605abd5cb46295ceb8bb817234a1c3021475e
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
Janghyuck Kim [Tue, 31 Oct 2017 02:15:16 +0000 (11:15 +0900)]
[COMMON] iommu/exynos: add condition for no_rpm_control
If device has no_rpm_control attribute, it is not controlled by runtime
pm and controlled explicitly by exynos_sysmmu_control() API.
However, no_rpm_control attribute is also used for condition checking of
TLB invalidation or showing status API. It always made condition false,
and TLB invalidation or showing status API were skipped.
This patch added condition to prcess these operation if SysMMU has
no_rpm_control attribute and it is enabled by explicit API.
Change-Id: Idaa5789b1616227eae5c162330d3ff41c5cde761
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
Janghyuck Kim [Tue, 17 Oct 2017 10:21:41 +0000 (19:21 +0900)]
[COMMON] iommu/exynos: add sysmmu control interface explicitly
Change-Id: I0d93fcbbdec3a272bb965306a7ad91a37ade3960
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
Jeonghee Kim [Tue, 19 Jun 2018 23:03:00 +0000 (08:03 +0900)]
[COMMON] media: mfc: modified encoder stop sequence
LAST_FRAME command is only needed when in the running state
Change-Id: Iff650d9e11092deced7e2511e065dcb5363302b3
Signed-off-by: Jeonghee Kim <jhhhh.kim@samsung.com>
Youngmin Nam [Thu, 21 Jun 2018 06:09:03 +0000 (15:09 +0900)]
[9610] samsung: exynos-reboot: skip reset disable of big core / big cluster
For cache flush operation in dump gpr situation,
big core and big cluster's reset disable should be skipped.
Change-Id: I10415a86c4aae04be42c0197821c49d0f422779a
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
Daeyeong Lee [Mon, 2 Jul 2018 04:31:07 +0000 (13:31 +0900)]
sched: ems: Resolve prevent issue of ontime
Change-Id: I6e1a00d806def40455d716d650cc813fc1b5b04d
Signed-off-by: Daeyeong Lee <daeyeong.lee@samsung.com>
Sunyoung Kang [Mon, 2 Jul 2018 01:55:21 +0000 (10:55 +0900)]
[9610] arm64: dts: enable mo control
Change-Id: If8e474362a575b7508338629a8c183ecbfa237ae
Signed-off-by: Sunyoung Kang <sy0816.kang@samsung.com>
Yunsu Kim [Mon, 2 Jul 2018 04:39:08 +0000 (13:39 +0900)]
[9610] arm64: dtsi: enable FM elna
Change-Id: If1670907b8ec443371cec89dbab3d60b2f997286
Signed-off-by: Yunsu Kim <iamyunsu.kim@samsung.com>
Yunsu Kim [Mon, 2 Jul 2018 03:57:28 +0000 (12:57 +0900)]
[9610] media: radio: Remove clk control while suspend/resume
Change-Id: I4efab8f8fcbd2eb195ec3fd274e5665f52c64242
Signed-off-by: Yunsu Kim <iamyunsu.kim@samsung.com>
Jiyoung Jeong [Tue, 26 Jun 2018 12:28:08 +0000 (21:28 +0900)]
[9610] drivers: modem_if: Set pda_active to high before initalizing CP
Change-Id: Ifeb5df59671c0e03d7881f56f3b132ca618fd99a
Signed-off-by: Jiyoung Jeong <ji_0.jeong@samsung.com>
Eric Dumazet [Tue, 15 May 2018 04:14:26 +0000 (21:14 -0700)]
tcp: purge write queue in tcp_connect_init()
[ Upstream commit
7f582b248d0a86bae5788c548d7bb5bca6f7691a ]
syzkaller found a reliable way to crash the host, hitting a BUG()
in __tcp_retransmit_skb()
Malicous MSG_FASTOPEN is the root cause. We need to purge write queue
in tcp_connect_init() at the point we init snd_una/write_seq.
This patch also replaces the BUG() by a less intrusive WARN_ON_ONCE()
kernel BUG at net/ipv4/tcp_output.c:2837!
invalid opcode: 0000 [#1] SMP KASAN
Dumping ftrace buffer:
(ftrace buffer empty)
Modules linked in:
CPU: 0 PID: 5276 Comm: syz-executor0 Not tainted 4.17.0-rc3+ #51
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__tcp_retransmit_skb+0x2992/0x2eb0 net/ipv4/tcp_output.c:2837
RSP: 0000:
ffff8801dae06ff8 EFLAGS:
00010206
RAX:
ffff8801b9fe61c0 RBX:
00000000ffc18a16 RCX:
ffffffff864e1a49
RDX:
0000000000000100 RSI:
ffffffff864e2e12 RDI:
0000000000000005
RBP:
ffff8801dae073a0 R08:
ffff8801b9fe61c0 R09:
ffffed0039c40dd2
R10:
ffffed0039c40dd2 R11:
ffff8801ce206e93 R12:
00000000421eeaad
R13:
ffff8801ce206d4e R14:
ffff8801ce206cc0 R15:
ffff8801cd4f4a80
FS:
0000000000000000(0000) GS:
ffff8801dae00000(0063) knlGS:
00000000096bc900
CS: 0010 DS: 002b ES: 002b CR0:
0000000080050033
CR2:
0000000020000000 CR3:
00000001c47b6000 CR4:
00000000001406f0
DR0:
0000000000000000 DR1:
0000000000000000 DR2:
0000000000000000
DR3:
0000000000000000 DR6:
00000000fffe0ff0 DR7:
0000000000000400
Call Trace:
<IRQ>
tcp_retransmit_skb+0x2e/0x250 net/ipv4/tcp_output.c:2923
tcp_retransmit_timer+0xc50/0x3060 net/ipv4/tcp_timer.c:488
tcp_write_timer_handler+0x339/0x960 net/ipv4/tcp_timer.c:573
tcp_write_timer+0x111/0x1d0 net/ipv4/tcp_timer.c:593
call_timer_fn+0x230/0x940 kernel/time/timer.c:1326
expire_timers kernel/time/timer.c:1363 [inline]
__run_timers+0x79e/0xc50 kernel/time/timer.c:1666
run_timer_softirq+0x4c/0x70 kernel/time/timer.c:1692
__do_softirq+0x2e0/0xaf5 kernel/softirq.c:285
invoke_softirq kernel/softirq.c:365 [inline]
irq_exit+0x1d1/0x200 kernel/softirq.c:405
exiting_irq arch/x86/include/asm/apic.h:525 [inline]
smp_apic_timer_interrupt+0x17e/0x710 arch/x86/kernel/apic/apic.c:1052
apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:863
Change-Id: Iee222f98268d346c9d4c09950206e2f97ec6ec0f
Fixes:
cf60af03ca4e ("net-tcp: Fast Open client - sendmsg(MSG_FASTOPEN)")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Yuchung Cheng <ycheng@google.com>
Cc: Neal Cardwell <ncardwell@google.com>
Reported-by: syzbot <syzkaller@googlegroups.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Hosung Kim [Thu, 24 May 2018 11:41:41 +0000 (20:41 +0900)]
[COMMON] lib: dss: remove debug-snapshot-soc.h
debug-snapshot-soc.h file adds to the confusion.
Change-Id: I2d8bb7f2286636ec0c459b7f5aa55c60cf98136d
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Hosung Kim [Thu, 24 May 2018 11:11:50 +0000 (20:11 +0900)]
[COMMON] lib: dss: move soc specific code to helper file
Change-Id: If73ff5cb16d2c51164a00dc02b8a5c63cc9fff45
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Hosung Kim [Wed, 30 May 2018 01:53:47 +0000 (10:53 +0900)]
[COMMON] lib: dss: move spin_unlock logging
spin_lock / spin_unlock functions are logged by DSS, others
logging is protected atomics by irq_disable. So this logging
is protected atomics by spinlock inside.
Change-Id: I0ee6544e325e0b8abad31c7e5f8696aeb21ebb31
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Hosung Kim [Thu, 24 May 2018 04:48:30 +0000 (13:48 +0900)]
[COMMON] lib: dss: change timing to clear DSS_SIGN_PANIC
This commit change timing to clear DSS_SIGN_PANIC because
it works it including panic of leading core
Change-Id: I1fa1bbf187c276935a126b7f6c78629944daa617
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Hosung Kim [Thu, 24 May 2018 04:46:31 +0000 (13:46 +0900)]
[COMMON] lib: dss: support soc_post_reboot_entry/exit
Change-Id: Ifbc756ba82fe3755adaf8272f986151335b4d70c
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Hosung Kim [Thu, 24 May 2018 02:20:21 +0000 (11:20 +0900)]
[COMMON] lib: dss: move cache ops to soc helper
Change-Id: I5e3e6fc620f16dbe38aad741b283c3ec6b116d94
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Hosung Kim [Thu, 24 May 2018 01:47:44 +0000 (10:47 +0900)]
[COMMON] arm64: smp: show system_state explictly
This commit shows system_state explictly for easy
debugging during abnormal reboot / panic / power off
state.
Change-Id: I4917fbda66cabb58b76b19369573980cabed53ca
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Hosung Kim [Mon, 22 May 2017 14:19:55 +0000 (23:19 +0900)]
[COMMON] lib: dss: add spinlock logging
Change-Id: Iba4a6b003f5ab9af4d020d30131bb701d503807e
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Hosung Kim [Tue, 11 Apr 2017 10:12:30 +0000 (19:12 +0900)]
[COMMON] arm64: smp: recall to print other cpu information
This commit reverts following commits it is already merged.
arm64: Reduce verbosity on SMP CPU stop by Jab Glauber.
In mobile, this information is very important to debug.
Change-Id: I1ca149608d70903675b7ff0a98c206e339b45e1e
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Hosung Kim [Mon, 29 May 2017 06:51:50 +0000 (15:51 +0900)]
[COMMON] arm64: kernel: fix show data with regs
This commit fix the situation that it couldn't output register
informatio which is located in vmalloc address because of
kaslr enable. KASLR is the default after 4.6 kernel of arm64.
Change-Id: Ied75938e89d31d1e6386ac88e5e4d9a97f1159e4
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Hosung Kim [Tue, 2 May 2017 09:21:59 +0000 (18:21 +0900)]
[COMMON] arm64: kernel: fix to output extra register info
This commit fixes the align when printing extra register
information.
Change-Id: I2a091b5f06b78274a4bb1908140f10d84798a90b
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Hosung Kim [Tue, 19 Jun 2018 05:38:33 +0000 (14:38 +0900)]
[COMMON] lib: dss: disable to output kworker information
DSS doesn't support to output kworker information anymore
for security and stablity.
Change-Id: If65dc702dba81b56d71af276b6f8d405a895d118
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Hosung Kim [Tue, 19 Jun 2018 05:00:28 +0000 (14:00 +0900)]
[COMMON] lib: dss: fix condition exiting hook hardlockup function
This commit fixes the condition when detecting hardlockup or
allcore hardlockup. If path is return, others should be waited
for 3 seconds. Checking dss_desc.allcorelockup_detected variable
is not valid in this function.
Change-Id: I4f65109368762cd1249a17af8d6d32f1cf873afa
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Hosung Kim [Mon, 18 Jun 2018 11:11:44 +0000 (20:11 +0900)]
Revert "arm64: traps: disable irq in die()"
This reverts commit
6f44a0bacb79a03972c83759711832b382b1b8ac.
This patch causes a hang situation when running hardlockup
detector or fiq debugger or multistage watchdog.
Change-Id: I4ae25ad7671381cc1333d5429790d30cf1a86789
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Donghyeok Choe [Mon, 25 Jun 2018 01:20:14 +0000 (10:20 +0900)]
[9610] lib: dss: fix freq info item information
Change-Id: Ic11ddddfa599e6961b9a4a6954ba4fe10b3d394c
Signed-off-by: Donghyeok Choe <d7271.choe@samsung.com>
Hosung Kim [Thu, 28 Jun 2018 13:15:40 +0000 (22:15 +0900)]
[9610] ASoC: abox: add including itmon header to fix build error
Change-Id: I89f699e5df7e7416c69a4f12b08d9f8b9aa5b645
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Hosung Kim [Thu, 28 Jun 2018 13:03:54 +0000 (22:03 +0900)]
[9610] samsung: itmon: add suport ITMON for exynos9610
Change-Id: Ifb39726e5ddbf0370d575b491dd0946c170754f5
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Gyeongtaek Lee [Thu, 29 Mar 2018 05:37:28 +0000 (14:37 +0900)]
mfd: madera: add delay before enabling regulators
Change-Id: I8fe817cb80a536192f586b95bad3dd87ffb3e456
Signed-off-by: Gyeongtaek Lee <gt82.lee@samsung.com>
Gyeongtaek Lee [Tue, 23 Jan 2018 05:05:00 +0000 (14:05 +0900)]
[9610] mfd: madera: delay for stable ldo on probe
Delay is needed to get stable regulator for DCVDD.
Change-Id: I4f03c68bddf00f7a20e21316f965f6e88b3b2c46
Signed-off-by: Gyeongtaek Lee <gt82.lee@samsung.com>
Gyeongtaek Lee [Thu, 21 Dec 2017 08:22:43 +0000 (17:22 +0900)]
[9610] mfd: madera: delay for stable ldo
Delay is needed to get stable regulator for DCVDD.
Change-Id: I993e8fc48f1cfad3b1413f066fd370232f10753a
Signed-off-by: Gyeongtaek Lee <gt82.lee@samsung.com>
Boojin Kim [Thu, 28 Jun 2018 03:35:14 +0000 (12:35 +0900)]
[COMMON] chub: fix chub driver kernel panic
This patch fixs the following kernel panic
- remove access after free during download_image
- remove invalid chub access
Change-Id: Icd760df4aef48ef7273f3f18fb83aa73d0672a2d
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
Boojin Kim [Fri, 29 Jun 2018 00:43:24 +0000 (09:43 +0900)]
[9610] arm64: dsti: disable pinctrl used on chub
Change-Id: I93e767862f8945b18f07541402a5bf5d5c805b85
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
Sukwon Ryoo [Fri, 29 Jun 2018 07:25:38 +0000 (16:25 +0900)]
[COMMON] chub: modify PMUCAL_SHUB log message
Change-Id: Ia6801b1a759e082691cdd3dfa63cea35e75501a5
Signed-off-by: Sukwon Ryoo <sw.ryoo@samsung.com>
Kisang Lee [Wed, 27 Jun 2018 05:29:24 +0000 (14:29 +0900)]
[COMMON] usb: notify: add TA checking condition
Change-Id: Id7b640d0a81c7383b83ee200ebfc51037858f7c8
Signed-off-by: Kisang Lee <kisang80.lee@samsung.com>
Kisang Lee [Wed, 27 Jun 2018 02:05:43 +0000 (11:05 +0900)]
[COMMON] usb: xhci: move location of wake_unlock for stable
Change-Id: I4c251312240342304a8631d81c63f06a240f4d83
Signed-off-by: Kisang Lee <kisang80.lee@samsung.com>
Boojin Kim [Fri, 22 Jun 2018 03:58:33 +0000 (12:58 +0900)]
[COMMON] chub: support debug feature
this patch supports chub debug feature like dump_hw and dump_log.
Change-Id: I798d964a433f8ab442b4b91c35d92340536e7b4a
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
Boojin Kim [Wed, 20 Jun 2018 05:08:52 +0000 (14:08 +0900)]
[9610][ERD] pmucal: enable shub pmucal
Change-Id: Icd66fe25e208dc901debcf031fc3b2a3aacbd679
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
Sukwon Ryoo [Tue, 19 Jun 2018 03:46:01 +0000 (12:46 +0900)]
[9610] dtsi: modified contexthub(reset mode)
Change-Id: I0d733ac57c0cc7f5a98ff77872dd329a4d7d1162
Signed-off-by: Sukwon Ryoo <sw.ryoo@samsung.com>
Sukwon Ryoo [Thu, 10 May 2018 01:34:13 +0000 (10:34 +0900)]
[9610] soc: samsung: add SMC interface for SHUB
Change-Id: Ie02cdec04dc09d499ed806d3ef61d98c84ff4971
Signed-off-by: Sukwon Ryoo <sw.ryoo@samsung.com>
Byoung Kim [Fri, 20 Apr 2018 13:42:44 +0000 (22:42 +0900)]
[9610] drivers: soc: cal-if: Apply CAL_IF for SHUB
Change-Id: I58b627cb61aaf9832031e2d0b9e35a267c74cc75
Signed-off-by: Byoung Kim <eric.by.kim@samsung.com>
Signed-off-by: Sukwon Ryoo <sw.ryoo@samsung.com>
Sukwon Ryoo [Wed, 16 May 2018 06:54:25 +0000 (15:54 +0900)]
[COMMON] chub: block reset
Change-Id: I498349f9b1832653a69505d36a7cd0cb3412d44e
Signed-off-by: Sukwon Ryoo <sw.ryoo@samsung.com>