platform/kernel/linux-amlogic.git
6 years agoavb: avb enable need to translate more types [1/1]
Luan Yuan [Mon, 29 Oct 2018 11:00:27 +0000 (19:00 +0800)]
avb: avb enable need to translate more types [1/1]

PD#SWPL-1095

Problem:
avb need more command line size.

Solution:
change max size to 2048

Verify:
verify by ampere

Change-Id: I9c1089a3ea0888e8ccd82f16d2b1111b6d88922a
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
6 years agomm: reduce watermark if free cma is too large [1/1]
tao zeng [Fri, 26 Oct 2018 09:51:30 +0000 (17:51 +0800)]
mm: reduce watermark if free cma is too large [1/1]

PD#SWPL-807

Problem:
Sometimes driver can't allocation memory under atomic environment.
And free pages is enough but they are nearly ALL CMA pages.

Solution:
Reduce watermark with harf of free cma pages even allocation support
CMA.

Verify:
P212

Change-Id: I8e49768d4384ed064775537754a2b7f09a5bbb7c
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
6 years agoddr: fix bandwidth read result 0 on 32bit OS [1/1]
tao zeng [Mon, 29 Oct 2018 04:11:18 +0000 (12:11 +0800)]
ddr: fix bandwidth read result 0 on 32bit OS [1/1]

PD#SWPL-960

Problem:
Reading bandwidth of DDR from sysfs get all 0 result on 32
bit kernel

Solution:
Fix overflow when calculating bandwidth.

Verify:
P212

Change-Id: I35837db653bdc2d97ced98689546a9ffc0db21c7
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
6 years agoaudio: codec: add tl1_acodec support for tl1 [1/1]
shuyu.li [Thu, 11 Oct 2018 08:01:46 +0000 (16:01 +0800)]
audio: codec: add tl1_acodec support for tl1 [1/1]

PD#172587

Problem:
Add aml_tl1_acodec driver support for tl1

Solution:
1.add files sound/soc/codecs/amlogic/aml_codec_tl1.acodec.c(.h)
2.update files sound/soc/codecs/amlogic/Kconfig(Makefile)

Verify:
kernel build passed, need verified after chipback

Change-Id: I19717a442f22f5b6844627475992ef7c8cc20a71
Signed-off-by: shuyu.li <shuyu.li@amlogic.com>
6 years agohdmirx: hdmirx driver for tl1 [1/1]
Yong Qin [Tue, 25 Sep 2018 07:59:28 +0000 (15:59 +0800)]
hdmirx: hdmirx driver for tl1 [1/1]

PD#172587

Problem:
hdmirx bringup for tl1

Solution:
1.modify write top api, add addr offset -qy
2.modify write edid api -qy
3.replace top hw reset api
4.add aocec access register idle -qy
5.for tl1 bypass sw eq -qy
6.replace pddq api -qy
7.modify arc control for tl1 -qy
8.add n/cts auto mode
9.add hdcp balance path
10.add sscp mode
11.optimize reg map(rm unused reg addr)
12.add recent commits from 4.9 trunk
13.modify top clk cntl bit definition
14.modify top offset addr handle(x4)
15.add audio pll setting -qy
16.update phy setting - qy
17.modify audio pll ctrl api for tl1 -qy
-add clk monitor function
-add clk stable api for tl1
18.add emp data to pfifo -qy
19.modify edid write and other function -qy
20.add emp data to ddr -qy
21.add tmds data to ddr -qy
22.add cec for tl1 -qy
-fix ctc 7-1
-add status register for cec a/b
23.add cec and hdmirx dts -qy
24.clean tl1 rx related clk measure
25.hdmirx and cec dts

Verify:
1.run PTM
2.need verify on chip

Change-Id: Ia7cc5a2d84925587bdfae825936ba763713926af
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
6 years agovdin: add afbce function for tl1 [1/1]
xuhua zhang [Tue, 9 Oct 2018 09:21:14 +0000 (17:21 +0800)]
vdin: add afbce function for tl1 [1/1]

PD#172587

Problem:
new added function for tl1

Solution:
add vdin afbce support for tl1

Verify:
verified on PTM

Change-Id: I5e3e2487b6cdbed2d2ca794a6a21ed885e4bf469
Signed-off-by: xuhua zhang <xuhua.zhang@amlogic.com>
6 years agotvin: add vdin and viu support for tl1 [1/1]
xuhua zhang [Sat, 29 Sep 2018 11:03:25 +0000 (19:03 +0800)]
tvin: add vdin and viu support for tl1 [1/1]

PD#172587

Problem:
do not suppoert for tl1

Solution:
add vdin and viu support for fl1

Verify:
verified on PTM

Change-Id: If4e267356fa666541853cfc7b49008795f9ec301
Signed-off-by: xuhua zhang <xuhua.zhang@amlogic.com>
6 years agoavin: add avin detect support for tl1 [1/1]
Nian Jing [Thu, 11 Oct 2018 08:10:43 +0000 (16:10 +0800)]
avin: add avin detect support for tl1 [1/1]

PD#172587

Problem:
do not suppoert for tl1

Solution:
add avin detect support for fl1

Verify:
just coding for tl1 will test later

Change-Id: I809f7068c9d0a45c89bd7dc4e6615db99b11f015
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
6 years agovdac: vdac: add vdac support for tl1 [1/1]
Nian Jing [Fri, 12 Oct 2018 02:47:01 +0000 (10:47 +0800)]
vdac: vdac: add vdac support for tl1 [1/1]

PD#172587

Problem:
do not suppoert for tl1

Solution:
add vdac support for fl1

Verify:
test pass on local

Change-Id: I7b3da34289dfe0638a24b812658db7e462ebdd4c
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
6 years agoaudio: auge: add sound card support for tl1 [1/1]
Xing Wang [Tue, 9 Oct 2018 11:36:05 +0000 (19:36 +0800)]
audio: auge: add sound card support for tl1 [1/1]

PD#172587

Problem:
Bringup tl1 sound card.

Solution:
Add tl1 sound card.
Add external interface for audio input/output.

Verify:
Tested by PTM
Sound card is setup.
TDM and SPDIF internel loopback is ok

Change-Id: I60830ca44a62ee2a8e16343e91e7311152cab161
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
6 years agoamvideo: add amvideo support for tl1 [1/1]
Brian Zhu [Mon, 22 Oct 2018 13:33:31 +0000 (21:33 +0800)]
amvideo: add amvideo support for tl1 [1/1]

PD#172587

Problem:
TL1 needs support amvideo driver.

Solution:
1. Add amvideo node into dts file, default enable.
2. Change the vd mif and sr reg offset.
3. Force bypass dolby vision function.
4. Change the register following hardware design.
5. Make amvideo afbc work for tl1.

Verify:
On PTM.

