GitHub/moto-9609/android_kernel_motorola_exynos9610.git
6 years ago[COMMON] scsi: ufs: add feasuring for ufs cal header
Kiwoong Kim [Tue, 19 Sep 2017 12:28:12 +0000 (21:28 +0900)]
[COMMON] scsi: ufs: add feasuring for ufs cal header

Change-Id: Id300f1930a2eb2796999c4870500d000b01767cd
Signed-off-by: Kiwoong Kim <kwmad.kim@samsung.com>
6 years ago[HACK/COMMON] scsi: ufs: disable pm qos int lock
Kiwoong Kim [Mon, 18 Sep 2017 12:53:28 +0000 (21:53 +0900)]
[HACK/COMMON] scsi: ufs: disable pm qos int lock

Change-Id: I2510968684707fe85e64333df117b06e56224ca5
Signed-off-by: Kiwoong Kim <kwmad.kim@samsung.com>
6 years ago[COMMON] scsi: ufs: change some things to support various projects
Kiwoong Kim [Mon, 18 Sep 2017 04:47:16 +0000 (13:47 +0900)]
[COMMON] scsi: ufs: change some things to support various projects

1. build ufs driver in ww branch
2. choose ufs cal for each project
3. use regmap to access external regions
- phy isolcation
- io coherency
4. choose a way to do dvfs lock for ufs
- it's possible to lock INT domain
5. enumerate ufs clocks in order, not with name
- clock names are changing continously..

Change-Id: I29e807a66fedc86d979906c9ea7ed9b7fa546d85
Signed-off-by: Kiwoong Kim <kwmad.kim@samsung.com>
6 years ago[COMMON] scsi: ufs: Fix a potential bug for using a single ton pointer
Kiwoong Kim [Mon, 26 Jun 2017 13:10:55 +0000 (22:10 +0900)]
[COMMON] scsi: ufs: Fix a potential bug for using a single ton pointer

find_last_bit function is supposed to receive an array pointer
as the first argument. Of course I don't think
most UFS host controllers have more than 64 slots.

If some controllers have more than 64 slosts,
another expression around here using lrb_in_use should be modified.

Change-Id: Ie8960dae813ce7843ea868433d17fbe821bbe5cd
Signed-off-by: Kiwoong Kim <kwmad.kim@samsung.com>
6 years ago[COMMON] scsi: ufs: Fix CID 12297
Kiwoong Kim [Fri, 23 Jun 2017 06:02:20 +0000 (15:02 +0900)]
[COMMON] scsi: ufs: Fix CID 12297

The expression returns a signed value.
A variable to store is unsigned.
A type casting is needed.

Change-Id: Ie11d27130f6c904e08d9831796790d7666ae033f
Signed-off-by: Kiwoong Kim <kwmad.kim@samsung.com>
6 years ago[COMMON] scsi: ufs: Remove one condition to check pm level policy range
Kiwoong Kim [Fri, 23 Jun 2017 05:58:06 +0000 (14:58 +0900)]
[COMMON] scsi: ufs: Remove one condition to check pm level policy range

The second operand is zero and the first operand is unsinged.
Therefore, the condition is meaningless.

Change-Id: Ibdbe83b04c421a6376ab0584117baa57df16af19
Signed-off-by: Kiwoong Kim <kwmad.kim@samsung.com>
6 years ago[COMMON] ufs: exynos: Add TCXO_UFS control API for various drivers
HeonGwang Chu [Mon, 3 Jul 2017 13:56:47 +0000 (22:56 +0900)]
[COMMON] ufs: exynos: Add TCXO_UFS control API for various drivers

If two drivers use tcxo, tcxo on/off control can be possible when
they are both sleep(ON) or only one active(OFF) state.

Change-Id: If4d870088f29a7bafdee1c1e8a5f193d30f6ee87
Signed-off-by: HeonGwang Chu <hg.chu@samsung.com>
6 years ago[COMMON] scsi: ufs: Fix problems in clock enable fail and hibern8 fail cases
HeonGwang Chu [Wed, 5 Jul 2017 04:27:05 +0000 (13:27 +0900)]
[COMMON] scsi: ufs: Fix problems in clock enable fail and hibern8 fail cases

We delete the clearing of saved_err and saved_uic_err in hibern8 ctrl and
add recovery method when ufs clock enable fail cases.These cases had happened
in the previous soc versions.

