Commit Graph

852068 Commits

Author SHA1 Message Date
Wyon Bi
ecd47ba5f3 drm/rockchip: lvds: Add missing configuration for rockchip_crtc_state
Change-Id: Id844c89db0623213c5751d438ff494130d604bab
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
2020-02-27 14:40:50 +08:00
Wyon Bi
590bf4c3f4 drm/rockchip: dsi: Add missing configuration for rockchip_crtc_state
Change-Id: I8c5b4911f0f8832771f91a189a9e9ceea041c233
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
2020-02-27 14:40:50 +08:00
Huang Jiachai
f894dd834d dma-buf/sw_sync: sw_sync register as misc devices
Because the kernel debug fs will removed from android 11, so we move
sw_sync to misc devices, as android lib sync has done the compatibility
work, so after this commit, the hwc there is no need to update.

Signed-off-by: Huang Jiachai <hjc@rock-chips.com>
Change-Id: I799b66b1ba98c9370893b9554095664010b635df
2020-02-27 10:54:49 +08:00
Jianqun Xu
a3abe77603 ARM: dts: rockchip: fix rk3288-evb dtsi file
Change-Id: I042ee6c425eaf82c4d73e5a5c911011a9cd1d4d5
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2020-02-27 09:35:18 +08:00
Wu Liangqing
b20b529fc1 arm64: rockchip: px30: remove firmware_android and support ddr4 board
Change-Id: I3b73f79f47fc2b3f73cb04ddf76af4e7c055c12a
Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
2020-02-27 09:29:18 +08:00
Grey Li
d37bac146e video: rockchip: mpp: add lock when traverse mpp_dma_buffer list
Change-Id: I3002dfce5415b8aebd54bcf3e9617f428e7a196f
Signed-off-by: Grey Li <grey.li@rock-chips.com>
2020-02-26 17:52:59 +08:00
Wang Jie
3efe290bbf arm64: dts: rockchip: otg-port and vbus configure for rk3368 808 evb
Change-Id: I234ba606558ee247c8253705d87df9f37b15fc6e
Signed-off-by: Wang Jie <dave.wang@rock-chips.com>
2020-02-25 17:58:58 +08:00
Jianqun Xu
83a3514692 ARM: dts: rockchip: rk3288 fix cpu opp table
Change-Id: If8831cb6b23c95d48b3f2f046f766e3f9f42dc2b
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2020-02-25 16:46:43 +08:00
Al Viro
4b09c29ead UPSTREAM: vfs: fix do_last() regression
commit 6404674acd upstream.

Brown paperbag time: fetching ->i_uid/->i_mode really should've been
done from nd->inode.  I even suggested that, but the reason for that has
slipped through the cracks and I went for dir->d_inode instead - made
for more "obvious" patch.

Analysis:

 - at the entry into do_last() and all the way to step_into(): dir (aka
   nd->path.dentry) is known not to have been freed; so's nd->inode and
   it's equal to dir->d_inode unless we are already doomed to -ECHILD.
   inode of the file to get opened is not known.

 - after step_into(): inode of the file to get opened is known; dir
   might be pointing to freed memory/be negative/etc.

 - at the call of may_create_in_sticky(): guaranteed to be out of RCU
   mode; inode of the file to get opened is known and pinned; dir might
   be garbage.

The last was the reason for the original patch.  Except that at the
do_last() entry we can be in RCU mode and it is possible that
nd->path.dentry->d_inode has already changed under us.

In that case we are going to fail with -ECHILD, but we need to be
careful; nd->inode is pointing to valid struct inode and it's the same
as nd->path.dentry->d_inode in "won't fail with -ECHILD" case, so we
should use that.