Change-Id: I0d857f8a707328383328daa23e6ba8e156c2e6e0
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
6 years agoosd: tl1: add osd support for tl1 [1/1]
pengcheng chen [Fri, 28 Sep 2018 09:08:14 +0000 (17:08 +0800)]
osd: tl1: add osd support for tl1 [1/1]

PD#172587

Problem:
Bringup osd for TL1.

Solution:
Add osd support for TL1.
Add ge2d device tree node for TL1.

Verify:
Verified on PXP/PTM.

Change-Id: I3d20934f015108f545c3c72b979d1bd8187b282e
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
6 years agordma: add rdma support for tl1 [1/1]
pengcheng chen [Sat, 29 Sep 2018 09:32:14 +0000 (17:32 +0800)]
rdma: add rdma support for tl1 [1/1]

PD#172587

Problem:
Bringup rdma for TL1.

Solution:
Add rdma support for TL1.

Verify:
Verified on PXP/PTM.

Change-Id: I425edc1e47db2ea834fcc5acb0e3d0ee1f30a9f7
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
6 years agomedia: add codec support for tl1 [1/1]
pengcheng chen [Sat, 29 Sep 2018 09:06:05 +0000 (17:06 +0800)]
media: add codec support for tl1 [1/1]

PD#172587

Problem:
Bringup codec for TL1.

Solution:
Add codec iomap device tree node for TL1.
Add canvas device tree node for TL1.

Verify:
Verified on PXP/PTM.

Change-Id: I8b9a6645f1f9fd7d4aa9cae6166895e61ddc3e36
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
6 years agoarm: dts: tl1: add decoder device tree [3/3]
shihong.zheng [Tue, 2 Oct 2018 10:48:35 +0000 (18:48 +0800)]
arm: dts: tl1: add decoder device tree [3/3]

PD#174543

PD#172587

Problem:
new added function for tl1

Solution:
add vdin afbce support for tl1

Verify:
verified on PTM

Change-Id: I42054b8228161713ac10446491ebdb50a71975ad
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
6 years agobacklight: add support for tl1 [1/1]
Evoke Zhang [Thu, 25 Oct 2018 07:21:19 +0000 (15:21 +0800)]
backlight: add support for tl1 [1/1]

PD#172587

Problem:
do not suppoert for tl1

Solution:
add backlight support for fl1

Verify:
verified on PTM

Change-Id: I052a7ef93ec9cb21a544e4823a4c9a339d38b5f9
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
6 years agolcd: add tl1 support [1/1]
Evoke Zhang [Thu, 27 Sep 2018 06:13:06 +0000 (14:13 +0800)]
lcd: add tl1 support [1/1]

PD#172587

Problem:
not support tl1

Solution:
add tl1 support

Verify:
test pass on PTM

Change-Id: I5a9073fc08a98ae95d4961297a7427864d92279b
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
6 years agovpu: add support for tl1 [1/1]
Evoke Zhang [Tue, 25 Sep 2018 02:19:41 +0000 (10:19 +0800)]
vpu: add support for tl1 [1/1]

PD#172587

Problem:
Bringup vpu for TL1.

Solution:
Add vpu support for TL1.

Verify:
Verified on PTM/PXP.

Change-Id: Ic2fb7682ddc1b21840e1be1d8462d4c0902e739d
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
6 years agoamvecm: fix flicker when change between Launcher and Signal Source [1/1]
Bencheng Jing [Thu, 25 Oct 2018 12:42:16 +0000 (20:42 +0800)]
amvecm: fix flicker when change between Launcher and Signal Source [1/1]

PD#SWPL-848

Problem:
ioctrl set the same gamma value again

Solution:
if the gamma value is same as the ioctrl userspace value, do not set again

Verify:
txlx

Change-Id: I6f17f5ff234513c5a886004aedea81b9945c5b98
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
6 years agopinctrl: fix some mistakes [1/1]
Xingyu Chen [Mon, 27 Aug 2018 05:41:27 +0000 (13:41 +0800)]
pinctrl: fix some mistakes [1/1]

PD#172438

Problem:
1. return a negative when parsing the dts property
"output-high/output-low"
2. the prefix "bt565" don't meet corepinmux document

Solution:
1. add break statement in case PIN_CONFIG_OUTPUT to avoid
returning a negative value.
2. rename the "bt565" to "bt656" according to corepinmux document

Verify:
test pass on U200

Change-Id: Ieeb98367e2269007a6774592abac86ef05ee8f64
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
6 years agoirqchip: add a new gpio IRQ driver to support double-edge detection [1/1]
Xingyu Chen [Thu, 18 Oct 2018 07:09:52 +0000 (15:09 +0800)]
irqchip: add a new gpio IRQ driver to support double-edge detection [1/1]

PD#SWPL-922

Problem:
the existing gpio IRQ driver(porting from the upstream) does not
double-edge detection

Solution:
add a new gpio IRQ driver to support the double-edge detection,
the new driver is with different software structure but compatible
with functions of the existing driver

Verify:
test pass on s400

Change-Id: Id69dd0b4459eef20a6755947c7d95a24d7b17fa9
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
6 years agoMerge "audioinfo: fix kasan compile problem [1/1]" into amlogic-4.9-dev
Tao Zeng [Mon, 29 Oct 2018 02:29:42 +0000 (19:29 -0700)]
Merge "audioinfo: fix kasan compile problem [1/1]" into amlogic-4.9-dev

6 years agoamvecm: hdr: add hdr10 plus support [1/2]
MingLiang Dong [Mon, 22 Oct 2018 08:20:05 +0000 (04:20 -0400)]
amvecm: hdr: add hdr10 plus support [1/2]

PD#SWPL-869

Problem:
new feature, add hdr10 plus support

Solution:
1. add hdr10 plus metadat parser
2. add hdr10 plus code support
3. add hdr10 plus bypass mode

Verify:
verify on U200

Change-Id: I957954ce148021882e17f2913dd2552e64f1298c
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
6 years agobuildroot: Enable fb memory allocation in g12b_skt dts [1/1]
Blance Tang [Fri, 26 Oct 2018 06:15:14 +0000 (14:15 +0800)]
buildroot: Enable fb memory allocation in g12b_skt dts [1/1]

PD#SWPL-802

Problem:
  Kernel crash when run GPU slt program

Solution:
  Enable meson fb memory allocation in g12b_skt dts

Verify:
  w400

Change-Id: I3074c2053cda06cf4ae237d24bad2c89d789f90d
Signed-off-by: Blance Tang <guofeng.tang@amlogic.com>
6 years agorlimits: increase memlock limit [1/1]
Hanjie Lin [Fri, 26 Oct 2018 08:23:34 +0000 (16:23 +0800)]
rlimits: increase memlock limit [1/1]