Change-Id: Ia8dc78c58cd89030075fb63cc29e015bdb8411fa
Signed-off-by: HeonGwang Chu <hg.chu@samsung.com>
6 years ago[COMMON] scsi: ufs: add secure log
HeonGwang Chu [Tue, 20 Jun 2017 07:45:54 +0000 (16:45 +0900)]
[COMMON] scsi: ufs: add secure log

Change-Id: I28257ceec3f3c7ae8186af2099a075535331b7ac
Signed-off-by: HeonGwang Chu <hg.chu@samsung.com>
6 years ago[COMMON] scsi: ufs: add ufs cal v0.0 and dbg for Exynos9610
Kiwoong Kim [Mon, 18 Sep 2017 11:16:23 +0000 (20:16 +0900)]
[COMMON] scsi: ufs: add ufs cal v0.0 and dbg for Exynos9610

Change-Id: Iaf28b8f3145008e79a0937d2f239f3cac07784e2
Signed-off-by: Kiwoong Kim <kwmad.kim@samsung.com>
6 years ago[COMMON] scsi: rpmb: update RPMB drivers
Shinkyu Park [Wed, 24 Jan 2018 12:54:03 +0000 (21:54 +0900)]
[COMMON] scsi: rpmb: update RPMB drivers

[Description]
Initial RPMB drivers on Kernel 4.14

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

Change-Id: I36a79a54618484f67385327ade35425131220551

6 years ago[HACK][COMMON] scsi: ufs: Disable power in suspend
hgchu [Thu, 25 Jan 2018 11:15:58 +0000 (20:15 +0900)]
[HACK][COMMON] scsi: ufs: Disable power in suspend

Change-Id: I8e9170de02617e9f778ebb7f6beb1a5d1ef57be0
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years ago[COMMON] fs: support REQ_AUX_PRIV for diskcipher
Boojin Kim [Wed, 24 Jan 2018 08:06:16 +0000 (17:06 +0900)]
[COMMON] fs: support REQ_AUX_PRIV for diskcipher

Change-Id: Id154b3d819fd7dd706370e106452ee1e25be984c
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
6 years ago[COMMON] ufs: add fmp interface
Boojin Kim [Wed, 24 Jan 2018 08:04:54 +0000 (17:04 +0900)]
[COMMON] ufs: add fmp interface

Change-Id: I1500ed9af17d73f35d39fb7602ab7062027e8d8f
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
6 years ago[COMMON] fmp: add fmp driver
Boojin Kim [Wed, 24 Jan 2018 08:03:23 +0000 (17:03 +0900)]
[COMMON] fmp: add fmp driver

Change-Id: Idf587c60984db4d519464521cb2b96f9746ea0ba
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
6 years ago[COMMON] bio: support diskcipher
Boojin Kim [Wed, 24 Jan 2018 08:01:43 +0000 (17:01 +0900)]
[COMMON] bio: support diskcipher

Change-Id: I61774e13ba45c5a21ea9e08d820534302deaf91d
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
6 years ago[COMMON] crypto: support diskcipher
Boojin Kim [Wed, 24 Jan 2018 08:00:12 +0000 (17:00 +0900)]
[COMMON] crypto: support diskcipher

Change-Id: I7b01a64020d6be4ec0c4344d71e6629db08fe2c6
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
6 years ago[COMMON] smc: add smc call for FMP
Boojin Kim [Wed, 24 Jan 2018 12:55:30 +0000 (21:55 +0900)]
[COMMON] smc: add smc call for FMP

Change-Id: I616270ac95e0375222010d88cd6bf9470eee2ac8
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
6 years ago[COMMON] scsi: ufs: exynos: enable pm features for exynos9810
hgchu [Fri, 19 Jan 2018 04:26:42 +0000 (13:26 +0900)]
[COMMON] scsi: ufs: exynos: enable pm features for exynos9810

Change-Id: I9d35ac0a986623b722fef83ac5d0a465b4f24d5a
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years ago[COMMON] scsi: ufs: Don't select PM_DEVFREQ as default
Soomin Kim [Thu, 11 Jan 2018 12:49:18 +0000 (21:49 +0900)]
[COMMON] scsi: ufs: Don't select PM_DEVFREQ as default