Change-Id: I9aa97857bdf3944d67c47a45161465ec1055b41d
Reported-by: "Rantala, Tommi T. (Nokia - FI/Espoo)" <tommi.t.rantala@nokia.com>
Reported-by: syzbot+190005201ced78a74ad6@syzkaller.appspotmail.com
Wearing-brown-paperbag: Al Viro <viro@zeniv.linux.org.uk>
Cc: stable@kernel.org
Fixes: d0cb50185a ("do_last(): fetch directory ->i_mode and ->i_uid before it's too late")
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
(cherry picked from commit 8d7a5100e2)
2020-02-25 16:28:26 +08:00
Wyon Bi
a9b97c9f5e drm/rockchip: analogix_dp: Add support for RK3368
Add eDP controller support for RK3368 SoC.
RK3368 eDP controller is similar to the RK3288.

Change-Id: I738ddf122776081cf41adef2921644ddfc6e07dd
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
2020-02-25 15:42:03 +08:00
Wyon Bi
19d3ef2a43 phy/rockchip: dp: Protect the boot logo
Change-Id: Iee1366d77a0a4d046321b34efaa138d61317bc66
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
2020-02-25 15:41:56 +08:00
Wyon Bi
36156156ae phy/rockchip: dp: Add support for RK3368
Add eDP PHY support for RK3368 SoC. RK3368 eDP PHY is similar to
the RK3288.

Change-Id: Ic2134ba719dadba121dc2fcc944662ef06b2ecfa
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
2020-02-25 15:41:56 +08:00
Ding Wei
b7552b5738 arm64: dts: rockchip: rk3368: fix issue for vdpu_mmu and vepu_mmu
tips: vdpu_mmu and vepu_mmu have the same address, than it will double
map when probe. Thus, merge this to vpu_mmu to avoid it.

Change-Id: I0482e3c9a992aa93a1d28ed389ec3ef63ab4a6ee
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
2020-02-25 15:39:15 +08:00
Ding Wei
d9f21d5208 video: rockchip: mpp: fix issue for ioremap the same register region
tips: In rk3368, hevc and vdpu use the same register region.
      However, devm_ioremap_resource will call function
      devm_request_mem_region to check region whether map.
      Thus, use devm_ioremap instead to avoid it.

Change-Id: I339b7d5a4e02e9f2304a9c40b146057e1ce13817
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
2020-02-25 15:30:42 +08:00
Jianqun Xu
833c00e7b6 ARM: dts: rockchip: rk3288-evb add touchscreen node
Change-Id: If5c3f43d3fca7a0eaf3a772dd85b2ca471a01c1b
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2020-02-25 15:17:02 +08:00
Jianqun Xu
2d57d60e72 ARM: dts: rockchip: rk3288 evb fix backligh node
Change-Id: Ic80cc027fb21ecee46270a6193614fdec1b3a4c8
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2020-02-25 15:14:59 +08:00
Jianqun Xu
211e767ef8 cpufreq: add rockchip,rk3288w to blacklist
Some rk3288 chips have been writen special efuse, and uboot will
overwrite the compatible of dtb from rk3288 to rk3288w.

For cpufreq platdev driver, needs to add rk3288w to blacklist to
aviod generic cpufreq-dt driver work.

Change-Id: Ib079647b0ca483c9fbb729a7f81514a0d6a9931b
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2020-02-25 15:14:37 +08:00
Tao Huang
e4b4c26451 soc: rockchip: opp_select: Fix compilation warnings when !CONFIG_ROCKCHIP_OPP
include/soc/rockchip/rockchip_opp_select.h: In function 'rockchip_set_opp_prop_name':
include/soc/rockchip/rockchip_opp_select.h:83:9: warning: returning 'int' from a function with return type 'struct opp_table *' makes pointer from integer without a cast [-Wint-conversion]

Change-Id: Id8c0fc331bcece33692ddde2084a7e8d3142bd94
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2020-02-25 09:27:02 +08:00
Tao Huang
0377fad75a video: rockchip: rga2: Fix compilation when !CONFIG_HIGHMEM
drivers/video/rockchip/rga2/rga2_mmu_info.c: In function 'rga2_dma_flush_page':
drivers/video/rockchip/rga2/rga2_mmu_info.c:69:11: error: implicit declaration of function 'kmap_high_get' [-Werror=implicit-function-declaration]