PD#SWPL-982

Problem:
CtsHostsideNetworkTests module 22 fail
netd can't create bpf map because of memlock limit

Solution:
increase memlock limit

Verify:
p212

Change-Id: Ia770fce7d826c639b171f8e8807425202de58320
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
6 years agoemmc: get emmc cmd-window for HS400 busmode
Long Yu [Tue, 31 Jul 2018 06:45:21 +0000 (14:45 +0800)]
emmc: get emmc cmd-window for HS400 busmode

PD#169808: emmc: get emmc cmd-window for HS400 busmode

Change-Id: I88de1e9e5470bb6be7ad91e1ee58f5636f994923
Signed-off-by: Long Yu <long.yu@amlogic.com>
6 years agohdmitx: add hdr10+ mechanism in hdmitx [2/2]
Yi Zhou [Wed, 17 Oct 2018 09:07:55 +0000 (17:07 +0800)]
hdmitx: add hdr10+ mechanism in hdmitx [2/2]

PD#SWPL-869

Problem:
need support hdr10+

Solution:
1. parse hdr10+ vsvdb
2. add hdr10+ vsif

Verify:
U200(G12A)

Change-Id: I0761efa7cadcb73bd9394820b080c9a127d03382
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
6 years agomtd: nand: tl1: add support slc nand driver [1/1]
xianjun.liu [Fri, 12 Oct 2018 07:35:51 +0000 (15:35 +0800)]
mtd: nand: tl1: add support slc nand driver [1/1]

PD#172587

Problem:
Bringup slc nand for TL1.

Solution:
Add mtd driver for TL1.

Verify:
Just coding for tl1 and test later.

Change-Id: I910a8047394e0ff8fa7e617b90502910e1186c68
Signed-off-by: xianjun.liu <xianjun.liu@amlogic.com>
6 years agoarm: dts: tl1: add spi-nor node for tl1 [1/1]
Yi Zeng [Wed, 17 Oct 2018 09:21:24 +0000 (17:21 +0800)]
arm: dts: tl1: add spi-nor node for tl1 [1/1]

PD#172587

Problem:
Bringup spi-nor for TL1.

Solution:
Add spi-nor node into dts file, default disabled.

Verify:
Verified on PXP.

Change-Id: I9edd358d41b052b7ecae47a550dcacbc27353955
Signed-off-by: Yi Zeng <yi.zeng@amlogic.com>
6 years agoemmc: meson: add sdcard support for tl1 [1/1]
Ruixuan Li [Fri, 28 Sep 2018 12:04:23 +0000 (20:04 +0800)]
emmc: meson: add sdcard support for tl1 [1/1]

PD#172587

Problem:
Bringup emmc for tl1.

Solution:
Add sdcard support for tl1.

Verify:
Verified on pxp.

Change-Id: I73503d36b671da8d88a3613b4d6fd17434ff1fbf
Signed-off-by: Ruixuan Li <ruixuan.li@amlogic.com>
6 years agoethernet: fix crash when not use gpioz14/15 [1/1]
Zhuo Wang [Thu, 25 Oct 2018 09:40:44 +0000 (17:40 +0800)]
ethernet: fix crash when not use gpioz14/15 [1/1]

PD#174843

Problem:
g12b will crash when not include internal_eth_pins

Solution:
continue when it null

Verify:
verified in w400 with liaomin

Change-Id: Ib636e307f0697fa4eab1d0784543af96641def2e
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
6 years agobuildroot: Enable ppmgr in g12b_a113d_skt DTS [1/1]
Blance Tang [Thu, 25 Oct 2018 09:27:44 +0000 (17:27 +0800)]
buildroot: Enable ppmgr in g12b_a113d_skt DTS [1/1]

PD#SWPL-802

Problem:
  Black screen when play video, due to ppmgr is not enabled in g12b_skt
dts

Solution:
  Enable ppmgr in g12b_a113d_skt DTS file

Verify:
  W400

Change-Id: Ibe94b113552d54d365775556807bdacb249f9a00
Signed-off-by: Blance Tang <guofeng.tang@amlogic.com>
6 years agoosd: fix osd get windows axis error [1/1]
pengcheng chen [Tue, 23 Oct 2018 01:32:05 +0000 (09:32 +0800)]
osd: fix osd get windows axis error [1/1]

PD#IPTV-31

Problem:
get sys class windows axis error

Solution:
fix osd get windows axis error

Verify:
u211

Change-Id: I5df5880bc43cb663255ecbf72d2b93b9c099b811
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
6 years agoemmc: emmc: modify the memory allocation mode when operate dtb [1/1]
Ruixuan Li [Tue, 23 Oct 2018 05:14:33 +0000 (13:14 +0800)]
emmc: emmc: modify the memory allocation mode when operate dtb [1/1]

PD#SWPL-426

Problem:
black screen when OTA upgrade

Solution:
modify the memory allocation mode when operate dtb

Verify:
p212

Change-Id: Idf67edd44f5e9f1d88be1e552fae485e04a655c6
Signed-off-by: Ruixuan Li <ruixuan.li@amlogic.com>
6 years agovpp: add video disable for g12 [1/1]
Dezhi Kong [Fri, 19 Oct 2018 06:52:15 +0000 (14:52 +0800)]
vpp: add video disable for g12 [1/1]

PD#174579

Problem:
osd shake once after quit local video play

Solution:
add video disable in advance for g12

Verify:
u211

Change-Id: Ic43693b25cf7bf8be24801a22ad36ac09c84a475
Signed-off-by: Dezhi Kong <dezhi.kong@amlogic.com>
6 years agoemmc: add sd/sdio fixdiv calc support [1/1]
Nan Li [Thu, 27 Sep 2018 03:11:48 +0000 (11:11 +0800)]
emmc: add sd/sdio fixdiv calc support [1/1]

PD#SWPL-139

Problem:
kernel sd card r/w error.

Solution:
add fixdiv calculate supported.

Verify:
verified in u200.

Change-Id: Ib454ffee5db26194631ae2e1c3d127bceab59bb7
Signed-off-by: Nan Li <nan.li@amlogic.com>
6 years agoethernet: add g12a/b mac wol function [1/1]
Zhuo Wang [Wed, 12 Sep 2018 07:28:29 +0000 (15:28 +0800)]
ethernet: add g12a/b mac wol function [1/1]

PD#173550

Problem:
g12a no wol function in internal phy, we add this function in mac

Solution:
add wol function in MAC

Verify:
verified in u200 board with uboot patch from guohong

Change-Id: I0a8fa81fbfb81d79c471bbafe68174118e276a46
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
6 years agotsync: tsync: fix av sync problem random [1/1]
live.li [Mon, 22 Oct 2018 11:10:50 +0000 (19:10 +0800)]
tsync: tsync: fix av sync problem random [1/1]