Change-Id: I59fa72b7a6ae9244c784af67643d7c25feb6abec
Signed-off-by: Soomin Kim <sm8326.kim@samsung.com>
6 years ago[COMMON] scsi: ufs: change parameter to int type for gcc 5.x
hgchu [Wed, 17 Jan 2018 05:15:15 +0000 (14:15 +0900)]
[COMMON] scsi: ufs: change parameter to int type for gcc 5.x

Change-Id: I218cb77256abf1decef03671f2b267bee35b7b04
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years ago[COMMON] scsi: ufs: exynos: fix build error for kernel 4.14
hgchu [Fri, 12 Jan 2018 11:42:57 +0000 (20:42 +0900)]
[COMMON] scsi: ufs: exynos: fix build error for kernel 4.14

Change-Id: Id79757849bb55c0b654105231335293e5fcd9f04
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years ago[DO NOT RELEASE][COMMON] ufs: Add reset for DL error
hgchu [Fri, 12 Jan 2018 11:14:16 +0000 (20:14 +0900)]
[DO NOT RELEASE][COMMON] ufs: Add reset for DL error

Change-Id: I75ce1ad29316b95ca1a2bd04cb332c36480d1c64
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years ago[COMMON] ufs: exynos: wait 100 ms for the device busy state
hgchu [Fri, 12 Jan 2018 11:07:43 +0000 (20:07 +0900)]
[COMMON] ufs: exynos: wait 100 ms for the device busy state

Change-Id: I4f2607b9cff87da491fd1fcf920ba80af08168a1
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years ago[COMMON] scsi: ufs: exynos: Add debugging logs for uic errors
hgchu [Fri, 12 Jan 2018 10:57:07 +0000 (19:57 +0900)]
[COMMON] scsi: ufs: exynos: Add debugging logs for uic errors

Change-Id: Id1182e793ea0c98930cb73cb3ccb766d088bf9ca
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years ago[9810] arm64: Add ufs async relink feature
hgchu [Fri, 12 Jan 2018 10:54:07 +0000 (19:54 +0900)]
[9810] arm64: Add ufs async relink feature

Change-Id: Iec19ba58d4fd198a8c96bfafdb2b96411a23e4c4
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years ago[COMMON] scsi: ufs: exynos: remove 2 times link startup
hgchu [Fri, 12 Jan 2018 10:43:00 +0000 (19:43 +0900)]
[COMMON] scsi: ufs: exynos: remove 2 times link startup

Change-Id: Ia4661cbc3bbb2e04a29959986d9880dc750174b2
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years ago[COMMON] ufs: exynos: Add UFS INTR AGGR QUIRK
hgchu [Fri, 12 Jan 2018 10:30:04 +0000 (19:30 +0900)]
[COMMON] ufs: exynos: Add UFS INTR AGGR QUIRK

Change-Id: I8817e25280b8095649ab0cfe8ff396cced921e45
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years ago[COMMON] scsi: ufs: Fix problems in clock enable fail and hibern8 fail cases
hgchu [Fri, 12 Jan 2018 10:26:38 +0000 (19:26 +0900)]
[COMMON] scsi: ufs: Fix problems in clock enable fail and hibern8 fail cases

Change-Id: I33d16b03022baa441cfe101f81364295f3d9f476
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoBOARD: EXYNOS9810: ufs: add exynos specific files
hgchu [Fri, 12 Jan 2018 10:19:25 +0000 (19:19 +0900)]
BOARD: EXYNOS9810: ufs: add exynos specific files

Change-Id: I94018923d8fffc48e4e1e231093ff3ee3bca8c20
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years ago[COMMON] scsi: Get scsi lun for UFS RPMB ioctl cmds
hgchu [Fri, 12 Jan 2018 10:14:08 +0000 (19:14 +0900)]
[COMMON] scsi: Get scsi lun  for UFS RPMB ioctl cmds

Change-Id: I8d6f94bb07b9c0708982a0cdd64a21c6108f872e
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: ufs: Add UFS fatal error handling
hgchu [Fri, 12 Jan 2018 08:34:41 +0000 (17:34 +0900)]
scsi: ufs: Add UFS fatal error handling

Change-Id: I42fc3930f74c571a34d487b2511dd0a1916a430b
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years ago[COMMON] scsi: ufs: exynos: Add ufs dump logs for rare problems
hgchu [Fri, 12 Jan 2018 08:29:35 +0000 (17:29 +0900)]
[COMMON] scsi: ufs: exynos: Add ufs dump logs for rare problems