Change-Id: If389e8b1e61c1dcdffb94eb27d12e612a663193c
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2020-02-25 09:25:34 +08:00
Tao Huang
7fa45d5091 soc: rockchip: system_monitor: Fix compilation when !CONFIG_ROCKCHIP_SYSTEM_MONITOR
Change-Id: Ib7270b6bf9971ef501dd79b87a484af5e0304dec
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2020-02-24 17:48:18 +08:00
Arnd Bergmann
1a0f1ce0a1 UPSTREAM: mfd: rk808: Mark pm functions __maybe_unused
The newly added suspend/resume functions are only used if CONFIG_PM
is enabled:

drivers/mfd/rk808.c:752:12: error: 'rk8xx_resume' defined but not used [-Werror=unused-function]
drivers/mfd/rk808.c:732:12: error: 'rk8xx_suspend' defined but not used [-Werror=unused-function]

Mark them as __maybe_unused so the compiler can silently drop them
when they are not needed.

Change-Id: I3db25d369f04883988fd934e11e26126de8cc6a4
Fixes: 586c1b4125 ("mfd: rk808: Add RK817 and RK809 support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
(cherry picked from commit 5752bc4373)
2020-02-24 17:44:58 +08:00
Liang Chen
eac9158067 cpufreq: interactive: fix: slack timer may resched after governor stop
cpufreq_interactive_idle_end() will hold icpu->enable_sem lock and resched
the slack timer. But cpufreq_interactive_stop() delete slack timer without
lock, then the timer may resched, it will case timer BUG as below, so
hold icpu->enable_sem when delete slack timer.

[21728.659718] kernel BUG at kernel/time/timer.c:1154!
[21728.659731] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP
[21728.661019] Modules linked in: bcmdhd
[21728.661354] Process cpuhp/3 (pid: 26, stack limit = 0x0000000053b86a60)
[21728.661936] CPU: 3 PID: 26 Comm: cpuhp/3 Not tainted 4.19.80 #74
[21728.662461] Hardware name: Rockchip RK3328 EVB avb (DT)
[21728.662922] pstate: 20400085 (nzCv daIf +PAN -UAO)
[21728.663355] pc : add_timer_on+0x1f8/0x200
[21728.663724] lr : slack_timer_resched+0x9c/0xf8
[21728.766258] Call trace:
[21728.766491]  add_timer_on+0x1f8/0x200
[21728.766823]  slack_timer_resched+0x9c/0xf8
[21728.767196]  cpufreq_interactive_start+0xa8/0x140
[21728.767615]  cpufreq_start_governor+0x4c/0x98
[21728.767999]  cpufreq_offline+0x140/0x218
[21728.768350]  cpuhp_cpufreq_offline+0xc/0x18
[21728.768725]  cpuhp_invoke_callback+0x98/0x770
[21728.769120]  cpuhp_thread_fun+0xd0/0x158
[21728.769471]  smpboot_thread_fn+0x200/0x2a0
[21728.769834]  kthread+0xfc/0x128
[21728.770119]  ret_from_fork+0x10/0x18

Fixes: 5a581cc47a ("RFC: FROMLIST: cpufreq: Add android's 'interactive' governor")
Change-Id: If2771305eb9489c175f5bca4c7be8fa0d8f87b84
Signed-off-by: Liang Chen <cl@rock-chips.com>
2020-02-24 16:50:33 +08:00
Wang Panzhenzhuan
b1a495135b media: i2c: vcm drivers synchronize with kernel 4.4
vcm drivers synchronize with kernel 4.4 & fix compile error

Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Change-Id: I7c3650867f0f3c867790dfe017bd89ac6067c2a4
2020-02-24 15:25:51 +08:00
Sandy Huang
a50d5ff77b drm/rockchip: edp: init crtc state from edp
Change-Id: I8ffc3b06b057c91675fc256ccc0866d9721a0b16
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
2020-02-24 15:22:36 +08:00
Sandy Huang
16438cbdd6 ARM: dts: rockchip: fix rk3288 edp panel
Change-Id: I5c7852293c2573f65a86bb4eaaf18f7dc00a4afa
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
2020-02-24 15:22:14 +08:00
Andy Yan
8076fbffea net: can: add rockchip CAN driver
Change-Id: I985eb81f4e06c085be66d2db2cd5c879bda0dd69
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
2020-02-24 10:09:28 +08:00
Elaine Zhang
4d2ad93b5c dt-bindings: can: rockchip_can: add can support for rockchip
This patch add the rockchip can to the device tree bindings
documentation.

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I7a15174dda4a6eec6196fca5e2c386a7844b70ee
2020-02-24 10:07:22 +08:00
Jianqun Xu
5d41244299 ARM: dts: rockchip: fix rk3288 dts files
Change-Id: I7d4233dee5ee81166e666f1663793b09e15f5970
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
2020-02-21 18:29:44 +08:00
Ding Wei
372091ab47 arm64: dts: rockchip: rk3368: match new video driver mpp_serivce
Change-Id: I4bfacb3910f5fed42b8fe8f78f7997f0e650e6e9
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
2020-02-21 18:02:44 +08:00
Sandy Huang
cf2111c9fe drm/rockchip: fix drm mm operation conflict
the mm operation for logo memory will conflict with userspace
memory operation, so we add mm_lock to guaranteed no conflict.

Change-Id: If02310e3a9e48478124201edd94af38dd900944a
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
2020-02-21 15:31:35 +08:00
Sandy Huang
581c39f3ed drm/rockchip: rgb: Add support srgb and srgb dummy mode
Change-Id: Ie5942b90dccec5cec74d1f1f2cbef835d95bdfd9
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
2020-02-20 14:59:47 +08:00
Wyon Bi
dae8349425 drm/rockchip: lvds: avoid PLL unlock error
We need to enable lvds mode before calling phy_power_on.

Change-Id: I38625c44998bde81bb4c98b70b8be5995d64b477
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
2020-02-20 11:32:33 +08:00
Zorro Liu
9d02fc38eb arm64: dts: rockchip: add gpio key and adc key config for rk3368-808 board
Change-Id: I5bc50d63eaddc268b296afce165343f558d43498
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
2020-02-20 11:16:16 +08:00
Jianqun Xu
32364c4431 staging: android: add ion_legency driver
Add legency ion driver support, and rockchip ion driver
only(default) used by the legency ion.

Change-Id: I428d856e96033004943ee024e8d280f3e96753a1
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2020-02-20 09:52:49 +08:00
Jianqun Xu
1d8f622667 arm64: configs: rockchip_defconfig select ION_LEGENCY
Change-Id: I64663f9b838afeb66e0747c9660836796be1d424
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2020-02-20 09:50:56 +08:00
Li Huang
b5773585ef dma-buf/sw_sync: Remove staic of sync_timeline_signal
Change-Id: Ie75f872afb41da5f5f8ad233828e939299a406a9
Signed-off-by: Li Huang <putin.li@rock-chips.com>
2020-02-20 09:14:15 +08:00
Tao Huang
94c42cd8e3 dma-buf/sync-file: Introduce sync_file_get and sync_file_put
For RK3368 Imagination PowerVR GPU driver.

Change-Id: I38f439801ee45212b18a619f1d8652d065e84434
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2020-02-20 09:00:33 +08:00
Jianqun Xu
02f9217e5e drm/rockchip: dw_hdmi fix crash caused by null pointer
Change-Id: I7d5ada5f09d2081440d0098782df6200a83ca2b1
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2020-02-19 15:07:35 +08:00
Liang Chen
8db0ae1427 arm64: dts: rockchip: rk1808: adjust npu opp-table
NPU will hang up sometimes with default opp-table:
[ 7710.595423] [galcore]: GPU[0] hang, automatic recovery.
[ 7710.600735] [galcore]: recovery done
[ 7790.723475] [galcore]: GPU[0] hang, automatic recovery.
[ 7790.728833] [galcore]: recovery done

Change-Id: I4eef0bcb7b0d01c6be70aadc1bae492aefb461b0
Signed-off-by: Liang Chen <cl@rock-chips.com>
2020-02-19 10:33:52 +08:00
Liang Chen
f35d6ee76c arm64: dts: rockchip: rk3399pro-npu: adjust npu opp-table
NPU will hang up sometimes with default opp-table:
[ 7710.595423] [galcore]: GPU[0] hang, automatic recovery.
[ 7710.600735] [galcore]: recovery done
[ 7790.723475] [galcore]: GPU[0] hang, automatic recovery.
[ 7790.728833] [galcore]: recovery done

Change-Id: I4524c2294f1c9d876d54e6cda0a1a49185dbacd8
Signed-off-by: Liang Chen <cl@rock-chips.com>
2020-02-19 10:33:52 +08:00
Liang Chen
abf2fb34a5 arm64: dts: rockchip: limit vdd_npu to 0.88V for rk3399pro-npu
The recommended max voltage of vdd_npu is 0.88V in the datasheet.

Change-Id: I9713810692c5d32b8c41b0b0e0d02405c01dd0b7
Signed-off-by: Liang Chen <cl@rock-chips.com>
2020-02-19 10:33:52 +08:00
Tao Huang
71fb4fc909 Revert "Revert "ANDROID: security,perf: Allow further restriction of perf_event_open""
This reverts commit 025a1ee618.

Android 10 CTS PerfEventParanoidTest check
/proc/sys/kernel/perf_event_paranoid=3.

Change-Id: I705a5040ab1cdd2302a22c11c31487942b69905c
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2020-02-18 15:36:20 +08:00
Tao Huang
17befee732 arm64: rockchip_defconfig: disable CONFIG_KPROBES
Sync with floral_defconfig

Change-Id: I9384382d204487f3ed803635593fb78d536cfa6b
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2020-02-18 15:36:20 +08:00
Guochun Huang
fe5edf2855 drm/rockchip: dsi: fix some dsi register may be misconfigured
Change-Id: I24e369da8f9abdae66ee2a002828886c8fee6d0f
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
2020-02-18 15:10:36 +08:00
Tao Huang
cd85b05864 ARM: rockchip_defconfig: remove CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_PERFORMANCE is auto selected by
CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVE.

Change-Id: Ic5315e7fe80da246761a7da1628a7e705cb8aef4
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2020-02-18 10:54:29 +08:00
Tao Huang
844f6643d1 arm64: rockchip_defconfig: remove CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_PERFORMANCE is auto selected by
CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVE.

Change-Id: Ibc2bf7079759be158aa4f4999813f72e2730f933
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2020-02-18 10:50:16 +08:00
Algea Cao
2765924829 drm/bridge: synopsys: dw-hdmi: reset HDR metadata before getting edid
HDR panel metadata is in connector, not in drm_hdmi_info. So HDR
panel metadata won't be reset when parsing edid. If hdmi is connected
from one HDR TV to another TV that does not support HDR, HDR panel
metadata is still from HDR TV, that will cause hdmi display error.

Change-Id: I2c38240cdb8a7ab6517fa5987db21bc28940da38
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
2020-02-18 10:23:07 +08:00
John Ogness
e9dbde72a3 printk: fix exclusive_console replaying
[ Upstream commit def97da136 ]

Commit f92b070f2d ("printk: Do not miss new messages when replaying
the log") introduced a new variable @exclusive_console_stop_seq to
store when an exclusive console should stop printing. It should be
set to the @console_seq value at registration. However, @console_seq
is previously set to @syslog_seq so that the exclusive console knows
where to begin. This results in the exclusive console immediately
reactivating all the other consoles and thus repeating the messages
for those consoles.

Set @console_seq after @exclusive_console_stop_seq has stored the
current @console_seq value.

Fixes: f92b070f2d ("printk: Do not miss new messages when replaying the log")
Change-Id: Ibea8f5ee2c1a5fc77f46ea11e8769c2d3aa418d0
Link: http://lkml.kernel.org/r/20191219115322.31160-1-john.ogness@linutronix.de
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Acked-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2020-02-17 16:03:05 +08:00
Tao Huang
ad61dfe590 Merge tag 'ASB-2020-02-05_4.19' of https://android.googlesource.com/kernel/common
https://source.android.com/security/bulletin/2020-02-01
CVE-2020-0030
CVE-2019-11599

* tag 'ASB-2020-02-05_4.19': (4206 commits)
  UPSTREAM: sched/fair/util_est: Implement faster ramp-up EWMA on utilization increases
  ANDROID: Re-use SUGOV_RT_MAX_FREQ to control uclamp rt behavior
  BACKPORT: sched/fair: Make EAS wakeup placement consider uclamp restrictions
  BACKPORT: sched/fair: Make task_fits_capacity() consider uclamp restrictions
  ANDROID: sched/core: Move SchedTune task API into UtilClamp wrappers
  ANDROID: sched/core: Add a latency-sensitive flag to uclamp
  ANDROID: sched/tune: Move SchedTune cpu API into UtilClamp wrappers
  ANDROID: init: kconfig: Only allow sched tune if !uclamp
  FROMGIT: sched/core: Fix size of rq::uclamp initialization
  FROMGIT: sched/uclamp: Fix a bug in propagating uclamp value in new cgroups
  FROMGIT: sched/uclamp: Rename uclamp_util_with() into uclamp_rq_util_with()
  FROMGIT: sched/uclamp: Make uclamp util helpers use and return UL values
  FROMGIT: sched/uclamp: Remove uclamp_util()
  BACKPORT: sched/rt: Make RT capacity-aware
  UPSTREAM: tools headers UAPI: Sync sched.h with the kernel
  UPSTREAM: sched/uclamp: Fix overzealous type replacement
  UPSTREAM: sched/uclamp: Fix incorrect condition
  UPSTREAM: sched/core: Fix compilation error when cgroup not selected
  UPSTREAM: sched/core: Fix uclamp ABI bug, clean up and robustify sched_read_attr() ABI logic and code
  UPSTREAM: sched/uclamp: Always use 'enum uclamp_id' for clamp_id values
  ...

Conflicts:
	drivers/char/random.c
	drivers/devfreq/devfreq.c
	drivers/gpu/drm/drm_fb_helper.c
	drivers/media/i2c/ov2680.c
	drivers/media/i2c/ov2685.c
	drivers/media/i2c/ov5670.c
	drivers/media/i2c/ov5695.c
	drivers/media/usb/uvc/uvc_driver.c
	drivers/mmc/host/cqhci.c
	drivers/spi/spi-rockchip.c
	drivers/usb/dwc2/params.c
	drivers/usb/dwc3/debugfs.c
	drivers/usb/dwc3/gadget.c
	drivers/usb/serial/usb_wwan.c
	include/linux/clk-provider.h
	include/linux/mfd/rk808.h
	kernel/cpu.c
	sound/usb/quirks.c

- Export symbol mm_trace_rss_stat on mm/memory.c for GPU drivers.
- Fix sound/usb/pcm.c for SNDRV_PCM_TRIGGER_SUSPEND.
- Enable DEBUG_FS which is not selected by TRACING.
- Disable of_devlink which broken boot. of_devlink is enabled by commit
  ba3aa33b8f ("ANDROID: of: property: Enable of_devlink by default").
- Add CLK_DONT_HOLD_STATE and CLK_KEEP_REQ_RATE to clk_flags
  on drivers/clk/clk.c.

Change-Id: I500ca1bbc735753f9c8251ed2ac8ad757d5a24a4
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2020-02-17 16:00:29 +08:00
Tao Huang
6c69c99935 Revert "Revert "HID: core: move Usage Page concatenation to Main item""
This reverts commit 4f29b1cfa6.
Maybe fixed by commit be41df88a5 ("HID: core: check whether Usage Page item is after Usage ID items").

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2020-02-17 14:29:05 +08:00