PD#SWPL-906

Problem:
The video and audio did not synchronous randomly

Solution:
it seems system time increase not by vsync isr,
so change the system time get interface to make
sure system time increase by vsync isr when
amaster mode

Verify:
R311&P321 32bit&64bit version

Change-Id: Ib3a556ba097fc6f0c51fd4560ab8101c6e7f509c
Signed-off-by: live.li <live.li@amlogic.com>
6 years agoMerge "debug: After reboot,the platform print a lot of logs Frequency [1/1]" into...
Tao Zeng [Tue, 23 Oct 2018 09:47:34 +0000 (02:47 -0700)]
Merge "debug: After reboot,the platform print a lot of logs Frequency [1/1]" into amlogic-4.9-dev

6 years agoMerge "dv: fix the flickered problem [1/1]" into amlogic-4.9-dev
Tao Zeng [Tue, 23 Oct 2018 08:54:35 +0000 (01:54 -0700)]
Merge "dv: fix the flickered problem [1/1]" into amlogic-4.9-dev

6 years agoaudio: solve 32bit system hdmi in mute issue [1/1]
Lianlian Zhu [Mon, 22 Oct 2018 08:55:57 +0000 (16:55 +0800)]
audio: solve 32bit system hdmi in mute issue [1/1]

PD#SWPL-813

Problem:
audio_iomap read audin reg 2800 error

Solution:
register val read from aml_read_cbus
maybe not positive number in 32bit system,
so change *val == -1 to judge mistake.

Verify:
verified by p321

Change-Id: Ie87001fa1daa621cadc2ce329d8dd863f39dcdb6
Signed-off-by: Lianlian Zhu <lianlian.zhu@amlogic.com>
6 years agopagetrace: add support for arm 32bit [1/1]
tao zeng [Tue, 23 Oct 2018 03:06:27 +0000 (11:06 +0800)]
pagetrace: add support for arm 32bit [1/1]

PD#SWPL-917

Problem:
On ARM32, reading of /proc/pagetrace get nothing output

Solution:
fix page trace print for ARM32 and improve read speed

Verify:
p212

Change-Id: I8963ad0cfaa403f69b9f1a56523bbd5b1d7b6980
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
6 years agodv: fix the flickered problem [1/1]
Yi Zhou [Tue, 16 Oct 2018 02:26:02 +0000 (10:26 +0800)]
dv: fix the flickered problem [1/1]

PD#SWPL-348

Problem:
fix the flickered problem.

Solution:
when dv core1 don't run, the reset can't be executed

Verify:
t962e (txlx)

Change-Id: I90e78676bbe64ded505148aa4c2516d808bf4a82
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
6 years agomm: change filecache reclaim policy for CMA [1/1]
tao zeng [Mon, 22 Oct 2018 00:34:12 +0000 (08:34 +0800)]
mm: change filecache reclaim policy for CMA [1/1]

PD#SWPL-119

Problem:
High IOW usually happen when start playing 4K video. This
is because codec drvier will using large amount of memory
from CMA pool. And many filecache will be dropped after CMA
allocation finished without considering mapcount of each
file cache page.

Solution:
Check mapcount of filecache for each file pages. And migrate
them if they have high map count. High map count means this
file cache page is shared by many process.

Verify:
verified by ampere

Change-Id: I3e09437286f14a6cd9f7025566eb855dc9ca98d5
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
6 years agodts: add partition_mbox_p241.dtsi. [1/1]
Luan Yuan [Tue, 23 Oct 2018 06:41:08 +0000 (14:41 +0800)]
dts: add partition_mbox_p241.dtsi. [1/1]

PD#SWPL-924

Problem:
It occurs error when the kernel is compiled separately.

Solution:
copy partition_mbox_p241.dtsi to common/arch/arm/boot/dts/amlogic/

Verify:
verify by curie

Change-Id: Id5821c50c1333f6c91c2559894b10181a41df6a6
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
6 years agoscript: fix the defects in the merge_pre_check.pl [1/1]
Jianxiong Pan [Tue, 23 Oct 2018 04:24:57 +0000 (12:24 +0800)]
script: fix the defects in the merge_pre_check.pl [1/1]

PD#174488

Problem:
some defects in the script.

Solution:
rechange check rules in the script.

Verify:
verified locally.

Change-Id: I9c7011d1bd3b1d52131318dae34112d0d0164a00
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
6 years agoMerge "dts: add support 32bit curie(805x) [1/1]" into amlogic-4.9-dev
Tao Zeng [Tue, 23 Oct 2018 03:16:18 +0000 (20:16 -0700)]
Merge "dts: add support 32bit curie(805x) [1/1]" into amlogic-4.9-dev

6 years agodts: add support 32bit curie(805x) [1/1]
Luan Yuan [Mon, 22 Oct 2018 04:23:35 +0000 (12:23 +0800)]
dts: add support 32bit curie(805x) [1/1]

PD#SWPL-889

Problem:
support 32bit curie(805x).

Solution:
add 32bit dts for curie(805x)
when KERNEL_A32_SUPPORT=true kernel 32bit build,
otherwise kernel 64bit build defaultly.

Verify:
verify by curie

Change-Id: I0ac24d4b2f6be1e3cd7241120ef06bfc9f46f2b8
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
6 years agodts: aarch32: modify timer for aarch32 [1/1]
Hanjie Lin [Wed, 17 Oct 2018 08:51:28 +0000 (16:51 +0800)]
dts: aarch32: modify timer for aarch32 [1/1]

PD#SWPL-663

Problem:
32bit_kernel VtsKernelLinuxKselftest module 1 fail
can't find __vdso_gettimeofday

Solution:
modify timer for aarch32

Verify:
p212 boot normal

Change-Id: Id7a6f656eabf5230dcd60f6c25f39419577bba64
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
6 years agodefconfig: enable CONFIG_NETFILTER_XT_MATCH_BPF [1/1]
Hanjie Lin [Mon, 22 Oct 2018 06:40:58 +0000 (14:40 +0800)]
defconfig: enable CONFIG_NETFILTER_XT_MATCH_BPF [1/1]

PD#SWPL-867

Problem:
VtsKernelConfig modules 1 fail
The following configs should be enabled: [CONFIG_NETFILTER_XT_MATCH_BPF]

Solution:
enable CONFIG_NETFILTER_XT_MATCH_BPF

Verify:
p212 boot normal

Change-Id: Iff38b23aba53c4663f1ca82bedfd8f3c55200835
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
6 years agosuspend: dts: solve system with the 32bit can not enter suspend state issue
zhiqiang.liang [Mon, 22 Oct 2018 09:31:50 +0000 (17:31 +0800)]
suspend: dts: solve system with the 32bit can not enter suspend state issue