Change-Id: Iad925aead0912a7c7d706a071dbe8c971267eaa3
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years ago[COMMON] scsi: ufs: exynos: update error handling code when probe
hgchu [Fri, 12 Jan 2018 08:21:55 +0000 (17:21 +0900)]
[COMMON] scsi: ufs: exynos: update error handling code when probe
     fail

Change-Id: I361172149f78a136ce88179cf3f989e7ae7c63f2
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years ago[COMMON] ufs: Add UFS cmd logging
hgchu [Fri, 12 Jan 2018 08:19:01 +0000 (17:19 +0900)]
[COMMON] ufs: Add UFS cmd logging

Change-Id: I1351d79793480cf8ebf596f8860c976ee8c607d2
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years ago[COMMON] scsi: ufs: exynos: Add reset ctrl for ufs sleep/wake
hgchu [Fri, 12 Jan 2018 08:02:21 +0000 (17:02 +0900)]
[COMMON] scsi: ufs: exynos: Add reset ctrl for ufs sleep/wake

Change-Id: I2a26c1690a211dd3d040fe6b37c6e43c39d2fa9b
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years ago[DO NOT RELEASE][COMMON] scsi: ufs: exynos: Block the abnomal IO
hgchu [Fri, 12 Jan 2018 07:53:11 +0000 (16:53 +0900)]
[DO NOT RELEASE][COMMON] scsi: ufs: exynos: Block the abnomal IO

Change-Id: I83f3df56369a0b642e61557cde4fe73a45e36533
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years ago[COMMON] ufs: add two cases for UFSHCD_QUIRK_GET_GENERRCODE_DIRECT
hgchu [Fri, 12 Jan 2018 07:46:20 +0000 (16:46 +0900)]
[COMMON] ufs: add two cases for UFSHCD_QUIRK_GET_GENERRCODE_DIRECT

Change-Id: Ie2c3d9ff0499572f7e56357b4097c7040615b550
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years ago[COMMON] scsi: ufs: Add UFS 1 lane driver
hgchu [Fri, 12 Jan 2018 07:37:27 +0000 (16:37 +0900)]
[COMMON] scsi: ufs: Add UFS 1 lane driver

Change-Id: I2fecb0769c44bd14507d00657b1ccec4cd6fb953
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years ago[COMMON] scsi: ufs: exynos: add an auxiliary sfr dump
hgchu [Fri, 12 Jan 2018 07:31:51 +0000 (16:31 +0900)]
[COMMON] scsi: ufs: exynos: add an auxiliary sfr dump

Change-Id: Ib98c369d7b848ad2e1bbc9864e6b300da571975a
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years ago[COMMON] scsi: ufs: exynos: change unique number to 18 digits from 16
hgchu [Fri, 12 Jan 2018 07:25:09 +0000 (16:25 +0900)]
[COMMON] scsi: ufs: exynos: change unique number to 18 digits from 16

Change-Id: I3942c0e564633005c665801132a1a15ecc585651
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years ago[COMMON] scsi: ufs: check the unipro result directly
hgchu [Fri, 12 Jan 2018 07:19:58 +0000 (16:19 +0900)]
[COMMON] scsi: ufs: check the unipro result  directly

Change-Id: I322e86ad853f538f67086f1f6eefcf42a760d53c
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years ago[COMMON] scsi: ufs: SKIP the interrupt aggregation reset when tasks
hgchu [Fri, 12 Jan 2018 07:09:38 +0000 (16:09 +0900)]
[COMMON] scsi: ufs: SKIP the interrupt aggregation reset when tasks

Change-Id: I5d0dd4a754eef7fe34145f027891e9c13db5b5df
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years ago[COMMON] scsi: add ioctl for UFS RPMB
hgchu [Fri, 12 Jan 2018 07:06:23 +0000 (16:06 +0900)]
[COMMON] scsi: add ioctl for UFS RPMB

Change-Id: I8c2159112235b80b567571d9e87add1e85fd5fbb
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years ago[COMMON] scsi: ufs: add information into log msg on task abort
hgchu [Fri, 12 Jan 2018 06:47:41 +0000 (15:47 +0900)]
[COMMON] scsi: ufs: add information into log msg on task abort

