Commit Graph

853561 Commits

Author SHA1 Message Date
Sandy Huang
5be8f596ff drm/rockchip: vop: optimize dump buffer cmd
vop driver need to backup the last plane info for dump buffer cmd,
but the kmemleak tool will identify as a memleak buffer, so store the
planelist to rockchip_plane_state, and kfree the planlist at next frame
update or disable.

Change-Id: I6e95bfb9740a0ff4ad9033bbe3a34c28e1114c3d
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
2020-04-30 14:45:01 +08:00
Sandy Huang
9f4bb6067d drm/rockchip: fix memleak at kernel logo logic
Change-Id: I2aea4f8067fbded3c135b5a992134c77d7b0bf05
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
2020-04-30 14:45:01 +08:00
Xing Zheng
d92e05ea5a ASoC: rk3308_codec: disable zero-cross without working AGC
Enabling zero-cross without AGC, it's may cause loss some
data when start capturing.

Change-Id: I57fcf2cdfc0f67b54700639c4a73bf6c92ac254a
Reported-by: XiaoTan Luo <lxt@rock-chips.com>
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
2020-04-30 14:41:27 +08:00
Ding Wei
06973883c2 video: rockchip: mpp: put node for attach mpp service
relative function:
of_parse_phandle ==> of_node_put
of_find_device_by_node ==> platform_device_put

Change-Id: I06ef97baa675efff79b2bc653fabda54e3f707df
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
2020-04-30 11:24:16 +08:00
William Wu
ea9afa6584 usb: gadget: udc: core: fix possible NULL pointer dereference
This patch fixes the following panic when use uvc function and
do reboot during uvc preview.