PD#SWPL-495

problem:
Android P mainline 32bit can not enter suspend

solution:
modify the system sleep parameter

verify:
p321

Change-Id: I1ca5ee2043416c53e3301f5778a8ae8944292fc4
Signed-off-by: zhiqiang.liang <zhiqiang.liang@amlogic.com>
6 years agodebug: After reboot,the platform print a lot of logs Frequency [1/1]
jiamin ma [Mon, 22 Oct 2018 01:02:52 +0000 (09:02 +0800)]
debug: After reboot,the platform print a lot of logs Frequency [1/1]

PD#SWPL-892

Problem:
We can see many user space unhandled page fault at 0 address:
such as
[  140.882524@2] Chrome_InProcGp: unhandled page fault (11) at
0x00000000, code 0x005
which seems to be triggered by user space on purpose

Solution:
Show debug infos only if this fault cannot be handled by user
space

Verify:
Locally on P212

Change-Id: I54e8256de2f5465e5dd0f8d90d9d9058fe67f808
Signed-off-by: jiamin ma <jiamin.ma@amlogic.com>
6 years agodts: add cpu idle for txl 32bit [1/1]
Sandy Luo [Mon, 22 Oct 2018 08:32:28 +0000 (16:32 +0800)]
dts: add cpu idle for txl 32bit [1/1]

PD#SWPL-815

Problem:
It cann't suspend/resume for txl platform because idle issue.

Solution:
Open idle in dts file.

Verify:
verified by txl P321 platform

Change-Id: I8f133eb8c974f5fe6f351a4d9f83e677209ce7d2
Signed-off-by: Sandy Luo <sandy.luo@amlogic.com>
6 years agogdc: add a new handle interface [1/1]
keke.li [Fri, 19 Oct 2018 05:58:38 +0000 (13:58 +0800)]
gdc: add a new handle interface [1/1]

PD#173042

Problem:
user app need a new ioctl interface to handle image

Solution:
add a new ioctl cmd GDC_HANDLE to handle image

Verify:
verify by keke.li

Change-Id: I79ddc01962e4b2a40130ecd32cfebe5c1a7133e6
Signed-off-by: Keke Li <keke.li@amlogic.com>
6 years agomm: do not recache pages at the end of playback
rongrong zhou [Thu, 18 Oct 2018 03:13:15 +0000 (11:13 +0800)]
mm: do not recache pages at the end of playback

PD#SWPL-700

Problem:

The reset action will re-allocate the memory before the end of playback.
At this time, the codec_mm_scatter_mgt_delay_free_swith will raise the
cache pages from 20M to force_cache_page_cnt, resulting in redundant
allocation, resulting in memory fragmentation and more time-consuming
in reset action.

Solution:
Modify the judgment cache condition.

Verify:
verified by P212 platform

Change-Id: Ibe8bbbb1281667095d7c05daba48f75a8fae0dac
Signed-off-by: rongrong zhou <rongrong.zhou@amlogic.com>
6 years agohdmitx: repeater need to update edid [1/1]
Kaifu Hu [Mon, 15 Oct 2018 03:22:55 +0000 (11:22 +0800)]
hdmitx: repeater need to update edid [1/1]

PD#174510

Problem:
Soundbar has no sound when playing DTS audio
on HDMI source.

Solution:
Only repeater need to update RX edid as TV edid.

Verify:
Atom

Change-Id: I3d6def33477e6846a7365e888c207b1758060a38
Signed-off-by: Kaifu Hu <kaifu.hu@amlogic.com>
6 years agoosd: add new osd capacity. [1/1]
sky zhou [Tue, 18 Sep 2018 11:12:34 +0000 (19:12 +0800)]
osd: add new osd capacity. [1/1]

PD#163001

Problem:
need update osd capacity for hwc modified

Solution:
osd: add new osd capacity.

Verify:
verified in u200 board1

Change-Id: I3d5f457b8d7277214d68c5d4c90c3484e8ccd4fa
Signed-off-by: sky zhou <sky.zhou@amlogic.com>
6 years agoosd: enable shift workaround and fix some zorder issue [1/1]
pengcheng chen [Tue, 9 Oct 2018 08:45:56 +0000 (16:45 +0800)]
osd: enable shift workaround and fix some zorder issue [1/1]

PD#163001

Problem:
osd shift workaround default disable
some zorder display error

Solution:
enable shift workaround and fix some zorder issue

Verify:
verified in u200 board

Change-Id: I88489c31bcc4d0db838e59dc3fe1929bdb2a93f6
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
6 years agoosd: add dimm layer support [1/1]
pengcheng chen [Wed, 26 Sep 2018 05:38:06 +0000 (13:38 +0800)]
osd: add dimm layer support [1/1]

PD#163001

Problem:
dim layer not supported

Solution:
 add dimm layer support

Verify:
verified in u200 board

Change-Id: Iba6f69b94b67c0d0861a1bbc9dff1724bc785133
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
6 years agoge2d: fixed ge2d_ion_config for axg error issue [1/1]
pengcheng chen [Mon, 15 Oct 2018 06:07:18 +0000 (14:07 +0800)]
ge2d: fixed ge2d_ion_config for axg error issue [1/1]

PD#SH-1

Problem:
run axg ge2d demo failed

Solution:
fixed ge2d_ion_config for axg error

Verify:
verified in A113D board

Change-Id: I48d789a42e7c0aad183fa4b6df1ca32a4ce1ab9b
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
6 years agoosd: remove osd sync by go_field which caused reg writte messed [1/1]
pengcheng chen [Mon, 15 Oct 2018 01:26:42 +0000 (09:26 +0800)]
osd: remove osd sync by go_field which caused reg writte messed [1/1]

PD#163001

Problem:
enable three osd layeres and run sftest caused afbc decode error

Solution:
remove osd sync by go_field which caused reg written messed

Verify:
verified in u200 board

Change-Id: Ida1647b93083608c7970d22b50125628c3528a5a
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
6 years agoRevert "usb: adb reboot and then adb disconnect[1/1]"
Luan Yuan [Fri, 19 Oct 2018 08:03:25 +0000 (16:03 +0800)]
Revert "usb: adb reboot and then adb disconnect[1/1]"

This reverts commit 7fb9d732feb64946f280ee4843527cb5095c97ef.

Change-Id: Ie5aad3c54ddfe0ab56f19b1f9f8e32dfe9c92dd6
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
6 years agodebug: show ioremap vmalloc pfn debug when user faults happens [1/1]
Jianxin Pan [Fri, 19 Oct 2018 08:20:55 +0000 (16:20 +0800)]
debug: show ioremap vmalloc pfn debug when user faults happens [1/1]

PD#173163

Problem:
ioremap/vmalloc pfn is not printed when user fault