Change-Id: I168e1bd870e689865f73c122b9e9fc221796a2c1
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years ago[COMMON] scsi: ufs: add sysfs to monitor UFS behaviors
hgchu [Fri, 12 Jan 2018 06:44:28 +0000 (15:44 +0900)]
[COMMON] scsi: ufs: add sysfs to monitor UFS behaviors

Change-Id: I2d6bc6ac4a18a51ab490996f333ab375746842c6
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years ago[COMMON] scsi: ufs: asynchronous link establishment on UFS resume
hgchu [Fri, 12 Jan 2018 06:35:04 +0000 (15:35 +0900)]
[COMMON] scsi: ufs: asynchronous link establishment on UFS resume

Change-Id: I62f0259277959fa90590f5823adbe3bc7fbc2ccd
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years ago[COMMON] scsi: ufs: move notifying bus reset into other location
hgchu [Fri, 12 Jan 2018 06:25:37 +0000 (15:25 +0900)]
[COMMON] scsi: ufs: move notifying bus reset into other location

Change-Id: Icfb7772f7bf067becdce952b088c1c2e02f58315
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years ago[9810] arm64: configs: add configs for UFS
hgchu [Fri, 12 Jan 2018 06:13:47 +0000 (15:13 +0900)]
[9810] arm64: configs: add configs for UFS

Change-Id: I5de25c8d3d73972ec8d42c653dfd40ff7ecc493a
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years ago[COMMON] scsi: ufs: exynos: code refactoring for maintenance
hgchu [Fri, 12 Jan 2018 06:10:54 +0000 (15:10 +0900)]
[COMMON] scsi: ufs: exynos: code refactoring for maintenance

Change-Id: Ic4ac0c4bdb7b2a8706fb901036519b67ad3d83ab
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: ufs: add ioctl in UFS driver
hgchu [Fri, 12 Jan 2018 05:55:23 +0000 (14:55 +0900)]
scsi: ufs: add ioctl in UFS driver

Change-Id: I7668678f46a49045f76631ac25febf9b8a944f5a
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: ufs: set 4KB alignment for UFS FFU
hgchu [Fri, 12 Jan 2018 05:50:33 +0000 (14:50 +0900)]
scsi: ufs: set 4KB alignment for UFS FFU

Change-Id: I940459a3f3c45ef446968a4e028ef000261cf91a
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: ufs: change an order of vs resume and power control
hgchu [Fri, 12 Jan 2018 05:47:16 +0000 (14:47 +0900)]
scsi: ufs: change an order of vs resume and power control

Change-Id: Ic608651530d6e3b92c0aafe4f03be95844b939c0
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: ufs: enter hibernation when requested link mode is off
hgchu [Fri, 12 Jan 2018 05:35:57 +0000 (14:35 +0900)]
scsi: ufs: enter hibernation when requested link mode is off

Change-Id: Iab8b25ee8b9f12cf060f265fd6b14f234a5c9b32
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: do not async suspend for scsi devices
hgchu [Fri, 12 Jan 2018 05:30:56 +0000 (14:30 +0900)]
scsi: do not async suspend for scsi devices

Change-Id: I19209feb10653ef0ddb08c242004cad080469233
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: ufs: add pre clock controls.
hgchu [Fri, 12 Jan 2018 05:18:03 +0000 (14:18 +0900)]
scsi: ufs: add pre clock controls.

Change-Id: I0356bd21c9a698b9c7d82682cc10b5fbd3127a8a
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: ufs: remove forced selection of ondemand governor
hgchu [Fri, 12 Jan 2018 05:10:03 +0000 (14:10 +0900)]
scsi: ufs: remove forced selection of ondemand governor

Change-Id: I8a98ed11daaac67fa74bc6bf2b02d13603bc408c
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: ufs: move unmap from ISR to Soft IRQ
hgchu [Fri, 12 Jan 2018 04:41:16 +0000 (13:41 +0900)]
scsi: ufs: move unmap from ISR to Soft IRQ

Change-Id: I4cbdb3904838ffdb82338b71463f523020d51f53
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: change scsi_softirq_done as external
hgchu [Fri, 12 Jan 2018 04:31:16 +0000 (13:31 +0900)]
scsi: change scsi_softirq_done as external

Change-Id: I1f25d7054c3868f77d4589425455ccd8fcf04969
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: ufs: load debugging information to memory
hgchu [Fri, 12 Jan 2018 04:28:54 +0000 (13:28 +0900)]
scsi: ufs: load debugging information to memory