Unable to handle kernel NULL pointer dereference at virtual address 000001fd
pgd = 85dd55c1
[000001fd] *pgd=00000000
Internal error: Oops: 17 [#1] PREEMPT SMP ARM
Modules linked in: galcore(O)
CPU: 0 PID: 716 Comm: xc:RkAiqCoreThr Tainted: G        W  O      4.19.111 #18
Hardware name: Generic DT based system
PC is at usb_gadget_deactivate+0x0/0x6c
LR is at usb_function_deactivate+0x54/0x74

It's because that do reboot operation will call configfs_composite_unbind()
to set cdev->gadget to NULL.

Change-Id: I6fbfe9b58f865113d04ca7ce0b74b00f8d89227c
Signed-off-by: William Wu <william.wu@rock-chips.com>
2020-04-30 10:44:38 +08:00
Ding Wei
caa640e869 video: rockchip: mpp: add rollback when iommu probe error
when error, it must realse the got resource.

Change-Id: Ib1c8f4495c41c0a82dda2ab087c6dd7a04c3e7ab
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
2020-04-30 10:17:34 +08:00
Ding Wei
4942a0ef0b video: rockchip: mpp: mpp->rw_sem ==> mpp->iommu_info->rw_sem
Change-Id: I26be1d109b211d9e95fcf4f42236338bcc64e880
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
2020-04-30 09:44:12 +08:00
Huang jianzhi
5863551f82 rtc: rtc-fake: add fake rtc driver
Change-Id: Ia06db4f5d967338c3f74fed9d35d2cd05209d746
Signed-off-by: Huang jianzhi <jesse.huang@rock-chips.com>
2020-04-29 18:30:37 +08:00
Jianqun Xu
fd7e5ad076 video/rockchip: mpp_rkvdec fix reset for rk3368 ops
Change-Id: Iba61a21e4a4cc102eb68ec39afe927e7f2d39558
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2020-04-29 09:10:40 +08:00
Finley Xiao
d2b07cf531 soc: rockchip: pvtm: Add support to get remapped base address
Change-Id: I50938f27d8ee88059114069f2edfff78d0dd066f
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2020-04-28 18:52:30 +08:00
Elaine Zhang
9094c9a14c clk: rockchip: Modify the rules of the fractional divider
Fractional frequency divider to do integer frequency divider does not
need 20 times the limit.

Change-Id: I98e413230a237fc5aafebabb9c0696d0ce51281a
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
2020-04-28 15:32:26 +08:00
Yao Xiao
9d5a7a9c5a net: wifi: rockchip_wlan: add wifi6 support for bcmdhd chipset
1. support wifi6
2. support sta/ap coex for Android P
3. support sta/ap coex for Linux Connman(Connection Manager)

notice:
  As the new drivers are unstable, the vendor suggests to maintain
two sets of drivers, and delete them after the new drivers are stable.

Signed-off-by: Yao Xiao <xiaoyao@rock-chips.com>
Change-Id: I6c98e6e031aee1d619a7f1f4a357b09975237d80
2020-04-28 15:09:48 +08:00
Huibin Hong
ca8b52d209 fiq_debugger: switch to cpu0 as default
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
Change-Id: Ie3d10478ce3d687eec3a8e3dcd833af4154105a1
2020-04-28 15:05:43 +08:00
Huibin Hong
c3a11b6021 soc: rockchip: debug: access dbgpcsr when cpu is up
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
Change-Id: I8ac1e3dba85c69e6a1febf9e3259bb0417fc6509
2020-04-28 15:05:42 +08:00
Shunhua Lan
eb9a258810 ASoC: es8316: Porting to rockchip platform
add mclk and amp amplifier control for rockchip soc
using extcon notifier for headset detect

Change-Id: I5984a60f3e64682a669779cd99def8f423b6dd0d
Signed-off-by: Shunhua Lan <lsh@rock-chips.com>
2020-04-28 15:05:42 +08:00
Liang Chen
dd9daa56a7 ARM: dts: rk312x: delete critical trip for thermal
rk312x use virtual tsadc, there is no need poweroff when overheat,
just limit the frequency.

Change-Id: Id43c76ca6876a5c38ced9e0c07511ee57dd53691
Signed-off-by: Liang Chen <cl@rock-chips.com>
2020-04-28 09:39:24 +08:00
Finley Xiao
3c569adbcf soc: rockchip: pvtm: Add rockchip_pvtm_ops
Change-Id: I5bcd4eead821b7de954a77a0b6c18ab978971024
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2020-04-27 18:44:49 +08:00
Finley Xiao
e5d2ff986f soc: rockchip: pvtm: rename ch to id and sub_ch to ring_sel
Make the name remain consistent with TRM.

Change-Id: Iedf837ca45f4cb54e1a61a32015deeb3c5e7276e
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2020-04-27 18:44:49 +08:00
Finley Xiao
da913c30e2 soc: rockchip: pvtm: Update driver to use clk_bulk and reset array APIs
Change-Id: Ie6ab946fa95fd69607150bd5d48c78f0f58d387d
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2020-04-27 18:44:49 +08:00
Finley Xiao
7204bbf8af soc: rockchip: pvtm: Fix pvtm ch error when get pvtm value
Change-Id: I627d70c103173d7767778e284eafa31e3a3c1db9
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2020-04-27 18:44:49 +08:00
Finley Xiao
a3e34d47db soc: rockchip: pvtm: use SPDX-License-Identifier
This updates the rockchip_pvtm.c file to use SPDX-License-Identifier
instead of more verbose license text.

Change-Id: I9f89999e0668269ff7d9283e90710bf0b06bde7f
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2020-04-27 18:44:49 +08:00
shengfei Xu
227808eed5 mfd: rk808: determine whether the stored data of the PMIC_POWER_EN OTP is valid
If the system doesn't save the PMIC_POWER_EN OTP, we don't have to write
it back.

Fixes: c0570888f0 ("mfd: rk808: Set only resetting pmic register for 817&809.")
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
Change-Id: I3cb391202a2967060b79f5bd7af1ebbcc82e9d9a
2020-04-27 18:34:29 +08:00
Wu Liangqing
ff4de39737 arm64: dts: rockchip: rk3368-808-evb: remove firmware_android node
Change-Id: I8ee67f29dd215322a1f4dc0cb9031fd314054184
Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
2020-04-27 15:40:41 +08:00
Ding Wei
f9bd64b480 video: rockchip: mpp: add dump info when alloc failed
changes:
1. task->info ==> task->mpp_task.info
2. export mpp_task->reg for dump register setting

Change-Id: I78b024d083e04fcbf8fd76fbe5f24798d912103a
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
2020-04-27 15:23:54 +08:00
Elaine Zhang
c5d6070c6b thermal: rockchip: fix up the thermal panic block
Fixed the panic reloads when there are multiple thermal devices.

Change-Id: Ia08b0bfec940be089440b9246cc1abf9626c19a7
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
2020-04-27 11:32:42 +08:00
Xing Zheng
d00bfccedf clk: fractional-divider: add handle to frac numerator is not to be greater than 4
We know that under the condition of even frequency division,
if the numeratoris greater than 4, the duty cycle may not be
equal to 50%.

In the case, weneed to keep the original numerator(<4) and
denominator.

Change-Id: I8cd08199df4e3d27d5697ce80370224a6f267e26
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
2020-04-27 11:08:46 +08:00
Wu Jingchen
f8de58c732 arm64: rockchip_defconfig: rk3368 xikp board: enable ov8858
ov8858 camera module used by rk3368 xikp board

Change-Id: Id8380b997c9fe042957a3ba5284e5cf3cc799c37
Signed-off-by: Wu Jingchen <oven.wu@rock-chips.com>
2020-04-27 10:12:34 +08:00
Wu Jingchen
4f8d752059 arm64: dts: rockchip: add gc2145 add ov8858 for rk3368-xikp board
Change-Id: Ic0ecbce7e34d8dca4ebfae99317eb8e4865eb053
Signed-off-by: Wu Jingchen <oven.wu@rock-chips.com>
2020-04-27 10:09:52 +08:00
William Wu
86d92b4524 usb: dwc2: hcd: fix isoc out transfer with unaligned dma address
This DWC2 driver has handled the unaligned DMA address problem
for urb->transfer_buffer and split in transfer. But it still
has problem to handle the isoc out transfer with unaligned DMA
address.

I test an USB Audio device which supports 24bits 96KHz 3LE format:

usb 1-1: new full-speed USB device number 2 using dwc2
usb 1-1: New USB device found, idVendor=21b4, idProduct=0083, bcdDevice= 1.06
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: AudioQuest DragonFly Black v1.5
usb 1-1: Manufacturer: AudioQuest
usb 1-1: SerialNumber: AQDFBL0100023815

When play 24bits 96KHz WAV file, noise occurs.

The rootcause is that the DWC2 controller use internal DMA to
transfer USB audio data, and the DMA address of data buffer must
be 4 bytes aligned, otherwise, the dwc2 will fail to transfer the
data. In this test case, the USB audio may transfer 572 bytes or
582 bytes in one usb transaction. And one URB contains multiple
usb transactions, if the DWC2 transfer the 582 Bytes in the middle
of the URB, the DMA address will not be 4 bytes aligned.

This patch allocates new aligned buf for isoc out transfer with
unaligned DMA address.

For isoc split out transfer, this patch sets the start schedule at
the 2 * DWC2_SLICES_PER_UFRAME to transfer the SSPLIT-begin OUT
transaction like EHCI controller. Without this patch, the SSPLIT-begin
OUT transaction starts in the seventh microframe, and this makes the
USB HUB unhappy. This patch sets the the SSPLIT-begin OUT transaction
starts in the first microframe.

Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: I251ccf804e062312f9bd348552493f3bab504beb
2020-04-26 22:04:39 +08:00
Shawn Lin
5029583149 mmc: dw_mmc: get host from xfer_timer instead of dto_timer
Change-Id: I89cc058f597d1f408da9367e859e855f7e79f8bf
Fixes: 1d1a1f03f3 ("mmc: dw_mmc: add xfer timer for avoid DTO without actual data payload")
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
2020-04-26 18:55:27 +08:00
Andy Yan
e8f1ca159d drm/rockchip: rk618: Avoid one div operation
Get dst->clock from sclk_rate before it changed to avoid one div
operation.

Change-Id: I33a51fd8b9cef5c3e73fc4db436fe8c1dcc57306
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
2020-04-26 12:21:15 +08:00
Andy Yan
0cceb75ca5 drm/rockchip: rk618: Fix compile error on arm32 platform
Fix follow build error on arm32:

In file included from ./arch/arm/include/asm/div64.h:127:0,
                 from ./include/linux/kernel.h:208,
                 from ./include/linux/clk.h:16,
                 from drivers/gpu/drm/rockchip/rk618/rk618_scaler.c:8:
drivers/gpu/drm/rockchip/rk618/rk618_scaler.c: In function
'calc_dsp_frm_hst_vst':
./include/asm-generic/div64.h:222:28: warning: comparison of distinct
pointer types lacks a cast
error, forbidden warning:div64.h:222
  (void)(((typeof((n)) *)0) == ((uint64_t *)0)); \
                            ^
drivers/gpu/drm/rockchip/rk618/rk618_scaler.c:123:2: note: in expansion
of macro 'do_div'
  do_div(t_frm_st, src_pixclock);
  ^~~~~~
./include/asm-generic/div64.h:222:28: warning: comparison of distinct
pointer types lacks a cast
error, forbidden warning:div64.h:222
  (void)(((typeof((n)) *)0) == ((uint64_t *)0)); \
                            ^
drivers/gpu/drm/rockchip/rk618/rk618_scaler.c:124:19: note: in expansion
of macro 'do_div'
  *dsp_frame_hst = do_div(t_frm_st, src_htotal);

drivers/gpu/drm/rockchip/rk618/rk618_scaler.c:303:
undefined reference to `__aeabi_uldivmod'
drivers/gpu/drm/rockchip/rk618/rk618_scaler.c:304:
undefined reference to `__aeabi_uldivmod'
drivers/gpu/drm/rockchip/rk618/rk618_dsi.o: In function
`rk618_dsi_set_hs_clk':
drivers/gpu/drm/rockchip/rk618/rk618_dsi.c:297:
undefined reference to `__aeabi_uldivmod'

Change-Id: I7a63cf63217e75ca5b2115581d39492642225e81
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
2020-04-24 18:44:30 +08:00
Ding Wei
fdd815e602 video: rockchip: mpp: add iommu fault handle
when iommu fault, dump mem region and register.

Change-Id: Ifa5f175c6f0d8f7688c2d65a4423d975c37fe1af
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
2020-04-24 13:58:27 +08:00
Tao Huang
5d1c3f0ecd arm64: rockchip_defconfig: update by savedefconfig
Remove some unsupported configs:

-CONFIG_BT_RTKBTUSB=y
-CONFIG_BT_HCIUART_LL=y
-CONFIG_ROCKCHIP_SCR=y
-CONFIG_USB_CAM_GPIO=y
-CONFIG_BATTERY_EC=y
-CONFIG_ROCKCHIP_DRM_BACKLIGHT=y
-CONFIG_DRM_RK1000=y
-CONFIG_DRM_ANALOGIX_ANX6345=y
-CONFIG_SND_SOC_ROCKCHIP_FORCE_SRAM=y
-CONFIG_SND_SOC_ROCKCHIP_I2S=y
-CONFIG_SND_SOC_ROCKCHIP_MULTI_DAIS=y
-CONFIG_SND_SOC_ROCKCHIP_HDMI_ANALOG=y
-CONFIG_SND_SOC_ROCKCHIP_HDMI_DP=y
-CONFIG_SND_SOC_ROCKCHIP_CDNDP=y
-CONFIG_SND_SOC_FM1288=y
-CONFIG_SND_SOC_RK1000=y
-CONFIG_SND_SOC_RT5651=y
-CONFIG_HID_RKVR=y
-CONFIG_USB_CONFIGFS_F_MTP=y
-CONFIG_USB_CONFIGFS_F_PTP=y
-CONFIG_SWITCH=y
-CONFIG_RTC_DRV_FAKE=y
-CONFIG_INV_MPU_IIO=y

Change-Id: Ie59827276b138af879397894ccfb99d9362ea65a
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2020-04-23 21:34:01 +08:00
Tao Huang
3e0232731c ARM: rockchip_defconfig: update by savedefconfig
Remove some unsupported configs:

-CONFIG_BT_RTKBTUSB=y
-CONFIG_BT_HCIUART_LL=y
-CONFIG_ROCKCHIP_SCR=y
-CONFIG_USB_CAM_GPIO=y
-CONFIG_BATTERY_EC=y
-CONFIG_REGULATOR_SYR82X=y
-CONFIG_SND_SOC_ROCKCHIP_HDMI_ANALOG=y
-CONFIG_SND_SOC_ROCKCHIP_HDMI_DP=y
-CONFIG_SND_SOC_ROCKCHIP_CDNDP=y
-CONFIG_SND_SOC_GVA_CODEC=y
-CONFIG_SND_SOC_TC358749X=y
-CONFIG_USB_CONFIGFS_F_MTP=y
-CONFIG_USB_CONFIGFS_F_PTP=y
-CONFIG_LEDS_TRIGGER_BACKLIGHT=y
-CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
-CONFIG_SWITCH=y
-CONFIG_RTC_DRV_FAKE=y
-CONFIG_INV_MPU_IIO=y

Change-Id: If9b8dafe76668ad18de97d1b512ad766eb75f1fc
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2020-04-23 21:05:33 +08:00
Wu Jingchen
faad12d22f ARM: rockchip_defconfig: Add SONY drivers to fix CtsHardwareTestCases
android.hardware.input.cts.tests.SonyDualshock4TestCase#testAllKeys
android.hardware.input.cts.tests.SonyDualshock4TestCase#testAllMotions

Change-Id: I87beb10acf3afc42029fd5cf75907934707bdbb6
Signed-off-by: Wu Jingchen <oven.wu@rock-chips.com>
2020-04-23 20:56:30 +08:00
Tao Huang
88e51034ef ARM: rockchip_defconfig: update by savedefconfig
Reorder some configs.

Change-Id: Ida4a95dc1862544104d576e774a2f5d4d4423594
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2020-04-23 17:47:35 +08:00
Ding Wei
7997c3fdb8 video: rockchip: mpp: fix issue for fd find dmabuf
Multiple fd may point to the same dmmabuf, which means the
same buffer. Therefore, fd cannot be added as a judgment.

Change-Id: I459a3350a692299932e58f3e274d2509a5b9a48e
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
2020-04-23 09:52:06 +08:00
Sandy Huang
a5a513a1bf ARM: rockchip_defconfig: Disable kernel logo
If you want to enable kernel logo set the following state:
  1. enable CONFIG_FRAMEBUFFER_CONSOLE
  2. enable CONFIG_LOGO
  3. disable route_HDMI/eDP/MIPI state at dts file;

Change-Id: I40c9c8bf4133c6e8e3fa829c4402bbe2c800d364
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
2020-04-22 17:44:28 +08:00
Sandy Huang
ec95c01623 arm64: rockchip_defconfig: Disable kernel logo
If you want to enable kernel logo set the following state:
  1. enable CONFIG_FRAMEBUFFER_CONSOLE
  2. enable CONFIG_LOGO
  3. disable route_HDMI/eDP/MIPI state at dts file;

Change-Id: Ibe35ef6e296718cde9871c8cc2e61e1621c4d6a6
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
2020-04-22 17:20:54 +08:00
Jianqun Xu
d74d826a4b soc/rockchip: fix WARNING on system monitor to cancel work
------------[ cut here ]------------
 WARNING: CPU: 7 PID: 1 at kernel/workqueue.c:2944 __flush_work+0x274/0x294
 Modules linked in:
 CPU: 7 PID: 1 Comm: init Not tainted 4.19.111 #542
 Hardware name: Rockchip rk3368 808 evb board (DT)
 pstate: 60400005 (nZCv daif +PAN -UAO)
 pc : __flush_work+0x274/0x294
 lr : __flush_work+0x270/0x294
 ...
 Call trace:
  __flush_work+0x274/0x294
  __cancel_work_timer+0x110/0x1a0
  cancel_delayed_work_sync+0x10/0x1c
  rockchip_monitor_reboot_notifier+0x78/0x84
  blocking_notifier_call_chain+0x54/0x98
  kernel_power_off+0x20/0xf8

Change-Id: Ia666a2901a1ce1d66b231e6615205e6e83f3093c
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2020-04-22 17:00:24 +08:00
Mark Salyzyn
d1c98f264d Revert "UPSTREAM: mm, page_alloc: spread allocations across zones before introducing fragmentation"
This reverts commit 8ad4b225e8.

Reason for revert: revert customized code
Bug: 140544941
Test: boot
Signed-off-by: Minchan Kim <minchan@google.com>
Signed-off-by: Martin Liu <liumartin@google.com>
Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I340fb8af98b3f6e033fd5463b082fbca43abe941
2020-04-22 14:10:19 +08:00
Mark Salyzyn
803546c485 Revert "UPSTREAM: mm: use alloc_flags to record if kswapd can wake"
This reverts commit 112ced56ce.

Reason for revert: revert customized code
Bug: 140544941
Test: boot
Signed-off-by: Minchan Kim <minchan@google.com>
Signed-off-by: Martin Liu <liumartin@google.com>
Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I400cabb69dc9e24ea5d84f677315dbb3bfd34e45
2020-04-22 14:10:19 +08:00
Mark Salyzyn
e77ca8f9c9 Revert "BACKPORT: mm: move zone watermark accesses behind an accessor"
This reverts commit acfb1c608b.

Reason for revert: revert customized code
Bug: 140544941
Test: boot
Signed-off-by: Minchan Kim <minchan@google.com>
Signed-off-by: Martin Liu <liumartin@google.com>
Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I4988ddf1fc24579d4fc478de1de6e45b870f7bcd
2020-04-22 14:10:19 +08:00
Mark Salyzyn
240610c486 Revert "BACKPORT: mm: reclaim small amounts of memory when an external fragmentation event occurs"
This reverts commit 5cbbeadd5a.

Reason for revert: revert customized code
Bug: 140544941
Test: boot
Signed-off-by: Minchan Kim <minchan@google.com>
Signed-off-by: Martin Liu <liumartin@google.com>
Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I65735f27f6a44a112957bcec07e2f63f2d8ccff6
2020-04-22 14:10:19 +08:00
Mark Salyzyn
bea61f8995 Revert "BACKPORT: mm, compaction: be selective about what pageblocks to clear skip hints"
This reverts commit fd9c71c06b.

Reason for revert: revert customized code
Bug: 140544941
Test: boot
Signed-off-by: Minchan Kim <minchan@google.com>
Signed-off-by: Martin Liu <liumartin@google.com>
Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I58d978c6f74f8a1a04b17fa6d3890ddc4f1988c0
2020-04-22 14:10:19 +08:00
Jianqun Xu
b53e459d52 staging: android: ion_legency: fix debug dir name
Change-Id: I97011e4bb17add08408856dda9c821673f299708
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2020-04-22 10:52:31 +08:00
Wang Jie
9fca8e9e48 arm64: dts: rockchip: modify vcca_33 and vcc_lan for rk3368 808 evb
solve the machine sleep and wake up, 4G module is abnormal.
Under normal circumstances, sleep and wake up, 4g can not disconnect the network.

Change-Id: Iee28bdcee57747c4f4cbceae8c413b7f46c2b6ad
Signed-off-by: Wang Jie <dave.wang@rock-chips.com>
2020-04-22 08:54:36 +08:00
Jon Lin
182a156aa0 spi: rockchip: support 64-location deep FIFOs
Change-Id: Id229ef4ff82e1066267ccfd562ff05375febfb06
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2020-04-21 19:13:14 +08:00
Jon Lin
a78947d29f drivers: rkflash: enable reinit SNOR from snor flash packet
Firstly, init SNOR from flash table, then if this SPI Nor isn't
in flash table, reinit from snor flash packet.

Change-Id: Ia6fc76801ac44f978a198f4d369ade5c0af36f8b
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2020-04-21 19:12:44 +08:00