Solution:
show ioremap/vmalloc pfn debug when user faults happens

Verify:
verify local

Change-Id: I654fac58db7d8b35144b4c639e32c324b95ed032
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
6 years agodts: remove ethmac gpio [1/1]
Jiacheng Mei [Thu, 18 Oct 2018 03:35:24 +0000 (11:35 +0800)]
dts: remove ethmac gpio [1/1]

PD#SWPL-770

Problem:
gpio conflict of isp i2c and ethmac

Solution:
remove gpio of ethmac

Verify:
g12b-skt

Change-Id: Icb2e6af14ecd397625565249f70d6fb58180b558
Signed-off-by: Jiacheng Mei <jiacheng.mei@amlogic.com>
6 years agoaudio: fix errors of coverity[1/1]
jiejing.wang [Mon, 15 Oct 2018 09:32:18 +0000 (17:32 +0800)]
audio: fix errors of coverity[1/1]

PD#166793

problem:
coverity detec errors of format

solution:
fix err

verify:
verify local

Change-Id: Ib86370e48a74ab9094cf7a2a80c3d1d2471f50eb
Signed-off-by: jiejing.wang <jiejing.wang@amlogic.com>
6 years agodts: sync 1g platform ion and codec_mm_cma with ampere [1/1]
Lei Qian [Tue, 16 Oct 2018 12:32:21 +0000 (20:32 +0800)]
dts: sync 1g platform ion and codec_mm_cma with ampere [1/1]

PD#166821

Problem:
34 media CTS fails in einstein

Solution:
enlarge codec_mm_cma to d000000

Verify:
verify by einstein

Change-Id: I026a1ff3e6155324dff1a5b9702c31f19d68a57f
Signed-off-by: Lei Qian <lei.qian@amlogic.com>
6 years agodebug: show more debug infos when user faults happens
jiamin ma [Wed, 5 Sep 2018 07:39:24 +0000 (15:39 +0800)]
debug: show more debug infos when user faults happens

PD#173163: need more debug infos when user faults happens

1. show pfn for all registers;
2. show memory around all registers;
3. show vma maps around pc/lr

Change-Id: I37be84dcba66ce9ce6b60382a49cf6e9afd2bcb9
Signed-off-by: jiamin ma <jiamin.ma@amlogic.com>
6 years agomm: show more information when in bad mode [1/1]
tao zeng [Wed, 17 Oct 2018 09:55:46 +0000 (17:55 +0800)]
mm: show more information when in bad mode [1/1]

PD#154260

Problem:
When bad mode happens, no pfn/far information is printed.
It get's problems to debug.

Solution:
1. Add far as parameter for bad_mode handler
2. Show pfn of all registers for bad_mode

Verify:
Local verified.

Change-Id: I4b0b457eff44ee717094ee8056f96ff16f111139
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
6 years agoaudioinfo: fix kasan compile problem [1/1]
jiejing.wang [Thu, 18 Oct 2018 05:19:12 +0000 (13:19 +0800)]
audioinfo: fix kasan compile problem [1/1]

PD#173553

Problem:
check stack out of bounds

Solution:
change variable's definition

Verify:
verifyed by r311

Change-Id: Id6efc3ac56b297b6812e2af786732e65867a07da
Signed-off-by: jiejing.wang <jiejing.wang@amlogic.com>
6 years agosuspend: dts: solve ampere with the kernel 32bit can not enter suspend state issue
zhiqiang.liang [Wed, 17 Oct 2018 01:24:07 +0000 (09:24 +0800)]
suspend: dts: solve ampere with the kernel 32bit can not enter suspend state issue

PD#SWPL-568

problem:
Ampere P mainline 32bit suspend,the serial port keeps printing

solution:
modify the system sleep parameter

verify:
p212

Change-Id: Id0827c09741a91b1fad8edcac603997e5bfd2880
Signed-off-by: zhiqiang.liang <zhiqiang.liang@amlogic.com>
6 years agoatv_demod: ATV sound system cannot be auto detected [1/2]
nengwen.chen [Wed, 17 Oct 2018 09:44:38 +0000 (17:44 +0800)]
atv_demod: ATV sound system cannot be auto detected [1/2]

PD#TV-44

Problem:
ATV sound system cannot be auto detected.

Solution:
Update demod and tuner config after adjust freqency, so that audio can detect.

Verify:
verified by einstein and p321

Change-Id: I8ce70a8f1fd2261c098b7b7f02c93ee061dd52c9
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
6 years agoscript: add new check rules in merge_pre_check.pl [1/1]
Jianxiong Pan [Thu, 18 Oct 2018 06:23:50 +0000 (14:23 +0800)]
script: add new check rules in merge_pre_check.pl [1/1]

PD#174488

Problem:
add some new rules

Solution:
expand the scope of check

Verify:
p212

Change-Id: Ica28adb7ddb43e39cd4570e0338dbd59ec6a42f3
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
6 years agodts: u212 1g: optimized cma [1/3]
Gongwei Chen [Thu, 11 Oct 2018 02:23:58 +0000 (10:23 +0800)]
dts: u212 1g: optimized cma [1/3]

PD#SWPL-492

Problem:
system response is slow

Solution:
optimized cma

Verify:
Verify by franklin 1g

Change-Id: I227fb168fa66566768fd4dbcefcbf100546daabd
Signed-off-by: GongWei Chen <gongwei.chen@amlogic.com>
6 years agoscript: dd new check rules in merge_pre_check.pl script [1/1]
Jianxiong Pan [Thu, 18 Oct 2018 01:42:33 +0000 (09:42 +0800)]
script: dd new check rules in merge_pre_check.pl script [1/1]

PD#174488

Problem:
add some new rules

Solution:
strictly check as required

Verify:
p212 pass

Change-Id: Iaa056eece6e9f812751cd585f0b5537476edfab5
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
6 years agousb: adb reboot and then adb disconnect[1/1]
he.he [Tue, 16 Oct 2018 11:20:23 +0000 (19:20 +0800)]
usb: adb reboot and then adb disconnect[1/1]

PD#174155: complete_ep 0xffffffc05bed2858, ep->queue empty!

Problem:
1. After adb process be killed, data buffer is freed and
this memory is allocated for the other. But the address
is hold by the controller.
2. Adbd in PC is running. So, the controller receive the
data and write to this memory.
3.The value of this memory is modified by the controller.
This could cause the memory problem.

Solution:
whenever io_data->aio equals 1, the data buffer is from a fixed array.

Verify:
verified by huang xiaojing

Change-Id: I2055ea013021c8411bf626ce170e6b32164bef4a
Signed-off-by: he.he <he.he@amlogic.com>
6 years agousb: fix deadlock caused by switching usb serial port
Yue Wang [Wed, 17 Oct 2018 01:54:52 +0000 (21:54 -0400)]
usb: fix deadlock caused by switching usb serial port