Change-Id: I88953cc61f44795b5c90186a0214e2c659f31b67
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years ago[COMMON] ufs: exynos: fix race of error recovery
hgchu [Fri, 12 Jan 2018 04:24:38 +0000 (13:24 +0900)]
[COMMON] ufs: exynos: fix race of error recovery

There are some race condition.when hci sfr dump starts in error handler,
if hibernation exit function send uic cmd with uic errors then race happens.
Therefore we make hibernation exit skip to send uic cmd when uic errors
happens.

Change-Id: I261f1cecca4210ddda6088d784790923373ae18d
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: ufs: use link lost interrupt
hgchu [Fri, 12 Jan 2018 04:22:48 +0000 (13:22 +0900)]
scsi: ufs: use link lost interrupt

Change-Id: Idd5cf6b68d03cd3756536cf67e2151e7ba575866
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: ufs: fix data segment length for upiu header
hgchu [Fri, 12 Jan 2018 04:14:44 +0000 (13:14 +0900)]
scsi: ufs: fix data segment length for upiu header

Change-Id: I3f1c16422c32809390c83dc4391f396b9e9b0ad6
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: ufs: add dedicated workqueue with high priority
hgchu [Fri, 12 Jan 2018 04:12:25 +0000 (13:12 +0900)]
scsi: ufs: add dedicated workqueue with high priority

Change-Id: Id317ef9527702ae7a2d5b85f51fddc0a4aaa5c84
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: ufs: clean-up remained cmd on abort-handling
hgchu [Fri, 12 Jan 2018 04:06:10 +0000 (13:06 +0900)]
scsi: ufs: clean-up remained cmd on abort-handling

Change-Id: Iee3000f142cd9ef969f351c22810d7f17724c29f
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: ufs: guarantee link's active state for device management
hgchu [Fri, 12 Jan 2018 03:58:56 +0000 (12:58 +0900)]
scsi: ufs: guarantee link's active state for device management

Change-Id: I5655825ab08281495abd0051a4c73799a32cee3d
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: ufs: fix ufs power mode and link power state
hgchu [Fri, 12 Jan 2018 03:51:40 +0000 (12:51 +0900)]
scsi: ufs: fix ufs power mode and link power state

Change-Id: Id9e4677e5e8c71aa060a922b75eba8a84f42d00d
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: ufs: do not permit hibernation op during link-setup
hgchu [Fri, 12 Jan 2018 03:49:17 +0000 (12:49 +0900)]
scsi: ufs: do not permit hibernation op during link-setup

Change-Id: I2a2e1bb7896030c87289ce13748b48be7cc6146f
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: ufs: prevent i/o request during recovery-seq
hgchu [Fri, 12 Jan 2018 03:43:34 +0000 (12:43 +0900)]
scsi: ufs: prevent i/o request during recovery-seq

Change-Id: I658dd2d95dcda721a9cd8ee8af50968975adc718
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: ufs: recover link state after entering hibernation fails
hgchu [Fri, 12 Jan 2018 02:34:29 +0000 (11:34 +0900)]
scsi: ufs: recover link state after entering hibernation fails

Change-Id: I9dccb778410033510e6e38ee399c93ce721a4a36
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: ufs: allow fake clock gating
hgchu [Fri, 12 Jan 2018 02:26:28 +0000 (11:26 +0900)]
scsi: ufs: allow fake clock gating

Change-Id: Iff1f258be4ec2375e32bbea85f0fb49d97c87d18
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: ufs: guarantee hold and release for vendor's operation
hgchu [Fri, 12 Jan 2018 02:12:10 +0000 (11:12 +0900)]
scsi: ufs: guarantee hold and release for vendor's operation

Change-Id: I966cd27b854a8fff23c76fbd01ae8c638d01f1d8
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: ufs: detect data link error and recovery
hgchu [Fri, 12 Jan 2018 02:07:49 +0000 (11:07 +0900)]
scsi: ufs: detect data link error and recovery

Change-Id: I7418d2c071e737b1a4de5248e97bb0735af65975
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: ufs: don't do anything during error recovery during error
hgchu [Fri, 12 Jan 2018 02:00:55 +0000 (11:00 +0900)]
scsi: ufs: don't do anything during error recovery during error

Change-Id: Ie43735be58a7afd20a32e88e73b7a11a29db28a3
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: ufs: add caps info for platform init
hgchu [Fri, 12 Jan 2018 01:57:00 +0000 (10:57 +0900)]
scsi: ufs: add caps info for platform init

