samsung3 [Wed, 16 Jan 2019 12:21:35 +0000 (20:21 +0800)]
[HACK][9610] fimc-is2: disable GM1SP gyro temporary
- w/gyro, stream on wait time is abnormal (about 100ms)
so after setting fixed, it will revert
Change-Id: Icd6cc5b5e2231abfc4d6cb89881ba489b1da8d31
Signed-off-by: samsung3 <wooy88.kim@samsung.com>
Wooyeon Kim [Sat, 12 Jan 2019 07:39:47 +0000 (16:39 +0900)]
[9610][Robusta2] dtsi: camera: set rear default multi_ch to 1
- set rear multi_ch default to "1" for PIP sceanrio
(for not modified during streaming)
Change-Id: Ica62d13f22154bafaf1e2261856f8bc6a4d2c026
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
huangzq2 [Wed, 23 Jan 2019 00:42:13 +0000 (08:42 +0800)]
Disable charGing via sysfs
Change-Id: I343895372db2576fb71534309c7d875538d1e24e
Signed-off-by: huangzq2 <huangzq2@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1298890
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wei Xu <xuwei9@mt.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
zhaoxp3 [Tue, 22 Jan 2019 02:22:19 +0000 (10:22 +0800)]
arm/dts: add Troika init dts
init device tree for Troika
Change-Id: I8c89161bbf5e4c0022f5765c3e69fde3cc78f3cb
Signed-off-by: zhaoxp3 <zhaoxp3@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1298023
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key
zhaoxp3 [Tue, 22 Jan 2019 02:18:33 +0000 (10:18 +0800)]
defconfig: add config for Troika
add kernel config for Troika product
Change-Id: Iaf13a1f0ac1abe47c5b05698d5ff9dac123cae16
Signed-off-by: zhaoxp3 <zhaoxp3@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1298022
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key
a17671 [Mon, 21 Jan 2019 09:31:14 +0000 (17:31 +0800)]
Add the support of usb secure hardware checking
Usb secure hardware checking does not exist on samsung platform
Add the support after security feature ready
Change-Id: I16b8ebd5ef57144c9c23adc897f562890b6e53b4
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1297617
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Wen Xie [Fri, 18 Jan 2019 03:36:57 +0000 (11:36 +0800)]
arm64/dts: Update Capsensor parameters
SX933X: merge SAR sensor parameters,
this parameters only for moto.
52_51_dvt2_user_ver_pre_release.
Change-Id: I3d2a5292c8f2870103f0b8e22cb10d5afc8fb2ec
Signed-off-by: Wen Xie <xiewen3@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1296646
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Zhangqing Huang [Thu, 17 Jan 2019 08:55:16 +0000 (02:55 -0600)]
Revert Enable CFI on debug build
This reverts commit
212c97dd8ded53c0029346387ef7001e41b9fc16.
Change-Id: I1564e753e0ec16b2fde0d47c7a8fa09d8c98ec67
Reviewed-on: https://gerrit.mot.com/
1296049
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
a17671 [Thu, 17 Jan 2019 07:49:00 +0000 (15:49 +0800)]
Revert "usbpd:Fix the usbpd interrupt storm issue"
This reverts commit
636afbc58ed019b48aab5637d06d1c005a6d780a.
Samsung change the interrupt from level to falling edge
Revert the moto change to fix the usb pd storm
Mot-CRs-fixed:(CR)
Change-Id: I7bd5bd2ba2d2bf1e14655d48a4c8d0deb40991f4
Reviewed-on: https://gerrit.mot.com/
1296008
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
huangzq2 [Wed, 16 Jan 2019 09:58:38 +0000 (17:58 +0800)]
Enable CFI on debug build
Change-Id: Ibb2f6cbb240caabdc9ece15bde2a4804acf567a3
Signed-off-by: huangzq2 <huangzq2@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1295306
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Yao Zhengming [Tue, 15 Jan 2019 03:28:54 +0000 (22:28 -0500)]
ASOC:Pick Patch from ODM's Base
(CR):[Kane][audio]kernel:get the enum by read hard status
sometimes the enum show wrong
Change-Id: I1eea4a01c05e9d9e49508f54d3e5ac6281dbda3f
Signed-off-by: zhangjiaquan <zhangjiaquan@huaqin.com>
Signed-off-by: yaozm1 <yaozm1@mt.com>
Reviewed-on: https://gerrit.mot.com/
1295695
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
yaozm1 [Thu, 17 Jan 2019 02:16:48 +0000 (10:16 +0800)]
ASOC:Patch from cirrus to fix sound loss issue
extcon: madera: Don't clamp manually on cs47l35
There is no reason to manually clamp on cs47l35 the automatic clamping
is perfectly functional.
This fix the issue for sound loss during voice call when hs is
frequently inserted/removed.
Change-Id: I0fbd9113f7670d236f93b04034cfc385fdf736cc
Signed-off-by: yaozm1 <yaozm1@mt.com>
Reviewed-on: https://gerrit.mot.com/
1295665
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
yaozm1 [Tue, 15 Jan 2019 05:44:59 +0000 (13:44 +0800)]
arm/dts:Update Marley DTS Config
Set marley dsp3 bin config to "none"
This will avoid driver's try to seek binary not existing
Change-Id: Ic0222672a3870f166f684a65f2936a1e4b3cc252
Signed-off-by: yaozm1 <yaozm1@mt.com>
Reviewed-on: https://gerrit.mot.com/
1294208
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
xuwei9 [Mon, 14 Jan 2019 05:10:47 +0000 (13:10 +0800)]
kernel:avoid FG reset algorithm
Avoid FG reset
algorithm
Change-Id: I0a58b08d35a9db5335412a2137a71b4958760008
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/
1293527
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
zhaoxp3 [Fri, 11 Jan 2019 08:08:36 +0000 (16:08 +0800)]
printk: LOG_LINE_MAX to 2048 - PREFIX_MAX
To output command line completely in kernel log
Change-Id: I5ff1c905cf42f2b2847fa5c1971c9185d6cadb1d
Signed-off-by: zhaoxp3 <zhaoxp3@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1292880
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Submit-Approved: Jira Key
dengwei1 [Thu, 10 Jan 2019 07:38:54 +0000 (15:38 +0800)]
kane: input update nvt touch fw 04
input update nvt touch fw 04
as keypart
Change-Id: I249617f57e2cc47c16d0d84d37cfbe21b4d06850
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1292071
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
luodw1 [Wed, 9 Jan 2019 02:48:29 +0000 (10:48 +0800)]
power:add UTC time when entry and exit suspend
Change-Id: I1cb923cd01cec3c669dde0789a8c51a870d394fe
Signed-off-by: luodw1 <luodw1@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1291266
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
xuwei9 [Wed, 9 Jan 2019 09:00:25 +0000 (17:00 +0800)]
kernel:fuelgauge change
Change-Id: I220cb485941b70c2e53e22fb2123ca82dcc17009
lingsen1 [Wed, 9 Jan 2019 11:30:45 +0000 (19:30 +0800)]
xuwei9 fix build error
Change-Id: I5282618ec66d0a7689d7529d16a16da3ffd22684
a17671 [Tue, 8 Jan 2019 01:35:45 +0000 (09:35 +0800)]
usb:f_midi:Correct the midi function name for binding
The f_midi function name has to be midi
Otherwise, the rc file will have problem of binding the function
Change-Id: I2b3e61f70fb9b260731eabd5fe6bf10da72c540a
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1290747
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
xuwei9 [Mon, 7 Jan 2019 07:18:43 +0000 (15:18 +0800)]
kernel:battery temperature is zero during power on
battery temp is zero during
power on
Change-Id: If07b1b50e4ee49034ddc6f2064bb5f97271565d0
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/
1290370
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
xuwei9 [Tue, 25 Dec 2018 03:20:56 +0000 (11:20 +0800)]
kernel:update aws vibrator parameter
update aws vibrator
parameter
Change-Id: Ibf68635fc4f223c0762edc03336351974be02505
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/
1286853
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
wangwang [Fri, 4 Jan 2019 05:14:05 +0000 (13:14 +0800)]
secu:kernel:add OEM partition into avb mount fstab
oem is added into vbmeta as part of avb2.0 secure boot chain
kernel fstab must add oem node as the mount point
Change-Id: I290651f4b0527261dcf15d1910339105a0003220
Reviewed-on: https://gerrit.mot.com/
1289718
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Dingwei Luo <luodw1@motorola.com>
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Submit-Approved: Jira Key
Yoon (Seungyoon) Lee [Wed, 26 Dec 2018 06:19:58 +0000 (00:19 -0600)]
ASoC: wm_adsp: use new 'cirrus' node
We have Kane only in this new platform so far and this is good
chance to transit to use new 'cirrus' node instead of old 'wlf'
node since we don't have any old products dt in this branch yet.
Change-Id: I31f883043913f287da62f8a39ca6a828c2b5da3a
Signed-off-by: Yoon (Seungyoon) Lee <w22905@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1287049
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Zhengming Yao <yaozm1@mt.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Yoon (Seungyoon) Lee [Wed, 26 Dec 2018 06:24:12 +0000 (00:24 -0600)]
arm/dts: kane: use new 'cirrus' adsp nodes
use new 'cirrus' adsp nodes instead of old 'wlf' nodes to get
more flexibility and to remove redundancy from wm_adsp driver.
Change-Id: Ie4e282387cd247d9e8e334a6244558466948fdc3
Signed-off-by: Yoon (Seungyoon) Lee <w22905@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1287050
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Zhengming Yao <yaozm1@mt.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
xuwei9 [Thu, 3 Jan 2019 06:18:50 +0000 (14:18 +0800)]
kernel:battery driver avoid i2c operation before suspend
avoid i2c operation before
suspspend in case i2c error
Change-Id: I1e570242913797114d0479534cc36d8e575fb930
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/
1289230
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
zhangh12 [Thu, 27 Dec 2018 07:40:22 +0000 (15:40 +0800)]
remove selinux and etc from dts.
Change-Id: I3e754ea559fed89bf4de20f0bc04d89ae9bf9c0e
Signed-off-by: zhangh12 <zhangh12@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1287388
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
xuwei9 [Thu, 27 Dec 2018 05:32:32 +0000 (13:32 +0800)]
kernel:Add battery profile update flag
Add battery profile
update flag
Change-Id: I3ae1eca91ea30c6b09ce8f85d1186eb845be48bc
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/
1287459
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Patrick Tjin [Wed, 26 Dec 2018 08:39:56 +0000 (16:39 +0800)]
usb:f_usbnet:Zero out CRC padding
Zero out CRC padding
To preventing leaking of unintialized data
Signed-off-by: Patrick Tjin <pattjin@google.com>
Signed-off-by: a17671 <a17671@motorola.com>
Change-Id: I7e902a9bdf2cbad0df4900101a9797176cb66a9c
Reviewed-on: https://gerrit.mot.com/
1287118
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
a17671 [Wed, 26 Dec 2018 08:13:03 +0000 (16:13 +0800)]
usbnet:Solve the CFI warning message
After CFI feature integrated into the Android Kernel
Motorola USBLAN driver will generate warning/panic
Due to the mismatch of the return type
Change-Id: Ia9d1d78a03c542426d213fdb69274eca817e2ae2
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1287119
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
huangzq2 [Wed, 26 Dec 2018 05:21:00 +0000 (13:21 +0800)]
Disable CFI on debug build
Change-Id: Ibadd61004a56d21342b43cbd270b06702e81d2f8
Signed-off-by: huangzq2 <huangzq2@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1287029
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Youngmin Nam [Mon, 24 Dec 2018 13:10:06 +0000 (22:10 +0900)]
lib: dss: remove task info in case of panic
To get more panic log, we remove task info
Mot-CRs-fixed: (CR)
Change-Id: I962d96242da9c20ba8b6e1625aeae42fa1a22b4f
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
Signed-off-by: zhaoxp3 <zhaoxp3@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1286932
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key
huangzq2 [Tue, 25 Dec 2018 06:25:38 +0000 (14:25 +0800)]
set CFI to permissive on debug build
Change-Id: I47e2651d2196dd0580137789896bdca442d21fc5
Signed-off-by: huangzq2 <huangzq2@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1286886
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
huangzq2 [Mon, 24 Dec 2018 06:50:21 +0000 (14:50 +0800)]
Correct Kane kernel configs
Change-Id: I6eb62386e1b8219ef2cdfed13f1d6729c5c39446
Signed-off-by: huangzq2 <huangzq2@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1286664
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
huangzq2 [Sat, 22 Dec 2018 06:08:28 +0000 (14:08 +0800)]
Sync missed kernel configs from HQ
Change-Id: I396a9db01bbe6862b5ace08259f38543087c1c1c
Signed-off-by: huangzq2 <huangzq2@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1286538
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
huangzq2 [Fri, 14 Dec 2018 10:11:39 +0000 (18:11 +0800)]
Enable f2fs + FBE
Change-Id: If44e99e4c181e4c3cdf2b515650a2cc86da4e20e
Signed-off-by: huangzq2 <huangzq2@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1283579
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
wangwang1 [Tue, 18 Dec 2018 07:21:40 +0000 (15:21 +0800)]
security:kernel:ufs raw name renamed as common boot device
boot device has been ported.
rename ufs raw name as boot device
Change-Id: I6b6ac6339046225c46bbc254b6f842c11041509d
Reviewed-on: https://gerrit.mot.com/
1284438
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Submit-Approved: Jira Key
Yoon (Seungyoon) Lee [Fri, 14 Dec 2018 18:28:38 +0000 (12:28 -0600)]
arm/dts: remove AoV model.bin
kane supports Google Hotwords only which gets its model from
Google server directly and doesn't use combined model saved
in local with other Moto Voice models.
Change-Id: Ia52e0f8768bbabddc394b79670252bd5d6f6ed7f
Signed-off-by: Yoon (Seungyoon) Lee <w22905@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1283367
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Zhengming Yao <yaozm1@mt.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
a17671 [Fri, 14 Dec 2018 06:51:26 +0000 (14:51 +0800)]
usb:Enable mass storage in charger only mode
Factory requires mass storage in
Charger only mode and need to add
Scsi pass through reboot command
To reboot the phone into different mode
Change-Id: If25fba8fe1ca25572b37ac8e857dc9cf671f250e
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1283107
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
xuwei9 [Thu, 13 Dec 2018 08:51:40 +0000 (16:51 +0800)]
kernel: enable moto vibrator feature
Enable moto vibrator
feature
Change-Id: Ia68768574e9a81531ee051884522769eb3eae899
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/
1282533
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
huangzq2 [Mon, 10 Dec 2018 10:00:57 +0000 (18:00 +0800)]
Enabled cpusets
Change-Id: I3dca6ff8af13363650fe7a42fb3915dc42755296
Signed-off-by: huangzq2 <huangzq2@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1280765
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
a17671 [Thu, 6 Dec 2018 06:07:39 +0000 (14:07 +0800)]
usb:xhci-hub:Fix Null pointer panic
System panic at xhci_hub_check_speed+0x44/0x74
After disconnect the otg device from host
Add the null pointer check to fix the problem
panic trace:
[ 394.979815,2] xhci-hcd xhci-hcd.2.auto: USB bus 2 deregistered
[ 394.980005,2] xhci-hcd xhci-hcd.2.auto: remove, state 4
[ 394.980100,2] usb usb1: USB disconnect, device number 1
[ 394.954183,0] Unable to handle kernel read from unreadable memory
at virtual address
0000001c
[ 395.067339,0] task:
ffffffc876ef4400 task.stack:
ffffff800b328000
[ 395.073424,0] PC is at xhci_hub_check_speed+0x44/0x74
[ 395.078455,0] LR is at xhci_hub_check_speed+0x14/0x74
[ 395.094516,0] x29:
ffffff800b32ba70 x28:
0000000000000000
[ 395.099986,0] x27:
ffffff800b32bc08 x26:
00000000ffffffff
[ 395.105453,0] x25:
0000000000000001 x24:
0000000000000001
[ 395.110924,0] x23:
ffffffc84a14a140 x22:
ffffffc835343800
[ 395.116393,0] x21:
0000000000000000 x20:
ffffffc84a14a000
[ 395.121866,0] x19:
ffffffc053b5c000 x18:
0000000000000001
[ 395.127336,0] x17:
0000000000000000 x16:
0000000000000000
[ 395.132844,0] x15:
ffffff8009567000 x14:
0000000000000001
[ 395.138275,0] x13:
0000000000258024 x12:
000000000000cf90
[ 395.143745,0] x11:
f6e18e3f25207900 x10:
0000000000000000
[ 395.149216,0] x9 :
ffffffc84a14a458 x8 :
0000000000000001
[ 395.154688,0] x7 :
0000000000000000 x6 :
ffffff80099394e6
[ 395.160160,0] x5 :
0000000000000033 x4 :
0000000000000000
[ 395.165627,0] x3 :
ffffff800b32b968 x2 :
ffffff8008090470
[ 395.171097,0] x1 :
ffffff800b32b968 x0 :
0000000000000000
[ 396.318730,0] [<
ffffff8008664eec>] xhci_hub_check_speed+0x44/0x74
[ 396.324803,0] [<
ffffff800862a20c>] hcd_bus_suspend+0x144/0x24c
[ 396.330617,0] [<
ffffff800863b768>] generic_suspend+0x44/0x4c
[ 396.336262,0] [<
ffffff800863001c>] usb_suspend_both+0x164/0x234
[ 396.342165,0] [<
ffffff800863058c>] usb_runtime_suspend+0x30/0x68
[ 396.348159,0] [<
ffffff80084ff07c>] __rpm_callback+0xc4/0x1cc
[ 396.353800,0] [<
ffffff80084fef34>] rpm_callback+0x28/0x7c
[ 396.359181,0] [<
ffffff80084fd268>] rpm_suspend+0x210/0x4dc
[ 396.364652,0] [<
ffffff80084fda74>] __pm_runtime_suspend+0x80/0xa4
[ 396.370731,0] [<
ffffff8008630730>] usb_runtime_idle+0x28/0x38
[ 396.376461,0] [<
ffffff80084ff07c>] __rpm_callback+0xc4/0x1cc
[ 396.382105,0] [<
ffffff80084fd8a4>] rpm_idle+0x200/0x350
[ 396.387314,0] [<
ffffff80084fe9f0>] pm_runtime_work+0x5c/0x90
[ 396.392961,0] [<
ffffff80080c8d28>] process_one_work+0x1dc/0x408
[ 396.398863,0] [<
ffffff80080c91d8>] worker_thread+0x220/0x340
[ 396.404510,0] [<
ffffff80080cd864>] kthread+0x11c/0x12c
[ 396.409632,0] [<
ffffff8008084934>] ret_from_fork+0x10/0x18
Change-Id: I4bf5584143b8434ff5a99c7c9855bf74616da39f
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1279212
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
a17671 [Wed, 5 Dec 2018 09:30:46 +0000 (17:30 +0800)]
Remove the temp file
A temp file was accidentally created
During the previous commit
Remove it to clean up the repo
Change-Id: Ibd7e48c775cf5a6cb9e0da93254adc23be1f504c
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1278908
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
a17671 [Wed, 5 Dec 2018 09:29:32 +0000 (17:29 +0800)]
battery:Do not run temp chgpath in detach case
After received the detach notification
Temp chgpath was ran, that set the is_charGing flag
To the wrong value, remove this to unblock the
Otg control path
Change-Id: I1de599bd7adb4aa55c105c9dacdffa192753d556
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1278907
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wei Xu <xuwei9@mt.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
a17671 [Tue, 4 Dec 2018 08:32:58 +0000 (16:32 +0800)]
Revert "usbpd:Samsung usbpd too many detachment issue fix"
Reorg the fix of the detachment issue
Make sure rebooting with usb attached
does not break the adb
Mot-CR-fixed:(CR)
This reverts commit
e2d064f8cb59ecf123cdaa8edc1c278397455153.
Change-Id: I052ed981f388c27ae98ce33024cd74c61e6b3981
Reviewed-on: https://gerrit.mot.com/
1278905
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
zhaoxp3 [Mon, 3 Dec 2018 06:55:35 +0000 (14:55 +0800)]
arm/defconfig: enable EXFAT_FS
exfat fs system support
Change-Id: If0fef4aa3b6580730dca33965ebbcf81ea3d519b
Signed-off-by: zhaoxp3 <zhaoxp3@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1276892
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Submit-Approved: Jira Key
Shiyong Li [Wed, 18 Jul 2018 00:12:00 +0000 (17:12 -0700)]
fs/exfat: fix compile error on kernel 4.14
WRITE_SYNC is not defined on new kernel.
Change-Id: If47e84c06a0e52ccf4a7a116d233f8d8c924191e
Signed-off-by: Shiyong Li <a22381@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1207791
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Ling Jin <lingjin@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/
1276887
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Shiyong Li [Sat, 9 Dec 2017 01:44:30 +0000 (17:44 -0800)]
fs/exfat: reduce log spam
Switch to debug prints for some spammy errors.
Change-Id: I847d21fcaa4a66b0521e43c62fe7d7b6c1e140d7
Signed-off-by: Igor Kovalenko <cik009@motorola.com>
Signed-off-by: Shiyong Li <a22381@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1102185
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Igor Kovalenko <igork@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/
1276886
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Shiyong Li [Sat, 9 Dec 2017 01:38:24 +0000 (17:38 -0800)]
fs/exfat: do error check for d_splice_alias return
This patch adds error check in case a defect exFAT SD cards is inserted.
Change-Id: I37f6b8716abd556908aad72b18fcc7ac5719766e
Signed-off-by: Min Shi <e13386@motorola.com>
Signed-off-by: Shiyong Li <a22381@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1102184
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Igor Kovalenko <igork@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/
1276885
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Shiyong Li [Sat, 9 Dec 2017 01:36:20 +0000 (17:36 -0800)]
fs/exfat: send uevnet from workqueue
We can not send uevent directly because it might be called
from atomic context.
Change-Id: I384a7f197b22b1fcb8d068c98908e4fa5a1d3b82
Signed-off-by: Lianwei Wang <a22439@motorola.com>
Signed-off-by: Shiyong Li <a22381@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1102182
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Igor Kovalenko <igork@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/
1276883
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Shiyong Li [Sat, 9 Dec 2017 01:37:20 +0000 (17:37 -0800)]
fs/exfat: fix every bio only has one block
This patch fix the bug that exfat fs cannot write
continuous blocks in one bio.
This will cause every request submit in block layer
only contains one block, cause write speed slower.
Change-Id: Ia548a7d8051defc1498d2d11d39e069bf683fdff
Signed-off-by: haojl2 <haojl2@motorola.com>
Signed-off-by: Shiyong Li <a22381@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1102183
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Igor Kovalenko <igork@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/
1276884
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Shiyong Li [Sat, 9 Dec 2017 01:35:11 +0000 (17:35 -0800)]
fs/exfat: support readonly uevent
Change-Id: Iba732aa27cce07133bdbc085bee10182f5796298
Signed-off-by: Lianwei Wang <a22439@motorola.com>
Signed-off-by: Shiyong Li <a22381@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1102181
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Igor Kovalenko <igork@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/
1276882
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Shiyong Li [Sat, 9 Dec 2017 01:33:51 +0000 (17:33 -0800)]
fs/exfat: use correct length for utf conversion
when call utf16s_to_utf8s, last parmater 'maxout' will be reduced
with the returned value of utf32_to_utf8, the value reflects the
size of one utf character, it could be 1~max charset size(3), so
maxout should use MAX_NAME_LENGTH * MAX_CHARSET_SIZE
when call utf8s_to_utf16s, the inlen will be reduced with the
the returned value of utf8_to_utf32, so it should use
MAX_NAME_LENGTH * MAX_CHARSET_SIZE or the lenghth of p_cstring whose
max value is MAX_NAME_LENGTH * MAX_CHARSET_SIZE.
Change-Id: Icbea02ece4b1a5b015037a6a54178ee8e08d4325
Signed-off-by: Shengzhe Zhao <a18689@motorola.com>
Signed-off-by: Shiyong Li <a22381@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1102180
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Igor Kovalenko <igork@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/
1276881
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Shiyong Li [Sat, 9 Dec 2017 01:32:02 +0000 (17:32 -0800)]
fs/exfat: avoid setting 0 over buffer uniname
utf8s_to_utf16s could return -EINVAL(-22), then uniname[i] =
uniname[-22] = '\0' will corrupt other local variable.
uniname is a local variable having different address everytime
when call nls_cstring_to_uniname. so uniname[-22] could corrupt
some different addresses.
and also when filename reaches at maximum length, need to leave
last one space in buffer for '\0'
Change-Id: I44bbdd3249150ad5617c7cd13207cfa37b102a77
Signed-off-by: Shengzhe Zhao <a18689@motorola.com>
Signed-off-by: Shiyong Li <a22381@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1102179
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Igor Kovalenko <igork@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/
1276880
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Shiyong Li [Sat, 9 Dec 2017 01:30:22 +0000 (17:30 -0800)]
fs/exfat: unlock pages under readonly status
The ->writepage should unlock its page before returning the results.
Otherwise, evict_inode can be hanged while truncating pages.
- Backtrace -
(__schedule+0x3dc/0x908) from [<
c0b67854>] (io_schedule+0x6c/0x94)
(io_schedule+0x6c/0x94) from [<
c01ce2dc>] (sleep_on_page+0x8/0x10)
(sleep_on_page+0x8/0x10) from [<
c0b64e70>] (__wait_on_bit_lock+0x6c/0xb8)
(__wait_on_bit_lock+0x6c/0xb8) from [<
c01ce418>] (__lock_page+0x90/0x98)
(__lock_page+0x90/0x98) from [<
c01dcae8>] (truncate_inode_pages_range+0x360/0x37c)
(truncate_inode_pages_range+0x360/0x37c) from [<
c01dcb1c>] (truncate_inode_pages+0x18/0x20)
(truncate_inode_pages+0x18/0x20) from [<
c0304618>] (exfat_evict_inode+0x18/0xb0)
(exfat_evict_inode+0x18/0xb0) from [<
c0228590>] (evict+0x94/0x178)
(evict+0x94/0x178) from [<
c02286a4>] (dispose_list+0x30/0x40)
(dispose_list+0x30/0x40) from [<
c022924c>] (evict_inodes+0xc8/0xd0)
(evict_inodes+0xc8/0xd0) from [<
c0212964>] (generic_shutdown_super+0x44/0xc4)
(generic_shutdown_super+0x44/0xc4) from [<
c0212bd4>] (kill_block_super+0x18/0x68)
(kill_block_super+0x18/0x68) from [<
c0212f3c>] (deactivate_locked_super+0x48/0x64)
(deactivate_locked_super+0x48/0x64) from [<
c022d660>] (SyS_umount+0x90/0x390)
Change-Id: I0a9caebeceda503c72e365957b1bf97d74f3de89
Signed-off-by: Jaegeuk Kim <jaegeuk@motorola.com>
Signed-off-by: Shiyong Li <a22381@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1102178
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Igor Kovalenko <igork@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/
1276879
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Shiyong Li [Sat, 9 Dec 2017 01:29:00 +0000 (17:29 -0800)]
fs/exfat: link superblock for all the buffer head
Otherwise, we can get kernel panic when handling fs_error().
Change-Id: I288ece9bdc0182b0d4cf23f1bba920d341a8f540
Signed-off-by: Jaegeuk Kim <jaegeuk@motorola.com>
Signed-off-by: Shiyong Li <a22381@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1102177
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Igor Kovalenko <igork@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/
1276878
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Shiyong Li [Sat, 9 Dec 2017 01:27:12 +0000 (17:27 -0800)]
fs/exfat: implement errors=remount-ro
This patch implements errors=remount-ro for exfat.
Port of
cf4fa60 and
58ec900 on 8996 with minor change for
updated submit_io() interface in kernel 4.9.
Change-Id: Iee791a99216ecf9f710adffa681706e761f97d8f
Signed-off-by: Shiyong Li <a22381@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1102176
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Igor Kovalenko <igork@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/
1276877
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Shiyong Li [Thu, 7 Dec 2017 00:16:32 +0000 (16:16 -0800)]
fs/exfat: import oriGinal library v1.2.9
oriGinal repo: https://github.com/dorimanx/exfat-nofuse
latest commit:
commit
de4c760
Author: Yuri.Sh <dorimanx@users.noreply.github.com>
Date: Tue Jun 20 00:56:18 2017 +0300
Merge pull request #116 from ian-abbott/no-krel
Makefile: remove KREL
Change-Id: I918688177815d21a3227e740ef36680f0913d4f9
Signed-off-by: Shiyong Li <a22381@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1102174
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Igor Kovalenko <igork@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/
1276876
Reviewed-by: Hua Tan <tanhua1@motorola.com>
zhaoxp3 [Mon, 3 Dec 2018 05:22:08 +0000 (13:22 +0800)]
arm/defconfig: remove unused config
remove unused kernel config
Change-Id: I515cf98c8c756623138f1881f656ec7b2238e003
Signed-off-by: zhaoxp3 <zhaoxp3@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1276836
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key
zhaoxp3 [Fri, 30 Nov 2018 02:43:24 +0000 (10:43 +0800)]
arm/defconfig: update user config to ext config
update defconfig for user build
Change-Id: Idf93aa32c17f450d706ce3d4fc29a8b42fd6eee3
Signed-off-by: zhaoxp3 <zhaoxp3@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1276083
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key
a17671 [Thu, 29 Nov 2018 07:41:28 +0000 (15:41 +0800)]
ext_config:Config the default vbus draw to 500mA
Update the default usb gadget vbus draw to 500mA
Instead of 2
Change-Id: I725af87a5397b10f6cdcf9830f0f3daed460d480
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1275670
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Reviewed-by: Wei Xu <xuwei9@mt.com>
Submit-Approved: Jira Key
a17671 [Thu, 29 Nov 2018 02:16:57 +0000 (10:16 +0800)]
usbpd:Fix the usbpd interrupt storm issue
Samsung usbpd interrupt is triggered by level
Instead of edge, the irq service handle shall
Disable the interrupt first and later enable
It after it got processed.
Change-Id: I36502860acded3ce81546fa0554a169ee81805b8
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1275108
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
a17671 [Tue, 27 Nov 2018 09:47:34 +0000 (17:47 +0800)]
usbpd:Samsung usbpd too many detachment issue fix
Samsung usbpd driver issue too many DETACH notification
That cause adb connection problem after reboot
Change-Id: I281e1d5570bf3a1d6d8b08dc07e3240eee4946a5
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1274124
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
dengwei1 [Thu, 22 Nov 2018 00:42:23 +0000 (08:42 +0800)]
kane: input add touch firmware update sh
add touch firmware sh
which is from moto platform
Change-Id: Id47ce0d3c98404bf39ff3c4e7182c5635835e92f
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1272549
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
chenl18 [Wed, 21 Nov 2018 05:47:16 +0000 (13:47 +0800)]
kane: Enable tee log for fingerprint debug
Tee log is closed in defult state. If need open it, please
write 1 to 'swd_debug' sys node.
Change-Id: I1b98cd54f9cd92d168f08e6d5c9a572e3c59e933
Signed-off-by: chenl18 <chenlei18@mt.com>
Reviewed-on: https://gerrit.mot.com/
1272090
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
a17671 [Wed, 21 Nov 2018 04:24:44 +0000 (12:24 +0800)]
soc:exynos-reboot:Add the last powerup reason back
Last power up reason code was missed
Add them back to handle the panic correctly
Change-Id: I18de2937c1c3a15e055c48b9dc148eb99adbd3ea
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1272078
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
xuwei9 [Mon, 19 Nov 2018 06:35:46 +0000 (14:35 +0800)]
kernel: disable hq factory restriction charGing func
Disable hq restriction
charGing function
Change-Id: I2edd88892a178463d53b599a5742d24ded1ed368
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/
1270777
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
qiaoshan1 [Fri, 16 Nov 2018 08:01:30 +0000 (16:01 +0800)]
Phone always pop error dialog in booting time.
Add missed config:
CONFIG_CRYPTO_SHA512
CONFIG_NETFILTER_XT_MATCH_BPF
Change-Id: I0c6474aa80a57be5ff3aa8f4c60b242c484745b5
Reviewed-on: https://gerrit.mot.com/
1270125
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
zhaoxp3 [Thu, 15 Nov 2018 06:40:57 +0000 (14:40 +0800)]
printk: add cpu info into kernel log
Append cpu# to timestamp of per line kernel message.
Change-Id: Ied651179309068de6c50f0646b441698565ac338
Signed-off-by: zhaoxp3 <zhaoxp3@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1269615
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Submit-Approved: Jira Key
zhaoxp3 [Thu, 15 Nov 2018 05:43:37 +0000 (13:43 +0800)]
utags:sync same owner permission
utags needs to be read-write in tcmd daemon whose group id is
system,many operation need group write permission like root user.
1.tcmd needs to add new node by lock and new operation
2.tcmd needs to access node /proc/config/all/new etc
https://gerrit.mot.com/
1236562
https://gerrit.mot.com/
1235016
https://gerrit.mot.com/
1231861
Change-Id: I67dd27d8984ee80f414abb023a79252f3991b5cd
Signed-off-by: zhaoxp3 <zhaoxp3@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1269582
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key
huangzq2 [Thu, 15 Nov 2018 00:32:09 +0000 (08:32 +0800)]
tune kernel and system, wave 2
Change-Id: I484f9ec476feb064826a2c81348629b2b7325ebd
Signed-off-by: huangzq2 <huangzq2@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1269426
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
huangzq2 [Wed, 14 Nov 2018 10:15:14 +0000 (18:15 +0800)]
Disable page alloc debug by default
Change-Id: Idd1ea1c41afcf9eae0a82c065e0171616253969d
Signed-off-by: huangzq2 <huangzq2@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1268956
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
huangzq2 [Wed, 14 Nov 2018 09:35:24 +0000 (17:35 +0800)]
tune the kernel and system
Change-Id: Iae23743c8806a3bccfe90832f5bf431ec9a66865
Signed-off-by: huangzq2 <huangzq2@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1268942
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
xuwei9 [Mon, 12 Nov 2018 08:09:10 +0000 (16:09 +0800)]
kernel:add charger in voltage node
add charger in voltage
fix samsung bug
Change-Id: I957ded1a129e06426b97c5b90b8d9afbb8759571
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/
1267420
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
xuwei9 [Fri, 9 Nov 2018 10:37:23 +0000 (18:37 +0800)]
kernel: charge only mode charge detection
charge type detection
charge only mode
Change-Id: Ifaea87f3847845f4d319f2e13b7e4636e2d4b794
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/
1267319
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
sunyue5 [Mon, 5 Nov 2018 13:42:59 +0000 (21:42 +0800)]
arm/config: Add kane debug config
Add debug-erd9610-kane.config as kane debug config
Change-Id: I813f82c2e96Montana7a4e3b225479953ec981c6716f
Signed-off-by: sunyue5 <sunyue5@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1265693
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
luodw1 [Wed, 7 Nov 2018 05:07:51 +0000 (13:07 +0800)]
drivers: add check samsung panic reboot cmd
Change-Id: Ie70dbd21976854bec03b14919f45a93575eb2e3c
Signed-off-by: luodw1 <luodw1@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1265763
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
xuwei9 [Mon, 5 Nov 2018 05:46:52 +0000 (13:46 +0800)]
kernel:change samsung charge current format
Change samsung charge current
format charGing:- discharge:+
Change-Id: Icf5be3dd4e633fbb812f0f731003b74d5d4d59e2
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/
1264448
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
luodw1 [Fri, 2 Nov 2018 09:07:09 +0000 (17:07 +0800)]
drivers set default reboot reason is panic
Change-Id: Ib1cd3537dee16baa4994601a266e5c63c216c12c
Signed-off-by: luodw1 <luodw1@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1264102
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
luodw1 [Fri, 2 Nov 2018 09:10:23 +0000 (17:10 +0800)]
dts modifed the utags partition path define
Change-Id: I3e23bf0ecf5e88652f700770c61f1e476af75f32
Signed-off-by: luodw1 <luodw1@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1264103
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
zhaoxp3 [Thu, 25 Oct 2018 09:28:09 +0000 (17:28 +0800)]
arm64/dts: remove moto dts from wing board
wingboard is not supported
Change-Id: Ia28f40162832b766c291311244e2dcc3489d348e
Signed-off-by: zhaoxp3 <zhaoxp3@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1260792
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key
zhaoxp3 [Tue, 23 Oct 2018 07:08:57 +0000 (15:08 +0800)]
mmi: export ram info
export ram info from props
Change-Id: Ib1a4eb961e7356fedc281f3c06ca3d3a8c361aaf
Signed-off-by: zhaoxp3 <zhaoxp3@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1259375
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key
xuwei9 [Tue, 23 Oct 2018 02:52:41 +0000 (10:52 +0800)]
kernel/dts:change thermal ntc sesnsor name
Change thermal ntc sensor
sysfs node name
Change-Id: I3392135a4711459893489bd0e5639dbf99a3acc9
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/
1259270
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
luodw1 [Fri, 19 Oct 2018 06:32:03 +0000 (14:32 +0800)]
arch: add log output in BUG() define
Change-Id: Ide19e8d074c51a46219689676bc5cb5c4aa37ae4
Signed-off-by: luodw1 <luodw1@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1258099
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
luodw1 [Thu, 18 Oct 2018 02:24:59 +0000 (10:24 +0800)]
driver: add moto reboot reason
Change-Id: Ic0550e74736cbf0b39f2130d2be52be328b30099
Signed-off-by: luodw1 <luodw1@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1258098
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
xuwei9 [Tue, 16 Oct 2018 06:08:58 +0000 (14:08 +0800)]
kernel/dts:define the thermal node for kane
Enablel thermal node
for Kane
Change-Id: I9210d59b1ae6d8d286ab582214b50e729642bdb1
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/
1256235
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
yaozm1 [Mon, 15 Oct 2018 09:28:01 +0000 (17:28 +0800)]
arm64/dts: Add aov-trigger support
Enable aov-trigger driver
Add dts support
Change-Id: I48b2dcaef2182b21e4f552a0cab1e992b659cc6b
Signed-off-by: yaozm1 <yaozm1@mt.com>
Reviewed-on: https://gerrit.mot.com/
1255466
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
yaozm1 [Mon, 15 Oct 2018 08:28:04 +0000 (16:28 +0800)]
kernel/config: add aov_trigger driver
Enable aov trigger
Set CONFIG_SND_SOC_AOV_TRIGGER as y
Change-Id: Ice7c997f7fb56e232a9abca1b0f89179ecb2026c
Signed-off-by: yaozm1 <yaozm1@mt.com>
Reviewed-on: https://gerrit.mot.com/
1255405
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
yaozm1 [Mon, 15 Oct 2018 08:24:37 +0000 (16:24 +0800)]
asoc:Add aov trigger driver
Enable aov trigger driver
Fix compile issue
Change-Id: I3db1ac5d275cf237c944a58286ed2e1971992f6a
Signed-off-by: yaozm1 <yaozm1@mt.com>
Reviewed-on: https://gerrit.mot.com/
1255398
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
a17671 [Tue, 9 Oct 2018 06:39:45 +0000 (14:39 +0800)]
Enable Motorola dropbox driver
Enable Moto dropbox driver to
Provide interface for other drivers
So they could report issue to system dropbox
Change-Id: Idb5a80663bbaba8964fdb02d59cd1bed632a7b64
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1252528
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
a17671 [Tue, 9 Oct 2018 06:38:38 +0000 (14:38 +0800)]
Add Motorola dropbox driver
Add Moto dropbox driver to
Provide interface for other drivers
So they could report issue to system dropbox
Change-Id: Ic44ee90417f88965b44367b4d04957cc64bcf49d
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1252527
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
zhaoxp3 [Tue, 9 Oct 2018 02:09:34 +0000 (10:09 +0800)]
arm64/dts: add utags/hw partition
add utags partition entry
add hw partition entry
Change-Id: I34ca21574fe01b87a418ccb3cabcc4abd3357476
Signed-off-by: zhaoxp3 <zhaoxp3@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1252385
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Submit-Approved: Jira Key
a17671 [Mon, 8 Oct 2018 09:49:12 +0000 (17:49 +0800)]
soc:exynos-reboot:Store the last powerup reason to INFORM9
Set the last power up reason register to INFORM9 register
According to the reboot parameter from kpreadwrite
Change-Id: I7719aa93ddcc50b97b6d973ea2e06c16317fa785
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1251924
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
a17671 [Sat, 29 Sep 2018 05:51:40 +0000 (13:51 +0800)]
usb:rndis:Fix the no auto installation problem
The samsung rndis driver has to be manually installed on Windows
Switch the function class to wireless controller to trigger auto
Installation on Windows
Change-Id: I7fdd0f439cbae41a6a4142785db360fe57873c5f
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1248692
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
sunyue5 [Thu, 27 Sep 2018 09:43:08 +0000 (17:43 +0800)]
scsc: avoid panic when getting bt/wifi mac
Fix a slip of sscanf usage
Change-Id: I3b3975719267007d17bfb76fd21b828b76490ce9
Signed-off-by: sunyue5 <sunyue5@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1247584
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
a17671 [Wed, 26 Sep 2018 09:05:30 +0000 (17:05 +0800)]
serial:Remove the spam samsung serial messges
Samsung serial driver will generate spam kernel messages
If the rx pin got floated, disable the log for now
Change-Id: I58738083f67b6e72d8694613cfb9f1e55113b70c
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1246579
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
xuwei9 [Thu, 27 Sep 2018 06:31:08 +0000 (14:31 +0800)]
kernel/config:enable external ntc thermistor at samsung
enable external ntc thmistor
at sasmung platform
Change-Id: Ib50790d81c9b89ee8790689cf0b1963a646e644d
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/
1247473
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
xuwei9 [Fri, 31 Aug 2018 08:15:16 +0000 (16:15 +0800)]
kernel: samsung moto charger feature
add moto charge feature
to suamsung platform.
Change-Id: I0bde27594291cc794bba155a597c6d83eebdeb43
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/
1246419
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
xuwei9 [Wed, 26 Sep 2018 01:53:26 +0000 (09:53 +0800)]
kernel/dts: samsung moto charger feature
enable moto charger feature dts
file at samsung platform
Change-Id: I265e2c931bac7e1d78c5455053c36b253fa4175d
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/
1246420
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Conflicts:
arch/arm64/boot/dts/exynos/exynos9610_battery_data.dtsi
a17671 [Wed, 19 Sep 2018 06:57:05 +0000 (14:57 +0800)]
Fix the breakage of log_pstore function
Ramoops does not work after adding annotation
Total memory size exceeds the oriGinal 2M
Reduce the ftrace_size to fix the problem
Change-Id: I9f0a140e653bb08644201a855cad65e381214cc1
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1243000
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Master Yoda
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key