PD#174679: usb: Fix deadlock caused by switching usb serial port.

Change-Id: I0bc9bb5d15b5794cfb8e218c03a98c395713e4c0
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
6 years agoperf: aarch32: support arm pmu [1/1]
Hanjie Lin [Mon, 15 Oct 2018 11:27:49 +0000 (19:27 +0800)]
perf: aarch32: support arm pmu [1/1]

PD#SWPL-631

Problem:
32bit_kernel CtsSimpleperfTestCases modules 39 fail

Solution:
modify dts for arm pmu
port pmu interrupt issue fixup code
http://scgit.amlogic.com:8080/#/c/47552/

Verify:
p212 perf test ok

Change-Id: Icd31d645c8af0ca64e898251ffe8dbb0469e47e7
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
6 years agovts: aarch32: remove ext2 support [1/1]
Hanjie Lin [Wed, 17 Oct 2018 06:36:19 +0000 (14:36 +0800)]
vts: aarch32: remove ext2 support [1/1]

PD#SWPL-664

Problem:
32bit_kernel VtsKernelLtp module 6 fail

Solution:
ext2 cause VtsKernelLtp#fs.fs_fill_32bit fail

Verify:
p212 boot normal

Change-Id: Ib3113705939cccffd05ae4adc220b8aa333be4fb
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
6 years agovlock: fix issue of hdmitx output timing swith [1/1]
Dezhi Kong [Mon, 15 Oct 2018 06:31:11 +0000 (14:31 +0800)]
vlock: fix issue of hdmitx output timing swith [1/1]

PD#174283

Problem:
The display turned blank / black on switching HDMI input sources

Solution:
optimize timing swith check condition

Verify:
verified by r321 board in Android P

Change-Id: If6138794d02e34fcbde8be4a3a4fbcf42b49e85c
Signed-off-by: Dezhi Kong <dezhi.kong@amlogic.com>
6 years agobacklight: ldim: add debug node for tooling [2/3]
Evoke Zhang [Sat, 4 Aug 2018 07:59:25 +0000 (15:59 +0800)]
backlight: ldim: add debug node for tooling [2/3]

PD#169790

Problem:
need tooling api support for ldim driver

Solution:
add debug node for tooling

Verify:
txlx r311

Change-Id: I1937a8154856aa694545ff40d7712132a113b8f3
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
6 years agodts: isp: add multi-sensor support
Jiacheng Mei [Thu, 20 Sep 2018 08:29:28 +0000 (16:29 +0800)]
dts: isp: add multi-sensor support

PD#SWPL-720

Problem:
multi-sensor need config dts

Solution:
add multisensor dts config

Verify:
g12b-skt

Change-Id: I13aa339a54ab33340438d0a2b284c857254ef08b
Signed-off-by: Jiacheng Mei <jiacheng.mei@amlogic.com>
6 years agovlock: update lcd vlock parameter flow [1/1]
Evoke Zhang [Fri, 12 Oct 2018 11:43:25 +0000 (19:43 +0800)]
vlock: update lcd vlock parameter flow [1/1]

PD#SWPL-321

Problem:
vlock parameters load fail for lcd unifykey loading is later

Solution:
use queue work to sync lcd unifykey vlock parameters

Verify:
txlx r311

Change-Id: I17fac4ca48fbd8f5b929eccfd38eb7e8a4b5b845
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
6 years agoscript: add new check relus in merge_pre_check.pl script [1/1]
Jianxiong Pan [Wed, 17 Oct 2018 05:59:59 +0000 (13:59 +0800)]
script: add new check relus in merge_pre_check.pl script [1/1]

PD#174488

Problem:
add some new rules

Solution:
expand the scope of check

Verify:
p212

Change-Id: I4b5428367520456195645dbbce86c5f40411d59a
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
6 years agounifykey: fix wrong KEY_UNIFY_NAME_LEN limit on ARM64_32 platform
jiamin ma [Mon, 15 Oct 2018 10:02:33 +0000 (18:02 +0800)]
unifykey: fix wrong KEY_UNIFY_NAME_LEN limit on ARM64_32 platform

PD#SWPL-628

Problem:
The KEY_UNIFY_NAME_LEN limit errorly set to 16 on ARM64_32
platform, for which the correct value is 48

Solution:
Define KEY_UNIFY_NAME_LEN based on the configuration of
CONFIG_ARM64 and CONFIG_ARM64_A32

Verify:
Locally

Change-Id: I93157a907405829b088cb0f7387c1eb90c917188
Signed-off-by: jiamin ma <jiamin.ma@amlogic.com>
6 years agoMerge "interactive: disable idle notifier" into amlogic-4.9-dev
Tao Zeng [Tue, 16 Oct 2018 08:43:29 +0000 (01:43 -0700)]
Merge "interactive: disable idle notifier" into amlogic-4.9-dev

6 years agohdmirx: fix hdcp2.2 does not work issue
yicheng shen [Mon, 15 Oct 2018 06:06:13 +0000 (02:06 -0400)]
hdmirx: fix hdcp2.2 does not work issue

PD#SWPL-308

Problem:
32bit kernel + 32bit userspace,driver needs to use unlocked_ioctl.
Otherwise,IOCTL can not work normally and cause esm init fail.

Solution:
Add unlocked_ioctl handle.

Verify:
Locally

Change-Id: I5a3608088633d89c76c7b7684dc4580d44b77263
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
6 years agohdmitx: esm: add unlocked_ioctl in esm [1/1]
Yi Zhou [Mon, 15 Oct 2018 09:04:10 +0000 (17:04 +0800)]
hdmitx: esm: add unlocked_ioctl in esm [1/1]

PD#SWPL-566

Problem:
hdcp_tx22 can't work with 32bit kernel

Solution
add unlocked_ioctl in esm of 32bit kernel

Verify:
P215

Change-Id: I072abb2ba395c75d92f082ecadcc21e1fefc6f73
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
6 years agoclk: axg: fix 32bit set mpll clk overflow
Shunzhou Jiang [Mon, 15 Oct 2018 02:47:51 +0000 (10:47 +0800)]
clk: axg: fix 32bit set mpll clk overflow

PD#SWPL-394

Problem:
32bit system clk overflow

Solution:
let mpll clock not overflow

Verify:
gxl

Change-Id: I90c99c026264bb4d6820cd988bd5f8828456e0f6
Signed-off-by: shunzhou.jiang <shunzhou.jiang@amlogic.com>
6 years agointeractive: disable idle notifier
Jianxin Pan [Mon, 15 Oct 2018 13:07:36 +0000 (21:07 +0800)]
interactive: disable idle notifier

PD#SWPL-569