Change-Id: I70fccbd21232c6e41fad7841a4c21c951a3b7546
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: ufs: Add support hibernation control
hgchu [Fri, 12 Jan 2018 01:49:15 +0000 (10:49 +0900)]
scsi: ufs: Add support hibernation control

Change-Id: I40feacabe23011491cfb24119ba4d861dfbd738d
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: ufs: adjusted UFS power management for exynos specific
hgchu [Fri, 12 Jan 2018 01:32:29 +0000 (10:32 +0900)]
scsi: ufs: adjusted UFS power management for exynos specific

Change-Id: I151e77eb1f5f2703e33cd4e9834204a9fa66f88c
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: ufs: add error check during link setup
hgchu [Fri, 12 Jan 2018 01:25:40 +0000 (10:25 +0900)]
scsi: ufs: add error check during link setup

Change-Id: I98eafd045b2e75726e77a9907de3bae571d86093
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: ufs: identify nexus type
hgchu [Fri, 12 Jan 2018 01:18:20 +0000 (10:18 +0900)]
scsi: ufs: identify nexus type

Change-Id: I67e722d443fbf576b7f0a5e1f10bcd84fdae71d8
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: ufs: get deivce descriptor information
hgchu [Fri, 12 Jan 2018 01:12:48 +0000 (10:12 +0900)]
scsi: ufs: get deivce descriptor information

Change-Id: Ifcadfbdbc0e954de726d28a7a33a1c8665123e47
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: ufs: fix to clear the bit of outstanding_tasks
hgchu [Fri, 12 Jan 2018 01:04:23 +0000 (10:04 +0900)]
scsi: ufs: fix to clear the bit of outstanding_tasks

Change-Id: I5f24c3783eca5102b5b3c098cfcd39d75a0f451a
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: ufs: Add sysfs node for argos
hgchu [Fri, 12 Jan 2018 01:01:12 +0000 (10:01 +0900)]
scsi: ufs: Add sysfs node for argos

Change-Id: I89c56c18c57923ab80328ea2f2c987c50e9d12c4
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: ufs: fix error handling sequence
hgchu [Fri, 12 Jan 2018 00:54:59 +0000 (09:54 +0900)]
scsi: ufs: fix error handling sequence

Change-Id: Id7a538dba09e8efe5ea43b9d0fa329717c6e78ea
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: ufs: amend ufs host for exynos8890 evt1
hgchu [Fri, 12 Jan 2018 00:34:19 +0000 (09:34 +0900)]
scsi: ufs: amend ufs host for exynos8890 evt1

Change-Id: Ic77815f6364bf42af7b7c51f410fcf6f51e7c980
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: ufs: add quirks for specific ufshci
hgchu [Fri, 12 Jan 2018 00:17:26 +0000 (09:17 +0900)]
scsi: ufs: add quirks for specific ufshci

Change-Id: I4f69c3f4a465b90b31472ffe838c185298f840c4
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: ufs: add exynos host controller
hgchu [Thu, 11 Jan 2018 23:55:09 +0000 (08:55 +0900)]
scsi: ufs: add exynos host controller

Change-Id: I6009c8a9e759f04844eb2597a6a422caca38271c
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years agoscsi: ufs: add vendor's specific operation
hgchu [Thu, 11 Jan 2018 23:28:12 +0000 (08:28 +0900)]
scsi: ufs: add vendor's specific operation

Change-Id: Id53ebff96cbda110ba1d3d37fde66605edec09f7
Signed-off-by: hgchu <hg.chu@samsung.com>
6 years ago[9610] firmware: add ACPM TMU plugin binary
yi jaeuk [Fri, 4 May 2018 11:51:03 +0000 (20:51 +0900)]
[9610] firmware: add ACPM TMU plugin binary

Change-Id: I8fe6115b908ba7a0cc273cc69ba29979207c5544
Signed-off-by: yi jaeuk <ju.yi@samsung.com>
6 years ago[9610] firmware: add ACPM FVP plugin binary
yi jaeuk [Fri, 4 May 2018 09:21:40 +0000 (18:21 +0900)]
[9610] firmware: add ACPM FVP plugin binary