Problem:
Randomly encountered the phenomenon of kernel panic restart
(add_timer_on) from [<c09acdfc>] (slack_timer_resched+0xa8/0xdc)
(slack_timer_resched) from [<c09ae2f0>] (cpufreq_interactive_start+0xac/0x234)
(cpufreq_interactive_start) from [<c09a8168>] (cpufreq_start_governor+0x68/0xa4)
(cpufreq_start_governor) from [<c09a9e9c>] (cpufreq_online+0x4f8/0x794)
(cpufreq_online) from [<c09aa150>] (cpuhp_cpufreq_online+0x18/0x20)
(cpuhp_cpufreq_online) from [<c03231b8>] (cpuhp_invoke_callback+0xa8/0x638)
(cpuhp_invoke_callback) from [<c0323898>] (cpuhp_up_callbacks+0x34/0xe8)
(cpuhp_up_callbacks) from [<c0324774>] (cpuhp_thread_fun+0x13c/0x14c)
(cpuhp_thread_fun) from [<c034ab64>] (smpboot_thread_fn+0x1a8/0x32c)
(smpboot_thread_fn) from [<c0346428>] (kthread+0x124/0x140)
(kthread) from [<c03089d0>] (ret_from_fork+0x14/0x24)

Solution:
disable idle notifier for interactive

Verify:
verified by p212

Change-Id: I412dab961f04bea439d5a26564268289fc4b3940
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
6 years agodtsi: dtbo: change dto partition name to dtbo [1/1]
Luan Yuan [Mon, 15 Oct 2018 05:58:53 +0000 (13:58 +0800)]
dtsi: dtbo: change dto partition name to dtbo [1/1]

PD#173146

Problem:
All devices launching with Android 9 must use dtbo partition
and previous leave out curie dtsi

Solution:
Android P request device tree overlay partition name is dtbo

Verify:
verified by p241

Change-Id: If3067ef4d67c7b692668f28b3e5a2233ea393a1a
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
6 years agoRevert "script: add new check rules in merge_pre_check.pl script [1/1]"
Jianxiong Pan [Mon, 15 Oct 2018 12:10:38 +0000 (05:10 -0700)]
Revert "script: add new check rules in merge_pre_check.pl script [1/1]"

This reverts commit 57728014eeca00e12f843b293ce3be51c042450b.

Change-Id: Ia803a24fe6b6abd00d4015bb1e6857c2826efac7
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
6 years agoscript: add new check rules in merge_pre_check.pl script [1/1]
Jianxiong Pan [Mon, 15 Oct 2018 08:14:49 +0000 (16:14 +0800)]
script: add new check rules in merge_pre_check.pl script [1/1]

PD#174488

Problem:
some new rules should be added to the check scripts

Solution:
call the git_msg_check.sh script directly

Verify:
p212

Change-Id: I67c6515038ca2817236e63b4c9f4239583a20613
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
6 years agocts: dts: add dummy battery driver for TV [1/1]
Lei Qian [Fri, 12 Oct 2018 13:19:58 +0000 (21:19 +0800)]
cts: dts: add dummy battery driver for TV [1/1]

PD#169027

Problem:
some CTS and VTS testcases use the battery information

Solution:
here add a dummy battery for it.
for P, it requires a dummy charger to set the online property to 1.

Verify:
verified by einstein

Change-Id: I78d2cf54904144bb24cd46670aa7377f2055cf55
Signed-off-by: Lei Qian <lei.qian@amlogic.com>
6 years agoBT: porting cpy 2704
Kuibao Zhang [Fri, 7 Sep 2018 07:45:56 +0000 (15:45 +0800)]
BT: porting cpy 2704

PD#172583: bt power and uart rts

Change-Id: I392b3caf0771c9608d532694ecd16b52dccf05a3
Signed-off-by: Kuibao Zhang <kuibao.zhang@amlogic.com>
6 years agohdmi: cec: change cec IP
Yong Qin [Fri, 14 Sep 2018 02:40:54 +0000 (10:40 +0800)]
hdmi: cec: change cec IP

PD#173638: cec: change cec IP

Change-Id: Ia5ef195a90b272ec74858a7afca0b7959b0c6817
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
6 years agoscript: allow JIRA BugId check in the merge_pre_check.pl script
Jianxiong Pan [Wed, 10 Oct 2018 06:40:28 +0000 (14:40 +0800)]
script: allow JIRA BugId check in the merge_pre_check.pl script

PD#174488: add JIRA BugId check in the merge_pre_check.pl script

Change-Id: I32f2fc123041e6c40ce2a5c4208734e11b307fd5
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
6 years agoatv_demod: modify PALM/N's resolution and sound system display error [3/3]
nengwen.chen [Thu, 11 Oct 2018 02:16:56 +0000 (10:16 +0800)]
atv_demod: modify PALM/N's resolution and sound system display error [3/3]

PD#SWPL-434

Problem:
PALM/N's resolution and sound system display error

Solution:
modify PALM/N's resolution and sound system display error
PALM: 480i PALN: 576i

Verify:
verified by einstein

Change-Id: I2271222634fb5d382aebff31289ab22ddb443bc3
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
6 years agovdac: fix crash issue
Nian Jing [Fri, 12 Oct 2018 09:51:01 +0000 (17:51 +0800)]
vdac: fix crash issue

PD#174269: fix crash issue

Problem:
crash when unplug hdmi.null pointer visiting

Solution:
delete dts config,add null pointer protect

Verify:
test pass on p212

Change-Id: I5176aa4eb398b1bedf14b36ec6529c471e927530
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
6 years agodriver: video: fix hdr info not disapear problem [2/2]
Yao.Liu [Thu, 11 Oct 2018 06:49:23 +0000 (02:49 -0400)]
driver: video: fix hdr info not disapear problem [2/2]

PD#173100

Problem:
still show hdr info after switching hdr stream
to non-hdr stream when surface not changed

Solution:
OMX set hdr to decoder, it will be used by amvecm

Verify:
verify by u212

Change-Id: I7d013921fb4124d9aed9f51871253c76c666c022
Signed-off-by: Yao.Liu <yao.liu@amlogic.com>
6 years agodtsi: dtbo: change dto partition name to dtbo [1/2]
Tellen Yu [Wed, 5 Sep 2018 11:12:03 +0000 (19:12 +0800)]
dtsi: dtbo: change dto partition name to dtbo [1/2]

PD#173146

Problem:
All devices launching with Android 9 must use dtbo partition

Solution:
Android P request device tree overlay partition name is dtbo

Verify:
verified by p212 board in Android P

Change-Id: If48b6eaf0a0ee2d76a5fb0b58353fb82381c71ee
Signed-off-by: Tellen Yu <tellen.yu@amlogic.com>
Signed-off-by: Xindong Xu <xindong.xu@amlogic.com>