Change-Id: I99fd952d35cd61b49cafe01b246a6adb8024e215
Signed-off-by: yi jaeuk <ju.yi@samsung.com>
6 years ago[COMMON] firmware: Makefile: convert ihex2fw
yi jaeuk [Fri, 4 May 2018 12:08:32 +0000 (21:08 +0900)]
[COMMON] firmware: Makefile: convert ihex2fw

Change-Id: I1486470ff0718627fdc938a1220523e8d1cf3f19
Signed-off-by: yi jaeuk <ju.yi@samsung.com>
6 years ago[COMMON] support exynos in-kernel firmware
Eunseok Choi [Fri, 2 Feb 2018 05:36:32 +0000 (14:36 +0900)]
[COMMON] support exynos in-kernel firmware

Change-Id: I7bc8caa1079d60c40e9ab6643b25be1bab4089d0
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
6 years ago[HACK][9610] drivers: acpm: set NULL to acpm_mfd_node
yi jaeuk [Fri, 4 May 2018 09:14:28 +0000 (18:14 +0900)]
[HACK][9610] drivers: acpm: set NULL to acpm_mfd_node

Change-Id: I5cd662400604e46fd2868972634d47f639cc48ec
Signed-off-by: yi jaeuk <ju.yi@samsung.com>
6 years ago[9610] include: chip_id: add exynos9810 chip_id
yi jaeuk [Fri, 4 May 2018 08:50:21 +0000 (17:50 +0900)]
[9610] include: chip_id: add exynos9810 chip_id

Change-Id: I8206d813c467fb65f0bc90b53276ff5a74c49fb1
Signed-off-by: yi jaeuk <ju.yi@samsung.com>
6 years ago[9610] arm64: configs: Enable ACPM
yi jaeuk [Fri, 4 May 2018 07:17:59 +0000 (16:17 +0900)]
[9610] arm64: configs: Enable ACPM

Change-Id: Ib2504642fe9ec1dbe6f544beb7e2b27a506dc4ad
Signed-off-by: yi jaeuk <ju.yi@samsung.com>
6 years ago[COMMON] include: soc: modify exynos_ss for acpm
Naeun Yoo [Thu, 11 Jan 2018 13:24:18 +0000 (22:24 +0900)]
[COMMON] include: soc: modify exynos_ss for acpm

Change-Id: I6acd82ca5963b45e9bc349beb1455f0689616a86
Signed-off-by: Naeun Yoo <ne.yoo@samsung.com>
6 years ago[9610] arm64: dtsi: add ACPM node
yi jaeuk [Fri, 4 May 2018 07:08:22 +0000 (16:08 +0900)]
[9610] arm64: dtsi: add ACPM node

Change-Id: I85207444f120a04a9ceff37a39d866f60227d804
Signed-off-by: yi jaeuk <ju.yi@samsung.com>
6 years ago[COMMON] drivers: soc: add acpm driver to Kconfig, Makefile
yi jaeuk [Fri, 4 May 2018 06:51:15 +0000 (15:51 +0900)]
[COMMON] drivers: soc: add acpm driver to Kconfig, Makefile

Change-Id: I94895563f73b763c5df84534d00396c7f11c0161
Signed-off-by: yi jaeuk <ju.yi@samsung.com>
6 years ago[9610] drivers: soc: introduce ACPM driver
yi jaeuk [Fri, 4 May 2018 05:24:42 +0000 (14:24 +0900)]
[9610] drivers: soc: introduce ACPM driver

Change-Id: I74dca6a17cf3d2b1189371d9c9d8c5a52e9bd70b
Signed-off-by: yi jaeuk <ju.yi@samsung.com>
6 years ago[9610] arm64: dtsi: Corrected clock node.
Jang JeongHoon [Fri, 4 May 2018 05:36:48 +0000 (14:36 +0900)]
[9610] arm64: dtsi: Corrected clock node.

Change-Id: Ie71e26cd57ffd25f2d6fe4ac0d4bbcf7da02391d
Signed-off-by: Jang JeongHoon <jnghn.jang@samsung.com>
6 years ago[9610] arm64: erd9610_defconfig: Enabled CONFIG_ECT.
Jang JeongHoon [Fri, 4 May 2018 05:28:24 +0000 (14:28 +0900)]
[9610] arm64: erd9610_defconfig: Enabled CONFIG_ECT.

Change-Id: I4f0115ed16c6d62e927a46444cca950dced3439d
Signed-off-by: Jang JeongHoon <jnghn.jang@samsung.com>